[U-Boot] [PATCH v6 11/26] pmic:muic: Support for MUIC built into MAX8997 device
Anatolij Gustschin
agust at denx.de
Sat Nov 10 01:17:09 CET 2012
On Fri, 09 Nov 2012 08:42:16 +0100
Lukasz Majewski <l.majewski at samsung.com> wrote:
...
> +int power_muic_init(unsigned int bus)
> +{
> + struct pmic *p = pmic_alloc();
> + static const char name[] = "MAX8997_MUIC";
> +
> + debug("Board Micro USB Interface Controller init\n");
> +
> + p->name = name;
> + p->interface = PMIC_I2C;
> + p->number_of_regs = MUIC_NUM_OF_REGS;
> + p->hw.i2c.addr = MAX8997_MUIC_I2C_ADDR;
> + p->hw.i2c.tx_num = 1;
> + p->bus = bus;
Same comment as to the previous patch. Please check other
patches of this series for similar issues and fix them.
Thanks,
Anatolij
More information about the U-Boot
mailing list