[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230831114830.oenlyvwyxbi2uerq@deserving>
Date: Thu, 31 Aug 2023 06:48:30 -0500
From: Nishanth Menon <nm@...com>
To: Keerthy <j-keerthy@...com>
CC: <vigneshr@...com>, <robh+dt@...nel.org>,
<krzysztof.kozlowski+dt@...aro.org>, <conor+dt@...nel.org>,
<kristo@...nel.org>, <linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 4/5] arm64: dts: ti: k3-j721s2-main: Add main domain
watchdog entries
On 12:56-20230830, Keerthy wrote:
> Add DT entries for main domain watchdog instances.
>
> Signed-off-by: Keerthy <j-keerthy@...com>
> ---
> arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
> index 87841bcc509d..33276d31faa1 100644
> --- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
> @@ -1513,4 +1513,22 @@
> reg = <0x0 0x700000 0x0 0x1000>;
> ti,esm-pins = <344>, <345>;
> };
> +
> + watchdog0: watchdog@...0000 {
> + compatible = "ti,j7-rti-wdt";
> + reg = <0x0 0x2200000 0x0 0x100>;
> + clocks = <&k3_clks 286 1>;
> + power-domains = <&k3_pds 286 TI_SCI_PD_EXCLUSIVE>;
> + assigned-clocks = <&k3_clks 286 1>;
> + assigned-clock-parents = <&k3_clks 286 5>;
> + };
> +
> + watchdog1: watchdog@...0000 {
> + compatible = "ti,j7-rti-wdt";
> + reg = <0x0 0x2210000 0x0 0x100>;
> + clocks = <&k3_clks 287 1>;
> + power-domains = <&k3_pds 287 TI_SCI_PD_EXCLUSIVE>;
> + assigned-clocks = <&k3_clks 287 1>;
> + assigned-clock-parents = <&k3_clks 287 5>;
> + };
Are these all the wdts in main domain - do define and leave the other wdts
disabled as they are tightly coupled to other processors (and must be
enabled by the OS running on them), but defining them allows us to reuse
the definitions in OSes running on R5s (for instance) to reuse the same
device definitions.
> };
> --
> 2.17.1
>
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
Powered by blists - more mailing lists