From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Sat, 4 Jun 2016 08:59:12 -0700 Subject: [U-Boot] [PATCH v5 1/4] dm: gpio: Add driver for MPC85XX GPIO controller In-Reply-To: <1464182123-14160-2-git-send-email-mario.six@gdsys.cc> References: <1464182123-14160-1-git-send-email-mario.six@gdsys.cc> <1464182123-14160-2-git-send-email-mario.six@gdsys.cc> Message-ID: <5752FAD0.7060706@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05/25/2016 06:16 AM, Mario Six wrote: > From: "mario.six at gdsys.cc" > > This patch adds a driver for the built-in GPIO controller of the MPC85XX > SoC (probably supporting other PowerQUICC III SoCs as well). > > Each GPIO bank is identified by its own entry in the device tree, i.e. > > gpio-controller at fc00 { > #gpio-cells = <2>; > compatible = "fsl,pq3-gpio"; > reg = <0xfc00 0x100> > } > > By default, each bank is assumed to have 32 GPIOs, but the ngpios > setting is honored, so the number of GPIOs for each bank in configurable > to match the actual GPIO count of the SoC (e.g. the 32/32/23 banks of > the P1022 SoC). > > The usual functions of GPIO drivers (setting input/output mode and output > value setting) are supported. > > The driver has been tested on MPC85XX, but it is likely that other > PowerQUICC III devices will work as well. > > Signed-off-by: Mario Six > Reviewed-by: Simon Glass > --- > > v5: > - Added 'Reviewed-by: Simon Glass ' This set has been applied to u-boot-mpc85xx master. Awaiting upstream. Thanks. York