Message ID | 1457519060-6038-5-git-send-email-narmstrong@baylibre.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, Mar 09, 2016 at 11:24:06AM +0100, Neil Armstrong wrote: > Under the OX810SE, this same controller is used as "Reference Peripheral > Specification" Interrupt Controller, so add new compatible string. > > Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> > --- > .../devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt b/Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt > index c9cf605..2fe78d5 100644 > --- a/Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt > +++ b/Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt > @@ -6,7 +6,7 @@ controllers are OR:ed together and fed to the CPU tile's IRQ input. Each > instance can handle up to 32 interrupts. > > Required properties: > -- compatible: "arm,versatile-fpga-irq" > +- compatible: "arm,versatile-fpga-irq" or "arm,rps-irq" Use a compatible string that reflects the actual implementation not a spec. The current string is a bad example as it already refers to multiple implementations. Rob
diff --git a/Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt b/Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt index c9cf605..2fe78d5 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt @@ -6,7 +6,7 @@ controllers are OR:ed together and fed to the CPU tile's IRQ input. Each instance can handle up to 32 interrupts. Required properties: -- compatible: "arm,versatile-fpga-irq" +- compatible: "arm,versatile-fpga-irq" or "arm,rps-irq" - interrupt-controller: Identifies the node as an interrupt controller - #interrupt-cells: The number of cells to define the interrupts. Must be 1 as the FPGA IRQ controller has no configuration options for interrupt
Under the OX810SE, this same controller is used as "Reference Peripheral Specification" Interrupt Controller, so add new compatible string. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> --- .../devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)