linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] mips: realtek: Add reboot support
@ 2024-09-23 22:57 Chris Packham
  2024-09-23 22:57 ` [PATCH v4 1/3] dt-bindings: mfd: Add Realtek switch Chris Packham
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Chris Packham @ 2024-09-23 22:57 UTC (permalink / raw)
  To: lee, robh, krzk+dt, conor+dt, tsbogend
  Cc: devicetree, linux-kernel, linux-mips, Chris Packham

The system reboot on the cameo-rtl9302c (and presumably many other boards based
on the realtek reference design) is connected via the switch reset register
(RST_GLB_CTRL_0).

Because the switch register block encompasses a number of functions that would
normally be separate perhipherals I've represented it as a syscon node. Right
now the only peripheral I've added is the reset (using syscon-reboot). The
binding and syscon node will be expanded in the future to add some additional
functions (e.g. I2C, GPIO, MDIO).

Chris Packham (3):
  dt-bindings: mfd: Add Realtek switch
  mips: dts: realtek: Add syscon-reboot node
  dt-bindings: mfd: Add more RTL9300 variants

 .../bindings/mfd/realtek,rtl9302c-switch.yaml | 53 +++++++++++++++++++
 arch/mips/boot/dts/realtek/rtl930x.dtsi       | 11 ++++
 2 files changed, 64 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/realtek,rtl9302c-switch.yaml

-- 
2.46.1


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

end of thread, other threads:[~2024-09-25  8:08 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-23 22:57 [PATCH v4 0/3] mips: realtek: Add reboot support Chris Packham
2024-09-23 22:57 ` [PATCH v4 1/3] dt-bindings: mfd: Add Realtek switch Chris Packham
2024-09-24  8:39   ` Krzysztof Kozlowski
2024-09-24  8:51     ` Krzysztof Kozlowski
2024-09-24 20:56       ` Chris Packham
2024-09-24 22:16         ` [RFC PATCH v4.5] dt-bindings: mfd: Add Realtek RTL9300 switch peripherals Chris Packham
2024-09-24 23:21           ` Rob Herring (Arm)
2024-09-25  7:25           ` Krzysztof Kozlowski
2024-09-25  8:08         ` [PATCH v4 1/3] dt-bindings: mfd: Add Realtek switch Krzysztof Kozlowski
2024-09-23 22:57 ` [PATCH v4 2/3] mips: dts: realtek: Add syscon-reboot node Chris Packham
2024-09-24  8:40   ` Krzysztof Kozlowski
2024-09-23 22:57 ` [PATCH v4 3/3] dt-bindings: mfd: Add more RTL9300 variants Chris Packham
2024-09-24  8:40   ` Krzysztof Kozlowski
2024-09-24 20:59     ` Chris Packham
2024-09-25  7:20       ` Krzysztof Kozlowski

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).