[PATCH] arm64: dts: ti: Add missing applied DT overlay targets

Rob Herring (Arm) posted 1 patch 2 weeks ago
There is a newer version of this series
arch/arm64/boot/dts/ti/Makefile | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
[PATCH] arm64: dts: ti: Add missing applied DT overlay targets
Posted by Rob Herring (Arm) 2 weeks ago
It's a requirement that DT overlays be applied at build time in order to
validate them as overlays are not validated on their own.

Add the missing TI overlays. Some of the TI overlays have the first part
needed (a "*-dtbs" variable), but not the second part adding the target to
dtb-y/dtb- variable.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
This will soon be a warning[1].

[1] https://lore.kernel.org/all/20251114222759.4181152-1-robh@kernel.org/
---
 arch/arm64/boot/dts/ti/Makefile | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile
index 743115b849a7..54c4a6ba23c7 100644
--- a/arch/arm64/boot/dts/ti/Makefile
+++ b/arch/arm64/boot/dts/ti/Makefile
@@ -115,7 +115,8 @@ dtb-$(CONFIG_ARCH_K3) += k3-j7200-evm.dtb
 dtb-$(CONFIG_ARCH_K3) += k3-j7200-evm-pcie1-ep.dtbo
 
 # Boards with J721e SoC
-k3-j721e-evm-dtbs := k3-j721e-common-proc-board.dtb k3-j721e-evm-quad-port-eth-exp.dtbo
+k3-j721e-evm-dtbs := k3-j721e-common-proc-board.dtb \
+	k3-j721e-evm-quad-port-eth-exp.dtbo k3-j721e-evm-gesi-exp-board.dtbo
 dtb-$(CONFIG_ARCH_K3) += k3-j721e-beagleboneai64.dtb
 dtb-$(CONFIG_ARCH_K3) += k3-j721e-common-proc-board-infotainment.dtbo
 dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm.dtb
@@ -177,6 +178,7 @@ k3-am625-sk-csi2-tevi-ov5640-dtbs := k3-am625-sk.dtb \
 	k3-am62x-sk-csi2-tevi-ov5640.dtbo
 k3-am625-sk-hdmi-audio-dtbs := k3-am625-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
 k3-am62-lp-sk-hdmi-audio-dtbs := k3-am62-lp-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
+k3-am62-lp-sk-nand-dtbs := k3-am62-lp-sk.dtb k3-am62-lp-sk-nand.dtbo
 k3-am62a7-sk-csi2-imx219-dtbs := k3-am62a7-sk.dtb \
 	k3-am62x-sk-csi2-imx219.dtbo
 k3-am62a7-sk-csi2-ov5640-dtbs := k3-am62a7-sk.dtb \
@@ -254,11 +256,17 @@ k3-j784s4-evm-usxgmii-exp1-exp2-dtbs := k3-j784s4-evm.dtb \
 	k3-j784s4-evm-usxgmii-exp1-exp2.dtbo
 dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \
 	k3-am625-beagleplay-csi2-tevi-ov5640.dtb \
+	k3-am625-phyboard-lyra-disable-eth-phy.dtb \
+	k3-am625-phyboard-lyra-disable-rtc.dtb \
+	k3-am625-phyboard-lyra-disable-spi-nor.dtb \
+	k3-am625-phyboard-lyra-gpio-fan.dtb \
+	k3-am625-phyboard-lyra-qspi-nor.dtb \
 	k3-am625-sk-csi2-imx219.dtb \
 	k3-am625-sk-csi2-ov5640.dtb \
 	k3-am625-sk-csi2-tevi-ov5640.dtb \
 	k3-am625-sk-hdmi-audio.dtb \
 	k3-am62-lp-sk-hdmi-audio.dtb \
+	k3-am62-lp-sk-nand.dtb \
 	k3-am62a7-sk-csi2-imx219.dtb \
 	k3-am62a7-sk-csi2-ov5640.dtb \
 	k3-am62a7-sk-hdmi-audio.dtb \
@@ -268,6 +276,14 @@ dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \
 	k3-am642-evm-icssg1-dualemac.dtb \
 	k3-am642-evm-icssg1-dualemac-mii.dtb \
 	k3-am642-evm-pcie0-ep.dtb \
+	k3-am642-phyboard-electra-disable-eth-phy.dtb \
+	k3-am642-phyboard-electra-disable-rtc.dtb \
+	k3-am642-phyboard-electra-disable-spi-nor.dtb \
+	k3-am642-phyboard-electra-qspi-nor.dtb \
+	k3-am642-phyboard-electra-gpio-fan.dtb \
+	k3-am642-phyboard-electra-pcie-usb2.dtb \
+	k3-am642-phyboard-electra-x27-gpio1-spi1-uart3.dtb \
+	k3-am642-phyboard-electra-peb-c-010.dtb \
 	k3-am642-tqma64xxl-mbax4xxl-sdcard.dtb \
 	k3-am642-tqma64xxl-mbax4xxl-wlan.dtb \
 	k3-am68-sk-base-board-csi2-dual-imx219.dtb \
-- 
2.51.0
Re: [PATCH] arm64: dts: ti: Add missing applied DT overlay targets
Posted by Vignesh Raghavendra 1 week, 5 days ago
+ wadim who posted something similar:

Hi Rob,

On 18/11/25 02:43, Rob Herring (Arm) wrote:
> It's a requirement that DT overlays be applied at build time in order to
> validate them as overlays are not validated on their own.
> 
> Add the missing TI overlays. Some of the TI overlays have the first part
> needed (a "*-dtbs" variable), but not the second part adding the target to
> dtb-y/dtb- variable.
> 
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

Look like there is more needed change needed.

https://lore.kernel.org/all/20251119123216.1481420-1-w.egorov@phytec.de/

Could one of you post the superset patch?


I have already sent out the PR for v6.19rc1 for TI tree? Is [1] plan to
be merged for v6.19 cycle, if so I will plan for a follow up PR with
newer version of this patch.

> ---
> This will soon be a warning[1].
> 
> [1] https://lore.kernel.org/all/20251114222759.4181152-1-robh@kernel.org/

BTW, with above patch, make dtbs seems to fail w/o CONFIG_OF_ALL_DTBS=y.
Is that expected?

> ---
>  arch/arm64/boot/dts/ti/Makefile | 18 +++++++++++++++++-
>  1 file changed, 17 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile
> index 743115b849a7..54c4a6ba23c7 100644
> --- a/arch/arm64/boot/dts/ti/Makefile
> +++ b/arch/arm64/boot/dts/ti/Makefile
> @@ -115,7 +115,8 @@ dtb-$(CONFIG_ARCH_K3) += k3-j7200-evm.dtb
>  dtb-$(CONFIG_ARCH_K3) += k3-j7200-evm-pcie1-ep.dtbo
>  
>  # Boards with J721e SoC
> -k3-j721e-evm-dtbs := k3-j721e-common-proc-board.dtb k3-j721e-evm-quad-port-eth-exp.dtbo
> +k3-j721e-evm-dtbs := k3-j721e-common-proc-board.dtb \
> +	k3-j721e-evm-quad-port-eth-exp.dtbo k3-j721e-evm-gesi-exp-board.dtbo
>  dtb-$(CONFIG_ARCH_K3) += k3-j721e-beagleboneai64.dtb
>  dtb-$(CONFIG_ARCH_K3) += k3-j721e-common-proc-board-infotainment.dtbo
>  dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm.dtb
> @@ -177,6 +178,7 @@ k3-am625-sk-csi2-tevi-ov5640-dtbs := k3-am625-sk.dtb \
>  	k3-am62x-sk-csi2-tevi-ov5640.dtbo
>  k3-am625-sk-hdmi-audio-dtbs := k3-am625-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
>  k3-am62-lp-sk-hdmi-audio-dtbs := k3-am62-lp-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
> +k3-am62-lp-sk-nand-dtbs := k3-am62-lp-sk.dtb k3-am62-lp-sk-nand.dtbo
>  k3-am62a7-sk-csi2-imx219-dtbs := k3-am62a7-sk.dtb \
>  	k3-am62x-sk-csi2-imx219.dtbo
>  k3-am62a7-sk-csi2-ov5640-dtbs := k3-am62a7-sk.dtb \
> @@ -254,11 +256,17 @@ k3-j784s4-evm-usxgmii-exp1-exp2-dtbs := k3-j784s4-evm.dtb \
>  	k3-j784s4-evm-usxgmii-exp1-exp2.dtbo
>  dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \
>  	k3-am625-beagleplay-csi2-tevi-ov5640.dtb \
> +	k3-am625-phyboard-lyra-disable-eth-phy.dtb \
> +	k3-am625-phyboard-lyra-disable-rtc.dtb \
> +	k3-am625-phyboard-lyra-disable-spi-nor.dtb \
> +	k3-am625-phyboard-lyra-gpio-fan.dtb \
> +	k3-am625-phyboard-lyra-qspi-nor.dtb \
>  	k3-am625-sk-csi2-imx219.dtb \
>  	k3-am625-sk-csi2-ov5640.dtb \
>  	k3-am625-sk-csi2-tevi-ov5640.dtb \
>  	k3-am625-sk-hdmi-audio.dtb \
>  	k3-am62-lp-sk-hdmi-audio.dtb \
> +	k3-am62-lp-sk-nand.dtb \
>  	k3-am62a7-sk-csi2-imx219.dtb \
>  	k3-am62a7-sk-csi2-ov5640.dtb \
>  	k3-am62a7-sk-hdmi-audio.dtb \
> @@ -268,6 +276,14 @@ dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \
>  	k3-am642-evm-icssg1-dualemac.dtb \
>  	k3-am642-evm-icssg1-dualemac-mii.dtb \
>  	k3-am642-evm-pcie0-ep.dtb \
> +	k3-am642-phyboard-electra-disable-eth-phy.dtb \
> +	k3-am642-phyboard-electra-disable-rtc.dtb \
> +	k3-am642-phyboard-electra-disable-spi-nor.dtb \
> +	k3-am642-phyboard-electra-qspi-nor.dtb \
> +	k3-am642-phyboard-electra-gpio-fan.dtb \
> +	k3-am642-phyboard-electra-pcie-usb2.dtb \
> +	k3-am642-phyboard-electra-x27-gpio1-spi1-uart3.dtb \
> +	k3-am642-phyboard-electra-peb-c-010.dtb \
>  	k3-am642-tqma64xxl-mbax4xxl-sdcard.dtb \
>  	k3-am642-tqma64xxl-mbax4xxl-wlan.dtb \
>  	k3-am68-sk-base-board-csi2-dual-imx219.dtb \

-- 
Regards
Vignesh
https://ti.com/opensource
Re: [PATCH] arm64: dts: ti: Add missing applied DT overlay targets
Posted by Rob Herring 1 week, 5 days ago
On Wed, Nov 19, 2025 at 8:47 AM Vignesh Raghavendra <vigneshr@ti.com> wrote:
>
> + wadim who posted something similar:
>
> Hi Rob,
>
> On 18/11/25 02:43, Rob Herring (Arm) wrote:
> > It's a requirement that DT overlays be applied at build time in order to
> > validate them as overlays are not validated on their own.
> >
> > Add the missing TI overlays. Some of the TI overlays have the first part
> > needed (a "*-dtbs" variable), but not the second part adding the target to
> > dtb-y/dtb- variable.
> >
> > Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
>
> Look like there is more needed change needed.
>
> https://lore.kernel.org/all/20251119123216.1481420-1-w.egorov@phytec.de/
>
> Could one of you post the superset patch?

I'll leave it to Wadim.

>
> I have already sent out the PR for v6.19rc1 for TI tree? Is [1] plan to
> be merged for v6.19 cycle, if so I will plan for a follow up PR with
> newer version of this patch.
>
> > ---
> > This will soon be a warning[1].
> >
> > [1] https://lore.kernel.org/all/20251114222759.4181152-1-robh@kernel.org/
>
> BTW, with above patch, make dtbs seems to fail w/o CONFIG_OF_ALL_DTBS=y.
> Is that expected?

Yes. What's in linux-next now is fixed.

Rob
Re: [PATCH] arm64: dts: ti: Add missing applied DT overlay targets
Posted by Vignesh Raghavendra 1 week, 4 days ago

On 20/11/25 03:26, Rob Herring wrote:
> On Wed, Nov 19, 2025 at 8:47 AM Vignesh Raghavendra <vigneshr@ti.com> wrote:
>>
>> + wadim who posted something similar:
>>
>> Hi Rob,
>>
>> On 18/11/25 02:43, Rob Herring (Arm) wrote:
>>> It's a requirement that DT overlays be applied at build time in order to
>>> validate them as overlays are not validated on their own.
>>>
>>> Add the missing TI overlays. Some of the TI overlays have the first part
>>> needed (a "*-dtbs" variable), but not the second part adding the target to
>>> dtb-y/dtb- variable.
>>>
>>> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
>>
>> Look like there is more needed change needed.
>>
>> https://lore.kernel.org/all/20251119123216.1481420-1-w.egorov@phytec.de/
>>
>> Could one of you post the superset patch?
> 
> I'll leave it to Wadim.

Probably best to merge Wadim's patch first and then then delta. I will
take care of posting the next as TI board targets need a bit more tweaking.

> 
>>
>> I have already sent out the PR for v6.19rc1 for TI tree? Is [1] plan to
>> be merged for v6.19 cycle, if so I will plan for a follow up PR with
>> newer version of this patch.
>>
>>> ---
>>> This will soon be a warning[1].
>>>
>>> [1] https://lore.kernel.org/all/20251114222759.4181152-1-robh@kernel.org/
>>
>> BTW, with above patch, make dtbs seems to fail w/o CONFIG_OF_ALL_DTBS=y.
>> Is that expected?
> 
> Yes. What's in linux-next now is fixed.
> 
> Rob

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

Re: [PATCH] arm64: dts: ti: Add missing applied DT overlay targets
Posted by Wadim Egorov 1 week, 4 days ago

On 11/20/25 7:14 AM, Vignesh Raghavendra wrote:
> 
> 
> On 20/11/25 03:26, Rob Herring wrote:
>> On Wed, Nov 19, 2025 at 8:47 AM Vignesh Raghavendra <vigneshr@ti.com> wrote:
>>>
>>> + wadim who posted something similar:
>>>
>>> Hi Rob,
>>>
>>> On 18/11/25 02:43, Rob Herring (Arm) wrote:
>>>> It's a requirement that DT overlays be applied at build time in order to
>>>> validate them as overlays are not validated on their own.
>>>>
>>>> Add the missing TI overlays. Some of the TI overlays have the first part
>>>> needed (a "*-dtbs" variable), but not the second part adding the target to
>>>> dtb-y/dtb- variable.
>>>>
>>>> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
>>>
>>> Look like there is more needed change needed.
>>>
>>> https://lore.kernel.org/all/20251119123216.1481420-1-w.egorov@phytec.de/
>>>
>>> Could one of you post the superset patch?
>>
>> I'll leave it to Wadim.
> 
> Probably best to merge Wadim's patch first and then then delta. I will
> take care of posting the next as TI board targets need a bit more tweaking.

OK, let me know if there is anything needed from my side.

> 
>>
>>>
>>> I have already sent out the PR for v6.19rc1 for TI tree? Is [1] plan to
>>> be merged for v6.19 cycle, if so I will plan for a follow up PR with
>>> newer version of this patch.
>>>
>>>> ---
>>>> This will soon be a warning[1].
>>>>
>>>> [1] https://lore.kernel.org/all/20251114222759.4181152-1-robh@kernel.org/
>>>
>>> BTW, with above patch, make dtbs seems to fail w/o CONFIG_OF_ALL_DTBS=y.
>>> Is that expected?
>>
>> Yes. What's in linux-next now is fixed.
>>
>> Rob
>