diff mbox series

ARM: dts: silk: Add DA9063 RTC and OnKey node

Message ID 20180811110257.31690-1-marek.vasut+renesas@gmail.com (mailing list archive)
State Accepted
Commit d688a83aa6e33654d14d1d79e59a340ed4d08332
Headers show
Series ARM: dts: silk: Add DA9063 RTC and OnKey node | expand

Commit Message

Marek Vasut Aug. 11, 2018, 11:02 a.m. UTC
Add DA9063 RTC and OnKey subnode to DA9063 PMIC node on Silk.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Simon Horman <horms+renesas@verge.net.au>
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: linux-renesas-soc@vger.kernel.org
---
NOTE: Pressing the POWER Switch SW11 triggers KEY_POWER event, which
      ie. systemd interprets as shutdown command.
NOTE: The RTC is verified to work with hwclock -w / hwclock -r .
---
 arch/arm/boot/dts/r8a7794-silk.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Simon Horman Aug. 17, 2018, 8:53 a.m. UTC | #1
On Sat, Aug 11, 2018 at 01:02:57PM +0200, Marek Vasut wrote:
> Add DA9063 RTC and OnKey subnode to DA9063 PMIC node on Silk.
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> Cc: Simon Horman <horms+renesas@verge.net.au>
> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
> Cc: linux-renesas-soc@vger.kernel.org
> ---
> NOTE: Pressing the POWER Switch SW11 triggers KEY_POWER event, which
>       ie. systemd interprets as shutdown command.
> NOTE: The RTC is verified to work with hwclock -w / hwclock -r .

Thanks Marek,

applied for v4.20.
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/r8a7794-silk.dts b/arch/arm/boot/dts/r8a7794-silk.dts
index 6ea60e1faf75..60e91ebfa65d 100644
--- a/arch/arm/boot/dts/r8a7794-silk.dts
+++ b/arch/arm/boot/dts/r8a7794-silk.dts
@@ -416,6 +416,14 @@ 
 		interrupts = <31 IRQ_TYPE_LEVEL_LOW>;
 		interrupt-controller;
 
+		onkey {
+			compatible = "dlg,da9063-onkey";
+		};
+
+		rtc {
+			compatible = "dlg,da9063-rtc";
+		};
+
 		wdt {
 			compatible = "dlg,da9063-watchdog";
 		};