Freescale PFUZE100 PMIC

John Tobias john.tobias.ph at gmail.com
Tue Mar 11 22:00:28 EDT 2014


Hi Yibin,

Sorry for the confusion (I forgot to mention). I was using a custom
board where the PMIC is connected to i2c2. The i2c2 bus has 3 slave
devices, the two were running Ok. I was running 400000 freq. clock and
tried the 100000 as well.

Regards,

john


On Tue, Mar 11, 2014 at 6:41 PM, Yibin Gong <yibin.gong at freescale.com> wrote:
> Hi John,
>         I'm little confused by your print log  and dts setting about I2C:
> From your print log "pfuze100-regulator 0-0008:" we can know this i2c device pfuze should be connected in i2c1. But in your dts setting, you put pfuze in i2c2. Please make sure which i2c interface connected with pfuze and make correct setting in dts.
>
> -----Original Message-----
> From: John Tobias [mailto:john.tobias.ph at gmail.com]
> Sent: Wednesday, March 12, 2014 8:41 AM
> To: <linux-arm-kernel at lists.infradead.org>; Gong Yibin-B38343; Shawn Guo
> Subject: Freescale PFUZE100 PMIC
>
> Hi All,
>
> I was trying to enable the PFUZE100 regulator driver
> (pfuze100-regulator) on linux 3.13.0. The PMIC is connected to the
> i2c2 bus.
>
> &i2c2 {
>    .....
>    pmic: pfuze100 at 08 {
>           compatible = "fsl,pfuze100";
>           reg = <0x08>;
>
>           regulators {
>                  ......
>           };
>    };
> }
>
> After loading the driver, I was getting an error:
> pfuze100-regulator 0-0008: unrecognized pfuze chip ID!
>
> Then, I printed the return value of i2c_transfer function and got -5.
>
>
> Is there anything that I forgot?. I tried to use the i2cget in userspace and I was able to communicate it to the device.
>
> Regards,
>
> john
>
>



More information about the linux-arm-kernel mailing list