
On Thu, May 23, 2024 at 11:57 PM Sumit Garg sumit.garg@linaro.org wrote:
- Krzysztof, Fyi..
On Fri, 24 May 2024 at 03:33, Sam Protsenko semen.protsenko@linaro.org wrote:
Use upstream device tree files and bindings. To do so:
- imply (enable) OF_UPSTREAM option for E850-96 target
- point DEFAULT_DEVICE_TREE in E850-96 config to upstream dts
- remove now not needed local dts files, binding docs and headers
- update MAINTAINERS correspondingly
Upstream device tree files for Exynos850 SoC and E850-96 board are pretty much the same as local (removed) ones, so the conversion is rather straightforward and painless in this case. The appended dts file (arch/arm/dts/exynos850-e850-96-u-boot.dtsi) stays unchanged.
The only remaining local dt-bindings doc for E850-96 board is exynos-pmu.yaml. It wasn't removed as it's quite different from Linux kernel version. Particularly U-Boot local version of exynos-pmu.yaml describes "samsung,uart-debug-1" property, which is not present in Linux kernel binding. Later it might be upstreamed to Linux kernel, and once it's done the U-Boot exynos-pmu.yaml binding can be removed.
No functional change.
Signed-off-by: Sam Protsenko semen.protsenko@linaro.org
MAINTAINERS | 7 +- arch/arm/dts/Makefile | 1 - arch/arm/dts/exynos850-e850-96.dts | 273 ------ arch/arm/dts/exynos850-pinctrl.dtsi | 663 -------------- arch/arm/dts/exynos850.dtsi | 809 ------------------ arch/arm/mach-exynos/Kconfig | 1 + configs/e850-96_defconfig | 2 +- .../clock/samsung,exynos850-clock.yaml | 307 ------- .../soc/samsung/exynos-usi.yaml | 162 ---- include/dt-bindings/clock/exynos850.h | 337 -------- include/dt-bindings/soc/samsung,exynos-usi.h | 17 - 11 files changed, 3 insertions(+), 2576 deletions(-) delete mode 100644 arch/arm/dts/exynos850-e850-96.dts delete mode 100644 arch/arm/dts/exynos850-pinctrl.dtsi delete mode 100644 arch/arm/dts/exynos850.dtsi delete mode 100644 doc/device-tree-bindings/clock/samsung,exynos850-clock.yaml delete mode 100644 doc/device-tree-bindings/soc/samsung/exynos-usi.yaml delete mode 100644 include/dt-bindings/clock/exynos850.h delete mode 100644 include/dt-bindings/soc/samsung,exynos-usi.h
Acked-by: Sumit Garg sumit.garg@linaro.org
Thanks, Sumit! I forgot to update board/samsung/e850-96/MAINTAINERS, so I'll be sending v2 shortly.
[snip]