]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dt-bindings: can: mcp251x: change example interrupt type to IRQ_TYPE_LEVEL_LOW
authorMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 15 Sep 2020 22:35:14 +0000 (00:35 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 21 Sep 2020 08:13:18 +0000 (10:13 +0200)
The MCP2515 datasheet clearly describes a level-triggered interrupt pin.
Change example bindings accordingly.

Link: https://lore.kernel.org/r/20200915223527.1417033-25-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Documentation/devicetree/bindings/net/can/microchip,mcp251x.txt

index 5a0111d4de58c2e546ff257708c3ae5c07cf08e1..e689506ac38d0497decd3747d9a61267c3dc1d0e 100644 (file)
@@ -19,7 +19,7 @@ Example:
                reg = <1>;
                clocks = <&clk24m>;
                interrupt-parent = <&gpio4>;
-               interrupts = <13 0x2>;
+               interrupts = <13 IRQ_TYPE_LEVEL_LOW>;
                vdd-supply = <&reg5v0>;
                xceiver-supply = <&reg5v0>;
        };