From: Nishanth Menon <nm@ti.com>
To: Tony Lindgren <tony@atomide.com>
Cc: Vignesh Raghavendra <vigneshr@ti.com>,
<devicetree@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
Keerthy <j-keerthy@ti.com>
Subject: Re: [PATCH 2/2] arm64: dts: ti: k3-am65: Add general purpose timers for am65
Date: Wed, 6 Jul 2022 18:21:57 -0500 [thread overview]
Message-ID: <20220706232157.thvbsr6emvyy6i5o@resend> (raw)
In-Reply-To: <20220407104725.41755-2-tony@atomide.com>
On 13:47-20220407, Tony Lindgren wrote:
> There are 12 general purpose timers on am65 that can be used for things
> like PWM using pwm-omap-dmtimer driver. There are also additional four
> timers in the MCU domain do not have interrupts routable for Linux and
> are likely reserved by the software for the ESM module.
>
> Compared to am64, the timer clocks are different on am65. And the MCU
> timers are at a different IO address. Then j72 adds more timers compared
> to am65 with a total of 30 timers. And the j72 clocks are different.
>
> To avoid duplication for dtsi files, eventually we may want to consider
> adding timer specific shared dtsi files with the timer clocks mapped
> using SoC specific files in include/dt-bindings/clock. But let's get
> am65 timers usable first.
>
> Cc: Keerthy <j-keerthy@ti.com>
> Cc: Nishanth Menon <nm@ti.com>
> Cc: Vignesh Raghavendra <vigneshr@ti.com>
> Signed-off-by: Tony Lindgren <tony@atomide.com>
> Signed-off-by: Nishanth Menon <nm@ti.com>
> Link: https://lore.kernel.org/r/20220407104725.41755-2-tony@atomide.com
> ---
> arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 108 +++++++++++++++++++++++
> arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi | 41 +++++++++
> 2 files changed, 149 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
> --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
> @@ -271,6 +271,114 @@ main_spi4: spi@2140000 {
> #size-cells = <0>;
> };
>
> + main_timer0: timer@2400000 {
> + compatible = "ti,am6-timer";
> + reg = <0x00 0x2400000 0x00 0x400>;
> + interrupts = <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&k3_clks 23 12>;
> + clock-names = "fck";
> + ti,timer-pwm;
> + };
Tony,
Lets hold this back one more window.. ti,am6-timer should come
in the next rc1, but I still dont see this yet in next-20220706, So, i am
going to have to skip this window at least.
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
next prev parent reply other threads:[~2022-07-06 23:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-07 10:47 [PATCH 1/2] arm64: dts: ti: k3-am65: Configure pinctrl for timer IO pads Tony Lindgren
2022-04-07 10:47 ` [PATCH 2/2] arm64: dts: ti: k3-am65: Add general purpose timers for am65 Tony Lindgren
2022-07-06 23:21 ` Nishanth Menon [this message]
2022-08-15 12:59 ` Tony Lindgren
2022-08-24 10:45 ` Tony Lindgren
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=20220706232157.thvbsr6emvyy6i5o@resend \
--to=nm@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=j-keerthy@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=tony@atomide.com \
--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