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-1eac0df87...@linaro.org To: Tom Rini <tr...@konsulko.com> To: Simon Glass <s...@chromium.org> To: Lukasz Majewski <lu...@denx.de> To: Mattijs Korpershoek <mkorpersh...@baylibre.com> To: Stefano Babic <sba...@denx.de> To: Fabio Estevam <feste...@gmail.com> To: NXP i.MX U-Boot Team <uboot-...@nxp.com> Cc: Neil Armstrong <neil.armstr...@linaro.org> Cc: Sumit Garg <sumit.g...@linaro.org> Cc: Ilias Apalodimas <ilias.apalodi...@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-f096de0c5...@linaro.org --- 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)