Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: iio: accel: adxl345: document second interrupt

The pinout of all the supported chips in this binding have two interrupt
pins. Document the second one, too, even though the Linux driver
currently does not support the second interrupt. Boards may have it
wired nonetheless. While here, drop the dependency of interrupt-names
which is already described in the core.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Wolfram Sang and committed by
Jonathan Cameron
8f0072c7 f277fe2f

+7 -4
+7 -4
Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
··· 35 35 spi-3wire: true 36 36 37 37 interrupts: 38 - maxItems: 1 38 + minItems: 1 39 + maxItems: 2 39 40 40 41 interrupt-names: 42 + minItems: 1 41 43 items: 42 44 - enum: [INT1, INT2] 45 + - const: INT2 43 46 44 47 dependencies: 45 48 interrupts: [ interrupt-names ] 46 - interrupt-names: [ interrupts ] 47 49 48 50 required: 49 51 - compatible ··· 86 84 spi-cpol; 87 85 spi-cpha; 88 86 interrupt-parent = <&gpio0>; 89 - interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; 90 - interrupt-names = "INT2"; 87 + interrupts = <0 IRQ_TYPE_LEVEL_HIGH>, 88 + <1 IRQ_TYPE_LEVEL_HIGH>; 89 + interrupt-names = "INT1", "INT2"; 91 90 }; 92 91 };