Skip to content

i2c: exynos5: Add support for modern Exynos SoCs

Sam Protsenko linux-arm-kernel linux-devicetree linux-i2c linux-samsung-soc lkml 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/28 patches 17 repliesApplied
  2. v2 posting 1/28 patches 0 repliesSuperseded
  3. v16 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- Added new patches renaming "hsi2c@*" nodes to "i2c@*" for Exynos dts's
- Added R-b tags from v1 review
- Fixed and improved i2c-exynos5 dt-bindings

[1] https://patchwork.kernel.org/project/linux-samsung-soc/cover/[email protected]/

Patches in v2 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/8dt-bindings: i2c: exynos5: Convert to dtschemaDocumentation/devicetree/bindings/i2c/i2c-exynos5.txt Documentation/devicetree/bindings/i2c/i2c-exynos5.yaml+80 -531 reply
2/8dt-bindings: i2c: exynos5: Add exynosautov9-hsi2c compatibleDocumentation/devicetree/bindings/i2c/i2c-exynos5.yaml+6 -02 replies
3/8dt-bindings: i2c: exynos5: Add bus clockDocumentation/devicetree/bindings/i2c/i2c-exynos5.yaml+53 -62 replies
4/8i2c: exynos5: Add support for ExynosAutoV9 SoCdrivers/i2c/busses/i2c-exynos5.c+53 -91 reply
5/8i2c: exynos5: Add bus clock supportdrivers/i2c/busses/i2c-exynos5.c+38 -82 replies
6/8i2c: exynos5: Mention Exynos850 and ExynosAutoV9 in Kconfigdrivers/i2c/busses/Kconfig+1 -13 replies
7/8arm: dts: exynos: Rename hsi2c nodes to i2c for Exynos5260arch/arm/boot/dts/exynos5260.dtsi+4 -45 replies
8/8arm64: dts: exynos: Rename hsi2c nodes to i2c for Exynos5433 and Exynos7arch/arm64/boot/dts/exynos/exynos5433.dtsi arch/arm64/boot/dts/exynos/exynos7.dtsi+24 -241 reply

Reviews trailers per patch

6 of 8 patches have a Reviewed-by or Acked-by.

PatchKrzysztof KozlowskiChanho ParkRob Herring
1/8R-b
2/8R-b A-b
3/8R-b
4/8R-b
5/8R-b R-b
6/8R-b R-b
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 RESEND 0/8] i2c: exynos5: Add support for modern Exynos SoCs

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.

Changes in v2:
- Added new patches renaming "hsi2c@*" nodes to "i2c@*" for Exynos dts's
- Added R-b tags from v1 review
- Fixed and improved i2c-exynos5 dt-bindings

[1] https://patchwork.kernel.org/project/linux-samsung-soc/cover/[email protected]/

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

Sam Protsenko (6):
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
arm: dts: exynos: Rename hsi2c nodes to i2c for Exynos5260
arm64: dts: exynos: Rename hsi2c nodes to i2c for Exynos5433 and
Exynos7

 .../devicetree/bindings/i2c/i2c-exynos5.txt   |  53 -------
 .../devicetree/bindings/i2c/i2c-exynos5.yaml  | 133 ++++++++++++++++++
 arch/arm/boot/dts/exynos5260.dtsi             |   8 +-
 arch/arm64/boot/dts/exynos/exynos5433.dtsi    |  24 ++--
 arch/arm64/boot/dts/exynos/exynos7.dtsi       |  24 ++--
 drivers/i2c/busses/Kconfig                    |   2 +-
 drivers/i2c/busses/i2c-exynos5.c              | 108 +++++++++++---
 7 files changed, 253 insertions(+), 99 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/i2c/i2c-exynos5.txt
 create mode 100644 Documentation/devicetree/bindings/i2c/i2c-exynos5.yaml
Signature · 1 line
2.30.2