Re: [RFT PATCH v2 2/3] hwmon: (spd5118) Use spd5118 specific read/write operations

From: Paul Menzel
Date: Tue Jun 18 2024 - 17:46:01 EST


Dear Guenter,


Am 18.06.24 um 23:08 schrieb Guenter Roeck:

On 6/18/24 13:37, Paul Menzel wrote:
[ ... ]
Unfortunately, it still fails:

     $ git log --no-decorate --oneline -4
     7ddcff2d44ae3 hwmon: (spd5118) Add support for Renesas/ITD SPD5118 hub controllers
     e89136743324f hwmon: (spd5118) Use spd5118 specific read/write operations
     0fcc7279f0cc4 hwmon: (spd5118) Use regmap to implement paging
     801b6aad6fa7a hwmon: (spd5118) Add configuration option for auto-detection

     $ uname -r
     6.10.0-rc4.mx64.461-00050-g7ddcff2d44ae
     $ sudo bash -c 'echo 56000 > /sys/class/hwmon/hwmon3/temp1_max'
     bash: line 1: echo: write error: No such device or address

Now I am really baffled. I don't think we could do anything simpler
than that.

Please try
    sudo i2cset -y -f 0 0x50 0x21 0x06

That should update the critical temperature from 85 degrees C
to 86 degrees C. If that doesn't work, we'll be really out of luck
with that controller (or at least I don't have an idea what else to try).

Bad news:

$ sudo LD_LIBRARY_PATH=~/src/i2c-tools/lib tools/i2cset -y -f 0 0x50 0x21 0x06
Error: Write failed


Kind regards,

Paul