Re: [PATCH v2] hwmon: adm1275: Make sure we are reading enough data for different chips

2020-07-09 Thread Guenter Roeck
On Thu, Jul 09, 2020 at 04:06:12AM +, Chu Lin wrote: > Issue: > When PEC is enabled, binding adm1272 to the adm1275 would > fail due to PEC error. See below: > adm1275: probe of failed with error -74 > > Diagnosis: > Per the datasheet of adm1272, adm1278, adm1293 and amd1294, > PMON_CONFI

[PATCH v2] hwmon: adm1275: Make sure we are reading enough data for different chips

2020-07-08 Thread Chu Lin
Issue: When PEC is enabled, binding adm1272 to the adm1275 would fail due to PEC error. See below: adm1275: probe of failed with error -74 Diagnosis: Per the datasheet of adm1272, adm1278, adm1293 and amd1294, PMON_CONFIG (0xd4) is 16bits wide. On the other hand, PMON_CONFIG (0xd4) for adm127