[U-Boot] [PATCH 2/2] dm: gpio: mxc: implement xlate function
Simon Glass
sjg at chromium.org
Wed Mar 16 04:32:51 CET 2016
On 14 March 2016 at 23:48, Peng Fan <van.freenix at gmail.com> wrote:
> To i.MX controller, we use such as "<&gpio1 3 GPIO_ACTIVE_LOW>" for
> a device to refer a gpio pin in device tree. So need to implement
> xlate function, to correctly handle gpio flags and offset.
>
> Signed-off-by: Peng Fan <van.freenix at gmail.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Fabio Estevam <fabio.estevam at nxp.com>
> ---
> drivers/gpio/mxc_gpio.c | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list