Linus Walleij
54de247a0e
dt-bindings: Updates Linus Walleij's mail address
...
My name is stamped into maintainership for a big slew of DT
bindings. Now that it is changing, switch it over to my
kernel.org mail address, which will hopefully be stable for the
rest of my life.
Signed-off-by: Linus Walleij <linusw@kernel.org >
Link: https://patch.msgid.link/20251216-maintainers-dt-v1-1-0b5ab102c9bb@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org >
2025-12-16 10:17:59 -06:00
Sean Nyekjaer
55d82a7ac7
dt-bindings: iio: st-sensors: Re-add IIS2MDC magnetometer
...
"iio: st-sensors: Update ST Sensor bindings" accidentially dropped
the compatible for the IIS2MDC magnetometer.
Fixes: 0cd7114580 ("iio: st-sensors: Update ST Sensor bindings")
Signed-off-by: Sean Nyekjaer <sean@geanix.com >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://patch.msgid.link/20241129-stmagdt-v1-1-963f0347fb0a@geanix.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2024-12-07 17:23:41 +00:00
Kaustabh Chakraborty
4aa60bd98e
dt-bindings: iio: st-sensors: add LIS2DS12 accelerometer
...
LIS2DS12 is an accelerometer by STMicroelectronics. It is identifiable by
its WhoAmI value 0x43.
Its register interface is not compatible with existing parts. For example:
- The full-scale values are present in register 0x20, in bits 2 and 3
(mask 0x0c). Most other supported sensors have the register address set
to 0x21, 0x23, 0x24, or 0x25. There is one sensor setting though
(bearing WhoAmI 0x3b) which has it's address set to 0x20, but the mask is
set to 0x20, not 0x0c.
- The full-scale values 2G, 4G, 8G, and 16G correspond to the register
values 0x00, 0x02, 0x03, 0x01 respectively. None of the sensor settings
have the value 0x01 associated with 16G.
Add the compatible string without any fallback.
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org >
Link: https://patch.msgid.link/20240622123520.39253-2-kauschluss@disroot.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2024-06-25 21:04:49 +01:00
Bjorn Helgaas
47aab53331
dt-bindings: Fix typos
...
Fix typos in Documentation/devicetree/bindings. The changes are in
descriptions or comments where they shouldn't affect functionality.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com >
Link: https://lore.kernel.org/r/20230814212822.193684-3-helgaas@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-08-18 11:32:25 -05:00
Marius Hoch
773aa06d70
dt-bindings: iio: st-sensors: Add LSM303D accelerometer+magnetometer
...
Same as the lsm9ds0, except that the lsm303d doesn't
feature a gyroscope.
Signed-off-by: Marius Hoch <mail@mariushoch.de >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Tested-by: Hans de Goede <hansg@kernel.org >
Link: https://lore.kernel.org/r/20230415231130.115094-7-mail@mariushoch.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2023-05-13 17:56:04 +01:00
Linus Walleij
86fb8b3aeb
dt-bindings: iio: st-sensors: Fix repeated text
...
The description oddly contains a copy of the initial paragraph.
Let's not repeat ourselves.
Suggested-by: Diederik de Haas <didi.debian@cknow.org >
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230329074614.1037625-1-linus.walleij@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2023-04-10 12:26:33 +01:00
Stefan Wahren
f9dbd94ba8
dt-bindings: iio: st-sensors: Add IIS328DQ accelerometer
...
The ST IIS328DQ is an accelerometer sensor, which is compatible with
the already supported ST H3LIS331DL. So add the new compatible
with a fallback to the ST sensor binding.
Link: https://lore.kernel.org/linux-iio/2bac9ecf-9d2e-967e-9020-1c950487d781@i2se.com/
Suggested-by: Jonathan Cameron <jic23@kernel.org >
Signed-off-by: Stefan Wahren <stefan.wahren@chargebyte.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230317103323.7741-5-stefan.wahren@chargebyte.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2023-03-19 15:41:22 +00:00
Stephan Gerhold
4aaf3e4027
dt-bindings: iio: st-sensors: Add LSM303C accelerometer+magnetometer
...
The ST LSM303C [1] is a accelerometer and magnetometer combo sensor
compatible with the existing ST sensor bindings. Accelerometer and
magnetometer are exposed through separate I2C/SPI devices, so document
separate compatibles with -accel and -magn suffix.
[1]: https://www.st.com/resource/en/datasheet/lsm303c.pdf
Signed-off-by: Stephan Gerhold <stephan@gerhold.net >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Link: https://lore.kernel.org/r/20230106102239.9647-2-stephan@gerhold.net
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2023-01-08 13:01:02 +00:00
Martyn Welch
b402783711
dt-bindings: iio: st,st-sensors add LPS22DF.
...
Add support for the ST LPS22DF, an I2C/SPI pressure sensor.
Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20220909161611.780720-1-martyn.welch@collabora.co.uk
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-09-21 18:42:53 +01:00
Sicelo A. Mhlongo
ce92d6743f
dt-bindings: iio: st,st-sensors add LIS302DL
...
Update st,st-sensors bindings for STMicroelectronics LIS302DL variant
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com >
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Link: https://lore.kernel.org/r/20220307132502.73854-2-absicsz@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-04-04 09:11:23 +01:00
Samuel Holland
cb432e7dda
dt-bindings: iio: st: Add Silan SC7A20 accelerometer
...
This chip is not an ST part, but it appears to be register-compatible
with the LIS2DH, so it can use the same binding.
Signed-off-by: Samuel Holland <samuel@sholland.org >
Acked-by: Rob Herring <robh@kernel.org >
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Link: https://lore.kernel.org/r/20220202235049.8051-3-samuel@sholland.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-02-18 11:35:49 +00:00
Maxime Ripard
14a30238ec
dt-bindings: iio: st: Remove wrong items length check
...
The original bindings was listing the length of the interrupts as either
1 or 2, depending on the setup. This is also what is enforced by the top
level schema.
However, that is further constrained with an if clause that require
exactly two interrupts, even though it might not make sense on those
devices or in some setups.
Let's remove the clause entirely.
Cc: Denis Ciocca <denis.ciocca@st.com >
Cc: Lars-Peter Clausen <lars@metafoo.de >
Fixes: 0cd7114580 ("iio: st-sensors: Update ST Sensor bindings")
Signed-off-by: Maxime Ripard <maxime@cerno.tech >
Reviewed-by: Rob Herring <robh@kernel.org >
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Link: https://lore.kernel.org/r/20210721140424.725744-16-maxime@cerno.tech
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2021-07-24 16:19:00 +01:00
Andy Shevchenko
8cd401310b
dt-bindings: iio: st,st-sensors: Add LSM9DS0 compatible string
...
Enumerate LSM9DS0 (accelerometer and magnetometer parts) via
'st,lsm9ds0-imu' compatible string.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20210414195454.84183-7-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2021-05-17 13:54:22 +01:00
Linus Walleij
0cd7114580
iio: st-sensors: Update ST Sensor bindings
...
This adjusts the ST Sensor bindings with the more fine-grained
syntax checks that were proposed late in the last kernel cycle
and colliding with parallel work.
Cc: devicetree@vger.kernel.org
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
Link: https://lore.kernel.org/r/20210412122331.1631643-1-linus.walleij@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2021-05-17 13:49:05 +01:00
LI Qingwu
ac62f90c96
dt-bindings: iio: st,st-sensors add IIS2MDC.
...
Add support for ST magnetometer IIS2MDC,
an I2C/SPI interface 3-axis magnetometer sensor.
The patch was tested on the instrument with IIS2MDC via I2C interface.
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: LI Qingwu <Qing-wu.Li@leica-geosystems.com.cn >
Link: https://lore.kernel.org/r/20210317063902.19300-2-Qing-wu.Li@leica-geosystems.com.cn
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2021-03-25 19:13:52 +00:00
Jonathan Cameron
a9aa46861c
dt-bindings:iio:st,st-sensors: txt to yaml conversion.
...
This binding document covers a very large number of different sensors.
As such the existing documentation is less specific than it could
be (such as which devices have 2 interrupt pin options).
That can be improved later.
Denis, are you happy to be listed as maintainer for this one?
If not feel free to suggestion someone else.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Acked-by: Denis Ciocca <denis.ciocca@st.com >
Cc: Denis Ciocca <denis.ciocca@st.com >
Link: https://lore.kernel.org/r/20201031184854.745828-45-jic23@kernel.org
2020-11-25 14:36:10 +00:00