Re: [PATCH 2/3] iio: st_accel: Support sensor i2c probe using acpi

2016-11-28 Thread Shrirang Bagul
On Sun, 2016-11-27 at 11:14 +, Jonathan Cameron wrote: > On 24/11/16 14:26, Linus Walleij wrote: > > On Thu, Nov 24, 2016 at 6:33 AM, Shrirang Bagul > > wrote: > > > > > Add support to probe st_accel sensors on i2c bus using ACPI. Compatible > > > strings are not avaialable on ACPI based syst

Re: [PATCH 2/3] iio: st_accel: Support sensor i2c probe using acpi

2016-11-27 Thread Jonathan Cameron
On 24/11/16 14:26, Linus Walleij wrote: > On Thu, Nov 24, 2016 at 6:33 AM, Shrirang Bagul > wrote: > >> Add support to probe st_accel sensors on i2c bus using ACPI. Compatible >> strings are not avaialable on ACPI based systems. >> >> Signed-off-by: Shrirang Bagul > (...) > >> +#ifdef CONFIG_AC

Re: [PATCH 2/3] iio: st_accel: Support sensor i2c probe using acpi

2016-11-24 Thread Linus Walleij
On Thu, Nov 24, 2016 at 6:33 AM, Shrirang Bagul wrote: > Add support to probe st_accel sensors on i2c bus using ACPI. Compatible > strings are not avaialable on ACPI based systems. > > Signed-off-by: Shrirang Bagul (...) > +#ifdef CONFIG_ACPI > +static const struct acpi_device_id st_accel_acpi_

[PATCH 2/3] iio: st_accel: Support sensor i2c probe using acpi

2016-11-23 Thread Shrirang Bagul
Add support to probe st_accel sensors on i2c bus using ACPI. Compatible strings are not avaialable on ACPI based systems. Signed-off-by: Shrirang Bagul --- drivers/iio/accel/st_accel.h | 18 ++ drivers/iio/accel/st_accel_i2c.c | 73 +++- 2 files ch