[U-Boot] [PATCH] dm:gpio:mxc get configuration from dtb

2015-01-18 Thread Peng Fan
This patch supports getting gpios' configuration from dtb. CONFIG_OF_CONTROL is used to indicated which part is for device tree, and which is not. This patch is already tested on mx6sxsabresd board. Since device tree has not been upstreamed, if want to test this patch. The followings need to be do

Re: [U-Boot] [PATCH] dm:gpio:mxc get configuration from dtb

2015-01-19 Thread Igor Grinberg
Hi Peng Fan, On 01/19/15 08:11, Peng Fan wrote: > This patch supports getting gpios' configuration from dtb. > CONFIG_OF_CONTROL is used to indicated which part is for device tree, > and which is not. Can we please avoid the DT #ifdeffery in the drivers? and just implement the needed API stubs?

Re: [U-Boot] [PATCH] dm:gpio:mxc get configuration from dtb

2015-01-19 Thread Simon Glass
Hi Peng. On 18 January 2015 at 23:11, Peng Fan wrote: > This patch supports getting gpios' configuration from dtb. > CONFIG_OF_CONTROL is used to indicated which part is for device tree, > and which is not. > > This patch is already tested on mx6sxsabresd board. Since device tree > has not been u

Re: [U-Boot] [PATCH] dm:gpio:mxc get configuration from dtb

2015-01-19 Thread Peng Fan
Hi Simon, On 1/20/2015 3:45 AM, Simon Glass wrote: Hi Peng. On 18 January 2015 at 23:11, Peng Fan wrote: This patch supports getting gpios' configuration from dtb. CONFIG_OF_CONTROL is used to indicated which part is for device tree, and which is not. This patch is already tested on mx6sxsab