mbox series

[v8,0/7] RTL9300 support for reboot and i2c

Message ID 20241031200350.274945-1-chris.packham@alliedtelesis.co.nz (mailing list archive)
Headers show
Series RTL9300 support for reboot and i2c | expand

Message

Chris Packham Oct. 31, 2024, 8:03 p.m. UTC
The first two patches have already been applied by Sebastian (thanks),
they're just included for context. At Lee's request I've split the
binding patch so the mfd change can go via a different tree to the i2c
one. As the mfd binding has a $ref to the i2c binding I've put the i2c
patch first. They should apply cleanly but various automated checkers
might complain until they land in the same tree. The mips dts and i2c
driver itself haven't changed since v6 of this series.

--
2.46.1

Chris Packham (7):
  dt-bindings: reset: syscon-reboot: Add reg property
  power: reset: syscon-reboot: Accept reg property
  dt-bindings: i2c: Add Realtek RTL I2C Controller
  dt-bindings: mfd: Add Realtek RTL9300 switch peripherals
  mips: dts: realtek: Add syscon-reboot node
  mips: dts: realtek: Add I2C controllers
  i2c: Add driver for the RTL9300 I2C controller

 .../bindings/i2c/realtek,rtl9301-i2c.yaml     |  69 +++
 .../bindings/mfd/realtek,rtl9301-switch.yaml  | 114 +++++
 .../bindings/power/reset/syscon-reboot.yaml   |  11 +-
 MAINTAINERS                                   |   7 +
 .../cameo-rtl9302c-2x-rtl8224-2xge.dts        |   2 +-
 arch/mips/boot/dts/realtek/rtl9302c.dtsi      |  15 +
 arch/mips/boot/dts/realtek/rtl930x.dtsi       |  29 ++
 drivers/i2c/busses/Kconfig                    |  10 +
 drivers/i2c/busses/Makefile                   |   1 +
 drivers/i2c/busses/i2c-rtl9300.c              | 425 ++++++++++++++++++
 drivers/power/reset/syscon-reboot.c           |   3 +-
 11 files changed, 683 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/i2c/realtek,rtl9301-i2c.yaml
 create mode 100644 Documentation/devicetree/bindings/mfd/realtek,rtl9301-switch.yaml
 create mode 100644 arch/mips/boot/dts/realtek/rtl9302c.dtsi
 create mode 100644 drivers/i2c/busses/i2c-rtl9300.c