Skip to content

Exynos: move i2c driver to dm api

Przemyslaw Marczak u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 18 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 18 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 00/18] Exynos: move i2c driver to dm api

Hello all,

Quoted 35 lines · Przemyslaw Marczak

This patchset adds support to driver model i2c api for Exynos i2c driver. Few boards are using this driver, but the board peripherals are not ported to the new api yet. So this can't be enabled with the full board functionality.

In this case each Exynos5 based boards have fixed config dependencies Helloafor testing the dm i2c api with the new i2c driver. This will facilitate the peripheral porting.

For test, just enable CONFIG_DM_I2C in exynos5-common.h. The i2c command should work with this as previous.

This patchset also provides some changes related to Exynos4 boards. Most Exynos4 boards requires only pmic support, and this will be done with the new pmic framework soon.

Przemyslaw Marczak (18):
arndale: config: disable max77686 support
exynos5250: config: disable max77686 driver
smdk5250: config: enable max77686 driver support
exynos4: dts: add missing i2c properties
arndale: dts: add missing i2c aliases
exynos5: pinmux: check flag for i2c config
dm: i2c: s3c24x0: adjust to dm-i2c api
exynos5: config: prepare for dm i2c support
exynos5250: config: temporary disable sound for dm i2c
arndale: config: temporary disable pmic for dm i2c
exynos5-dt: config: temporary disable pmic for dm i2c
snow: config: temporary disable cros ec i2c for dm i2c
smdk5250: config: temporary disable pmic for dm i2c
smdk5420: board: fix build warning for testing dm i2c
peach-pi: config: temporary disable video parade for dm i2c
peach-pit: config: temporary disable video parade for dm i2c
trats2: board: cleanup power init code
trats2: config: disable i2c peripherals if testing dm i2c

Quoted 17 lines
  arch/arm/cpu/armv7/exynos/pinmux.c  |  27 ++--
  arch/arm/dts/exynos4.dtsi           |  24 ++--
  arch/arm/dts/exynos5250-arndale.dts |   8 ++
  board/samsung/smdk5420/smdk5420.c   |   2 +-
  board/samsung/trats2/trats2.c       | 144 +++++++++++---------
  drivers/i2c/s3c24x0_i2c.c           | 254 +++++++++++++++++++++++++++++++-----
  include/configs/arndale.h           |   5 +-
  include/configs/exynos5-common.h    |  29 ++--
  include/configs/exynos5-dt-common.h |   2 +
  include/configs/exynos5250-common.h |   5 +-
  include/configs/peach-pi.h          |   2 +
  include/configs/peach-pit.h         |   2 +
  include/configs/smdk5250.h          |   4 +
  include/configs/snow.h              |   4 +-
  include/configs/trats2.h            |  17 ++-
  15 files changed, 395 insertions(+), 134 deletions(-)

The related patchset is also available here:

https://github.com/bobenstein/u-boot/tree/dm-i2c-exynos

Best regards,

Signature · 4 lines
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com