[U-Boot] [PATCH] board: samsung: goni: fix the pmic's name for getting

Minkyu Kang promsoft at gmail.com
Wed Jan 18 06:14:00 CET 2017


Dear Jaehoon,

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

> For Getting from uclass, use the "max8998-pmic" as name.
> It also needs to change the dt-node's name as "max8998-pmic".
> Otherwise, it doesn't find the pmic device.
> Because it's only searching for 'max8998_pmic'.
>
> Signed-off-by: Jaehoon Chung <jh80.chung at samsung.com <javascript:;>>
> ---
>  arch/arm/dts/s5pc1xx-goni.dts | 2 +-
>  board/samsung/goni/goni.c     | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/dts/s5pc1xx-goni.dts b/arch/arm/dts/s5pc1xx-goni.dts
> index e80132d..182325a 100644
> --- a/arch/arm/dts/s5pc1xx-goni.dts
> +++ b/arch/arm/dts/s5pc1xx-goni.dts
> @@ -42,7 +42,7 @@
>                 #size-cells = <0>;
>                 status = "okay";
>
> -               pmic at 66 {
> +               max8998-pmic at 66 {
>                         compatible = "maxim,max8998";
>                         reg = <0x66 0 0>;
>
> diff --git a/board/samsung/goni/goni.c b/board/samsung/goni/goni.c
> index 80fd0d4..9c48d71 100644
> --- a/board/samsung/goni/goni.c
> +++ b/board/samsung/goni/goni.c
> @@ -138,7 +138,7 @@ static int s5pc1xx_phy_control(int on)
>         static int status;
>         int reg, ret;
>
> -       ret = pmic_get("max8998_pmic", &dev);
> +       ret = pmic_get("max8998-pmic", &dev);
>         if (ret)
>                 return ret;
>
> --
> 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