Patchwork [U-Boot,2/3] EXYNOS5: Add device node for PMIC

login
register
mail settings
Submitter Rajeshwari Birje
Date Dec. 3, 2012, 12:12 p.m.
Message ID <1354536740-28485-3-git-send-email-rajeshwari.s@samsung.com>
Download mbox | patch
Permalink /patch/203327/
State Changes Requested
Delegated to: Minkyu Kang
Headers show

Comments

Rajeshwari Birje - Dec. 3, 2012, 12:12 p.m.
Add device node for MAX77686

Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
---
 board/samsung/dts/exynos5250-smdk5250.dts |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
Simon Glass - Dec. 4, 2012, 1:15 a.m.
On Mon, Dec 3, 2012 at 4:12 AM, Rajeshwari Shinde
<rajeshwari.s@samsung.com> wrote:
> Add device node for MAX77686
>
> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
> ---
>  board/samsung/dts/exynos5250-smdk5250.dts |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/board/samsung/dts/exynos5250-smdk5250.dts b/board/samsung/dts/exynos5250-smdk5250.dts
> index 4d51d98..6072a6a 100644
> --- a/board/samsung/dts/exynos5250-smdk5250.dts
> +++ b/board/samsung/dts/exynos5250-smdk5250.dts
> @@ -70,4 +70,11 @@
>                         compatible = "wolfson,wm8994-codec";
>                 };
>         };
> +
> +       i2c@12c60000 {
> +               pmic@06 {

I think 6 instead of 06

> +                       reg = <0x06>;

I presume this is different from snow (which I think is 9)?

> +                       compatible = "maxim,MAX77686_PMIC";
> +               };
> +       };
>  };
> --
> 1.7.4.4
>

Regards,
Simon
Rajeshwari Birje - Dec. 4, 2012, 11:06 a.m.
On Tue, Dec 4, 2012 at 6:45 AM, Simon Glass <sjg@chromium.org> wrote:
> On Mon, Dec 3, 2012 at 4:12 AM, Rajeshwari Shinde
> <rajeshwari.s@samsung.com> wrote:
>> Add device node for MAX77686
>>
>> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
>> ---
>>  board/samsung/dts/exynos5250-smdk5250.dts |    7 +++++++
>>  1 files changed, 7 insertions(+), 0 deletions(-)
>>
>> diff --git a/board/samsung/dts/exynos5250-smdk5250.dts b/board/samsung/dts/exynos5250-smdk5250.dts
>> index 4d51d98..6072a6a 100644
>> --- a/board/samsung/dts/exynos5250-smdk5250.dts
>> +++ b/board/samsung/dts/exynos5250-smdk5250.dts
>> @@ -70,4 +70,11 @@
>>                         compatible = "wolfson,wm8994-codec";
>>                 };
>>         };
>> +
>> +       i2c@12c60000 {
>> +               pmic@06 {
>
> I think 6 instead of 06
Will do this.
>
>> +                       reg = <0x06>;
>
> I presume this is different from snow (which I think is 9)?
Yes, because of that we are adding it in dts file for SMDK5250.
>
>> +                       compatible = "maxim,MAX77686_PMIC";
>> +               };
>> +       };
>>  };
>> --
>> 1.7.4.4
>>
>
> Regards,
> Simon
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

Patch

diff --git a/board/samsung/dts/exynos5250-smdk5250.dts b/board/samsung/dts/exynos5250-smdk5250.dts
index 4d51d98..6072a6a 100644
--- a/board/samsung/dts/exynos5250-smdk5250.dts
+++ b/board/samsung/dts/exynos5250-smdk5250.dts
@@ -70,4 +70,11 @@ 
 			compatible = "wolfson,wm8994-codec";
 		};
 	};
+
+	i2c@12c60000 {
+		pmic@06 {
+			reg = <0x06>;
+			compatible = "maxim,MAX77686_PMIC";
+		};
+	};
 };