devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vignesh Raghavendra <vigneshr@ti.com>
To: Francesco Dolcini <francesco@dolcini.it>
Cc: "Andrew Davis" <afd@ti.com>, "Nishanth Menon" <nm@ti.com>,
	"Tero Kristo" <kristo@kernel.org>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Parth Pancholi" <parth.pancholi@toradex.com>,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	"Emanuele Ghidoli" <emanuele.ghidoli@toradex.com>,
	"Ernest Van Hoecke" <ernest.vanhoecke@toradex.com>,
	"João Paulo Gonçalves" <joao.goncalves@toradex.com>,
	"Francesco Dolcini" <francesco.dolcini@toradex.com>
Subject: Re: [PATCH v1 2/3] arm64: dts: ti: Add Aquila AM69 Support
Date: Tue, 11 Nov 2025 19:33:21 +0530	[thread overview]
Message-ID: <173b8b67-b077-4ec6-8bd6-1683ad28e2dc@ti.com> (raw)
In-Reply-To: <20251110094716.GA7356@francesco-nb>



On 10/11/25 15:17, Francesco Dolcini wrote:
> Hi Vignesh,
> 
> On Mon, Nov 10, 2025 at 10:06:58AM +0530, Vignesh Raghavendra wrote:
>> On 06/11/25 15:49, Francesco Dolcini wrote:
>>>>> Yes, known. Is this an issue?
>>>>>
>>>>> This node must be disabled, no matter what is present in any included
>>>>> dtsi file, it's a deliberate decision.
>>>>>
>>>>> This dtsi file describes a SoM, the used pins/functions are defined on
>>>>> the pinout, but this node cannot be enabled unless the SoM is mated with
>>>>> a carrier board that is exposing it.
>>>> Same as my point above, you shouldn't enable nodes that are not used
>>>> or have anything attached. The SoM only has some edge connectors so
>>>> it should not be enabled at the SoM level, that we seem to agree, but
>>>> the carrier board doesn't connect those lines to anything either. They
>>>> just run to a pin header with nothing attached, how is that header
>>>> any different than the pins on the edge of the SoM?
>>> You are commenting something unrelated here, or I am not understanding
>>> you.
>>>
>>> You commented that the status = "disabled" is redundant. We both agree
>>> that this node needs to be disabled in the SoM dtsi, and it is already
>>> like that.
>>>
>>> I would prefer to keep the redundant "disabled", because I see value on
>>> not having to rely on what is done on any included dtsi, where the
>>> original node is defined. 
>>
>>
>> One can always reverse compile the DTB to see if a node is enabled or not.
> 
> Sure. My reason for having it explicitly disabled here is not to have to
> depend on anything that is happening on the included dtsi on this
> regard, given that we really want those disabled in the SoM.
> 
> See for example https://lore.kernel.org/all/20251015111344.3639415-1-s-vadapalli@ti.com/
> where you can see that our verdin am62 was not impacted by this change
> at all. 
> 
> To me this is just a benefit, without any drawback.
> 
>>> I see this as a common pattern in multiple
>>> dts/dtsi file and is what I would prefer to have (and I do not see any
>>> kind of maintenance  overhead on having it nor this being in conflict
>>> with dts-coding-style.rst).
>>
>> I cannot seem to find any precedence to such a pattern (adding status =
>> "disabled" for nodes that are already disabled at SoC level dtsi.) Could
>> you point me to some?
> 
> Just a couple of examples, you can easily find more if needed
> 
>   k3-am62-verdin.dtsi:&main_spi1
>   nxp/imx/imx6qdl-phytec-phycore-som.dtsi:&fec
> 
> 
>>> Vignesh, Nishanth, what is your expectation on this redundant
>>> `status = "disabled"` property?
>>> 	
>>
>> Assuming such pattern exists, please add a note in the commit message in
>> the next version.
> 
> With that said, it's a small thing, if you prefer me to change it just
> let me know and I'll send a v2 with this changed.
> 
> Vignesh: do you prefer a v2 with a mention in the commit message on the
> `disabled` node, or that I just get rid of those? Anything else that you
> spotted on this patch and that should be changed?
> 

Please send v2 with line added in commit message.

PS: I fully except someone to send a patch cleaning up all the double
disables without knowing the background :)


> Francesco
> 

-- 
Regards
Vignesh
https://ti.com/opensource


  reply	other threads:[~2025-11-11 14:05 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-04 14:49 [PATCH v1 0/3] arm64: dts: ti: Add Aquila AM69 Support Francesco Dolcini
2025-11-04 14:52 ` [PATCH v1 1/3] dt-bindings: arm: ti: add Toradex Aquila AM69 Francesco Dolcini
2025-11-04 14:52   ` [PATCH v1 2/3] arm64: dts: ti: Add Aquila AM69 Support Francesco Dolcini
2025-11-04 17:41     ` Andrew Davis
2025-11-05 11:53       ` Francesco Dolcini
2025-11-05 20:01         ` Andrew Davis
2025-11-06 10:19           ` Francesco Dolcini
2025-11-06 13:32             ` Andrew Davis
2025-11-06 15:03               ` Francesco Dolcini
2025-11-10  4:36             ` Vignesh Raghavendra
2025-11-10  9:47               ` Francesco Dolcini
2025-11-11 14:03                 ` Vignesh Raghavendra [this message]
2025-11-04 14:52   ` [PATCH v1 3/3] arm64: dts: ti: am69-aquila: Add Clover Francesco Dolcini
2025-11-04 17:20   ` [PATCH v1 1/3] dt-bindings: arm: ti: add Toradex Aquila AM69 Conor Dooley

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=173b8b67-b077-4ec6-8bd6-1683ad28e2dc@ti.com \
    --to=vigneshr@ti.com \
    --cc=afd@ti.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=emanuele.ghidoli@toradex.com \
    --cc=ernest.vanhoecke@toradex.com \
    --cc=francesco.dolcini@toradex.com \
    --cc=francesco@dolcini.it \
    --cc=joao.goncalves@toradex.com \
    --cc=kristo@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=parth.pancholi@toradex.com \
    --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;
as well as URLs for NNTP newsgroup(s).