[U-Boot] [PATCH 4/4] sunxi: Enable DM_I2C for A64/H3/H5

Heiko Schocher hs at denx.de
Fri Apr 28 03:44:10 UTC 2017


Hello Jernej,

Am 27.04.2017 um 00:03 schrieb Jernej Skrabec:
> 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 at siol.net>
> ---
>
>   board/sunxi/Kconfig | 2 ++
>   1 file changed, 2 insertions(+)

Reviewed-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
>
> diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
> index 196d8fce08..707e656ea6 100644
> --- a/board/sunxi/Kconfig
> +++ b/board/sunxi/Kconfig
> @@ -58,6 +58,7 @@ config SUNXI_GEN_SUN6I
>
>   config MACH_SUNXI_H3_H5
>   	bool
> +	select DM_I2C
>   	select SUNXI_DE2
>   	select SUNXI_GEN_SUN6I
>   	select SUPPORT_SPL
> @@ -163,6 +164,7 @@ config MACH_SUN9I
>   config MACH_SUN50I
>   	bool "sun50i (Allwinner A64)"
>   	select ARM64
> +	select DM_I2C
>   	select SUNXI_DE2
>   	select SUNXI_GEN_SUN6I
>   	select SUNXI_HIGH_SRAM
>

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list