Skip to content

Support multiplexed main SMBus interface on SB800

Christian Fetzer linux-i2c 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4i2c-piix4: Optionally release smba in piix4_adap_removedrivers/i2c/busses/i2c-piix4.c+5 -40 replies
2/4i2c-piix4: Convert piix4_main_adapter to arraydrivers/i2c/busses/i2c-piix4.c+13 -50 replies
3/4i2c-piix4: Add support for multiplexed main adapter in SB800drivers/i2c/busses/i2c-piix4.c+107 -70 replies
4/4i2c-piix4: Add adapter port name support for SB800 chipsetdrivers/i2c/busses/i2c-piix4.c+13 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Support multiplexed main SMBus interface on SB800

This is an attempt to upstream the patches created by Thomas Brandon and
Eddi De Pieri to support the multiplexed main SMBus interface on the SB800
chipset. (https://www.mail-archive.com/[email protected]/msg06757.html)

I have mainly rebased the latest patch version and tested the driver on a HP ProLiant MicroServer G7 N54L (where this patch allows to access sensor data from a w83795adg).

The patched driver is running stable on the machine, given that ic2_piix4 is loaded before jc42 and w83795. If jc42 is loaded before i2c_piix4 calling sensors triggers some errors:
ERROR: Can't get value of subfeature temp1_min_alarm: Can't read

While the kernel log shows:

    i2c i2c-1: Transaction (pre): CNT=0c, CMD=05, ADD=31, DAT0=03, DAT1=c0
    i2c i2c-1: Error: no response!
    i2c i2c-1: Transaction (post): CNT=0c, CMD=05, ADD=31, DAT0=ff, DAT1=ff

Unfortunately I don't know how to tackle this specific issue.

Please review and let me know required changes in order to get this upstream finally.

Eddi, Thomas, it would be great if you could verify the changes on your machines.

Regards,
Christian

Christian Fetzer (4):
i2c-piix4: Optionally release smba in piix4_adap_remove
i2c-piix4: Convert piix4_main_adapter to array
i2c-piix4: Add support for multiplexed main adapter in SB800
i2c-piix4: Add adapter port name support for SB800 chipset

 drivers/i2c/busses/i2c-piix4.c | 151 ++++++++++++++++++++++++++++++++++++-----
 1 file changed, 134 insertions(+), 17 deletions(-)
Signature · 1 line
1.9.1