mirror_ubuntu-kernels/Documentation/devicetree/bindings/iio
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
..
accel dt-bindings: iio: accel: bma180/bma255: Move bma254 to bma255 schema 2021-06-13 17:00:18 +01:00
adc Staging / IIO driver patches for 5.14-rc1 2021-07-05 14:01:53 -07:00
afe dt-bindings: iio: afe: current-sense-shunt: add io-channel-cells 2021-05-17 13:54:24 +01:00
amplifiers dt-bindings: Another round of adding missing 'additionalProperties' 2020-10-06 10:55:25 -05:00
cdc dt-bindings: staging: iio: cdc: ad7746: add binding documentation for AD7746 2021-06-03 18:24:13 +01:00
chemical dt-bindings: iio: chemical: sps30: update binding with serial example 2021-05-17 13:49:11 +01:00
dac dt-bindings:iio:dac:ad5755: txt to yaml format conversion. 2021-05-17 13:54:22 +01:00
frequency dt-bindings:iio:frequency:adi,adf4350: txt to yaml format conversion. 2020-11-25 14:36:12 +00:00
gyroscope dt-bindings: Clean-up undocumented compatible strings 2021-03-23 15:27:51 -06:00
health Devicetree updates for v5.12: 2021-02-22 10:05:12 -08:00
humidity dt-bindings: Drop unnecessary *-supply schemas properties 2020-12-22 18:58:02 -07:00
impedance-analyzer dt-bindings:iio:impedance-analyzer:adi,ad5933 yaml conversion. 2020-11-22 16:38:58 +00:00
imu dt-bindings: adis16475: remove property 2021-03-11 20:47:12 +00:00
light dt-bindings: iio: light: Added AMS tsl2591 device tree binding 2021-05-17 13:49:06 +01:00
magnetometer Devicetree updates for v5.12: 2021-02-22 10:05:12 -08:00
multiplexer dt-bindings: iio: multiplexer: Convert io-channel-mux bindings to DT schema 2021-06-02 16:05:22 -05:00
potentiometer dt-bindings: Add missing array size constraints 2021-01-11 17:42:25 -06:00
potentiostat dt-bindings:iio:potentiostat:ti,lmp91000: txt to yaml conversion. 2020-12-03 19:40:21 +00:00
pressure dt-bindings:iio:pressure:hoperf,hp03 yaml conversion 2020-11-16 19:12:47 +00:00
proximity dt-bindings: iio: Add cros ec proximity yaml doc 2021-03-25 19:13:50 +00:00
resolver dt-bindings:iio:resolver:adi,ad2s90: Conversion of binding to yaml. 2020-11-22 16:38:25 +00:00
temperature dt-bindings: iio: temperature: Add DT bindings for TMP117 2021-05-17 13:49:05 +01:00
common.yaml dt-bindings: Explicitly allow additional properties in common schemas 2020-10-07 11:30:06 -05:00
mount-matrix.txt iio: document bindings for mounting matrices 2019-07-28 08:49:25 +01:00
samsung,sensorhub-rinato.yaml dt-bindings:iio:samsung,sensorhub-rinato: yaml conversion 2020-11-22 16:54:57 +00:00
st,st-sensors.yaml dt-bindings: iio: st: Remove wrong items length check 2021-07-24 16:19:00 +01:00