From: Wadim Egorov <w.egorov@phytec.de>
To: Vignesh Raghavendra <vigneshr@ti.com>,
Nathan Morrisson <nmorrisson@phytec.com>, <nm@ti.com>,
<kristo@kernel.org>, <robh@kernel.org>, <krzk+dt@kernel.org>,
<conor+dt@kernel.org>, Daniel Schultz <D.Schultz@phytec.de>
Cc: <linux-arm-kernel@lists.infradead.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<upstream@lists.phytec.de>
Subject: Re: [PATCH v2 0/4] Add overlays to disable optional hardware in k3-am6xx-phycore-som boards
Date: Mon, 10 Jun 2024 10:07:21 +0200 [thread overview]
Message-ID: <33084cb0-95f4-414d-b094-bf704376fd02@phytec.de> (raw)
In-Reply-To: <4ac40139-eda0-4f6a-8bbe-99110605f91e@ti.com>
Add: Daniel Schultz
Am 03.06.24 um 19:41 schrieb Vignesh Raghavendra:
> Hi Nathan,
>
> On 29/05/24 04:21, Nathan Morrisson wrote:
>> Add three overlays to disable the eth phy, rtc, and spi nor. These
>> overlays will be used to disable device tree nodes for components
>> that are optionally not populated.
>>
>> v2:
>> - Add build time tests in makefile
>>
>> Nathan Morrisson (4):
>> arm64: dts: ti: k3-am64-phycore-som: Add serial_flash label
>
>
>> arm64: dts: ti: k3-am6xx-phycore-som: Add overlay to disable eth phy
>> arm64: dts: ti: k3-am6xx-phycore-som: Add overlay to disable rtc
>> arm64: dts: ti: k3-am6xx-phycore-som: Add overlay to disabl spi nor
>>
>> arch/arm64/boot/dts/ti/Makefile | 17 +++++++++++++++++
>> .../boot/dts/ti/k3-am64-phycore-som.dtsi | 2 +-
>> .../ti/k3-am6xx-phycore-disable-eth-phy.dtso | 19 +++++++++++++++++++
>> .../dts/ti/k3-am6xx-phycore-disable-rtc.dtso | 15 +++++++++++++++
>> .../ti/k3-am6xx-phycore-disable-spi-nor.dtso | 15 +++++++++++++++
>> 5 files changed, 67 insertions(+), 1 deletion(-)
>
>> create mode 100644 arch/arm64/boot/dts/ti/k3-am6xx-phycore-disable-eth-phy.dtso
>> create mode 100644 arch/arm64/boot/dts/ti/k3-am6xx-phycore-disable-rtc.dtso
>> create mode 100644 arch/arm64/boot/dts/ti/k3-am6xx-phycore-disable-spi-nor.dtso
>>
>
> I am not sure if this a common practice to have overlays to disable
> missing components (at least I dont see such dtso in kernel). I would
> like to see an what DT maintainers feel as such dtsos can explode in
> numbers.
>
> Is this something that U-Boot can detect and fix up for the Linux DT?
>
> Unpopulated SPI flash and RTC should ideally not be an issue as drivers
> would gracefully fail albeit with some sort of error msg.
> Not so sure about Eth PHYs though.
>
> Also, Are these dtso's mutually exclusive? ie can SoM have SPI flash but
> not RTC, have RTC and SPI Flash but no ETH PHY?
>
next prev parent reply other threads:[~2024-06-10 8:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-28 22:51 [PATCH v2 0/4] Add overlays to disable optional hardware in k3-am6xx-phycore-som boards Nathan Morrisson
2024-05-28 22:51 ` [PATCH v2 1/4] arm64: dts: ti: k3-am64-phycore-som: Add serial_flash label Nathan Morrisson
2024-05-31 8:28 ` Wadim Egorov
2024-05-31 8:53 ` Krzysztof Kozlowski
2024-05-31 8:57 ` Wadim Egorov
2024-05-28 22:51 ` [PATCH v2 2/4] arm64: dts: ti: k3-am6xx-phycore-som: Add overlay to disable eth phy Nathan Morrisson
2024-05-28 22:51 ` [PATCH v2 3/4] arm64: dts: ti: k3-am6xx-phycore-som: Add overlay to disable rtc Nathan Morrisson
2024-05-28 22:51 ` [PATCH v2 4/4] arm64: dts: ti: k3-am6xx-phycore-som: Add overlay to disabl spi nor Nathan Morrisson
2024-05-31 8:56 ` [PATCH v2 0/4] Add overlays to disable optional hardware in k3-am6xx-phycore-som boards Wadim Egorov
2024-06-03 17:41 ` Vignesh Raghavendra
2024-06-04 23:15 ` Nathan Morrisson
2024-06-12 10:19 ` Vignesh Raghavendra
2024-06-13 23:07 ` Nathan Morrisson
2024-06-10 8:07 ` Wadim Egorov [this message]
2024-06-11 13:11 ` Daniel Schultz
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=33084cb0-95f4-414d-b094-bf704376fd02@phytec.de \
--to=w.egorov@phytec.de \
--cc=D.Schultz@phytec.de \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--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=nmorrisson@phytec.com \
--cc=robh@kernel.org \
--cc=upstream@lists.phytec.de \
--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