Re: [PATCH v2] iio: humidity: hts221: Fix sensor reads after resume

2018-06-30 Thread Shrirang Bagul
AV_CONF register along with CTRL1 > > (As demonstrated with i2c register dumps of hts221 captured on Dell > > IoT Gateways 300x before suspend & after resume [1]) > > > > Fixes: ffebe74b7c95 (iio: humidity: hts221: avoid useless ODR > > reconfigura

Re: [PATCH v2] iio: humidity: hts221: Fix sensor reads after resume

2018-06-30 Thread Shrirang Bagul
AV_CONF register along with CTRL1 > > (As demonstrated with i2c register dumps of hts221 captured on Dell > > IoT Gateways 300x before suspend & after resume [1]) > > > > Fixes: ffebe74b7c95 (iio: humidity: hts221: avoid useless ODR > > reconfigura

[PATCH v2] iio: humidity: hts221: Fix sensor reads after resume

2018-06-28 Thread Shrirang Bagul
n Dell IoT Gateways 300x before suspend & after resume [1]) Fixes: ffebe74b7c95 (iio: humidity: hts221: avoid useless ODR reconfiguration) Signed-off-by: Shrirang Bagul [v1] https://marc.info/?l=linux-iio=152506543000442=2 [1] https://marc.info/?l=linux-iio=152534455701742=2 This patch

[PATCH v2] iio: humidity: hts221: Fix sensor reads after resume

2018-06-28 Thread Shrirang Bagul
n Dell IoT Gateways 300x before suspend & after resume [1]) Fixes: ffebe74b7c95 (iio: humidity: hts221: avoid useless ODR reconfiguration) Signed-off-by: Shrirang Bagul [v1] https://marc.info/?l=linux-iio=152506543000442=2 [1] https://marc.info/?l=linux-iio=152534455701742=2 This patch

Re: [PATCH] iio: humidity: hts221: Fix sensor reads after resume

2018-05-06 Thread Shrirang Bagul
On Sun, 2018-05-06 at 17:19 +0100, Jonathan Cameron wrote: > On Mon, 30 Apr 2018 12:25:46 +0800 > Shrirang Bagul <shrirang.ba...@canonical.com> wrote: > > > CTRL1 register (ODR & BDU settings) gets reset after system comes back > > from suspend, causing subsequen

Re: [PATCH] iio: humidity: hts221: Fix sensor reads after resume

2018-05-06 Thread Shrirang Bagul
On Sun, 2018-05-06 at 17:19 +0100, Jonathan Cameron wrote: > On Mon, 30 Apr 2018 12:25:46 +0800 > Shrirang Bagul wrote: > > > CTRL1 register (ODR & BDU settings) gets reset after system comes back > > from suspend, causing subsequent reads from the sensor to fail. >

[PATCH] iio: humidity: hts221: Fix sensor reads after resume

2018-04-29 Thread Shrirang Bagul
.rc1, this driver uses REGMAP; I'll send a separate patch to address this issue. Cc: sta...@vger.kernel.org Fixes: ffebe74b7c95 (iio: humidity: hts221: avoid useless ODR reconfiguration) Signed-off-by: Shrirang Bagul <shrirang.ba...@canonical.com> --- drivers/iio/humidity/hts221_c

[PATCH] iio: humidity: hts221: Fix sensor reads after resume

2018-04-29 Thread Shrirang Bagul
.rc1, this driver uses REGMAP; I'll send a separate patch to address this issue. Cc: sta...@vger.kernel.org Fixes: ffebe74b7c95 (iio: humidity: hts221: avoid useless ODR reconfiguration) Signed-off-by: Shrirang Bagul --- drivers/iio/humidity/hts221_core.c | 12 1 file changed, 8 insert

Re: [PATCH] net: qmi_wwan: add Dell DW5818, DW5819

2017-11-20 Thread Shrirang Bagul
On Mon, 2017-11-20 at 10:41 +0100, Bjørn Mork wrote: > Shrirang Bagul <shrirang.ba...@canonical.com> writes: > > > Dell Wireless 5819/5818 devices are re-branded Sierra Wireless MC74 > > series modems which will by default boot with vid 0x413c and pid's > > 0x81cf

Re: [PATCH] net: qmi_wwan: add Dell DW5818, DW5819

2017-11-20 Thread Shrirang Bagul
On Mon, 2017-11-20 at 10:41 +0100, Bjørn Mork wrote: > Shrirang Bagul writes: > > > Dell Wireless 5819/5818 devices are re-branded Sierra Wireless MC74 > > series modems which will by default boot with vid 0x413c and pid's > > 0x81cf, 0x81d0, 0x81d1,0x81d2. Along wit

[PATCH] net: qmi_wwan: add Dell DW5818, DW5819

2017-11-20 Thread Shrirang Bagul
Dell Wireless 5819/5818 devices are re-branded Sierra Wireless MC74 series modems which will by default boot with vid 0x413c and pid's 0x81cf, 0x81d0, 0x81d1,0x81d2. Along with qcserial, these modems support qmi_wwan on the usb interface #12. Signed-off-by: Shrirang Bagul <shrirang

[PATCH] net: qmi_wwan: add Dell DW5818, DW5819

2017-11-20 Thread Shrirang Bagul
Dell Wireless 5819/5818 devices are re-branded Sierra Wireless MC74 series modems which will by default boot with vid 0x413c and pid's 0x81cf, 0x81d0, 0x81d1,0x81d2. Along with qcserial, these modems support qmi_wwan on the usb interface #12. Signed-off-by: Shrirang Bagul --- drivers/net/usb

Re: [PATCH] USB: serial: qcserial: add Dell DW5818, DW5819

2017-10-04 Thread Shrirang Bagul
On Tue, 2017-10-03 at 15:37 +0200, Johan Hovold wrote: > On Fri, Sep 29, 2017 at 12:39:51PM +0800, Shrirang Bagul wrote: > > Dell Wireless 5819/5818 devices are re-branded Sierra Wireless MC74 > > series which will by default boot with vid 0x413c and pid's 0x81cf, > >

Re: [PATCH] USB: serial: qcserial: add Dell DW5818, DW5819

2017-10-04 Thread Shrirang Bagul
On Tue, 2017-10-03 at 15:37 +0200, Johan Hovold wrote: > On Fri, Sep 29, 2017 at 12:39:51PM +0800, Shrirang Bagul wrote: > > Dell Wireless 5819/5818 devices are re-branded Sierra Wireless MC74 > > series which will by default boot with vid 0x413c and pid's 0x81cf, > >

[PATCH] USB: serial: qcserial: add Dell DW5818, DW5819

2017-09-28 Thread Shrirang Bagul
Dell Wireless 5819/5818 devices are re-branded Sierra Wireless MC74 series which will by default boot with vid 0x413c and pid's 0x81cf, 0x81d0, 0x81d1,0x81d2. Signed-off-by: Shrirang Bagul <shrirang.ba...@canonical.com> --- drivers/usb/serial/qcserial.c | 4 1 file changed, 4 inse

[PATCH] USB: serial: qcserial: add Dell DW5818, DW5819

2017-09-28 Thread Shrirang Bagul
Dell Wireless 5819/5818 devices are re-branded Sierra Wireless MC74 series which will by default boot with vid 0x413c and pid's 0x81cf, 0x81d0, 0x81d1,0x81d2. Signed-off-by: Shrirang Bagul --- drivers/usb/serial/qcserial.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/usb

[PATCH] HID: multitouch: Support ALPS PTP stick with pid 0x120A

2017-08-10 Thread Shrirang Bagul
This patch adds ALPS PTP sticks with pid/device id 0x120A to the list of devices supported by hid-multitouch. Signed-off-by: Shrirang Bagul <shrirang.ba...@canonical.com> --- drivers/hid/hid-ids.h| 1 + drivers/hid/hid-multitouch.c | 4 2 files changed, 5 insertions(+) diff

[PATCH] HID: multitouch: Support ALPS PTP stick with pid 0x120A

2017-08-10 Thread Shrirang Bagul
This patch adds ALPS PTP sticks with pid/device id 0x120A to the list of devices supported by hid-multitouch. Signed-off-by: Shrirang Bagul --- drivers/hid/hid-ids.h| 1 + drivers/hid/hid-multitouch.c | 4 2 files changed, 5 insertions(+) diff --git a/drivers/hid/hid-ids.h b

Re: [PATCH] iio: st_pressure: st_accel: Initialise sensor platform data properly

2017-04-27 Thread Shrirang Bagul
On Wed, 2017-04-26 at 06:37 +0100, Jonathan Cameron wrote: > On 19/04/17 15:05, Shrirang Bagul wrote: > > This patch fixes the sensor platform data initialisation for st_pressure > > and st_accel device drivers. Without this patch, the driver fails to > > register the sensors

Re: [PATCH] iio: st_pressure: st_accel: Initialise sensor platform data properly

2017-04-27 Thread Shrirang Bagul
On Wed, 2017-04-26 at 06:37 +0100, Jonathan Cameron wrote: > On 19/04/17 15:05, Shrirang Bagul wrote: > > This patch fixes the sensor platform data initialisation for st_pressure > > and st_accel device drivers. Without this patch, the driver fails to > > register the sensors

[PATCH] iio: st_pressure: st_accel: Initialise sensor platform data properly

2017-04-19 Thread Shrirang Bagul
to register the pressure sensor device. Devices supported by st_accel driver also suffer from the same bug. Signed-off-by: Shrirang Bagul <shrirang.ba...@canonical.com> --- drivers/iio/accel/st_accel_core.c | 7 --- drivers/iio/pressure/st_pressure_core.c | 8 2 files chan

[PATCH] iio: st_pressure: st_accel: Initialise sensor platform data properly

2017-04-19 Thread Shrirang Bagul
to register the pressure sensor device. Devices supported by st_accel driver also suffer from the same bug. Signed-off-by: Shrirang Bagul --- drivers/iio/accel/st_accel_core.c | 7 --- drivers/iio/pressure/st_pressure_core.c | 8 2 files changed, 8 insertions(+), 7 deletions

[RESEND PATCH] iio: st_pressure: initialize lps22hb bootime

2017-03-30 Thread Shrirang Bagul
This patch initializes the bootime in struct st_sensor_settings for lps22hb sensor. Without this, sensor channels read from sysfs always report stale values. Signed-off-by: Shrirang Bagul <shrirang.ba...@canonical.com> --- drivers/iio/pressure/st_pressure_core.c | 1 + 1 file chan

[RESEND PATCH] iio: st_pressure: initialize lps22hb bootime

2017-03-30 Thread Shrirang Bagul
This patch initializes the bootime in struct st_sensor_settings for lps22hb sensor. Without this, sensor channels read from sysfs always report stale values. Signed-off-by: Shrirang Bagul --- drivers/iio/pressure/st_pressure_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio

iio: st_pressure: initialize lps22hb bootime

2017-03-30 Thread Shrirang Bagul
This patch initializes the bootime in struct st_sensor_settings for lps22hb sensor. Without this, sensor channels read from sysfs always report stale values. Signed-off-by: Shrirang Bagul <shrirang.ba...@canonical.com> --- drivers/iio/pressure/st_pressure_core.c | 1 + 1 file chan

iio: st_pressure: initialize lps22hb bootime

2017-03-30 Thread Shrirang Bagul
This patch initializes the bootime in struct st_sensor_settings for lps22hb sensor. Without this, sensor channels read from sysfs always report stale values. Signed-off-by: Shrirang Bagul --- drivers/iio/pressure/st_pressure_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio

Re: [alsa-devel] [PATCH v2 3/4] ASoC: Intel: Support rt5660 codec for Baytrail

2017-01-15 Thread Shrirang Bagul
On Thu, 2017-01-12 at 08:40 -0600, Pierre-Louis Bossart wrote: > On 1/12/17 6:01 AM, Shrirang Bagul wrote: > > rt5660 and rt5640 are similar codecs so reuse the bytcr_rt5640 driver. > > RT5660 codec is used on Dell Edge IoT Gateways with ACPI ID 10EC3277. > > These de

Re: [alsa-devel] [PATCH v2 3/4] ASoC: Intel: Support rt5660 codec for Baytrail

2017-01-15 Thread Shrirang Bagul
On Thu, 2017-01-12 at 08:40 -0600, Pierre-Louis Bossart wrote: > On 1/12/17 6:01 AM, Shrirang Bagul wrote: > > rt5660 and rt5640 are similar codecs so reuse the bytcr_rt5640 driver. > > RT5660 codec is used on Dell Edge IoT Gateways with ACPI ID 10EC3277. > > These de

[PATCH v2 3/4] ASoC: Intel: Support rt5660 codec for Baytrail

2017-01-12 Thread Shrirang Bagul
rt5660 and rt5640 are similar codecs so reuse the bytcr_rt5640 driver. RT5660 codec is used on Dell Edge IoT Gateways with ACPI ID 10EC3277. These devices sport only Line-In and Line-Out jacks. Signed-off-by: Shrirang Bagul <shrirang.ba...@canonical.com> --- sound/soc/intel/K

[PATCH v2 3/4] ASoC: Intel: Support rt5660 codec for Baytrail

2017-01-12 Thread Shrirang Bagul
rt5660 and rt5640 are similar codecs so reuse the bytcr_rt5640 driver. RT5660 codec is used on Dell Edge IoT Gateways with ACPI ID 10EC3277. These devices sport only Line-In and Line-Out jacks. Signed-off-by: Shrirang Bagul --- sound/soc/intel/Kconfig | 11 +-- sound/soc/intel

[PATCH v2 4/4] ASoC: Intel: bytcr_rt5640: Support line-out mute gpio

2017-01-12 Thread Shrirang Bagul
This patch adds support to toggle mute on 'line-out' pin on Dell Edge IoT Gateways. A dedicated GPIO on the SoC is used to control the amplifier. This GPIO is described in the BIOS DSD table. Signed-off-by: Shrirang Bagul <shrirang.ba...@canonical.com> --- sound/soc/intel/boards/bytcr_rt

[PATCH v2 4/4] ASoC: Intel: bytcr_rt5640: Support line-out mute gpio

2017-01-12 Thread Shrirang Bagul
This patch adds support to toggle mute on 'line-out' pin on Dell Edge IoT Gateways. A dedicated GPIO on the SoC is used to control the amplifier. This GPIO is described in the BIOS DSD table. Signed-off-by: Shrirang Bagul --- sound/soc/intel/boards/bytcr_rt5640.c | 28

[PATCH v2 1/4] ASoC: rt5660: Add ACPI support

2017-01-12 Thread Shrirang Bagul
On Dell IoT Gateways, RT5660 codec is available with ACPI ID 10EC3277. Also, GPIO's are only available by index, so we register mappings to allow machine drivers to access them by name. Signed-off-by: Shrirang Bagul <shrirang.ba...@canonical.com> --- sound/soc/codecs/rt5660.

[PATCH v2 1/4] ASoC: rt5660: Add ACPI support

2017-01-12 Thread Shrirang Bagul
On Dell IoT Gateways, RT5660 codec is available with ACPI ID 10EC3277. Also, GPIO's are only available by index, so we register mappings to allow machine drivers to access them by name. Signed-off-by: Shrirang Bagul --- sound/soc/codecs/rt5660.c | 32 1 file

[PATCH v2 2/4] ASoC: Intel: bytcr_rt5640: move codec clks to card driver data

2017-01-12 Thread Shrirang Bagul
This patch moves codec specific clock indices to card driver data. Functions configuring clocks can be re-used for other codec chips with similar features (viz. RT5660) Signed-off-by: Shrirang Bagul <shrirang.ba...@canonical.com> --- sound/soc/intel/boards/bytcr_rt5640.

[PATCH v2 0/4] ASoC: Dell IoT Gateway audio support

2017-01-12 Thread Shrirang Bagul
audio Shrirang Bagul (4): ASoC: rt5660: Add ACPI support ASoC: Intel: bytcr_rt5640: move codec clks to card driver data ASoC: Intel: Support rt5660 codec for Baytrail ASoC: Intel: bytcr_rt5640: Support line-out mute gpio sound/soc/codecs/rt5660.c | 32 ++ sound/soc/intel

[PATCH v2 2/4] ASoC: Intel: bytcr_rt5640: move codec clks to card driver data

2017-01-12 Thread Shrirang Bagul
This patch moves codec specific clock indices to card driver data. Functions configuring clocks can be re-used for other codec chips with similar features (viz. RT5660) Signed-off-by: Shrirang Bagul --- sound/soc/intel/boards/bytcr_rt5640.c | 29 +++-- 1 file changed, 23

[PATCH v2 0/4] ASoC: Dell IoT Gateway audio support

2017-01-12 Thread Shrirang Bagul
audio Shrirang Bagul (4): ASoC: rt5660: Add ACPI support ASoC: Intel: bytcr_rt5640: move codec clks to card driver data ASoC: Intel: Support rt5660 codec for Baytrail ASoC: Intel: bytcr_rt5640: Support line-out mute gpio sound/soc/codecs/rt5660.c | 32 ++ sound/soc/intel

Re: [alsa-devel] [PATCH 2/2] ASoC: Intel: boards: Add Baytrail RT5660 machine driver

2016-12-26 Thread Shrirang Bagul
On Tue, 2016-12-27 at 11:29 +0800, Shrirang Bagul wrote: > On Mon, 2016-12-19 at 16:44 +, Mark Brown wrote: > > On Mon, Dec 19, 2016 at 10:30:09AM -0600, Pierre-Louis Bossart wrote: > > > > > All this code seems to be largely a copy-paste of the bytcr_rt5640 machine &

Re: [alsa-devel] [PATCH 2/2] ASoC: Intel: boards: Add Baytrail RT5660 machine driver

2016-12-26 Thread Shrirang Bagul
On Tue, 2016-12-27 at 11:29 +0800, Shrirang Bagul wrote: > On Mon, 2016-12-19 at 16:44 +, Mark Brown wrote: > > On Mon, Dec 19, 2016 at 10:30:09AM -0600, Pierre-Louis Bossart wrote: > > > > > All this code seems to be largely a copy-paste of the bytcr_rt5640 machine &

Re: [PATCH 1/2] ASoC: rt5660: Add ACPI support

2016-12-26 Thread Shrirang Bagul
On Mon, 2016-12-19 at 15:44 +, Mark Brown wrote: > On Mon, Dec 19, 2016 at 09:51:46PM +0800, Shrirang Bagul wrote: > > > +static const struct acpi_gpio_params audio_wake_intr_gpio = { 0, 0, false > > }; > > +static const struct acpi_gpio_params lineout_mute_gpio = { 1

Re: [PATCH 1/2] ASoC: rt5660: Add ACPI support

2016-12-26 Thread Shrirang Bagul
On Mon, 2016-12-19 at 15:44 +, Mark Brown wrote: > On Mon, Dec 19, 2016 at 09:51:46PM +0800, Shrirang Bagul wrote: > > > +static const struct acpi_gpio_params audio_wake_intr_gpio = { 0, 0, false > > }; > > +static const struct acpi_gpio_params lineout_mute_gpio = { 1

Re: [alsa-devel] [PATCH 2/2] ASoC: Intel: boards: Add Baytrail RT5660 machine driver

2016-12-26 Thread Shrirang Bagul
On Mon, 2016-12-19 at 16:44 +, Mark Brown wrote: > On Mon, Dec 19, 2016 at 10:30:09AM -0600, Pierre-Louis Bossart wrote: > > > All this code seems to be largely a copy-paste of the bytcr_rt5640 machine > > driver and the same comments would apply there. This patch did miss the last > > Yes,

Re: [alsa-devel] [PATCH 2/2] ASoC: Intel: boards: Add Baytrail RT5660 machine driver

2016-12-26 Thread Shrirang Bagul
On Mon, 2016-12-19 at 16:44 +, Mark Brown wrote: > On Mon, Dec 19, 2016 at 10:30:09AM -0600, Pierre-Louis Bossart wrote: > > > All this code seems to be largely a copy-paste of the bytcr_rt5640 machine > > driver and the same comments would apply there. This patch did miss the last > > Yes,

[PATCH 2/2] ASoC: Intel: boards: Add Baytrail RT5660 machine driver

2016-12-19 Thread Shrirang Bagul
This is used by Dell Edge IoT Gateways. Signed-off-by: Shrirang Bagul <shrirang.ba...@canonical.com> --- sound/soc/intel/Kconfig | 13 + sound/soc/intel/atom/sst/sst_acpi.c | 2 + sound/soc/intel/boards/Makefile | 2 + sound/soc/intel/boards/bytcr_rt5660.c

[PATCH 2/2] ASoC: Intel: boards: Add Baytrail RT5660 machine driver

2016-12-19 Thread Shrirang Bagul
This is used by Dell Edge IoT Gateways. Signed-off-by: Shrirang Bagul --- sound/soc/intel/Kconfig | 13 + sound/soc/intel/atom/sst/sst_acpi.c | 2 + sound/soc/intel/boards/Makefile | 2 + sound/soc/intel/boards/bytcr_rt5660.c | 573

[PATCH 0/2] ASoC: Dell IoT Gateway audio support

2016-12-19 Thread Shrirang Bagul
. Shrirang Bagul (2): ASoC: rt5660: Add ACPI support ASoC: Intel: boards: Add Baytrail RT5660 machine driver sound/soc/codecs/rt5660.c | 26 ++ sound/soc/intel/Kconfig | 13 + sound/soc/intel/atom/sst/sst_acpi.c | 2 + sound/soc/intel/boards/Makefile | 2 + sound

[PATCH 1/2] ASoC: rt5660: Add ACPI support

2016-12-19 Thread Shrirang Bagul
On Dell IoT Gateways, RT5660 codec is available with ACPI ID 10EC3277. Also, GPIO's are only available by index, so we register mappings to allow machine drivers to access them by name. Signed-off-by: Shrirang Bagul <shrirang.ba...@canonical.com> --- sound/soc/codecs/rt5660.

[PATCH 0/2] ASoC: Dell IoT Gateway audio support

2016-12-19 Thread Shrirang Bagul
. Shrirang Bagul (2): ASoC: rt5660: Add ACPI support ASoC: Intel: boards: Add Baytrail RT5660 machine driver sound/soc/codecs/rt5660.c | 26 ++ sound/soc/intel/Kconfig | 13 + sound/soc/intel/atom/sst/sst_acpi.c | 2 + sound/soc/intel/boards/Makefile | 2 + sound

[PATCH 1/2] ASoC: rt5660: Add ACPI support

2016-12-19 Thread Shrirang Bagul
On Dell IoT Gateways, RT5660 codec is available with ACPI ID 10EC3277. Also, GPIO's are only available by index, so we register mappings to allow machine drivers to access them by name. Signed-off-by: Shrirang Bagul --- sound/soc/codecs/rt5660.c | 26 ++ 1 file changed

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 > > <shrirang.ba...@canonical.com> wrote: > > > > > Add support to probe st_accel sensors on i2c bus

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 > > > s

Re: [PATCH 3/3] iio: st_pressure: Support i2c probe using acpi

2016-11-28 Thread Shrirang Bagul
On Sun, 2016-11-27 at 11:12 +, Jonathan Cameron wrote: > On 24/11/16 14:28, Linus Walleij wrote: > > On Thu, Nov 24, 2016 at 6:33 AM, Shrirang Bagul > > <shrirang.ba...@canonical.com> wrote: > > > > > Compatible strings are not available on ACPI

Re: [PATCH 3/3] iio: st_pressure: Support i2c probe using acpi

2016-11-28 Thread Shrirang Bagul
On Sun, 2016-11-27 at 11:12 +, Jonathan Cameron wrote: > On 24/11/16 14:28, Linus Walleij wrote: > > On Thu, Nov 24, 2016 at 6:33 AM, Shrirang Bagul > > wrote: > > > > > Compatible strings are not available on ACPI based systems. This patch > > > add

[PATCH] iio: humidity: Support acpi probe for hts211

2016-11-24 Thread Shrirang Bagul
Support driver probe by reading unique HID on systems based on ACPI instead of DT compatible strings. Signed-off-by: Shrirang Bagul <shrirang.ba...@canonical.com> --- drivers/iio/humidity/hts221_i2c.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/iio/humidity/hts221

[PATCH] iio: humidity: Support acpi probe for hts211

2016-11-24 Thread Shrirang Bagul
Support driver probe by reading unique HID on systems based on ACPI instead of DT compatible strings. Signed-off-by: Shrirang Bagul --- drivers/iio/humidity/hts221_i2c.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/iio/humidity/hts221_i2c.c b/drivers/iio/humidity

[PATCH 0/3] iio: st_sensors: Support ACPI probe for st_sensors

2016-11-23 Thread Shrirang Bagul
tform bios for st_pressure and st_accel sensor drivers. Some of these sensors are present on Dell IoT gateways. Thanks, Shrirang Shrirang Bagul (3): iio: st_sensors: match sensors using ACPI handle iio: st_accel: Support sensor i2c probe using acpi iio: st_pressure: Support i2c probe using acpi d

[PATCH 0/3] iio: st_sensors: Support ACPI probe for st_sensors

2016-11-23 Thread Shrirang Bagul
tform bios for st_pressure and st_accel sensor drivers. Some of these sensors are present on Dell IoT gateways. Thanks, Shrirang Shrirang Bagul (3): iio: st_sensors: match sensors using ACPI handle iio: st_accel: Support sensor i2c probe using acpi iio: st_pressure: Support i2c probe using acpi d

[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 <shrirang.ba...@canonical.com> --- drivers/iio/accel/st_accel.h | 18 ++ drivers/iio/accel/st_accel_i2c.

[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

[PATCH 1/3] iio: st_sensors: match sensors using ACPI handle

2016-11-23 Thread Shrirang Bagul
Add support to match st sensors using information passed from ACPI DST tables. Signed-off-by: Shrirang Bagul <shrirang.ba...@canonical.com> --- drivers/iio/common/st_sensors/st_sensors_i2c.c | 20 include/linux/iio/common/st_sensors_i2c.h | 9 + 2 files c

[PATCH 3/3] iio: st_pressure: Support i2c probe using acpi

2016-11-23 Thread Shrirang Bagul
Compatible strings are not available on ACPI based systems. This patch adds support to use DSDT information read from platform BIOS instead for probing st pressure sensors. Signed-off-by: Shrirang Bagul <shrirang.ba...@canonical.com> --- drivers/iio/pressure/st_pressure.h

[PATCH 1/3] iio: st_sensors: match sensors using ACPI handle

2016-11-23 Thread Shrirang Bagul
Add support to match st sensors using information passed from ACPI DST tables. Signed-off-by: Shrirang Bagul --- drivers/iio/common/st_sensors/st_sensors_i2c.c | 20 include/linux/iio/common/st_sensors_i2c.h | 9 + 2 files changed, 29 insertions(+) diff --git

[PATCH 3/3] iio: st_pressure: Support i2c probe using acpi

2016-11-23 Thread Shrirang Bagul
Compatible strings are not available on ACPI based systems. This patch adds support to use DSDT information read from platform BIOS instead for probing st pressure sensors. Signed-off-by: Shrirang Bagul --- drivers/iio/pressure/st_pressure.h | 8 ++ drivers/iio/pressure