Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-28 Thread Pali Rohár
On Tuesday 26 March 2013 21:53:19 Aaro Koskinen wrote: > Hi, > > On Tue, Mar 26, 2013 at 04:02:39PM +0100, Pali Rohár wrote: > > CCing Aaro and Tony. Look at this thread on: > > https://lkml.org/lkml/2013/2/16/152 > > > > What do you think how to fix this problem? I do not know > > about any HW

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-28 Thread Pali Rohár
On Tuesday 26 March 2013 21:53:19 Aaro Koskinen wrote: Hi, On Tue, Mar 26, 2013 at 04:02:39PM +0100, Pali Rohár wrote: CCing Aaro and Tony. Look at this thread on: https://lkml.org/lkml/2013/2/16/152 What do you think how to fix this problem? I do not know about any HW regulator for

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-26 Thread Mark Brown
On Tue, Mar 26, 2013 at 10:53:19PM +0200, Aaro Koskinen wrote: > From: Aaro Koskinen > Date: Tue, 26 Mar 2013 21:34:22 +0200 > Subject: [PATCH] OMAP: RX-51: add missing regulator supply definitions for > lis3lv02d > > Add missing regulator definitions for lis3lv02d accelerometer. Fixes > the

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-26 Thread Aaro Koskinen
Hi, On Tue, Mar 26, 2013 at 04:02:39PM +0100, Pali Rohár wrote: > CCing Aaro and Tony. Look at this thread on: > https://lkml.org/lkml/2013/2/16/152 > > What do you think how to fix this problem? I do not know about any > HW regulator for n900 accelerometer and possible solutions could > be

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-26 Thread Mark Brown
On Tue, Mar 26, 2013 at 09:08:08AM -0700, Linus Torvalds wrote: > This is a regression, and it needs to be fixed. The "device needs This isn't a regression, the commit they're complaining about (ec400c) was added in October 2011 with a note about all the in-tree users having been looked after

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-26 Thread Linus Torvalds
On Tue, Mar 26, 2013 at 8:44 AM, Mark Brown wrote: > On Tue, Mar 26, 2013 at 04:02:39PM +0100, Pali Rohár wrote: > >> What do you think how to fix this problem? I do not know about any >> HW regulator for n900 accelerometer and possible solutions could >> be revert that commit or adding fake

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-26 Thread Mark Brown
On Tue, Mar 26, 2013 at 04:02:39PM +0100, Pali Rohár wrote: > What do you think how to fix this problem? I do not know about any > HW regulator for n900 accelerometer and possible solutions could > be revert that commit or adding fake regulator to board code... Reverting the fix is not an

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-26 Thread Pali Rohár
On Monday 25 March 2013 00:04:37 Mark Brown wrote: > On Sun, Mar 24, 2013 at 11:44:59PM +0100, Pali Rohár wrote: > > On Sunday 24 March 2013 23:14:46 Mark Brown wrote: > > > Well, you should seek support from the board vendor then. > > > > Not possible. Nokia is already using Windows Phones and

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-26 Thread Pali Rohár
On Monday 25 March 2013 00:04:37 Mark Brown wrote: On Sun, Mar 24, 2013 at 11:44:59PM +0100, Pali Rohár wrote: On Sunday 24 March 2013 23:14:46 Mark Brown wrote: Well, you should seek support from the board vendor then. Not possible. Nokia is already using Windows Phones and life

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-26 Thread Mark Brown
On Tue, Mar 26, 2013 at 04:02:39PM +0100, Pali Rohár wrote: What do you think how to fix this problem? I do not know about any HW regulator for n900 accelerometer and possible solutions could be revert that commit or adding fake regulator to board code... Reverting the fix is not an option,

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-26 Thread Linus Torvalds
On Tue, Mar 26, 2013 at 8:44 AM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Tue, Mar 26, 2013 at 04:02:39PM +0100, Pali Rohár wrote: What do you think how to fix this problem? I do not know about any HW regulator for n900 accelerometer and possible solutions could be revert that

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-26 Thread Mark Brown
On Tue, Mar 26, 2013 at 09:08:08AM -0700, Linus Torvalds wrote: This is a regression, and it needs to be fixed. The device needs This isn't a regression, the commit they're complaining about (ec400c) was added in October 2011 with a note about all the in-tree users having been looked after and

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-26 Thread Aaro Koskinen
Hi, On Tue, Mar 26, 2013 at 04:02:39PM +0100, Pali Rohár wrote: CCing Aaro and Tony. Look at this thread on: https://lkml.org/lkml/2013/2/16/152 What do you think how to fix this problem? I do not know about any HW regulator for n900 accelerometer and possible solutions could be revert

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-26 Thread Mark Brown
On Tue, Mar 26, 2013 at 10:53:19PM +0200, Aaro Koskinen wrote: From: Aaro Koskinen aaro.koski...@iki.fi Date: Tue, 26 Mar 2013 21:34:22 +0200 Subject: [PATCH] OMAP: RX-51: add missing regulator supply definitions for lis3lv02d Add missing regulator definitions for lis3lv02d accelerometer.

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-24 Thread Mark Brown
On Sun, Mar 24, 2013 at 11:44:59PM +0100, Pali Rohár wrote: > On Sunday 24 March 2013 23:14:46 Mark Brown wrote: > > Well, you should seek support from the board vendor then. > Not possible. Nokia is already using Windows Phones and life > cycle for Nokia N900 phone is at the end. And Nokia

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-24 Thread Pali Rohár
On Sunday 24 March 2013 23:14:46 Mark Brown wrote: > On Sun, Mar 24, 2013 at 10:27:32PM +0100, Pali Rohár wrote: > > On Sunday 24 March 2013 22:21:49 Mark Brown wrote: > > > You need to look at the schematics rather than the code > > > here - the code just needs to say what regulator supplies > >

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-24 Thread Mark Brown
On Sun, Mar 24, 2013 at 10:27:32PM +0100, Pali Rohár wrote: > On Sunday 24 March 2013 22:21:49 Mark Brown wrote: > > You need to look at the schematics rather than the code here - > > the code just needs to say what regulator supplies Vdd on the > > device. > This is problem, there is no info

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-24 Thread Pali Rohár
On Sunday 24 March 2013 22:21:49 Mark Brown wrote: > On Sun, Mar 24, 2013 at 03:50:42PM +0100, Pali Rohár wrote: > > There is no regulator 'Vdd' supply in board rx51 files. Can > > you look at code how it can be fixed? > > You need to look at the schematics rather than the code here - > the code

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-24 Thread Mark Brown
On Sun, Mar 24, 2013 at 03:50:42PM +0100, Pali Rohár wrote: > There is no regulator 'Vdd' supply in board rx51 files. Can you > look at code how it can be fixed? You need to look at the schematics rather than the code here - the code just needs to say what regulator supplies Vdd on the device.

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-24 Thread Pali Rohár
On Sunday 17 February 2013 19:17:59 Mark Brown wrote: > On Sun, Feb 17, 2013 at 05:40:41PM +0100, Pali Rohár wrote: > > $ 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 [

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-24 Thread Pali Rohár
On Sunday 17 February 2013 19:17:59 Mark Brown wrote: On Sun, Feb 17, 2013 at 05:40:41PM +0100, Pali Rohár wrote: $ 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 [

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-24 Thread Mark Brown
On Sun, Mar 24, 2013 at 03:50:42PM +0100, Pali Rohár wrote: There is no regulator 'Vdd' supply in board rx51 files. Can you look at code how it can be fixed? You need to look at the schematics rather than the code here - the code just needs to say what regulator supplies Vdd on the device.

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-24 Thread Pali Rohár
On Sunday 24 March 2013 22:21:49 Mark Brown wrote: On Sun, Mar 24, 2013 at 03:50:42PM +0100, Pali Rohár wrote: There is no regulator 'Vdd' supply in board rx51 files. Can you look at code how it can be fixed? You need to look at the schematics rather than the code here - the code just

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-24 Thread Mark Brown
On Sun, Mar 24, 2013 at 10:27:32PM +0100, Pali Rohár wrote: On Sunday 24 March 2013 22:21:49 Mark Brown wrote: You need to look at the schematics rather than the code here - the code just needs to say what regulator supplies Vdd on the device. This is problem, there is no info about

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-24 Thread Pali Rohár
On Sunday 24 March 2013 23:14:46 Mark Brown wrote: On Sun, Mar 24, 2013 at 10:27:32PM +0100, Pali Rohár wrote: On Sunday 24 March 2013 22:21:49 Mark Brown wrote: You need to look at the schematics rather than the code here - the code just needs to say what regulator supplies Vdd on the

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-24 Thread Mark Brown
On Sun, Mar 24, 2013 at 11:44:59PM +0100, Pali Rohár wrote: On Sunday 24 March 2013 23:14:46 Mark Brown wrote: Well, you should seek support from the board vendor then. Not possible. Nokia is already using Windows Phones and life cycle for Nokia N900 phone is at the end. And Nokia never

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-02-17 Thread Mark Brown
On Sun, Feb 17, 2013 at 05:40:41PM +0100, Pali Rohár wrote: > $ 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':

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-02-17 Thread Pali Rohár
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

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-02-17 Thread Mark Brown
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

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-02-17 Thread Mark Brown
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

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-02-17 Thread Pali Rohár
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

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-02-17 Thread Mark Brown
On Sun, Feb 17, 2013 at 05:40:41PM +0100, Pali Rohár wrote: $ 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