[PATCH 0/5] spi support for Exynos Auto v9 SoC

Chanho Park chanho61.park at samsung.com
Sun Jun 26 23:47:02 PDT 2022


Add to support Exynos Auto v9 SoC's spi. By supporting USI(Universal
Serial Interface) mode, the SoC can support up to 12 spi ports. Thus, we
need to increase MAX_SPI_PORTS from 6 to 12. The spi of the SoC can
support loopback mode unlike previous exynos SoCs. To separate the
feature, we need to add .has_loopback to the s3c64xx_spi_port_config.
Furthermore, it uses 4 as the default internal clock divider. We also
need to clk_div field of the structure. If the value is specified, the
value will be used. Otherwise, "2" will be the default value of the
divider.
Device tree definitions of exynosautov9-spi will be added in separated
patchset to include usi(i2c/uart/spi) nodes all together.

Chanho Park (5):
  spi: spi-s3c64xx: increase MAX_SPI_PORTS to 12
  spi: s3c64xx: support loopback mode
  spi: s3c64xx: support custom value of internal clock divider
  dt-bindings: samsung,spi: define exynosautov9 compatible
  spi: s3c64xx: add spi port configuration for Exynos Auto v9 SoC

 .../devicetree/bindings/spi/samsung,spi.yaml  |  5 +-
 drivers/spi/spi-s3c64xx.c                     | 49 +++++++++++++++----
 2 files changed, 44 insertions(+), 10 deletions(-)

-- 
2.36.1




More information about the linux-arm-kernel mailing list