diff mbox series

[1/3] arm: dts: rockchip: rk3399-roc-pc: Add RTC child node for RK808 PMIC

Message ID 1587571901-28343-2-git-send-email-sunil@amarulasolutions.com
State Superseded
Headers show
Series Add support for Rockchip RK808 PMIC RTC device | expand

Commit Message

Suniel Mahesh April 22, 2020, 4:11 p.m. UTC
From: Suniel Mahesh <sunil at amarulasolutions.com>

Rockchip RK808 PMIC is a multi function device which hosts a Real Time
Clock along with other devices. Add a child RTC node so that it can be
bound and probed once the master pmic node completes probe.

Signed-off-by: Suniel Mahesh <sunil at amarulasolutions.com>
---
 arch/arm/dts/rk3399-roc-pc-u-boot.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Kever Yang April 28, 2020, 2:05 p.m. UTC | #1
On 2020/4/23 ??12:11, sunil at amarulasolutions.com wrote:
> From: Suniel Mahesh <sunil at amarulasolutions.com>
>
> Rockchip RK808 PMIC is a multi function device which hosts a Real Time
> Clock along with other devices. Add a child RTC node so that it can be
> bound and probed once the master pmic node completes probe.
>
> Signed-off-by: Suniel Mahesh <sunil at amarulasolutions.com>


Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
>   arch/arm/dts/rk3399-roc-pc-u-boot.dtsi | 8 ++++++++
>   1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/dts/rk3399-roc-pc-u-boot.dtsi b/arch/arm/dts/rk3399-roc-pc-u-boot.dtsi
> index 5746442..7d189c8 100644
> --- a/arch/arm/dts/rk3399-roc-pc-u-boot.dtsi
> +++ b/arch/arm/dts/rk3399-roc-pc-u-boot.dtsi
> @@ -20,3 +20,11 @@
>   	regulator-min-microvolt = <430000>;
>   	regulator-init-microvolt = <950000>;
>   };
> +
> +&rk808 {
> +	rtc {
> +		rkrtc: rk808-rtc {
> +			status="okay";
> +		};
> +	};
> +};
diff mbox series

Patch

diff --git a/arch/arm/dts/rk3399-roc-pc-u-boot.dtsi b/arch/arm/dts/rk3399-roc-pc-u-boot.dtsi
index 5746442..7d189c8 100644
--- a/arch/arm/dts/rk3399-roc-pc-u-boot.dtsi
+++ b/arch/arm/dts/rk3399-roc-pc-u-boot.dtsi
@@ -20,3 +20,11 @@ 
 	regulator-min-microvolt = <430000>;
 	regulator-init-microvolt = <950000>;
 };
+
+&rk808 {
+	rtc {
+		rkrtc: rk808-rtc {
+			status="okay";
+		};
+	};
+};