Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1a83f81b authored by Mohit Aggarwal's avatar Mohit Aggarwal
Browse files

ARM: dts: msm: Add pm8xxx rtc device for Kona



The patch adds pm8xxx rtc device to support qpnp rtc
driver for kona. The rtc driver supports using the
PMIC RTC peripheral to wake a device up from suspend
or to wake it up from power-off.

Change-Id: Iec4cfb7c81309ad6e33cd7f1ffe3b8315a874e6c
Signed-off-by: default avatarMohit Aggarwal <maggarwa@codeaurora.org>
parent a3d9530a
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. */
/* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. */

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/input/input.h>
@@ -82,6 +82,11 @@
			#gpio-cells = <2>;
			qcom,gpios-disallowed = <2 4 5 7 8>;
		};

		pm8150_rtc: qcom,pm8150_rtc {
			compatible = "qcom,pm8941-rtc";
			interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>;
		};
	};

	qcom,pm8150@1 {