From: Grygorii Strashko <grygorii.strashko@ti.com>
To: Lokesh Vutla <lokeshvutla@ti.com>, Nishanth Menon <nm@ti.com>,
<kristo@kernel.org>
Cc: Device Tree Mailing List <devicetree@vger.kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Linux ARM Mailing List <linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>, Vignesh R <vigneshr@ti.com>
Subject: Re: [PATCH v2 2/4] arm64: dts: ti: k3-am64-main: Add ecap pwm nodes
Date: Wed, 21 Jul 2021 21:27:10 +0300 [thread overview]
Message-ID: <fd45489b-c7f1-6a5d-09cc-25f3bf4826ef@ti.com> (raw)
In-Reply-To: <20210721113625.17299-3-lokeshvutla@ti.com>
On 21/07/2021 14:36, Lokesh Vutla wrote:
> There are 3 instances of ecap modules that are capable of generating
> a pwm when configured in apwm mode. Add DT nodes for these 3 ecap
> instances.
>
> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
> ---
> arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 27 ++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
> index 9e762f64b631..42d1d219a3fd 100644
> --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
> @@ -946,4 +946,31 @@ epwm8: pwm@23080000 {
> clocks = <&epwm_tbclk 8>, <&k3_clks 94 0>;
> clock-names = "tbclk", "fck";
> };
> +
> + ecap0: pwm@23100000 {
> + compatible = "ti,am64-ecap", "ti,am3352-ecap";
> + #pwm-cells = <3>;
> + reg = <0x0 0x23100000 0x0 0x60>;
> + power-domains = <&k3_pds 51 TI_SCI_PD_EXCLUSIVE>;
> + clocks = <&k3_clks 51 0>;
> + clock-names = "fck";
> + };
> +
> + ecap1: pwm@23110000 {
> + compatible = "ti,am64-ecap", "ti,am3352-ecap";
> + #pwm-cells = <3>;
> + reg = <0x0 0x23110000 0x0 0x60>;
> + power-domains = <&k3_pds 52 TI_SCI_PD_EXCLUSIVE>;
> + clocks = <&k3_clks 52 0>;
> + clock-names = "fck";
> + };
> +
> + ecap2: pwm@23120000 {
> + compatible = "ti,am64-ecap", "ti,am3352-ecap";
> + #pwm-cells = <3>;
> + reg = <0x0 0x23120000 0x0 0x60>;
> + power-domains = <&k3_pds 53 TI_SCI_PD_EXCLUSIVE>;
> + clocks = <&k3_clks 53 0>;
> + clock-names = "fck";
> + };
> };
>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
--
Best regards,
grygorii
next prev parent reply other threads:[~2021-07-21 18:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-21 11:36 [PATCH v2 0/4] arm64: dts: ti: k3-am64: Add PWM nodes Lokesh Vutla
2021-07-21 11:36 ` [PATCH v2 1/4] arm64: dts: ti: k3-am64-main: Add epwm nodes Lokesh Vutla
2021-07-21 18:26 ` Grygorii Strashko
2021-07-21 11:36 ` [PATCH v2 2/4] arm64: dts: ti: k3-am64-main: Add ecap pwm nodes Lokesh Vutla
2021-07-21 18:27 ` Grygorii Strashko [this message]
2021-07-21 11:36 ` [PATCH v2 3/4] arm64: dts: ti: k3-am642-evm: Add " Lokesh Vutla
2021-07-21 18:27 ` Grygorii Strashko
2021-07-21 11:36 ` [PATCH v2 4/4] arm64: dts: ti: k3-am642-sk: " Lokesh Vutla
2021-07-21 18:27 ` Grygorii Strashko
2021-07-30 15:46 ` [PATCH v2 0/4] arm64: dts: ti: k3-am64: Add PWM nodes Nishanth Menon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fd45489b-c7f1-6a5d-09cc-25f3bf4826ef@ti.com \
--to=grygorii.strashko@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=kristo@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lokeshvutla@ti.com \
--cc=nm@ti.com \
--cc=robh+dt@kernel.org \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®