[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <919c9e7c-3c7b-23e9-758e-8ace5affe369@ti.com>
Date: Wed, 27 Apr 2022 16:36:23 +0530
From: Aswath Govindraju <a-govindraju@...com>
To: Vignesh Raghavendra <vigneshr@...com>, Nishanth Menon <nm@...com>,
Tero Kristo <kristo@...nel.org>,
Rob Herring <robh+dt@...nel.org>
CC: Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
<linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Grygorii Strashko <grygorii.strashko@...com>
Subject: Re: [PATCH] arm64: dts: ti: k3-am625-sk: Add ECAP APWM nodes
On 19/04/22 11:59, Vignesh Raghavendra wrote:
> AM62 has 3 ECAP instances with 1 APWM each. Add DT nodes for the same.
> Keep them disabled in am625-sk dts as these pins can be repurposed in
> user exp connector.
>
> Signed-off-by: Vignesh Raghavendra <vigneshr@...com>
> ---
Reviewed-by: Aswath Govindraju <a-govindraju@...com>
Thanks,
Aswath
> arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 27 ++++++++++++++++++++++++
> arch/arm64/boot/dts/ti/k3-am625-sk.dts | 12 +++++++++++
> 2 files changed, 39 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
> index 4b6ba98dd0a2..dd972fcdaedb 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
> @@ -530,4 +530,31 @@ mailbox0_cluster0: mailbox@...00000 {
> ti,mbox-num-users = <4>;
> ti,mbox-num-fifos = <16>;
> };
> +
> + ecap0: pwm@...00000 {
> + compatible = "ti,am3352-ecap";
> + #pwm-cells = <3>;
> + reg = <0x00 0x23100000 0x00 0x100>;
> + power-domains = <&k3_pds 51 TI_SCI_PD_EXCLUSIVE>;
> + clocks = <&k3_clks 51 0>;
> + clock-names = "fck";
> + };
> +
> + ecap1: pwm@...10000 {
> + compatible = "ti,am3352-ecap";
> + #pwm-cells = <3>;
> + reg = <0x00 0x23110000 0x00 0x100>;
> + power-domains = <&k3_pds 52 TI_SCI_PD_EXCLUSIVE>;
> + clocks = <&k3_clks 52 0>;
> + clock-names = "fck";
> + };
> +
> + ecap2: pwm@...20000 {
> + compatible = "ti,am3352-ecap";
> + #pwm-cells = <3>;
> + reg = <0x00 0x23120000 0x00 0x100>;
> + power-domains = <&k3_pds 53 TI_SCI_PD_EXCLUSIVE>;
> + clocks = <&k3_clks 53 0>;
> + clock-names = "fck";
> + };
> };
> diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
> index 5fc35898a1e2..2c5e0e5b826b 100644
> --- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
> @@ -477,3 +477,15 @@ partition@...0000 {
> };
> };
> };
> +
> +&ecap0 {
> + status = "disabled";
> +};
> +
> +&ecap1 {
> + status = "disabled";
> +};
> +
> +&ecap2 {
> + status = "disabled";
> +};
Powered by blists - more mailing lists