linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] i2c: exynos5: Add support for modern Exynos SoCs
@ 2021-12-01 19:04 Sam Protsenko
  2021-12-01 19:04 ` [PATCH 1/6] dt-bindings: i2c: exynos5: Convert to dtschema Sam Protsenko
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Sam Protsenko @ 2021-12-01 19:04 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Rob Herring
  Cc: Jaewon Kim, Chanho Park, David Virag, Youngmin Nam, Wolfram Sang,
	Arnd Bergmann, linux-i2c, devicetree, linux-arm-kernel,
	linux-kernel, linux-samsung-soc

Modern ARM64 Samsung Exynos SoCs (like Exynos Auto V9 and Exynos850) use
pretty much the same High-Speed I2C controller supported in i2c-exynos5
driver ("samsung,exynos7-hsi2c" variant), but with some differences:
  - timings are now calculated and configured a bit differently
  - two clocks are now provided to HSI2C controller (and must be
    asserted during I2C operation and register access)

This patch series implements these changes, making it possible to use
HSI2C driver on modern Exynos SoCs.

Another change in mentioned SoCs is that HSI2C controller is now a part
of USIv2 IP-core. But no USI modifications are needed in HSI2C driver,
as all USI related configuration is done in USI driver independently.
USI driver is added in [1] series (or its later revision, if available).
To make HSI2C functional, both patch series (this one and [1]) have to
be applied, but those can be applied independently.

[1] https://patchwork.kernel.org/project/linux-samsung-soc/cover/20211130111325.29328-1-semen.protsenko@linaro.org/

Jaewon Kim (2):
  dt-bindings: i2c: exynos5: Add exynosautov9-hsi2c compatible
  i2c: exynos5: Add support for ExynosAutoV9 SoC

Sam Protsenko (4):
  dt-bindings: i2c: exynos5: Convert to dtschema
  dt-bindings: i2c: exynos5: Add bus clock
  i2c: exynos5: Add bus clock support
  i2c: exynos5: Mention Exynos850 and ExynosAutoV9 in Kconfig

 .../devicetree/bindings/i2c/i2c-exynos5.txt   |  53 ---------
 .../devicetree/bindings/i2c/i2c-exynos5.yaml  |  91 +++++++++++++++
 drivers/i2c/busses/Kconfig                    |   2 +-
 drivers/i2c/busses/i2c-exynos5.c              | 108 +++++++++++++++---
 4 files changed, 183 insertions(+), 71 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/i2c/i2c-exynos5.txt
 create mode 100644 Documentation/devicetree/bindings/i2c/i2c-exynos5.yaml

-- 
2.30.2


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2021-12-02 10:30 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-01 19:04 [PATCH 0/6] i2c: exynos5: Add support for modern Exynos SoCs Sam Protsenko
2021-12-01 19:04 ` [PATCH 1/6] dt-bindings: i2c: exynos5: Convert to dtschema Sam Protsenko
2021-12-02  8:22   ` Krzysztof Kozlowski
2021-12-01 19:04 ` [PATCH 2/6] dt-bindings: i2c: exynos5: Add exynosautov9-hsi2c compatible Sam Protsenko
2021-12-02  8:23   ` Krzysztof Kozlowski
2021-12-01 19:04 ` [PATCH 3/6] dt-bindings: i2c: exynos5: Add bus clock Sam Protsenko
2021-12-02  8:25   ` Krzysztof Kozlowski
2021-12-01 19:04 ` [PATCH 4/6] i2c: exynos5: Add support for ExynosAutoV9 SoC Sam Protsenko
2021-12-02  8:29   ` Krzysztof Kozlowski
2021-12-01 19:04 ` [PATCH 5/6] i2c: exynos5: Add bus clock support Sam Protsenko
2021-12-02  8:28   ` Krzysztof Kozlowski
2021-12-02 10:30   ` Chanho Park
2021-12-01 19:04 ` [PATCH 6/6] i2c: exynos5: Mention Exynos850 and ExynosAutoV9 in Kconfig Sam Protsenko
2021-12-02  8:29   ` Krzysztof Kozlowski
2021-12-02  9:33   ` Chanho Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).