Re: [PATCH 1/2] hwmon: (isl28022) new driver for ISL28022 power monitor

From: Carsten Spieß
Date: Thu Jul 27 2023 - 03:44:44 EST


On 7/26/23 18:19, Guenter Roeck wrote:
> Please provide a register dump (using i2cdump) for this chip.

# i2cdump -y -r 0-9 1 0x40 w
0,8 1,9 2,a 3,b 4,c 5,d 6,e 7,f
00: ff67 ca00 a25d c803 5006 0080 817f 00ff
08: 0000 0000

Please note that due to big vs.- little endian bytes are swapped,
should be read as:
00: 67ff 00ca 5da2 03c8 0650 8000 7f81 ff00
08: 0000 0000

corresponding sensor values are about (not read at same time):
in0: 1.99 V
in1: 23.97 V
power1: 6.10 W
curr1: 248.00 mA

in0 should be read as mV

Regards, Carsten

Attachment: pgpa6xKQ_PlUW.pgp
Description: Digitale Signatur von OpenPGP