Skip to content

I2C: sis630: add sis964 support

Amaury Decrême linux-i2c lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 3 repliesIn review
  2. v26 patches 11 repliesSuperseded

Changes in v3 from the cover letter

Added a missing BYTE_DONE_STS in cosmetics patch Unsigned hex patch corrected
Checkpatch patch improved

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Add SIS964 bus support to i2c-sis630.Documentation/i2c/busses/i2c-sis630 drivers/i2c/busses/Kconfig drivers/i2c/busses/i2c-sis630.c+69 -320 replies
2/6Bugfix: clear sticky bitsdrivers/i2c/busses/i2c-sis630.c+1 -30 replies
3/6Bugfix: behavior after collisiondrivers/i2c/busses/i2c-sis630.c+1 -60 replies
4/6Cosmetics: hex to constants for SMBus commandsdrivers/i2c/busses/i2c-sis630.c+31 -141 reply
5/6Misc: display unsigned hexdrivers/i2c/busses/i2c-sis630.c+1 -11 reply
6/6Cleanupdrivers/i2c/busses/i2c-sis630.c+106 -1044 replies

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by.

PatchJean Delvare
1/6
2/6
3/6
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/6] I2C: sis630: add sis964 support

Those patches add sis964 support to i2c-sis630.

The SiS datasheets have been used.

The SiS964 isn't part of the SIS96X family and behaves like the SiS630 chip family.

For I2C, this array show the differences between a SiS630 and a SiS964.

 +------------------------+--------------------+-------------------+
 |                        |     SIS630/730     |      SIS964       |
 +------------------------+--------------------+-------------------+
 | Clock                  | 14kHz/56kHz        | 55.56kHz/27.78kHz |
 | SMBus registers offset | 0x80               | 0xE0              |
 | SMB_CNT                | Bit 1 = Slave Busy | Bit 1 = Bus probe |
 |         (not used yet) | Bit 3 is reserved  | Bit 3 = Last byte |
 | SMB_PCOUNT             | Offset + 0x06      | Offset + 0x14     |
 | SMB_COUNT              | 4:0 bits           | 5:0 bits          |
 +------------------------+--------------------+-------------------+

Other differences don't affect the functions provided by the original driver.

Changes v2 -> v3:
Added a missing BYTE_DONE_STS in cosmetics patch Unsigned hex patch corrected
Checkpatch patch improved

Amaury Decrême (6):
Add SIS964 bus support to i2c-sis630.
Bugfix: clear sticky bits
Bugfix: behavior after collision
Cosmetics: hex to constants for SMBus commands
Misc: display unsigned hex
Cleanup

 Documentation/i2c/busses/i2c-sis630 |   9 +
 drivers/i2c/busses/Kconfig          |   4 +-
 drivers/i2c/busses/i2c-sis630.c     | 356 ++++++++++++++++++++----------------
 3 files changed, 209 insertions(+), 160 deletions(-)
Signature · 1 line
1.7.12.4