Re: Driver lis3lv02d_i2c not working on Nokia RX-51

From: Pali RohÃr
Date: Sun Feb 17 2013 - 11:41:04 EST


On Sunday 17 February 2013 17:25:24 Mark Brown wrote:
> On Sun, Feb 17, 2013 at 12:46:25AM +0100, Pali RohÃr wrote:
> > Accelerometer driver lis3lv02d_i2c not working on Nokia
> > RX-51 with linux kernel 3.8-rc3. Probing for i2c device
> > failing.
> >
> > I tried to compile older version and it working without
> > problem. Then I bisected commit which broke support for
> > RX-51.
> >
> > That commit is ec400c9fab99d16a491cea17d27d0c6a5780b97c
> > "lis3lv02d: make regulator API usage unconditional"
> >
> > CCing everybody who signed off that commit. When I reverted
> > that commit on top of 3.8-rc3, lis3lv02d working without
> > problem.
> >
> > It looks like driver is trying to use some regulator, but
> > there is nothing defined for RX-51.
> >
> > Any idea what to do?
>
> It would be helpful to provide some more detailed information
> on the problem you are seeing than "the probe is failing".
> Are there any error messages or other indications as to where
> in the probe the error occurs?

I booted kernel without reverted that commit and here is dmesg output:

$ dmesg | grep lis3
[ 110.454345] lis3lv02d_i2c 3-001d: Failed to get supply 'Vdd': -517
[ 110.457397] i2c 3-001d: Driver lis3lv02d_i2c requests probe deferral
[ 111.507415] lis3lv02d_i2c 3-001d: Failed to get supply 'Vdd': -517
[ 111.510528] i2c 3-001d: Driver lis3lv02d_i2c requests probe deferral
[ 126.720458] lis3lv02d_i2c 3-001d: Failed to get supply 'Vdd': -517
[ 126.728149] i2c 3-001d: Driver lis3lv02d_i2c requests probe deferral
[ 135.842803] lis3lv02d_i2c 3-001d: Failed to get supply 'Vdd': -517
[ 135.856292] i2c 3-001d: Driver lis3lv02d_i2c requests probe deferral

--
Pali RohÃr
pali.rohar@xxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part.