[linux-sunxi] Re: Help adding I2C child node

2016-03-13 Thread ION GROZEA
Hello Bruce, Did you manage to get the driver working? Can you please share it? Do you also have the driver for MS5611? On Saturday, September 20, 2014 at 3:54:06 PM UTC+2, bruce bushby wrote: > > Hi > > As a hobby I've been playing with an Olimex A20-SOM and trying to > attach a Drotek Inven

Re: [linux-sunxi] How to get IRQ number for a GPIO?

2016-03-13 Thread ION GROZEA
Hi, I was to able to find this information in Device tree, but maybe due to the fact that i have limited knowledge. On Sunday, March 13, 2016 at 12:49:12 PM UTC+1, Gregor Riepl wrote: > > > I think i solve it using > > > > static struct i2c_board_info __initdata inv_mpu_i2c2_board_info[] = {

Re: [linux-sunxi] How to get IRQ number for a GPIO?

2016-03-13 Thread ION GROZEA
_board_info(2, inv_mpu_i2c2_board_info, ARRAY_SIZE(inv_mpu_i2c2_board_info)); } On Saturday, March 12, 2016 at 2:38:42 PM UTC+1, ION GROZEA wrote: > > Hi, > > Thank you for your reply. > I forgot to mention thet the question is valid for A20. > > The only reference i can find

Re: [linux-sunxi] How to get IRQ number for a GPIO?

2016-03-12 Thread ION GROZEA
don't know how to use it. On Saturday, March 12, 2016 at 1:48:55 PM UTC+1, Priit Laes wrote: > > On Sat, 2016-03-12 at 01:18 -0800, ION GROZEA wrote: > > Hello all, > > > > I am trying to add the MPU9150 driver in to kernel 3.4.39 > > > > In the mach

[linux-sunxi] How to get IRQ number for a GPIO?

2016-03-12 Thread ION GROZEA
Hello all, I am trying to add the MPU9150 driver in to kernel 3.4.39 In the mach-sun71/core.c i have #define MPU_IRQ gpio_to_irq(176) - i need the IRQ for PH00 static struct i2c_board_info __initdata inv_mpu_i2c2_board_info[] = { { I2C_BOARD_INFO("mpu9150", 0x69), .irq = MPU_IRQ, .platform_dat

[linux-sunxi] Drivers for MS5611 and MPU9150

2016-02-27 Thread ION GROZEA
Hello, Does any one has drivers for MS5611 and MPU915 that will work with kernel 3.4 for A20? Or can any one help me to port them from kernel 4.5 to 3.4? I have no idea where to start BR, ION -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To