[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240913024948.1317786-1-chris.packham@alliedtelesis.co.nz>
Date: Fri, 13 Sep 2024 14:49:46 +1200
From: Chris Packham <chris.packham@...iedtelesis.co.nz>
To: lee@...nel.org,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
tsbogend@...ha.franken.de,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-mips@...r.kernel.org
Cc: Chris Packham <chris.packham@...iedtelesis.co.nz>
Subject: [PATCH v2 0/2] mips: realtek: Add reboot support
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 (2):
dt-bindings: mfd: Add Realtek switch
mips: dts: realtek: Add syscon-reboot node
.../bindings/mfd/realtek,rtl9302c-switch.yaml | 50 +++++++++++++++++++
arch/mips/boot/dts/realtek/rtl930x.dtsi | 11 ++++
2 files changed, 61 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mfd/realtek,rtl9302c-switch.yaml
--
2.46.0
Powered by blists - more mailing lists