
This is a subset of [1]. With more platform maintainers switching to OF_UPSTREAM I didn't want to get in the way (it has also proven more difficult than I hoped to remove only the fully compatible header files).
This series removes only the dt-bindings headers which contain generic data like GPIO flags, input event codes, etc.
It then implements support for building all DTBs for a vendor with OF_UPSTREAM_BUILD_VENDOR. This removes the need to maintain a set list of DTBs that can be built by U-Boot and opens up the possibility of new boards becoming supported "by default" just by landing their DT upstream.
[1]: https://lore.kernel.org/u-boot/20240321-b4-upstream-dt-headers-v2-0-1eac0df8...
To: Tom Rini trini@konsulko.com To: Simon Glass sjg@chromium.org To: Lukasz Majewski lukma@denx.de To: Mattijs Korpershoek mkorpershoek@baylibre.com To: Stefano Babic sbabic@denx.de To: Fabio Estevam festevam@gmail.com To: NXP i.MX U-Boot Team uboot-imx@nxp.com Cc: Neil Armstrong neil.armstrong@linaro.org Cc: Sumit Garg sumit.garg@linaro.org Cc: Ilias Apalodimas ilias.apalodimas@linaro.org Cc: u-boot@lists.denx.de
Changes in v4: - Fix imx6dl-brppt2 board which had an incorrect relative include path - Link to v3: https://lore.kernel.org/r/20240409-b4-of-upstream-build-vendor-v3-0-f096de0c...
--- Caleb Connolly (3): arm: dts: imx6dl-brppt2: fix gpio.h include dt-bindings: drop generic headers dts: support building all dtb files for a specific vendor
arch/arm/dts/imx6dl-brppt2.dts | 2 +- dts/Kconfig | 24 + include/dt-bindings/ata/ahci.h | 20 - include/dt-bindings/gpio/gpio.h | 42 -- include/dt-bindings/input/gpio-keys.h | 13 - include/dt-bindings/input/input.h | 17 - include/dt-bindings/input/linux-event-codes.h | 806 ------------------------- include/dt-bindings/interrupt-controller/irq.h | 19 - include/dt-bindings/leds/common.h | 106 ---- include/dt-bindings/mux/mux.h | 17 - include/dt-bindings/phy/phy.h | 26 - include/dt-bindings/pwm/pwm.h | 14 - include/dt-bindings/spmi/spmi.h | 10 - include/dt-bindings/thermal/thermal.h | 15 - include/dt-bindings/usb/pd.h | 88 --- scripts/Makefile.dts | 13 + 16 files changed, 38 insertions(+), 1194 deletions(-) --- base-commit: 2c3fa4b8add3cb6a440184ab67debc6867d383c0
// Caleb (they/them)