Message ID | 20190806024923.34355-1-hui.song_1@nxp.com |
---|---|
State | New |
Headers | show |
Series | [v2] gpio: mpc8xxx: Add new platforms GPIO DT node description | expand |
Hi Hui, On Tue, Aug 6, 2019 at 4:59 AM Hui Song <hui.song_1@nxp.com> wrote: > From: Song Hui <hui.song_1@nxp.com> > > Update the NXP GPIO node dt-binding file for QorIQ and > Layerscape platforms, and add one more example with > ls1028a GPIO node. > > Signed-off-by: Song Hui <hui.song_1@nxp.com> (...) > +Example of gpio-controller node for a ls1028a SoC: > + > +gpio1: gpio@2300000 { > + compatible = "fsl,ls1028a-gpio","fsl,qoriq-gpio"; What you need to do is to add "fsl,ls1028a-gpio" to the list of compatible values at the top of the file "Required properties". Please send a v2 with this fixed. Yours, Linus Walleij
diff --git a/Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt b/Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt index 69d4616..2df5fc0 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt @@ -37,3 +37,17 @@ gpio0: gpio@2300000 { interrupt-controller; #interrupt-cells = <2>; }; + + +Example of gpio-controller node for a ls1028a SoC: + +gpio1: gpio@2300000 { + compatible = "fsl,ls1028a-gpio","fsl,qoriq-gpio"; + reg = <0x0 0x2300000 0x0 0x10000>; + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + little-endian; +};