On 5/27/24 02:29, Radu Sabau wrote:
Add support for PEC by attaching PEC attribute to the i2c device. Add pec_store and pec_show function for accessing the "pec" file. Signed-off-by: Radu Sabau <radu.sabau@xxxxxxxxxx> ---
Sorry for the trouble, but I decided to add PEC support to the hardware monitoring code. With those changes, the hwmon core creates the attribute and handles i2c client configuration. The driver only needs to configure the chip. I'll copy you on the patches introducing and using this functionality. Please apply the patch introducing the core changes to your system and rebase this patch on top of it. Thanks, Guenter