* [PATCH] iio: accel: st_accel: Add support for the SMO8840 ACPI id
@ 2018-04-18 12:33 Hans de Goede
2018-04-21 15:29 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Hans de Goede @ 2018-04-18 12:33 UTC (permalink / raw)
To: Lorenzo Bianconi, Jonathan Cameron
Cc: Hans de Goede, Hartmut Knaack, Lars-Peter Clausen,
Peter Meerwald-Stadler, linux-iio
The Lenovo Ideapad Miix 320 uses an st accelerometer with an ACPI id
of SMO8840, add support for this.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
drivers/iio/accel/st_accel_i2c.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iio/accel/st_accel_i2c.c b/drivers/iio/accel/st_accel_i2c.c
index 6bdec8c451e0..056dddb27236 100644
--- a/drivers/iio/accel/st_accel_i2c.c
+++ b/drivers/iio/accel/st_accel_i2c.c
@@ -107,6 +107,7 @@ MODULE_DEVICE_TABLE(of, st_accel_of_match);
#ifdef CONFIG_ACPI
static const struct acpi_device_id st_accel_acpi_match[] = {
+ {"SMO8840", LNG2DM},
{"SMO8A90", LNG2DM},
{ },
};
--
2.17.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iio: accel: st_accel: Add support for the SMO8840 ACPI id
2018-04-18 12:33 [PATCH] iio: accel: st_accel: Add support for the SMO8840 ACPI id Hans de Goede
@ 2018-04-21 15:29 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2018-04-21 15:29 UTC (permalink / raw)
To: Hans de Goede
Cc: Lorenzo Bianconi, Hartmut Knaack, Lars-Peter Clausen,
Peter Meerwald-Stadler, linux-iio
On Wed, 18 Apr 2018 14:33:18 +0200
Hans de Goede <hdegoede@redhat.com> wrote:
> The Lenovo Ideapad Miix 320 uses an st accelerometer with an ACPI id
> of SMO8840, add support for this.
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Applied to the togreg branch of iio.git and pushed out as testing
for the autobuilders to play with it.
Thanks,
Jonathan
> ---
> drivers/iio/accel/st_accel_i2c.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/iio/accel/st_accel_i2c.c b/drivers/iio/accel/st_accel_i2c.c
> index 6bdec8c451e0..056dddb27236 100644
> --- a/drivers/iio/accel/st_accel_i2c.c
> +++ b/drivers/iio/accel/st_accel_i2c.c
> @@ -107,6 +107,7 @@ MODULE_DEVICE_TABLE(of, st_accel_of_match);
>
> #ifdef CONFIG_ACPI
> static const struct acpi_device_id st_accel_acpi_match[] = {
> + {"SMO8840", LNG2DM},
> {"SMO8A90", LNG2DM},
> { },
> };
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-21 15:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-18 12:33 [PATCH] iio: accel: st_accel: Add support for the SMO8840 ACPI id Hans de Goede
2018-04-21 15:29 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).