[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3306547.mvXUDI8C0e@g550jk>
Date: Wed, 09 Feb 2022 09:00:33 +0100
From: Luca Weiss <luca@...tu.xyz>
To: Jack Matthews <jm5112356@...il.com>
Cc: jm5112356@...il.com, Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM: dts: qcom: pm8226: add node for RTC
Hi Jack,
On Mittwoch, 9. Februar 2022 06:29:28 CET Jack Matthews wrote:
> Add a node for PM8226's real time clock.
>
> Signed-off-by: Jack Matthews <jm5112356@...il.com>
> ---
> arch/arm/boot/dts/qcom-pm8226.dtsi | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/boot/dts/qcom-pm8226.dtsi
> b/arch/arm/boot/dts/qcom-pm8226.dtsi index 04d070d98f97..ecc38ab1dc4b
> 100644
> --- a/arch/arm/boot/dts/qcom-pm8226.dtsi
> +++ b/arch/arm/boot/dts/qcom-pm8226.dtsi
> @@ -17,6 +17,13 @@ pwrkey@800 {
> bias-pull-up;
> };
>
> + rtc@...0 {
Please keep the nodes sorted by address, so don't put @6000 between @800 and
@1000 please ;)
Regards
Luca
> + compatible = "qcom,pm8941-rtc";
> + reg = <0x6000>, <0x6100>;
> + reg-names = "rtc", "alarm";
> + interrupts = <0x0 0x61 0x1
IRQ_TYPE_EDGE_RISING>;
> + };
> +
> smbb: charger@...0 {
> compatible = "qcom,pm8226-charger";
> reg = <0x1000>;
Powered by blists - more mailing lists