Re: [PATCH 1/1] drivers: hwmon: jc42: add HWMON_C_TZ_REGISTER

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 18, 2022 at 04:30:11PM -0700, Eduardo Valentin wrote:
> Add a thermal zone interface to the devices added
> under jc42 driver. This way, thermal zones described
> in device tree can make use of the of nodes of these
> devices.

Applied to hwmon-next.

Thanks,
Guenter

> 
> Cc: Guenter Roeck <linux@xxxxxxxxxxxx> (maintainer:JC42.4 TEMPERATURE SENSOR DRIVER)
> Cc: Jean Delvare <jdelvare@xxxxxxxx> (maintainer:HARDWARE MONITORING)
> Cc: linux-hwmon@xxxxxxxxxxxxxxx (open list:JC42.4 TEMPERATURE SENSOR DRIVER)
> Cc: linux-kernel@xxxxxxxxxxxxxxx (open list)
> 
> Signed-off-by: Eduardo Valentin <eduval@xxxxxxxxxx>
> Signed-off-by: Eduardo Valentin <evalenti@xxxxxxxxxx>
> ---
>  drivers/hwmon/jc42.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/hwmon/jc42.c b/drivers/hwmon/jc42.c
> index cb347a6bd8d9..f40df2f29d41 100644
> --- a/drivers/hwmon/jc42.c
> +++ b/drivers/hwmon/jc42.c
> @@ -443,6 +443,8 @@ static int jc42_detect(struct i2c_client *client, struct i2c_board_info *info)
>  }
>  
>  static const struct hwmon_channel_info *jc42_info[] = {
> +	HWMON_CHANNEL_INFO(chip,
> +			   HWMON_C_REGISTER_TZ | HWMON_C_UPDATE_INTERVAL),
>  	HWMON_CHANNEL_INFO(temp,
>  			   HWMON_T_INPUT | HWMON_T_MIN | HWMON_T_MAX |
>  			   HWMON_T_CRIT | HWMON_T_MAX_HYST |



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux