2023-03-15 17:08:07

by Nishanth Menon

[permalink] [raw]
Subject: [PATCH V2 0/2] arm64: dts: ti: k3-am62: Add watchdog and rtc nodes

Hi,
Couple of Misc patches

Changes since v1:
- Marked the mcu wdt as reserved to not break M4F.

V1: https://lore.kernel.org/all/[email protected]/#t

Julien Panis (1):
arm64: dts: ti: k3-am62: Add watchdog nodes

Nishanth Menon (1):
arm64: dts: ti: k3-am62-wakeup: Introduce RTC node

arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 45 ++++++++++++++++++++++
arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi | 11 ++++++
arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi | 21 ++++++++++
3 files changed, 77 insertions(+)

--
2.40.0



2023-03-15 17:08:10

by Nishanth Menon

[permalink] [raw]
Subject: [PATCH V2 1/2] arm64: dts: ti: k3-am62-wakeup: Introduce RTC node

Introduce digital RTC node in wakeup domain. Even though this has
no specific battery backup supply, this on-chip RTC is used in
cost-optimized board designs as a wakeup source.

Signed-off-by: Nishanth Menon <[email protected]>
---

No changes since V1
V1: https://lore.kernel.org/all/[email protected]/

arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi
index 38dced6b4fef..fec81546fbbd 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi
@@ -40,4 +40,14 @@ wkup_i2c0: i2c@2b200000 {
clock-names = "fck";
status = "disabled";
};
+
+ wkup_rtc0: rtc@2b1f0000 {
+ compatible = "ti,am62-rtc";
+ reg = <0x00 0x2b1f0000 0x00 0x100>;
+ interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&k3_clks 117 6> , <&k3_clks 117 0>;
+ clock-names = "vbus", "osc32k";
+ power-domains = <&k3_pds 117 TI_SCI_PD_EXCLUSIVE>;
+ wakeup-source;
+ };
};
--
2.40.0


2023-03-20 14:37:33

by Dhruva Gole

[permalink] [raw]
Subject: Re: [PATCH V2 1/2] arm64: dts: ti: k3-am62-wakeup: Introduce RTC node

Hi,

On 15/03/23 22:37, Nishanth Menon wrote:
> Introduce digital RTC node in wakeup domain. Even though this has
> no specific battery backup supply, this on-chip RTC is used in
> cost-optimized board designs as a wakeup source.
>
> Signed-off-by: Nishanth Menon <[email protected]>
> ---
>
> No changes since V1
> V1: https://lore.kernel.org/all/[email protected]/
>
> arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi
> index 38dced6b4fef..fec81546fbbd 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi
> @@ -40,4 +40,14 @@ wkup_i2c0: i2c@2b200000 {
> clock-names = "fck";
> status = "disabled";
> };
> +
> + wkup_rtc0: rtc@2b1f0000 {
> + compatible = "ti,am62-rtc";
> + reg = <0x00 0x2b1f0000 0x00 0x100>;
> + interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&k3_clks 117 6> , <&k3_clks 117 0>;
> + clock-names = "vbus", "osc32k";
> + power-domains = <&k3_pds 117 TI_SCI_PD_EXCLUSIVE>;
> + wakeup-source;
> + };
> };

LGTM!

Reviewed-by: Dhruva Gole <[email protected]>

--
Best regards,
Dhruva Gole
Texas Instruments Incorporated