[U-Boot] [PATCH V3 0/7] dm: universal_c210: support the DM_PMIC

Minkyu Kang promsoft at gmail.com
Wed Jan 18 06:17:25 CET 2017


Dear Jaehoon,

On Monday, 9 January 2017, Jaehoon Chung <jh80.chung at samsung.com> wrote:

> This patchset is for supporting pmic driver-mode on universal_c210 board.
> It's using i2c-s3c24x0.c file. (Fixes some complier error issue.)
>
> Remove the soft_i2c codes in universal.c.
> It seems a deadcode because of no usage.
> Before time, it had used the soft-i2c as gpio_request(), not using
> s3c24x0-i2c.c
> (gpb6/7 were used the sda/scl.)
> There is no reason not to use the s3c24x0-i2c.c
>
> *dm tree
>  i2c         [ + ]    |-- i2c at 138b0000
>  pmic        [ + ]    |   `-- max8998-pmic at 66
>
> *dm uclass
>         uclass 20: i2c
>         -   i2c at 13860000 @ 5ae652d8, seq -1, (req 0)
>         -   i2c at 13870000 @ 5ae65330, seq -1, (req 1)
>         -   i2c at 13880000 @ 5ae65388, seq -1, (req 2)
>         -   i2c at 13890000 @ 5ae653e0, seq -1, (req 3)
>         -   i2c at 138a0000 @ 5ae65438, seq -1, (req 4)
>         - * i2c at 138b0000 @ 5ae65490, seq 5, (req 5)
>         -   i2c at 138c0000 @ 5ae65570, seq -1, (req 6)
>         -   i2c at 138d0000 @ 5ae655c8, seq -1, (req 7)
>  i2c         [ + ]    |-- i2c at 138b0000
>  pmic        [ + ]    |   `-- max8998-pmic at 66
>
> *After using pmic command.
> Universal # pmic list
> | Name                            | Parent name         | Parent uclass @
> seq
> | max8998-pmic at 66                 | i2c at 138b0000        | i2c @ 5
>
> Changelog on V3:
> - Changes the patches sequence for fixing the buildman error
> - Adds the commit message in more details.
>
> Changelog on V2:
> - Changes to "depends on ARCH_EXYNOS4" in Kconfig (fixes buildman error.)
>
> Jaehoon Chung (7):
>   ARM: dts: exynos4: use the node's name for i2c
>   ARM: dts: exnyos4210-universl_c210: add i2c_5 and pmic nodes
>   configs: s5pc210_universal: enable the DM_PMIC and MAX8998
>   board: samsung: universal_210: use the driver model for max8998
>   i2c: s3c24x0: fix the compiler error for exynos4
>   i2c: Kconfig: Add SYS_I2C_S3C24X0 entry
>   board: samsung: universal_c210: remove the codes relevant to soft_i2c
>
>  arch/arm/dts/exynos4.dtsi                  |  27 +++--
>  arch/arm/dts/exynos4210-universal_c210.dts | 164
> ++++++++++++++++++++++++++
>  board/samsung/universal_c210/universal.c   | 180
> +++++++++++++++--------------
>  configs/s5pc210_universal_defconfig        |   3 +
>  drivers/i2c/Kconfig                        |   5 +
>  drivers/i2c/s3c24x0_i2c.c                  |   8 +-
>  6 files changed, 292 insertions(+), 95 deletions(-)
>
> --
> 2.10.2
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de <javascript:;>
> http://lists.denx.de/mailman/listinfo/u-boot
>

 applied to u-boot-samsung

Thanks


-- 
Thanks.
Minkyu Kang.


More information about the U-Boot mailing list