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

Thierry Reding treding at nvidia.com
Mon Nov 17 11:04:43 CET 2014


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 reason for bus and address to not be unsigned? I also take it
that the plan is to eventually query these from the udevice/DT once I2C
has been converted to DM?

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141117/6102e960/attachment.pgp>


More information about the U-Boot mailing list