Re: [PATCH v2 3/7] pinctrl: use ngpios propety from DT

2015-11-30 Thread Linus Walleij
On Thu, Nov 19, 2015 at 4:52 AM, Pramod Kumar wrote: > Since identical hardware is used in several instances and every > instance will have different in-use pins. Hence extracting this > number from DT via "ngpios" property. > > Signed-off-by: Pramod Kumar > Reviewed-by: Ray Jui > Reviewed-by:

[PATCH v2 3/7] pinctrl: use ngpios propety from DT

2015-11-18 Thread Pramod Kumar
Since identical hardware is used in several instances and every instance will have different in-use pins. Hence extracting this number from DT via "ngpios" property. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c | 45 +