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
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
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
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
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
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.
>
.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
.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
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
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
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
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
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,
> >
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,
> >
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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.
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
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
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
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
&
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
&
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
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
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,
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,
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
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
.
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
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.
.
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
64 matches
Mail list logo