[PATCH v1 1/2] arm64: dts: mediatek: mt7986: add dtbs with applied overlays for bpi-r3

Frank Wunderlich posted 2 patches 2 months, 2 weeks ago
[PATCH v1 1/2] arm64: dts: mediatek: mt7986: add dtbs with applied overlays for bpi-r3
Posted by Frank Wunderlich 2 months, 2 weeks ago
From: Frank Wunderlich <frank-w@public-files.de>

Build devicetree binaries for testing overlays and providing users
full dtb without using overlays.

Suggested-by: Rob Herring <robh+dt@kernel.org>
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
---
resend of
https://patchwork.kernel.org/project/linux-mediatek/patch/20240608080530.9436-2-linux@fw-web.de/
due to discussions here:
https://patchwork.kernel.org/project/linux-mediatek/patch/20251117211306.725678-1-robh@kernel.org/

changes:
- updated sd-nand with sata-overlay
---
 arch/arm64/boot/dts/mediatek/Makefile | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile
index c5fd6191a925..77d76730d61b 100644
--- a/arch/arm64/boot/dts/mediatek/Makefile
+++ b/arch/arm64/boot/dts/mediatek/Makefile
@@ -19,6 +19,27 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-bananapi-bpi-r3-nand.dtbo
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-bananapi-bpi-r3-nor.dtbo
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-bananapi-bpi-r3-sata.dtbo
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-bananapi-bpi-r3-sd.dtbo
+mt7986a-bananapi-bpi-r3-emmc-nand-dtbs := \
+	mt7986a-bananapi-bpi-r3.dtb \
+	mt7986a-bananapi-bpi-r3-emmc.dtbo \
+	mt7986a-bananapi-bpi-r3-nand.dtbo
+dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-bananapi-bpi-r3-emmc-nand.dtb
+mt7986a-bananapi-bpi-r3-emmc-nor-dtbs := \
+	mt7986a-bananapi-bpi-r3.dtb \
+	mt7986a-bananapi-bpi-r3-emmc.dtbo \
+	mt7986a-bananapi-bpi-r3-nor.dtbo
+dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-bananapi-bpi-r3-emmc-nor.dtb
+mt7986a-bananapi-bpi-r3-sd-nand-dtbs := \
+	mt7986a-bananapi-bpi-r3.dtb \
+	mt7986a-bananapi-bpi-r3-sd.dtbo \
+	mt7986a-bananapi-bpi-r3-nand.dtbo \
+	mt7986a-bananapi-bpi-r3-sata.dtbo
+dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-bananapi-bpi-r3-sd-nand.dtb
+mt7986a-bananapi-bpi-r3-sd-nor-dtbs := \
+	mt7986a-bananapi-bpi-r3.dtb \
+	mt7986a-bananapi-bpi-r3-sd.dtbo \
+	mt7986a-bananapi-bpi-r3-nor.dtbo
+dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-bananapi-bpi-r3-sd-nor.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-rfb.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986b-rfb.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt7988a-bananapi-bpi-r4.dtb
-- 
2.43.0
Re: [PATCH v1 1/2] arm64: dts: mediatek: mt7986: add dtbs with applied overlays for bpi-r3
Posted by Krzysztof Kozlowski 2 months ago
On 19/11/2025 18:51, Frank Wunderlich wrote:
> From: Frank Wunderlich <frank-w@public-files.de>
> 
> Build devicetree binaries for testing overlays and providing users
> full dtb without using overlays.
> 
> Suggested-by: Rob Herring <robh+dt@kernel.org>
> Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
> ---
> resend of
> https://patchwork.kernel.org/project/linux-mediatek/patch/20240608080530.9436-2-linux@fw-web.de/
> due to discussions here:
> https://patchwork.kernel.org/project/linux-mediatek/patch/20251117211306.725678-1-robh@kernel.org/
> 
> changes:
> - updated sd-nand with sata-overlay
> ---
>  arch/arm64/boot/dts/mediatek/Makefile | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)


This looks like still not being applied and now it is a warning in
Linus' tree.

Can this be applied and sent as fixes?

Best regards,
Krzysztof
Re: [PATCH v1 1/2] arm64: dts: mediatek: mt7986: add dtbs with applied overlays for bpi-r3
Posted by Frank Wunderlich (linux) 2 months ago
Hi

Am 2025-12-05 09:10, schrieb Krzysztof Kozlowski:
> On 19/11/2025 18:51, Frank Wunderlich wrote:
>> From: Frank Wunderlich <frank-w@public-files.de>
>> 
>> Build devicetree binaries for testing overlays and providing users
>> full dtb without using overlays.
>> 
>> Suggested-by: Rob Herring <robh+dt@kernel.org>
>> Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
>> ---
>> resend of
>> https://patchwork.kernel.org/project/linux-mediatek/patch/20240608080530.9436-2-linux@fw-web.de/
>> due to discussions here:
>> https://patchwork.kernel.org/project/linux-mediatek/patch/20251117211306.725678-1-robh@kernel.org/
>> 
>> changes:
>> - updated sd-nand with sata-overlay
>> ---
>>  arch/arm64/boot/dts/mediatek/Makefile | 21 +++++++++++++++++++++
>>  1 file changed, 21 insertions(+)
> 
> 
> This looks like still not being applied and now it is a warning in
> Linus' tree.
> 
> Can this be applied and sent as fixes?

afair the series was sent after the pull-request from angelo and maybe 
he waited
for an ack from you/rob before applying ;)

if it helps i collected the commits for (possibly) sending as fix

Fixes: a58c36806741 ("arm64: dts: mediatek: mt7988a-bpi-r4pro: Add mmc 
overlays")
Fixes: dec929e61a42 ("arm64: dts: mediatek: mt7988a-bpi-r4-pro: Add PCIe 
overlays")
Fixes: 714a80ced07a ("arm64: dts: mediatek: mt7988a-bpi-r4: Add dt 
overlays for sd + emmc")
Fixes: 312189ebb802 ("arm64: dts: mt7986: add overlay for SATA power 
socket on BPI-R3")
Fixes: 8e01fb15b815 ("arm64: dts: mt7986: add Bananapi R3")

> Best regards,
> Krzysztof

regards Frank
Re: [PATCH v1 1/2] arm64: dts: mediatek: mt7986: add dtbs with applied overlays for bpi-r3
Posted by AngeloGioacchino Del Regno 2 months ago
Il 05/12/25 09:10, Krzysztof Kozlowski ha scritto:
> On 19/11/2025 18:51, Frank Wunderlich wrote:
>> From: Frank Wunderlich <frank-w@public-files.de>
>>
>> Build devicetree binaries for testing overlays and providing users
>> full dtb without using overlays.
>>
>> Suggested-by: Rob Herring <robh+dt@kernel.org>
>> Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
>> ---
>> resend of
>> https://patchwork.kernel.org/project/linux-mediatek/patch/20240608080530.9436-2-linux@fw-web.de/
>> due to discussions here:
>> https://patchwork.kernel.org/project/linux-mediatek/patch/20251117211306.725678-1-robh@kernel.org/
>>
>> changes:
>> - updated sd-nand with sata-overlay
>> ---
>>   arch/arm64/boot/dts/mediatek/Makefile | 21 +++++++++++++++++++++
>>   1 file changed, 21 insertions(+)
> 
> 
> This looks like still not being applied and now it is a warning in
> Linus' tree.
> 
> Can this be applied and sent as fixes?
> 
> Best regards,
> Krzysztof


Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

Matthias, can you please take care of sending this?

Cheers,
Angelo
Re: [PATCH v1 1/2] arm64: dts: mediatek: mt7986: add dtbs with applied overlays for bpi-r3
Posted by Rob Herring 2 months ago
On Fri, Dec 5, 2025 at 3:05 AM AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com> wrote:
>
> Il 05/12/25 09:10, Krzysztof Kozlowski ha scritto:
> > On 19/11/2025 18:51, Frank Wunderlich wrote:
> >> From: Frank Wunderlich <frank-w@public-files.de>
> >>
> >> Build devicetree binaries for testing overlays and providing users
> >> full dtb without using overlays.
> >>
> >> Suggested-by: Rob Herring <robh+dt@kernel.org>
> >> Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
> >> ---
> >> resend of
> >> https://patchwork.kernel.org/project/linux-mediatek/patch/20240608080530.9436-2-linux@fw-web.de/
> >> due to discussions here:
> >> https://patchwork.kernel.org/project/linux-mediatek/patch/20251117211306.725678-1-robh@kernel.org/
> >>
> >> changes:
> >> - updated sd-nand with sata-overlay
> >> ---
> >>   arch/arm64/boot/dts/mediatek/Makefile | 21 +++++++++++++++++++++
> >>   1 file changed, 21 insertions(+)
> >
> >
> > This looks like still not being applied and now it is a warning in
> > Linus' tree.
> >
> > Can this be applied and sent as fixes?

There's still one warning remaining after applying this series which I reported:

scripts/Makefile.dtbs:20: .dtbo is not applied to any base:
mt8395-radxa-nio-12l-8-hd-panel.dtbo

It's fixed in my original patch. Can you all take that and drop the bpi hunks.

FWIW:

Acked-by: Rob Herring (Arm) <robh@kernel.org>
Re: [PATCH v1 1/2] arm64: dts: mediatek: mt7986: add dtbs with applied overlays for bpi-r3
Posted by Frank Wunderlich 2 months ago
Am 5. Dezember 2025 14:46:45 MEZ schrieb Rob Herring <robh@kernel.org>:
>On Fri, Dec 5, 2025 at 3:05 AM AngeloGioacchino Del Regno
><angelogioacchino.delregno@collabora.com> wrote:
>>
>> Il 05/12/25 09:10, Krzysztof Kozlowski ha scritto:
>> > On 19/11/2025 18:51, Frank Wunderlich wrote:
>> >> From: Frank Wunderlich <frank-w@public-files.de>
>> >>
>> >> Build devicetree binaries for testing overlays and providing users
>> >> full dtb without using overlays.
>> >>
>> >> Suggested-by: Rob Herring <robh+dt@kernel.org>
>> >> Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
>> >> ---
>> >> resend of
>> >> https://patchwork.kernel.org/project/linux-mediatek/patch/20240608080530.9436-2-linux@fw-web.de/
>> >> due to discussions here:
>> >> https://patchwork.kernel.org/project/linux-mediatek/patch/20251117211306.725678-1-robh@kernel.org/
>> >>
>> >> changes:
>> >> - updated sd-nand with sata-overlay
>> >> ---
>> >>   arch/arm64/boot/dts/mediatek/Makefile | 21 +++++++++++++++++++++
>> >>   1 file changed, 21 insertions(+)
>> >
>> >
>> > This looks like still not being applied and now it is a warning in
>> > Linus' tree.
>> >
>> > Can this be applied and sent as fixes?
>
>There's still one warning remaining after applying this series which I reported:
>
>scripts/Makefile.dtbs:20: .dtbo is not applied to any base:
>mt8395-radxa-nio-12l-8-hd-panel.dtbo
>
>It's fixed in my original patch. Can you all take that and drop the bpi hunks.

Sorry, missed this part and i do not have this board,so
I'm not sure if this should be applied this way.
But if it helps i can separate it from robs patch and send tomorrow.

>FWIW:
>
>Acked-by: Rob Herring (Arm) <robh@kernel.org>


regards Frank