linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] i2c: RTL9300 support
@ 2024-09-20  0:09 Chris Packham
  2024-09-20  0:09 ` [PATCH v2 1/3] dt-bindings: i2c: Add RTL9300 I2C controller Chris Packham
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Chris Packham @ 2024-09-20  0:09 UTC (permalink / raw)
  To: andi.shyti, robh, krzk+dt, conor+dt, tsbogend
  Cc: linux-i2c, devicetree, linux-kernel, linux-mips, Chris Packham

This builds on top of my in-flight series that adds the syscon node for the
switch block[1]. The I2C controllers are part of that block of registers. The
controller driver is adapted from openwrt. From v2 of this series I've taken
the approach suggested by Rob and represented the SDA lines as child nodes. I
expect there will be a bit of discussion around the naming of the controller
nodes (in the Realtek documentation they are referred to as I2C_MST1 and
I2C_MST2).

[1] - https://lore.kernel.org/lkml/20240920000138.1826123-1-chris.packham@alliedtelesis.co.nz/raw

--
2.46.1

Chris Packham (3):
  dt-bindings: i2c: Add RTL9300 I2C controller
  i2c: Add driver for the RTL9300 I2C controller
  mips: dts: realtek: Add I2C controllers

 .../bindings/i2c/realtek,rtl9300-i2c.yaml     |  82 ++++
 MAINTAINERS                                   |   7 +
 arch/mips/boot/dts/realtek/rtl930x.dtsi       |  18 +
 drivers/i2c/busses/Kconfig                    |  10 +
 drivers/i2c/busses/Makefile                   |   1 +
 drivers/i2c/busses/i2c-rtl9300.c              | 421 ++++++++++++++++++
 6 files changed, 539 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/i2c/realtek,rtl9300-i2c.yaml
 create mode 100644 drivers/i2c/busses/i2c-rtl9300.c

-- 
2.46.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-09-24  7:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-20  0:09 [PATCH v2 0/3] i2c: RTL9300 support Chris Packham
2024-09-20  0:09 ` [PATCH v2 1/3] dt-bindings: i2c: Add RTL9300 I2C controller Chris Packham
2024-09-20 23:10   ` Rob Herring (Arm)
2024-09-22 20:25   ` Krzysztof Kozlowski
2024-09-23 21:09     ` Chris Packham
2024-09-24  7:58       ` Krzysztof Kozlowski
2024-09-20  0:09 ` [PATCH v2 2/3] i2c: Add driver for the " Chris Packham
2024-09-20  0:09 ` [PATCH v2 3/3] mips: dts: realtek: Add I2C controllers Chris Packham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).