This set of patches should enable the Samsung I2C drivers to work on platforms other than EXYNOS4/EXYNOS5.
This has been tested on Exynos7885 with the S3C I2C driver. With the clocks for it implemented in it's driver, this should also enable S3C I2C to work on Exynos850. While at it, clean up some dead code as well. David Virag (2): i2c: samsung: Drop s3c24x0 specific code. i2c: samsung: Support platforms other than EXYNOS4 and EXYNOS5 drivers/i2c/Kconfig | 2 +- drivers/i2c/exynos_hs_i2c.c | 25 +++++++++++++++++++++---- drivers/i2c/s3c24x0_i2c.c | 32 ++++++++++++++++++++++++-------- drivers/i2c/s3c24x0_i2c.h | 2 ++ 4 files changed, 48 insertions(+), 13 deletions(-) -- 2.45.2