From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: Nishanth Menon <nm@ti.com>
Cc: Tero Kristo <t-kristo@ti.com>, <devicetree@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
Swapnil Jakhade <sjakhade@cadence.com>,
Kishon Vijay Abraham I <kishon@ti.com>
Subject: Re: [PATCH 4/4] arm64: dts: ti: am654-base-board: fix clock node name
Date: Tue, 27 Oct 2020 16:55:31 +0200 [thread overview]
Message-ID: <ffcaa8a3-539d-62ed-2d46-560f2173dd83@ti.com> (raw)
In-Reply-To: <20201027123941.tgkqxx4rk56sl5tf@crafty>
On 27/10/2020 14:39, Nishanth Menon wrote:
> On 12:41-20201027, Tomi Valkeinen wrote:
>> The fixed clock for OV5640 is named 'clock' which is a very generic name
>> and easily leads to conflicts. I encountered this with a similarly named
>> fixed-clock node in k3-am654-evm-tc358876.dtso, which then overrode the
>> OV5640 fixed clock, causing OV5640 not to work when tc358876 overlay had
>> been loaded.
>>
>> Rename the node to 'fixed-clock-ov5640'.
>>
>> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
>> ---
>> arch/arm64/boot/dts/ti/k3-am654-base-board.dts | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
>> index d12dd89f3405..6801dbddeac5 100644
>> --- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
>> +++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
>> @@ -55,7 +55,7 @@ sw6 {
>> };
>> };
>>
>> - clk_ov5640_fixed: clock {
>> + clk_ov5640_fixed: fixed-clock-ov5640 {
>> compatible = "fixed-clock";
>> #clock-cells = <0>;
>> clock-frequency = <24000000>;
>> --
>> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
>> Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
>>
>
> I think you could post this independently as well.
>
> https://github.com/devicetree-org/devicetree-specification/blob/v0.3/source/devicetree-basics.rst#generic-names-recommendation
>
> There is a strong desire to use standard node names and
> clock is recommended. even though there are tons of fixed-clock
> compatible clocks in the kernel today, as of v5.10-rc1:
>
> $ git grep fixed-clock- arch/arm64/boot/dts/
> $ git grep fixed-clock- arch/arm/boot/dts/
>
> As a node name is not used. Do you want to see how other
> platforms are trying to resolve similar issues?
There doesn't seem to be a standard:
$ git grep -B2 fixed-clock arch/arm/boot/dts/
The node names are just about everything.
Tomi
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
next prev parent reply other threads:[~2020-10-27 17:21 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-27 10:41 [PATCH 0/4] arm64: dts: ti: AM6 and J721e display dts changes Tomi Valkeinen
2020-10-27 10:41 ` [PATCH 1/4] arm64: dts: ti: k3-j721e-main: add DP & DP PHY Tomi Valkeinen
2020-10-27 12:40 ` Nishanth Menon
2020-10-27 10:41 ` [PATCH 2/4] arm64: dts: ti: k3-j721e-common-proc-board: add DP to j7 evm Tomi Valkeinen
2020-10-27 12:20 ` Nishanth Menon
2020-10-27 14:44 ` Tomi Valkeinen
2020-10-27 15:14 ` Nishanth Menon
2020-10-27 10:41 ` [PATCH 3/4] arm64: dts: ti: k3-am65: mark dss as dma-coherent Tomi Valkeinen
2020-10-27 12:34 ` Nishanth Menon
2020-10-27 14:45 ` Tomi Valkeinen
2020-10-27 15:14 ` Nishanth Menon
2020-10-27 10:41 ` [PATCH 4/4] arm64: dts: ti: am654-base-board: fix clock node name Tomi Valkeinen
2020-10-27 12:39 ` Nishanth Menon
2020-10-27 14:55 ` Tomi Valkeinen [this message]
2020-10-27 15:24 ` 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=ffcaa8a3-539d-62ed-2d46-560f2173dd83@ti.com \
--to=tomi.valkeinen@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=kishon@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=nm@ti.com \
--cc=sjakhade@cadence.com \
--cc=t-kristo@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