[PATCH v1 0/9] Add PERIC0/1 support for Exynos 990

From: Denzeel Oliva
Date: Wed Feb 05 2025 - 17:25:05 EST


This patch series introduces support for
the PERIC0 and PERIC1 blocks in the Exynos 990 SoC.
It includes devicetree bindings, clock definitions,
and driver support for the following components:

- Universal Serial Interface (USI):
- Adds samsung,exynos990-usi compatible
for defining USI nodes in PERIC0/1.
- Supports UART, SPI, and I2C modes.
- Defines all 18 USI nodes in the Exynos 990 device tree.

- SPI (Serial Peripheral Interface):
- Adds `samsung,exynos990-spi` compatible.
- Implements SPI port configuration data.
- Some controllers (SPI 8, 9, and 10) use a 256 bytes FIFO depth
instead of the usual 64 bytes.

- HSI2C (High-Speed I2C):
- Adds `samsung,exynos990-hsi2c` compatible for Exynos 990.

- Clock Management Unit (CMU) for PERIC0/1:
- Adds clock definitions for USI and I2C peripherals.
- CMU_PERIC0/1 clocks are not marked as critical.

This has been tested on the Samsung Galaxy S20 FE (r8s),
where USI and SPI interfaces are confirmed to be functional.

Denzeel Oliva (9):
dt-bindings: clock: samsung,exynos990-clock: add PERIC0 / 1 clock
management unit
dt-bindings: i2c: exynos5: add samsung,exynos990-hsi2c compatible
dt-bindings: serial: samsung: add Exynos990 compatible
dt-bindings: samsung: usi: add exynos990-usi compatible
spi: dt-bindings: samsung: add samsung,exynos990-spi compatible
dt-bindings: soc: samsung: exynos-sysreg: add compatibles peric0/1
sysreg for Exynos990
clk: samsung: exynos990: add support for CMU_PERIC0/1
spi: s3c64xx: add support exynos990-spi to new port config data
arm64: dts: exynos990: define all PERIC USI nodes

.../clock/samsung,exynos990-clock.yaml | 24 +
.../devicetree/bindings/i2c/i2c-exynos5.yaml | 1 +
.../bindings/serial/samsung_uart.yaml | 6 +
.../bindings/soc/samsung/exynos-usi.yaml | 1 +
.../soc/samsung/samsung,exynos-sysreg.yaml | 2 +
.../devicetree/bindings/spi/samsung,spi.yaml | 1 +
arch/arm64/boot/dts/exynos/exynos990.dtsi | 1711 +++++++++++++++++
drivers/clk/samsung/clk-exynos990.c | 1079 +++++++++++
drivers/spi/spi-s3c64xx.c | 16 +
include/dt-bindings/clock/samsung,exynos990.h | 178 +-
10 files changed, 3018 insertions(+), 1 deletion(-)

--
2.47.1