Freescale PFUZE100 PMIC

Yibin Gong yibin.gong at freescale.com
Tue Mar 11 21:41:41 EDT 2014


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