From: Nishanth Menon <nm@ti.com>
To: Francesco Dolcini <francesco@dolcini.it>
Cc: Jai Luthra <j-luthra@ti.com>,
Vignesh Raghavendra <vigneshr@ti.com>,
Tero Kristo <kristo@kernel.org>, Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
Francesco Dolcini <francesco.dolcini@toradex.com>
Subject: Re: [PATCH v1 1/4] arm64: dts: ti: k3-am62x: Enable AUDIO_REFCLKx
Date: Wed, 2 Aug 2023 08:32:44 -0500 [thread overview]
Message-ID: <20230802133244.b66pg3mztotgqotm@steerable> (raw)
In-Reply-To: <23C6E13C-3F10-490B-A18E-C67B91CBAF35@dolcini.it>
On 13:37-20230802, Francesco Dolcini wrote:
>
>
> Il 2 agosto 2023 13:23:50 CEST, Jai Luthra <j-luthra@ti.com> ha scritto:
> >Hi Francesco,
> >
> >Thank you for posting this patch.
> >
> >On Jul 31, 2023 at 16:21:32 +0200, Francesco Dolcini wrote:
> >> From: Jai Luthra <j-luthra@ti.com>
> >>
> >> On AM62-based SoCs the AUDIO_REFCLKx clocks can be used as an input to
> >> external peripherals when configured through CTRL_MMR, so add the
> >> clock nodes.
> >>
> >> Signed-off-by: Jai Luthra <j-luthra@ti.com>
> >> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
> >> ---
> >> arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 18 ++++++++++++++++++
> >> arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 18 ++++++++++++++++++
> >
> >Given currently none of the AM62A boards are using the refclks, can you
> >drop those or just mark the nodes as disabled. Whoever is the first user
> >can enable them.
>
> I can drop the 2 clocks from AM62A, however, should we really do it? These clocks exist and they are just defined in the DTS, they are not going to be enabled if not used, "ti,am62-epwm-tbclk" is also not disabled for example.
Overall, the SoC clock as such has nothing to do with board specific, so
leave it default (enabled) in SoC.dts - just want to make sure that the
clk-parent selection doesn't get in the way of platforms and is a sane
default.
I find audio clock muxing a bit of a pain (only next to DSS clocking,
but that is another story).. so will depend on you folks for help.
Looking at https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/am62ax/clocks.html#clocks-for-board0-device
and Clocking spec, setting this:
+ assigned-clocks = <&k3_clks 157 0>;
+ assigned-clock-parents = <&k3_clks 157 8>;
as default implies:
pll2_hsdiv8 output - which looks like the default mux value anyways.. I
am ok for it being explicit, but wondering if that works for boards that
do not use this default.
Could you guys confirm?
(sidenote): Fransesco - your new mail client has line wrap issues ;)
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-08-02 13:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-31 14:21 [PATCH v1 0/4] arm64: dts: ti: Enable Audio on Verdin AM62 Francesco Dolcini
2023-07-31 14:21 ` [PATCH v1 1/4] arm64: dts: ti: k3-am62x: Enable AUDIO_REFCLKx Francesco Dolcini
2023-08-02 11:23 ` Jai Luthra
2023-08-02 11:37 ` Francesco Dolcini
2023-08-02 13:32 ` Nishanth Menon [this message]
2023-08-02 13:41 ` Francesco Dolcini
2023-08-02 14:00 ` Nishanth Menon
2023-08-03 5:58 ` Jai Luthra
2023-07-31 14:21 ` [PATCH v1 2/4] arm64: dts: ti: verdin-am62: Set I2S_1 MCLK rate Francesco Dolcini
2023-08-02 11:16 ` Jai Luthra
2023-07-31 14:21 ` [PATCH v1 3/4] arm64: dts: ti: verdin-am62: dev: add sound card Francesco Dolcini
2023-08-02 11:17 ` Jai Luthra
2023-07-31 14:21 ` [PATCH v1 4/4] arm64: dts: ti: verdin-am62: dahlia: " Francesco Dolcini
2023-08-02 11:18 ` Jai Luthra
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=20230802133244.b66pg3mztotgqotm@steerable \
--to=nm@ti.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=francesco.dolcini@toradex.com \
--cc=francesco@dolcini.it \
--cc=j-luthra@ti.com \
--cc=kristo@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--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