Browse Source

sunxi: Enable DM_I2C for A64/H3/H5

This commits enable DM I2C support for A64/H3/H5 SoCs.

It is not enabled globaly for all sunxi SoCs, because some boards use
PMICs which are connected through I2C. In order to keep same
functionality, PMIC drivers needs to be ported to DM too.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Reviewed-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Jernej Skrabec 8 years ago
parent
commit
a05a45493d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      board/sunxi/Kconfig

+ 2 - 0
board/sunxi/Kconfig

@@ -58,6 +58,7 @@ config SUNXI_GEN_SUN6I
 
 
 config MACH_SUNXI_H3_H5
 config MACH_SUNXI_H3_H5
 	bool
 	bool
+	select DM_I2C
 	select SUNXI_DE2
 	select SUNXI_DE2
 	select SUNXI_GEN_SUN6I
 	select SUNXI_GEN_SUN6I
 	select SUPPORT_SPL
 	select SUPPORT_SPL
@@ -163,6 +164,7 @@ config MACH_SUN9I
 config MACH_SUN50I
 config MACH_SUN50I
 	bool "sun50i (Allwinner A64)"
 	bool "sun50i (Allwinner A64)"
 	select ARM64
 	select ARM64
+	select DM_I2C
 	select SUNXI_DE2
 	select SUNXI_DE2
 	select SUNXI_GEN_SUN6I
 	select SUNXI_GEN_SUN6I
 	select SUNXI_HIGH_SRAM
 	select SUNXI_HIGH_SRAM