OSDN Git Service

dt-bindings: timer: meson6_timer: document all interrupts
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 28 Oct 2018 12:35:13 +0000 (13:35 +0100)
committerKevin Hilman <khilman@baylibre.com>
Thu, 15 Nov 2018 01:19:56 +0000 (17:19 -0800)
The meson6_timer IP block supports four timers - each of them has it's
own interrupt line. Update the documentation to reflect that all four
interrupts should be passed.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Documentation/devicetree/bindings/timer/amlogic,meson6-timer.txt

index a092053..dbdda92 100644 (file)
@@ -4,12 +4,15 @@ Required properties:
 
 - compatible : should be "amlogic,meson6-timer"
 - reg : Specifies base physical address and size of the registers.
-- interrupts : The interrupt of the first timer
+- interrupts : The four interrupts, one for each timer event
 
 Example:
 
 timer@c1109940 {
        compatible = "amlogic,meson6-timer";
        reg = <0xc1109940 0x14>;
-       interrupts = <0 10 1>;
+       interrupts = <GIC_SPI 10 IRQ_TYPE_EDGE_RISING>,
+                    <GIC_SPI 11 IRQ_TYPE_EDGE_RISING>,
+                    <GIC_SPI 6 IRQ_TYPE_EDGE_RISING>,
+                    <GIC_SPI 29 IRQ_TYPE_EDGE_RISING>;
 };