linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Freescale PFUZE100 PMIC
@ 2014-03-12  0:41 John Tobias
  2014-03-12  1:05 ` Fabio Estevam
  2014-03-12  1:41 ` Yibin Gong
  0 siblings, 2 replies; 10+ messages in thread
From: John Tobias @ 2014-03-12  0:41 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-03-12 18:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-12  0:41 Freescale PFUZE100 PMIC John Tobias
2014-03-12  1:05 ` Fabio Estevam
2014-03-12  1:41 ` Yibin Gong
2014-03-12  2:00   ` John Tobias
2014-03-12  2:11     ` Yibin Gong
2014-03-12  2:23       ` John Tobias
2014-03-12  2:30         ` John Tobias
2014-03-12  7:24           ` Robert Schwebel
2014-03-12 18:11             ` John Tobias
2014-03-12  2:31         ` Yibin Gong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).