Re: [U-Boot] [PATCH v3 05/30] power: Add AMS AS3722 PMIC support

2014-11-17 Thread Simon Glass
Hi Thierry, On 17 November 2014 10:04, Thierry Reding wrote: > On Wed, Nov 12, 2014 at 06:26:51PM -0700, Simon Glass wrote: > [...] >> diff --git a/drivers/power/as3722.c b/drivers/power/as3722.c > [...] >> +int as3722_init(struct udevice **devp) >> +{ >> + struct udevice *pmic; >> + u8 i

Re: [U-Boot] [PATCH v3 05/30] power: Add AMS AS3722 PMIC support

2014-11-17 Thread Thierry Reding
On Wed, Nov 12, 2014 at 06:26:51PM -0700, Simon Glass wrote: [...] > diff --git a/drivers/power/as3722.c b/drivers/power/as3722.c [...] > +int as3722_init(struct udevice **devp) > +{ > + struct udevice *pmic; > + u8 id, revision; > + int bus = 0; > + int address = 0x40; Is there a

[U-Boot] [PATCH v3 05/30] power: Add AMS AS3722 PMIC support

2014-11-12 Thread Simon Glass
From: Thierry Reding The AS3722 provides a number of DC/DC converters and LDOs as well as 8 GPIOs. Signed-off-by: Thierry Reding Signed-off-by: Simon Glass --- Changes in v3: - Use driver model for the PMIC drivers/power/Makefile | 1 + drivers/power/as3722.c | 264 +++