Re: [U-Boot] [PATCH 2/2] dm: gpio: mxc: implement xlate function

2016-04-11 Thread Eric Nelson
Hi Peng, On 04/10/2016 10:28 PM, Peng Fan wrote: > On Tue, Mar 15, 2016 at 09:32:51PM -0600, Simon Glass wrote: >> On 14 March 2016 at 23:48, Peng Fan 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 impleme

Re: [U-Boot] [PATCH 2/2] dm: gpio: mxc: implement xlate function

2016-04-10 Thread Peng Fan
On Tue, Mar 15, 2016 at 09:32:51PM -0600, Simon Glass wrote: >On 14 March 2016 at 23:48, Peng Fan 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

Re: [U-Boot] [PATCH 2/2] dm: gpio: mxc: implement xlate function

2016-03-15 Thread Simon Glass
On 14 March 2016 at 23:48, Peng Fan 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 > Cc: Simon Glass > Cc: St

[U-Boot] [PATCH 2/2] dm: gpio: mxc: implement xlate function

2016-03-14 Thread Peng Fan
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 Cc: Simon Glass Cc: Stefano Babic Cc: Fabio Estevam --- drivers/gpio/mxc_gpi