Commit 015f80ff authored by Martin Kelly's avatar Martin Kelly Committed by Jonathan Cameron
Browse files

dt-bindings: fix incorrect bmi160 IRQ note



The bmi160 bindings say that the BMI160 requires level-triggered,
active-low interrupts, but it actually supports all interrupt types, so fix
the note to reflect that.

Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarMartin Kelly <martin@martingkelly.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 895bf81e
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -9,7 +9,7 @@ Required properties:
 - spi-max-frequency : set maximum clock frequency (only for SPI)
 - spi-max-frequency : set maximum clock frequency (only for SPI)


Optional properties:
Optional properties:
 - interrupts : interrupt mapping for IRQ, must be IRQ_TYPE_LEVEL_LOW
 - interrupts : interrupt mapping for IRQ
 - interrupt-names : set to "INT1" if INT1 pin should be used as interrupt
 - interrupt-names : set to "INT1" if INT1 pin should be used as interrupt
   input, set to "INT2" if INT2 pin should be used instead
   input, set to "INT2" if INT2 pin should be used instead


@@ -20,7 +20,7 @@ bmi160@68 {
	reg = <0x68>;
	reg = <0x68>;


	interrupt-parent = <&gpio4>;
	interrupt-parent = <&gpio4>;
	interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
	interrupts = <12 IRQ_TYPE_EDGE_RISING>;
	interrupt-names = "INT1";
	interrupt-names = "INT1";
};
};