lkml.org 
[lkml]   [2013]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Driver lis3lv02d_i2c not working on Nokia RX-51
Date
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@gmail.com
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2013-02-17 18:21    [W:0.077 / U:1.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site