public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Dinh Nguyen <dinguyen@kernel.org>
To: Krzysztof Kozlowski <krzk@kernel.org>,
	robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org
Cc: devicetree@vger.kernel.org
Subject: Re: [PATCHv2] ARM: dts: socfpga: remove underscore node names for base socfpga dtsi
Date: Mon, 12 Jan 2026 09:29:44 -0600	[thread overview]
Message-ID: <45c8878a-347a-4e30-af3a-6f8ada2a1a78@kernel.org> (raw)
In-Reply-To: <ef4bbb5a-4019-4b2b-91a3-b103c99be335@kernel.org>



On 1/12/26 01:34, Krzysztof Kozlowski wrote:
> On 12/01/2026 05:41, Dinh Nguyen wrote:
>> The node names in a DTS file should be using a hyphen, not an underscore
>> as warned by 'dtc W=2'.
>>
>> For clock nodes, use clock-controller@address and clock-<name>. While at
>> it, fix DTS coding style to use lowercase hex for values and unit
>> addresses for these clock nodes.
>>
>> There are no functional change in this patch.
>>
>> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
>> ---
>> v2: used clock-controller@address and clock-name
>>      reworded commit message
>> ---
>>   arch/arm/boot/dts/intel/socfpga/socfpga.dtsi | 128 +++++++++----------
>>   1 file changed, 64 insertions(+), 64 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/intel/socfpga/socfpga.dtsi b/arch/arm/boot/dts/intel/socfpga/socfpga.dtsi
>> index 35be14150f41..28494aeb71b2 100644
>> --- a/arch/arm/boot/dts/intel/socfpga/socfpga.dtsi
>> +++ b/arch/arm/boot/dts/intel/socfpga/socfpga.dtsi
>> @@ -131,17 +131,17 @@ osc2: osc2 {
>>   						compatible = "fixed-clock";
>>   					};
>>   
>> -					f2s_periph_ref_clk: f2s_periph_ref_clk {
>> +					f2s_periph_ref_clk: clock-f2s-periph-ref {
>>   						#clock-cells = <0>;
>>   						compatible = "fixed-clock";
> 
> I am pretty sure this is functional change, because you just changed the
> name of the clock. At least that is the impression of above diff.
> 

Thanks for the review. I'll check it with dtx_diff and fdtdump. I just 
don't see the the clock names getting used anywhere.

Dinh

  reply	other threads:[~2026-01-12 15:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-12  4:41 [PATCHv2] ARM: dts: socfpga: remove underscore node names for base socfpga dtsi Dinh Nguyen
2026-01-12  7:34 ` Krzysztof Kozlowski
2026-01-12 15:29   ` Dinh Nguyen [this message]
2026-01-12 15:50     ` Krzysztof Kozlowski
2026-01-12 16:42 ` Rob Herring

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=45c8878a-347a-4e30-af3a-6f8ada2a1a78@kernel.org \
    --to=dinguyen@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=robh@kernel.org \
    /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