Lad Prabhakar
32abe97b48
dt-bindings: iio: adc: renesas,rzg2l-adc: Document RZ/Five SoC
...
The ADC block on the RZ/Five SoC is identical to one found on the RZ/G2UL
SoC. "renesas,r9a07g043-adc" compatible string will be used on the RZ/Five
SoC so to make this clear, update the comment to include RZ/Five SoC.
No driver changes are required as generic compatible string
"renesas,rzg2l-adc" will be used as a fallback on RZ/Five SoC.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com >
Acked-by: Rob Herring <robh@kernel.org >
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be >
Link: https://lore.kernel.org/r/20221115124128.1183144-1-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 21:01:35 +00:00
Rasmus Villemoes
6aaf704569
dt-bindings: iio: ad74413r: add optional reset-gpios
...
The ad74412 and ad74413 devices have an active-low reset pin. Add a
binding allowing one to specify a gpio tied to that.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20221115095517.1008632-3-linux@rasmusvillemoes.dk
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 20:54:37 +00:00
Luca Weiss
58ae95f967
dt-bindings: iio/adc: qcom,spmi-iadc: use double compatibles
...
As in other bindings, let's use specific compatibles together with the
fallback compatible. Adjust the bindings for it.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz >
Acked-by: Rob Herring <robh@kernel.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20221031182456.952648-1-luca@z3ntu.xyz
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 20:53:02 +00:00
Lorenzo Bianconi
1842fff0f7
dt-bindings: iio: imu: st_lsm6dsx: add lsm6dso16is
...
Add device bindings for lsm6dso16is IMU sensor.
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/55b15b3e8453a12edcf8195ef9c9243a76f87096.1668605631.git.lorenzo@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 20:50:37 +00:00
Cosmin Tanislav
0e69ba0dd5
dt-bindings: iio: addac: add AD74115
...
The AD74115H is a single-channel, software-configurable, input and
output device for industrial control applications. The AD74115H
provides a wide range of use cases, integrated on a single chip.
These use cases include analog output, analog input, digital output,
digital input, resistance temperature detector (RTD), and thermocouple
measurement capability. The AD74115H also has an integrated HART modem.
A serial peripheral interface (SPI) is used to handle all communications
to the device, including communications with the HART modem. The digital
input and digital outputs can be accessed via the SPI or the
general-purpose input and output (GPIO) pins to support higher
speed data rates.
The device features a 16-bit, sigma-delta analog-to-digital converter
(ADC) and a 14-bit digital-to-analog converter (DAC).
The AD74115H contains a high accuracy 2.5 V on-chip reference that can
be used as the DAC and ADC reference.
Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221117080916.411766-2-cosmin.tanislav@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 20:49:00 +00:00
Edmund Berenson
1140f96cd4
dt-bindings: iio: adc: ad7923: adjust documentation
...
- The ad7927 is fully compatible with ad7928 driver, add
documentation for device.
- ad7923 and ad7924 are treated the same in the driver, show
the relationship in the documentation.
Suggested-by: Lukasz Zemla <Lukasz.Zemla@woodward.com >
Signed-off-by: Edmund Berenson <edmund.berenson@emlix.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20221122161437.18937-1-edmund.berenson@emlix.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 20:24:05 +00:00
Jay Greco
7b4452381a
dt-bindings: iio: imu: Add inv_icm42600 documentation
...
Update the required documentation for the icm42631.
Signed-off-by: Jay Greco <grecojay@amazon.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com >
Link: https://lore.kernel.org/r/20221110192933.13616-3-grecojay@amazon.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:58:45 +00:00
Jagan Teki
6809ec9768
dt-bindings: iio: adc: rockchip-saradc: Add saradc for rv1126
...
Add saradc compatible string for rockchip rv1126.
Cc: linux-iio@vger.kernel.org
Cc: Jonathan Cameron <jic23@kernel.org >
Signed-off-by: Jagan Teki <jagan@edgeble.ai >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20221108041400.157052-4-jagan@edgeble.ai
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:58:45 +00:00
Rob Herring
84aea36299
dt-bindings: iio: dac: adi,ad5758: Drop 'contains' from 'adi,dc-dc-mode'
...
'contains' applies to arrays, but 'adi,dc-dc-mode' is a scalar. So drop
'contains' from the 'if' schema.
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221111212846.4104059-1-robh@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:58:45 +00:00
Lorenzo Bianconi
03e8373c07
dt-bindings: iio: imu: st_lsm6dsx: add lsm6dsv16x
...
Add device bindings for lsm6dsv16x IMU sensor.
Use lsm6dsv as fallback device for lsm6dsv16x since it implements all the
features currently supported by lsm6dsv16x.
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/8d10a63ec6abd22863ab25addd8c2f578dbc9cd9.1667745215.git.lorenzo@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:58:45 +00:00
Cosmin Tanislav
d240526950
dt-bindings: iio: temperature: ltc2983: support more parts
...
Add support for the following parts:
* LTC2984
* LTC2986
* LTM2985
The LTC2984 is a variant of the LTC2983 with EEPROM.
The LTC2986 is a variant of the LTC2983 with only 10 channels,
EEPROM and support for active analog temperature sensors.
The LTM2985 is software-compatible with the LTC2986.
Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221103130041.2153295-13-demonsingur@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:54:00 +00:00
Cosmin Tanislav
cf738c544d
dt-bindings: iio: temperature: ltc2983: use generic node name in example
...
Examples should use the generic IIO node name of temperature-sensor.
Fix it.
Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com >
Link: https://lore.kernel.org/r/20221103130041.2153295-12-demonsingur@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:54:00 +00:00
Cosmin Tanislav
93144097f5
dt-bindings: iio: temperature: ltc2983: describe broken mux delay property
...
The 'adi,mux-delay-config-us' property is broken. It was supposed to
be in us, but the value is actually written directly to the register.
Describe the fact that it is broken and how it actually works.
Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221103130041.2153295-11-demonsingur@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:54:00 +00:00
Cosmin Tanislav
95027f5b39
dt-bindings: iio: temperature: ltc2983: refine descriptions
...
Some descriptions are too verbose, while others are too succint.
Rewrite them all.
Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221103130041.2153295-10-demonsingur@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:54:00 +00:00
Cosmin Tanislav
ee7e336c48
dt-bindings: iio: temperature: ltc2983: change default excitation for custom thermistors
...
Excitation cannot be set to auto-range when using a custom thermistor
or Steinhart sensor type. Default it to 1000nA to match the driver
and remove the auto-range value from the enum.
Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221103130041.2153295-9-demonsingur@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:54:00 +00:00
Cosmin Tanislav
b3805fc3dc
dt-bindings: iio: temperature: ltc2983: require 4 wire rtd for current rotate
...
The driver will error out when current rotation is enabled but the RTD
is not 4-wire. Require it in the binding too.
Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221103130041.2153295-8-demonsingur@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:54:00 +00:00
Cosmin Tanislav
a2ebc8d281
dt-bindings: iio: temperature: ltc2983: require custom sensor tables
...
The driver will error out when a custom sensor type is used but a
custom sensor table is not provided. Require it in the binding too.
Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221103130041.2153295-7-demonsingur@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:54:00 +00:00
Cosmin Tanislav
6cf75e90c5
dt-bindings: iio: temperature: ltc2983: describe matrix items
...
Give a little bit of information on what each item in the matrix is
supposed to be.
Also, some matrices put the 'minItems' and 'maxItems' keywords in the
wrong level. They should be on the same level as the 'items' keyword.
Fix it.
Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221103130041.2153295-6-demonsingur@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:54:00 +00:00
Cosmin Tanislav
828a6c2252
dt-bindings: iio: temperature: ltc2983: remove qutations from phandle ref
...
Not needed, so why have them?
Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221103130041.2153295-5-demonsingur@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:54:00 +00:00
Cosmin Tanislav
d449fb5146
dt-bindings: iio: temperature: ltc2983: use hex for sensor address
...
Addresses should be in hex, fix it.
Although the driver initially specified 1-20, it can be made free-range
since the address is supposed to match reg, onto which we can impose
restrictions based on the compatible property value.
Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221103130041.2153295-4-demonsingur@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:54:00 +00:00
Cosmin Tanislav
4ecee36077
dt-bindings: iio: temperature: ltc2983: add default values
...
Binding properties should have default values to let the reader
know if they should change it. Add them based on driver logic.
Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221103130041.2153295-3-demonsingur@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:53:59 +00:00
Ramona Bolboaca
b311d2e170
dt-bindings: iio: accel: Add docs for ADXL359
...
Update ADXL355 existing documentation with documentation
for ADXL359 device.
Signed-off-by: Ramona Bolboaca <ramona.bolboaca@analog.com >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221031105129.47740-3-ramona.bolboaca@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:44:04 +00:00
Lorenzo Bianconi
9b4901528f
dt-bindings: iio: imu: st_lsm6dsx: add lsm6dsv device bindings
...
Introduce device bindings for LSM6DSV IMU sensor.
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/c34cea4468dc26050dff812f47e1a21f8e544758.1667216004.git.lorenzo@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:44:04 +00:00
Krzysztof Kozlowski
ea4b79e98a
dt-bindings: iio: adc: qcom,spmi-vadc: extend example
...
Cleanup existing example (generic node name for spmi, use 4-space
indentation) and add example for ADCv7 copied from
Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221027143411.277980-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:44:04 +00:00
Krzysztof Kozlowski
306935570f
dt-bindings: iio: adc: qcom,spmi-vadc: simplify compatible enum
...
The second compatible item in oneOf is just an enum, not a list.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221027143411.277980-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:44:04 +00:00
Matti Vaittinen
b52e2f19f8
dt-bindings: iio: Add KX022A accelerometer
...
KX022A is a 3-axis Accelerometer from ROHM/Kionix. The sensor features
include variable ODRs, I2C and SPI control, FIFO/LIFO with watermark IRQ,
tap/motion detection, wake-up & back-to-sleep events, four acceleration
ranges (2, 4, 8 and 16g) and probably some other cool features.
Add the basic device tree description for the accelerometer. Only basic
accelerometer features are considered as of now - new properties may or
may not be needed in the future when rest of the features are supported.
Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/06f8e1ab29d02ed216db10091a269df4b6abad9a.1666614295.git.mazziesaccount@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:44:03 +00:00
Cosmin Tanislav
36a4df5003
dt-bindings: iio: adc: add AD4130
...
AD4130-8 is an ultra-low power, high precision, measurement solution for
low bandwidth battery operated applications.
The fully integrated AFE (Analog Front-End) includes a multiplexer for up
to 16 single-ended or 8 differential inputs, PGA (Programmable Gain
Amplifier), 24-bit Sigma-Delta ADC, on-chip reference and oscillator,
selectable filter options, smart sequencer, sensor biasing and excitation
options, diagnostics, and a FIFO buffer.
Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221021104115.1812486-2-demonsingur@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:44:01 +00:00
Mitja Spes
fd4fc88d0b
dt-bindings: iio: pressure: meas,ms5611: add max SPI frequency to the example
...
Added max SPI frequency setting to the example.
Signed-off-by: Mitja Spes <mitja@lxnav.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20221021135827.1444793-4-mitja@lxnav.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:44:01 +00:00
Olivier Moysan
6cafcdb19e
dt-bindings: iio: adc: stm32-adc: add stm32mp13 compatibles
...
Add st,stm32mp13-adc-core and st,stm32mp13-adc compatibles
to support STM32MPU13 SoC.
On STM32MP13x, each ADC peripheral has a single ADC block.
These ADC peripherals, ADC1 and ADC2, are fully independent.
Main characteristics of STM32MP13x ADC:
- One interrupt line per ADC
- 6 to 12 bits resolution
- 19 channels
ADC2 instance supports two extra internal channels VDDCPU and VDDQ_DDR.
Add "vddcpu" and "vddq_ddr" internal channels names to the reserved
labels list.
Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221012142205.13041-3-olivier.moysan@foss.st.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:43:59 +00:00
Ibrahim Tilki
089ec09f49
dt-bindings: iio: adc: add adi,max11410.yaml
...
Adding devicetree binding documentation for max11410 adc.
Signed-off-by: Ibrahim Tilki <Ibrahim.Tilki@analog.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20221003105903.229-3-Ibrahim.Tilki@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:43:59 +00:00
Krzysztof Kozlowski
85250a2400
dt-bindings: iio: resolver: adi,ad2s90: use spi-peripheral-props.yaml
...
For devices connectable by SPI bus (e.g. already using
"spi-max-frequency" property), reference the "spi-peripheral-props.yaml"
schema to allow using all SPI device properties, even these which device
bindings author did not tried yet.
While changing additionalProperties->unevaluatedProperties, put it in
typical place, just before example DTS.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221004115642.63749-8-krzysztof.kozlowski@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:43:59 +00:00
Krzysztof Kozlowski
e91d402168
dt-bindings: iio: proximity: ams,as3935: use spi-peripheral-props.yaml
...
For devices connectable by SPI bus (e.g. already using
"spi-max-frequency" property), reference the "spi-peripheral-props.yaml"
schema to allow using all SPI device properties, even these which device
bindings author did not tried yet.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221004115642.63749-7-krzysztof.kozlowski@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:43:59 +00:00
Krzysztof Kozlowski
87748b25c6
dt-bindings: iio: pressure: use spi-peripheral-props.yaml
...
For devices connectable by SPI bus (e.g. already using
"spi-max-frequency" property), reference the "spi-peripheral-props.yaml"
schema to allow using all SPI device properties, even these which device
bindings author did not tried yet.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221004115642.63749-6-krzysztof.kozlowski@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:43:59 +00:00
Krzysztof Kozlowski
acce6052cd
dt-bindings: iio: imu: adi,adis16475: use spi-peripheral-props.yaml
...
For devices connectable by SPI bus (e.g. already using
"spi-max-frequency" property), reference the "spi-peripheral-props.yaml"
schema to allow using all SPI device properties, even these which device
bindings author did not tried yet.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Rob Herring <robh@kernel.org >
Reviewed-by: Nuno Sá <nuno.sa@analog.com >
Link: https://lore.kernel.org/r/20221004115642.63749-5-krzysztof.kozlowski@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:43:59 +00:00
Krzysztof Kozlowski
d29c7f8ce9
dt-bindings: iio: gyroscope: use spi-peripheral-props.yaml
...
For devices connectable by SPI bus (e.g. already using
"spi-max-frequency" property), reference the "spi-peripheral-props.yaml"
schema to allow using all SPI device properties, even these which device
bindings author did not tried yet.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221004115642.63749-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:43:59 +00:00
Krzysztof Kozlowski
00407a680e
dt-bindings: iio: frequency: use spi-peripheral-props.yaml
...
For devices connectable by SPI bus (e.g. already using
"spi-max-frequency" property), reference the "spi-peripheral-props.yaml"
schema to allow using all SPI device properties, even these which device
bindings author did not tried yet.
While changing additionalProperties->unevaluatedProperties, put it in
typical place, just before example DTS.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221004115642.63749-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:43:58 +00:00
Krzysztof Kozlowski
1b96d663d9
dt-bindings: iio: addac: adi,ad74413r: improve example
...
Improve example by: dropping unrelated properties (status and cs-gpios)
and using generic node name.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221004115642.63749-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:43:58 +00:00
Krzysztof Kozlowski
d26b79732d
dt-bindings: iio: addac: adi,ad74413r: use spi-peripheral-props.yaml
...
Reference the spi-peripheral-props.yaml schema to allow using all
properties typical for SPI-connected devices, even these which device
bindings author did not tried yet.
While changing additionalProperties->unevaluatedProperties, put it in
typical place, just before example DTS.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221004115642.63749-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:43:58 +00:00
Nuno Sá
8add74e75e
dt-bindings: iio: frequency: change admv4420 maintainer
...
As the maintainer email no longer exists, change it to myself.
Signed-off-by: Nuno Sá <nuno.sa@analog.com >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221005085044.204701-2-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:43:58 +00:00
Nuno Sá
4b0c44bdb7
dt-bindings: iio: dac: change ad5766 maintainer
...
As the maintainer email no longer exists, change it to myself.
Signed-off-by: Nuno Sá <nuno.sa@analog.com >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221005085044.204701-1-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-23 19:43:58 +00:00
Billy Tsai
398e347987
dt-bindings: iio: adc: Remove the property "aspeed,trim-data-valid"
...
If the property is set on a device without valid trimming data in the OTP
the ADC will not function correctly. Therefore, this patch drops the use
of this property to avoid this scenario.
Fixes: 2bdb2f00a8 ("dt-bindings: iio: adc: Add ast2600-adc bindings")
Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221114025057.10843-2-billy_tsai@aspeedtech.com
Cc: <Stable@vger.kernel.org >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-11-14 20:20:19 +00:00
Rob Herring
c9adc3bd11
dt-bindings: Remove "status" from schema examples, again
...
There's no reason to have "status" properties in examples. "okay" is the
default, and "disabled" turns off some schema checks ('required'
specifically).
A meta-schema check for this is pending, so hopefully the last time to
fix these.
Fix the indentation in intel,phy-thunderbay-emmc while we're here.
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com >
Acked-by: Thierry Reding <treding@nvidia.com >
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com > #for-iio
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-By: Vinod Koul <vkoul@kernel.org >
Link: https://lore.kernel.org/r/20221014205104.2822159-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2022-10-20 09:21:07 -05:00
Marcus Folkesson
1a84fa695c
dt-bindings: iio: adc: mcp3911: add microchip,data-ready-hiz entry
...
The Data Ready Output Pin is either hard wired to work as high
impedance or push-pull. Make it configurable.
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20220815061625.35568-8-marcus.folkesson@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-09-21 21:15:10 +01:00
Andrea Merello
21f95c75e0
dt-bindings: iio/imu: Add Bosch BNO055
...
Introduce new documentation file for the Bosch BNO055 IMU.
Signed-off-by: Andrea Merello <andrea.merello@iit.it >
Reviewed-by: Rob Herring <robh@kernel.org >
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com >
Link: https://lore.kernel.org/r/20220907132205.28021-12-andrea.merello@iit.it
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-09-21 18:42:56 +01:00
Nuno Sá
4b622a658c
dt-bindings: iio: adi,ad7923: add adi,range-double property
...
Document the new property to enable doubling the analog input range.
Signed-off-by: Nuno Sá <nuno.sa@analog.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20220912081223.173584-4-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-09-21 18:42:55 +01:00
Lorenzo Bianconi
fd8059ec60
dt-bindings: iio: imu: st_lsm6dsx: add lsm6dstx device bindings
...
Add device bindings for lsm6dstx IMU sensor.
Use lsm6dst as fallback device for lsm6dstx since it implements all the
features currently supported by lsm6dstx.
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org >
Link: https://lore.kernel.org/r/dadc2acf88b0b73feac9a8980ad9af1658297bc1.1663262890.git.lorenzo@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-09-21 18:42:55 +01:00
Ciprian Regus
14446b4dc2
dt-bindings: iio: adc: Add docs for LTC2499
...
Update the bindings documentation for ltc2497 to include the ltc2499.
Signed-off-by: Ciprian Regus <ciprian.regus@analog.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20220916140922.2506248-3-ciprian.regus@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-09-21 18:42:54 +01:00
Angel Iglesias
2a332dcd68
dt-bindings: iio: pressure: bmp085: Add BMP380 compatible string
...
Add bosch,bmp380 compatible string for the new family of sensors.
This family includes the BMP380, BMP384 and BMP388. The register map
in this family changes substantially and introduces new features
but core concepts and operations carryover from the previous iterations
Signed-off-by: Angel Iglesias <ang.iglesiasg@gmail.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/67224da4ae308bb752fc8fdecc54345cedab6c21.1663025017.git.ang.iglesiasg@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-09-21 18:42:54 +01:00
George Mois
abf90541d1
dt-bindings: iio: accel: adxl313: Add compatibles for adxl312 and adxl314
...
Extend the adi,adxl313.yaml file with information regrding the
ADXL312 and ADXL314 devices.
Signed-off-by: George Mois <george.mois@analog.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20220905132018.364900-1-george.mois@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-09-21 18:42:53 +01: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