]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: samsung: Support platforms other than EXYNOS4 and EXYNOS5
authorDavid Virag <virag.david003@gmail.com>
Fri, 2 Aug 2024 19:19:16 +0000 (21:19 +0200)
committerHeiko Schocher <hs@denx.de>
Fri, 9 Aug 2024 12:46:05 +0000 (14:46 +0200)
commit101f4e669d1f976032ac5e2165e4b415ab61a41d
treedfa356a1cb4ecd1771f6f1d0b63f4c0462df6f35
parent8fc21bb8b2c6efefd6f98b3b58f2cdfe29419348
i2c: samsung: Support platforms other than EXYNOS4 and EXYNOS5

Newer Samsung SoCs (including newer Exynos, ExynosAuto, Google Tensor)
still use these IPs, or slightly newer versions of it.

Make these drivers available on these platforms by guarding
EXYNOS4/EXYNOS5 specific code behind their configs, and using CCF for
clocks on other platforms.

Tested S3C I2C driver on Exynos7885.
This along with extended clock driver should enable S3C I2C on
Exynos850.

Signed-off-by: David Virag <virag.david003@gmail.com>
Tested-by: Henrik Grimler <henrik@grimler.se>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/Kconfig
drivers/i2c/exynos_hs_i2c.c
drivers/i2c/s3c24x0_i2c.c
drivers/i2c/s3c24x0_i2c.h