linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: john.tobias.ph@gmail.com (John Tobias)
To: linux-arm-kernel@lists.infradead.org
Subject: Freescale PFUZE100 PMIC
Date: Tue, 11 Mar 2014 17:41:22 -0700	[thread overview]
Message-ID: <CACUGKYN4uaT0xn4fMCqVNXeKYSf_WP+GkpkAb6vagQeGFdJUmw@mail.gmail.com> (raw)

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

             reply	other threads:[~2014-03-12  0:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-12  0:41 John Tobias [this message]
2014-03-12  1:05 ` Freescale PFUZE100 PMIC 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACUGKYN4uaT0xn4fMCqVNXeKYSf_WP+GkpkAb6vagQeGFdJUmw@mail.gmail.com \
    --to=john.tobias.ph@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).