Message ID | 20250215130500.170738-1-ivo.ivanov.ivanov1@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | arm64: dts: exynos: add initial support for Samsung Galaxy S22+ | expand |
On Sat, 15 Feb 2025 15:04:57 +0200, Ivaylo Ivanov wrote: > Hey folks, > > This patchset adds device tree files for Exynos 2200 and Samsung > Galaxy S22+. > > Exynos 2200 SoC is an ARMv8 mobile SoC found in the Samsung Galaxy S22 > (r0s), S22+ (g0s), S22 Ultra (b0s) Add minimal support for that SoC, > including psci, pmu, chipid, architecture timer and mct, pinctrl, > clocks and usb. > > The devices using this SoC suffer from an issue caused by the stock > Samsung bootloader, as it doesn't configure CNTFRQ_EL0. Hence it's > needed to hardcode the adequate frequency in the timer node, > otherwise the kernel panics. > > Another issue is that cpu2 and cpu3 fail to come up consistently, which > leads to a hang later in the boot process. As A510 cores are clustered > by two, it makes sense for both of these cpus to fail if there is a > power issue. Disable them until the problem is figured out. > > Samsung Galaxy S22+ (SM-S906B), codenamed g0s, is a mobile phone from > 2022. It features 8GB RAM, 128/256GB UFS 3.1, Exynos 2200 SoC and a > 1080x2340 Dynamic AMOLED display. > > Further platform support will be added over time. > > I expect [1], [2], [3], [4], [5], [6] to be merged before this patchset > because it relies on the aforementioned series for drivers and device > tree bindings. > > [1] https://lore.kernel.org/all/20250215112716.159110-1-ivo.ivanov.ivanov1@gmail.com/ > [2] https://lore.kernel.org/all/20250215113248.159386-1-ivo.ivanov.ivanov1@gmail.com/ > [3] https://lore.kernel.org/all/20250215115433.161091-1-ivo.ivanov.ivanov1@gmail.com/ > [4] https://lore.kernel.org/all/20250215122409.162810-1-ivo.ivanov.ivanov1@gmail.com/ > [5] https://lore.kernel.org/all/20250215123453.163434-1-ivo.ivanov.ivanov1@gmail.com/ > [6] https://lore.kernel.org/all/20250215123922.163630-1-ivo.ivanov.ivanov1@gmail.com/ > > Best regards, > Ivaylo > > Ivaylo Ivanov (3): > dt-bindings: arm: samsung: document g0s board binding > arm64: dts: exynos: add initial support for exynos2200 SoC > arm64: dts: exynos: add initial support for Samsung Galaxy S22+ > > .../bindings/arm/samsung/samsung-boards.yaml | 6 + > arch/arm64/boot/dts/exynos/Makefile | 1 + > arch/arm64/boot/dts/exynos/exynos2200-g0s.dts | 178 ++ > .../boot/dts/exynos/exynos2200-pinctrl.dtsi | 1765 +++++++++++++++++ > arch/arm64/boot/dts/exynos/exynos2200.dtsi | 560 ++++++ > 5 files changed, 2510 insertions(+) > create mode 100644 arch/arm64/boot/dts/exynos/exynos2200-g0s.dts > create mode 100644 arch/arm64/boot/dts/exynos/exynos2200-pinctrl.dtsi > create mode 100644 arch/arm64/boot/dts/exynos/exynos2200.dtsi > > -- > 2.43.0 > > > My bot found new DTB warnings on the .dts files added or changed in this series. Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments. If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date: pip3 install dtschema --upgrade New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/exynos/' for 20250215130500.170738-1-ivo.ivanov.ivanov1@gmail.com: In file included from arch/arm64/boot/dts/exynos/exynos2200-g0s.dts:9: arch/arm64/boot/dts/exynos/exynos2200.dtsi:8:10: fatal error: dt-bindings/clock/samsung,exynos2200.h: No such file or directory 8 | #include <dt-bindings/clock/samsung,exynos2200.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[3]: *** [scripts/Makefile.dtbs:131: arch/arm64/boot/dts/exynos/exynos2200-g0s.dtb] Error 1 make[2]: *** [scripts/Makefile.build:465: arch/arm64/boot/dts/exynos] Error 2 make[2]: Target 'arch/arm64/boot/dts/exynos/exynos2200-g0s.dtb' not remade because of errors. make[1]: *** [/home/rob/proj/linux-dt-testing/Makefile:1464: exynos/exynos2200-g0s.dtb] Error 2 make: *** [Makefile:251: __sub-make] Error 2 make: Target 'exynos/exynos8895-dreamlte.dtb' not remade because of errors. make: Target 'exynos/exynos2200-g0s.dtb' not remade because of errors. make: Target 'exynos/exynos850-e850-96.dtb' not remade because of errors. make: Target 'exynos/exynos7885-jackpotlte.dtb' not remade because of errors. make: Target 'exynos/exynos990-x1slte.dtb' not remade because of errors. make: Target 'exynos/exynos5433-tm2.dtb' not remade because of errors. make: Target 'exynos/exynos990-r8s.dtb' not remade because of errors. make: Target 'exynos/exynos7-espresso.dtb' not remade because of errors. make: Target 'exynos/google/gs101-oriole.dtb' not remade because of errors. make: Target 'exynos/google/gs101-raven.dtb' not remade because of errors. make: Target 'exynos/exynosautov920-sadk.dtb' not remade because of errors. make: Target 'exynos/exynosautov9-sadk.dtb' not remade because of errors. make: Target 'exynos/exynos990-c1s.dtb' not remade because of errors. make: Target 'exynos/exynos9810-starlte.dtb' not remade because of errors. make: Target 'exynos/exynos990-x1s.dtb' not remade because of errors. make: Target 'exynos/exynos5433-tm2e.dtb' not remade because of errors.