Message ID | e51824832fac0b981cf886f25efc25056d573da4.1542546735.git.mesihkilinc@gmail.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
Series | initial support for "suniv" Allwinner new ARM9 SoC | expand |
Hi, On Sun, Nov 18, 2018 at 05:17:03PM +0300, Mesih Kilinc wrote: > Add compatible string for Alwinner suniv F1C100s SoC interrupt > controller which is stripped version of sun4i > > Signed-off-by: Mesih Kilinc <mesihkilinc@gmail.com> > --- > .../devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt b/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt > index b290ca1..e04ddb4 100644 > --- a/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt > +++ b/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt > @@ -2,7 +2,10 @@ Allwinner Sunxi Interrupt Controller > > Required properties: > > -- compatible : should be "allwinner,sun4i-a10-ic" > +- compatible: should be "allwinner,<soc-familiy>-<soc-name>-ic" to identify There's no need to define the pattern, just list the compatibles supported. Otherwise, you give the idea that all the combinations are supported, and they aren't. Maxime
diff --git a/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt b/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt index b290ca1..e04ddb4 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt @@ -2,7 +2,10 @@ Allwinner Sunxi Interrupt Controller Required properties: -- compatible : should be "allwinner,sun4i-a10-ic" +- compatible: should be "allwinner,<soc-familiy>-<soc-name>-ic" to identify + Allwinner IRQ chip such as: + "allwinner,sun4i-a10-ic" + "allwinner,suniv-f1c100s-ic" - reg : Specifies base physical address and size of the registers. - interrupt-controller : Identifies the node as an interrupt controller - #interrupt-cells : Specifies the number of cells needed to encode an
Add compatible string for Alwinner suniv F1C100s SoC interrupt controller which is stripped version of sun4i Signed-off-by: Mesih Kilinc <mesihkilinc@gmail.com> --- .../devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)