From: mail@mariushoch.de
To: Jonathan Cameron <jic23@kernel.org>,
Lars-Peter Clausen <lars@metafoo.de>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Hans de Goede <hdegoede@redhat.com>, Marius Hoch <mail@mariushoch.de>
Subject: [PATCH] iio: st_sensors: Add lsm303d support
Date: Thu, 13 Apr 2023 00:36:21 +0200 [thread overview]
Message-ID: <20230412223627.442963-1-mail@mariushoch.de> (raw)
From: Marius Hoch <mail@mariushoch.de>
Hi!
This patch series adds support for the LSM303D accelerometer and
magnetometer. As the LSM303D is basically, as far as I can tell,
the LSM9DS0 without gyroscope, we can easily re-use its definitions.
This was tested on a Lenovo Yoga Tablet 2 1051-F.
Cheers,
Marius
Marius Hoch (6):
iio: accel: st_accel: Add LSM303D
iio: magnetometer: st_accel: Add LSM303D
iio: st_sensors: Add lsm303d support to the LSM9DS0 IMU driver
iio: st_sensors: Add ACPI support for lsm303d to the LSM9DS0 IMU
driver
iio: Comment that the LSM303D also has the Magnetometer DRDY
dt-bindings: iio: st-sensors: Add LSM303D accelerometer+magnetometer
.../devicetree/bindings/iio/st,st-sensors.yaml | 1 +
drivers/iio/accel/st_accel_core.c | 1 +
drivers/iio/imu/st_lsm9ds0/Kconfig | 3 ++-
drivers/iio/imu/st_lsm9ds0/st_lsm9ds0_i2c.c | 15 +++++++++++++++
drivers/iio/imu/st_lsm9ds0/st_lsm9ds0_spi.c | 15 +++++++++++++++
drivers/iio/magnetometer/st_magn_core.c | 1 +
include/linux/iio/common/st_sensors.h | 1 +
include/linux/platform_data/st_sensors_pdata.h | 2 +-
8 files changed, 37 insertions(+), 2 deletions(-)
--
2.39.2
next reply other threads:[~2023-04-12 22:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-12 22:36 mail [this message]
2023-04-12 22:36 ` [PATCH] iio: accel: st_accel: Add LSM303D mail
2023-04-12 22:36 ` [PATCH] iio: magnetometer: " mail
2023-04-12 22:36 ` [PATCH] iio: st_sensors: Add lsm303d support to the LSM9DS0 IMU driver mail
2023-04-12 22:36 ` [PATCH] iio: st_sensors: Add ACPI support for lsm303d " mail
2023-04-13 0:27 ` kernel test robot
2023-04-12 22:36 ` [PATCH] iio: Comment that the LSM303D also has the Magnetometer DRDY mail
2023-04-12 22:36 ` [PATCH] dt-bindings: iio: st-sensors: Add LSM303D accelerometer+magnetometer mail
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230412223627.442963-1-mail@mariushoch.de \
--to=mail@mariushoch.de \
--cc=hdegoede@redhat.com \
--cc=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®