From: =?UTF-8?Q?Andreas_Bie=C3=9Fmann?= Date: Tue, 03 May 2016 12:15:20 +0200 Subject: [U-Boot] [PATCH 2/2] atmel: bring in at91 pio4 device tree file and bindings In-Reply-To: <1459995360-4799-3-git-send-email-wenyou.yang@atmel.com> References: <1459995360-4799-1-git-send-email-wenyou.yang@atmel.com> <1459995360-4799-3-git-send-email-wenyou.yang@atmel.com> Message-ID: <154b1781f7b6e75586f88fe158b88f4b@biessmann.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Wenyou, On 2016-04-07 04:16, Wenyou Yang wrote: > Bring in required device tree files from Linux. > > Signed-off-by: Wenyou Yang There is a small typo below ... > --- > > arch/arm/dts/sama5d2-pinfunc.h | 880 > +++++++++++++++++++++ > .../pinctrl/atmel,at91-pio4-pinctrl.txt | 65 ++ > 2 files changed, 945 insertions(+) > create mode 100644 arch/arm/dts/sama5d2-pinfunc.h > create mode 100644 > doc/device-tree-bindings/pinctrl/atmel,at91-pio4-pinctrl.txt > diff --git > a/doc/device-tree-bindings/pinctrl/atmel,at91-pio4-pinctrl.txt > b/doc/device-tree-bindings/pinctrl/atmel,at91-pio4-pinctrl.txt > new file mode 100644 > index 0000000..b048eac > --- /dev/null > +++ b/doc/device-tree-bindings/pinctrl/atmel,at91-pio4-pinctrl.txt > @@ -0,0 +1,65 @@ > +* Atmel PIO4 Controller > + > +The Atmel PIO4 controller is used to select the function of a pin and > to > +configure it. > + > +Required properties: > +- compatible: "atmel,sama5d2-pinctrl". > +- reg: base address and length of the PIO controller. > +- interrupts: interrupt outputs from the controller, one for each > bank. > +- interrupt-controller: mark the device node as an interrupt > controller. > +- #interrupt-cells: should be two. > +- gpio-controller: mark the device node as a gpio controller. > +- #gpio-cells: should be two. > + > +Please refer to ../gpio/gpio.txt and > ../interrupt-controller/interrupts.txt for > +a general description of GPIO and interrupt bindings. > + > +Please refer to pinctrl-bindings.txt in this directory for details of > the > +common pinctrl bindings used by client devices. > + > +Subnode format > +Each node (or subnode) will list the pins it needs and how to > configured these ... how to configure ... Would you upstream this via linux kernel? Reviewed-by: Andreas Bie?mann I'll pick this these days in a next branch for 2016.07, hopefully with a lot more dt bindings. Best Regards Andreas