arm: dts: omap: Apply am57xx-idk overlays to base dtbs
Subsystems (2)
Rob Herring
maintainerPATCH 1/1 arm: dts: omap: Apply am57xx-idk overlays to base dtbs
DT overlays in tree need to be applied to a base DTB to validate they apply, to run schema checks on them, and to catch any errors at compile time.
---
Note that I have no idea if this combination of overlays makes sense.
--- arch/arm/boot/dts/ti/omap/Makefile | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm/boot/dts/ti/omap/Makefile +7 -0
@@ -129,6 +129,11 @@ dtb-$(CONFIG_SOC_AM43XX) += \ am57xx-evm-dtbs := am57xx-beagle-x15.dtb am57xx-evm.dtbo am57xx-evm-reva3-dtbs := am57xx-beagle-x15-revc.dtb am57xx-evm.dtbo +am571x-idk-overlays-dtbs := am571x-idk.dtb \ + am571x-idk-touchscreen.dtbo am57xx-idk-lcd-osd101t2587.dtbo +am572x-idk-overlays-dtbs := am572x-idk.dtb \ + am572x-idk-touchscreen.dtbo am57xx-idk-lcd-osd101t2045.dtbo + dtb-$(CONFIG_SOC_DRA7XX) += \ am57xx-beagle-x15.dtb \ am57xx-beagle-x15-revb1.dtb \
@@ -145,6 +150,8 @@ dtb-$(CONFIG_SOC_DRA7XX) += \ am574x-idk.dtb \ am57xx-idk-lcd-osd101t2045.dtbo \ am57xx-idk-lcd-osd101t2587.dtbo \ + am571x-idk-overlays.dtb \ + am572x-idk-overlays.dtb \ dra7-evm.dtb \ dra72-evm.dtb \ dra72-evm-revc.dtb \
Signature · 1 line
2.40.1
Tony Lindgren
maintainerQuoted 7 lines · Rob Herring
DT overlays in tree need to be applied to a base DTB to validate they apply, to run schema checks on them, and to catch any errors at compile time.
Signed-off-by Rob Herring <[email protected]>---
Note that I have no idea if this combination of overlays makes sense.
Adding Andrew to review this.
Regards,
Tony
---
Quoted 31 lines
arch/arm/boot/dts/ti/omap/Makefile | 7 +++++++ 1 file changed, 7 insertions(+)arch/arm/boot/dts/ti/omap/Makefile +7
-0@@ -129,6 +129,11 @@ dtb-$(CONFIG_SOC_AM43XX) += \ am57xx-evm-dtbs := am57xx-beagle-x15.dtb am57xx-evm.dtbo am57xx-evm-reva3-dtbs := am57xx-beagle-x15-revc.dtb am57xx-evm.dtbo +am571x-idk-overlays-dtbs := am571x-idk.dtb \ + am571x-idk-touchscreen.dtbo am57xx-idk-lcd-osd101t2587.dtbo +am572x-idk-overlays-dtbs := am572x-idk.dtb \ + am572x-idk-touchscreen.dtbo am57xx-idk-lcd-osd101t2045.dtbo + dtb-$(CONFIG_SOC_DRA7XX) += \ am57xx-beagle-x15.dtb \ am57xx-beagle-x15-revb1.dtb \@@ -145,6 +150,8 @@ dtb-$(CONFIG_SOC_DRA7XX) += \ am574x-idk.dtb \ am57xx-idk-lcd-osd101t2045.dtbo \ am57xx-idk-lcd-osd101t2587.dtbo \ + am571x-idk-overlays.dtb \ + am572x-idk-overlays.dtb \ dra7-evm.dtb \ dra72-evm.dtb \ dra72-evm-revc.dtb \Signature · 1 line
2.40.1
Quoted 9 lines · Tony Lindgren
Quoted 7 lines · Rob Herring
DT overlays in tree need to be applied to a base DTB to validate they apply, to run schema checks on them, and to catch any errors at compile time.
Signed-off-by Rob Herring <[email protected]>---
Note that I have no idea if this combination of overlays makes sense.
It does make sense, but it is only one of many valid combinations. I'm guessing the goal here is just to make sure they all get applied in at least one way so the scheme check runs. In that case this is fine other than it might give the impression this is the only valid combinations.
Also now we end up with these odd am57{1,2}x-idk-overlays.dtb files which also might confuse folks, I wonder if there is some way to apply and check, but not ship/install these..
Andrew
Quoted 38 lines
Adding Andrew to review this.
Regards,
Tony
---
Quoted 31 lines
arch/arm/boot/dts/ti/omap/Makefile | 7 +++++++ 1 file changed, 7 insertions(+)arch/arm/boot/dts/ti/omap/Makefile +7
-0@@ -129,6 +129,11 @@ dtb-$(CONFIG_SOC_AM43XX) += \ am57xx-evm-dtbs := am57xx-beagle-x15.dtb am57xx-evm.dtbo am57xx-evm-reva3-dtbs := am57xx-beagle-x15-revc.dtb am57xx-evm.dtbo +am571x-idk-overlays-dtbs := am571x-idk.dtb \ + am571x-idk-touchscreen.dtbo am57xx-idk-lcd-osd101t2587.dtbo +am572x-idk-overlays-dtbs := am572x-idk.dtb \ + am572x-idk-touchscreen.dtbo am57xx-idk-lcd-osd101t2045.dtbo + dtb-$(CONFIG_SOC_DRA7XX) += \ am57xx-beagle-x15.dtb \ am57xx-beagle-x15-revb1.dtb \@@ -145,6 +150,8 @@ dtb-$(CONFIG_SOC_DRA7XX) += \ am574x-idk.dtb \ am57xx-idk-lcd-osd101t2045.dtbo \ am57xx-idk-lcd-osd101t2587.dtbo \ + am571x-idk-overlays.dtb \ + am572x-idk-overlays.dtb \ dra7-evm.dtb \ dra72-evm.dtb \ dra72-evm-revc.dtb \Signature · 1 line
2.40.1
Rob Herring
maintainerQuoted 12 lines · Andrew Davis
Quoted 9 lines · Tony Lindgren
Quoted 7 lines · Rob Herring
DT overlays in tree need to be applied to a base DTB to validate they apply, to run schema checks on them, and to catch any errors at compile time.
Signed-off-by Rob Herring <[email protected]>---
Note that I have no idea if this combination of overlays makes sense.
Quoted 4 lines
It does make sense, but it is only one of many valid combinations. I'm guessing the goal here is just to make sure they all get applied in at least one way so the scheme check runs. In that case this is fine other than it might give the impression this is the only valid combinations.
I only care that an overlay is applied to one base. You should care about any combination a user might do in a bootloader because who wants to debug a failure a) on a board and b) in the bootloader.
Quoted 3 lines
Also now we end up with these odd
am57{1,2}x-idk-overlays.dtbfiles which also might confuse folks, I wonder if there is some way to apply and check, but not ship/install these..
There's already a config option, CONFIG_OF_ALL_DTBS, which adds $(dtb-) entries to the build. So if you have "dtb- += foo-overlays.dtb" it will only be built in that case. Note that they'd probably get installed too, but who installs allyesconfig builds.
Rob
Tony Lindgren
maintainerQuoted 22 lines · Rob Herring
Quoted 12 lines · Andrew Davis
Quoted 9 lines · Tony Lindgren
Quoted 7 lines · Rob Herring
DT overlays in tree need to be applied to a base DTB to validate they apply, to run schema checks on them, and to catch any errors at compile time.
Signed-off-by Rob Herring <[email protected]>---
Note that I have no idea if this combination of overlays makes sense.Quoted 4 lines
It does make sense, but it is only one of many valid combinations. I'm guessing the goal here is just to make sure they all get applied in at least one way so the scheme check runs. In that case this is fine other than it might give the impression this is the only valid combinations.
I only care that an overlay is applied to one base. You should care about any combination a user might do in a bootloader because who wants to debug a failure a) on a board and b) in the bootloader.
Quoted 8 lines
Quoted 3 lines
Also now we end up with these odd
am57{1,2}x-idk-overlays.dtbfiles which also might confuse folks, I wonder if there is some way to apply and check, but not ship/install these..There's already a config option,
CONFIG_OF_ALL_DTBS, which adds $(dtb-) entries to the build. So if you have "dtb- += foo-overlays.dtb" it will only be built in that case. Note that they'd probably get installed too, but who installs allyesconfig builds.
So what's the conclusion here? Is this safe to apply yes or no?
Regards,
Tony