RE: [PATCH v2 6/7] Documentation: Rename gpio controller name from cygnus to iproc

2015-11-20 Thread Pramod Kumar
Hi Rob, > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: 20 November 2015 21:05 > To: Pramod Kumar > Cc: Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Ray Jui; Scott > Branden; > Russell King; Linus Walleij; linux-g...@vger.kernel.org

[PATCH v2 1/7] dt-binding: Add ngpios property to GPIO controller node

2015-11-18 Thread Pramod Kumar
Add ngpios property to the gpio controller's DT node so that controller driver extracts total number of in-use gpio lines from DT and removes dependency on driver. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- Documentation/devicetree/bindings/pinctrl

[PATCH v2 5/7] gpio: Rename func/macro/var to IP-block,iproc

2015-11-18 Thread Pramod Kumar
Change functions, macros and variables name from cygnus to IP block, iproc, so that it could be used in all iproc based future SoCs having same GPIO controller block. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c

[PATCH v2 2/7] dts: define ngpios property in gpio controller's node

2015-11-18 Thread Pramod Kumar
Add ngpios property in cygnus ASIU, CCM and CRMU gpio controller's node Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm

[PATCH v2 4/7] pinctrl: Add new compatible string to GPIO controller driver

2015-11-18 Thread Pramod Kumar
This compatible string should be used for all new iproc based future SoCs having the same GPIO controller hardware. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a

[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-g

[PATCH v2 7/7] pinctrl: Rename gpio driver from cygnus to iproc

2015-11-18 Thread Pramod Kumar
Rename gpio driver file name from pinctrl-cygnus-gpio.c to pinctrl-iproc-gpio.c to make it more generic so that all iproc based future SoCs using the same gpio block could use this driver. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden Acked-by: Rob Herring

[PATCH v2 6/7] Documentation: Rename gpio controller name from cygnus to iproc

2015-11-18 Thread Pramod Kumar
Renamed gpio controller's driver name from cygnus to iproc to make it more generic so that all iProc based SoCs having the same gpio controller could use this. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- .../bindings/pinctrl/{brcm,cygnus-gpio.txt =&

[PATCH v2 0/7] Generalized broadcom cygnus gpio driver

2015-11-18 Thread Pramod Kumar
patches to v4.4-rc1 -Removed accepted patches Pramod Kumar (7): dt-binding: Add ngpios property to GPIO controller node dts: define ngpios property in gpio controller's node pinctrl: use ngpios propety from DT pinctrl: Add new compatible string to GPIO controller driver gpio: Rename fu

RE: [PATCH 03/11] dts: pinctrl: Add GPIO to Pinctrl pin mapping in DT

2015-11-18 Thread Pramod Kumar
Hi Florian, > -Original Message- > From: Florian Fainelli [mailto:f.faine...@gmail.com] > Sent: 19 November 2015 00:10 > To: Pramod Kumar; Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; > Kumar Gala; Ray Jui; Scott Branden; Russell King; Linus Walleij; linux- > g.

RE: [PATCH 07/11] pinctrl: use ngpios propety from DT

2015-10-28 Thread Pramod Kumar
Hi Linus, > -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: 27 October 2015 15:22 > To: Pramod Kumar > Cc: Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Ray Jui; > Scott Branden; Russell King; linux-g...@vger.kern

RE: [PATCH 05/11] dt-binding: Add ngpios property to GPIO controller node

2015-10-27 Thread Pramod Kumar
Hi Linus, > -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: 27 October 2015 15:11 > To: Pramod Kumar > Cc: Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Ray Jui; > Scott Branden; Russell King; linux-g...@vger.kern

RE: [PATCH 05/11] dt-binding: Add ngpios property to GPIO controller node

2015-10-26 Thread Pramod Kumar
Hi Ray, > -Original Message- > From: Ray Jui [mailto:r...@broadcom.com] > Sent: 26 October 2015 22:43 > To: Pramod Kumar; Laurent Pinchart; Rob Herring > Cc: Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Scott Branden; Russell > King; Linus Walleij; linux-g...@vg

RE: [PATCH 05/11] dt-binding: Add ngpios property to GPIO controller node

2015-10-26 Thread Pramod Kumar
> -Original Message- > From: Ray Jui [mailto:r...@broadcom.com] > Sent: 23 October 2015 21:38 > To: Laurent Pinchart; Rob Herring > Cc: Pramod Kumar; Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Scott > Branden; Russell King; Linus Walleij; linux-g...@vger.kern

[PATCH 02/11] pinctrl: Remove GPIO to Pinctrl pin mapping from driver

2015-10-18 Thread Pramod Kumar
Remove gpio to pinctrl pin mapping code from driver and address this through standard property "gpio-ranges". Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c | 131 +- 1 file

[PATCH 07/11] pinctrl: use ngpios propety from DT

2015-10-18 Thread Pramod Kumar
Since identical hardware is used in several instances and all pins are not routed to pinctrl hence getting total number of gpios from DT make more sense hence stop using total number of gpios pins from drivers and extract it from DT. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by

[PATCH 04/11] dt-binding: Add new compatible string for gpio controller driver

2015-10-18 Thread Pramod Kumar
This new compatible string, "brcm,iproc-gpio", should be used for all new iproc-based future SoCs. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- Documentation/devicetree/bindings/pinctrl/brcm,cygnus-gpio.txt | 4 ++-- 1 file changed, 2 insert

[PATCH 05/11] dt-binding: Add ngpios property to GPIO controller node

2015-10-18 Thread Pramod Kumar
Add ngpios property to the gpio controller's DT node so that controller driver extracts total number of gpio lines present in controller from DT and removes dependency on driver. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- Documentation/devicetree/bin

[PATCH 10/11] Documentation: Rename gpio controller name from cygnus to iproc

2015-10-18 Thread Pramod Kumar
Renamed gpio controller's driver name from cygnus to iproc to make it more generic so that all iProc based SoCs having the same gpio controller could use this. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- .../bindings/pinctrl/{brcm,cygnus-gpio.txt =&

[PATCH 09/11] gpio: Rename func/macro/var to IP-block,iproc

2015-10-18 Thread Pramod Kumar
Change functions, macros and variables name from cygnus to IP block, iproc, so that it could be used in all iproc based future SoCs having same GPIO controller block. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c

[PATCH 08/11] pinctrl: Add new compatible string to GPIO controller driver

2015-10-18 Thread Pramod Kumar
This compatible string should be used for all new iproc based future SoCs having the same GPIO controller hardware. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH 11/11] pinctrl: Rename gpio driver from cygnus to iproc

2015-10-18 Thread Pramod Kumar
Rename gpio driver file name from pinctrl-cygnus-gpio.c to pinctrl-iproc-gpio.c to make it more generic so that all iproc based future SoCs using the same gpio block could use this driver. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/pinctrl/bcm

[PATCH 03/11] dts: pinctrl: Add GPIO to Pinctrl pin mapping in DT

2015-10-18 Thread Pramod Kumar
ASIU gpio controller's pins are muxed with pin-cntroller. Add this mapping through property "gpio-ranges". Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 53 +-- 1 f

[PATCH 06/11] dts: define ngpios property in gpio controller's node

2015-10-18 Thread Pramod Kumar
Add ngpios property in cygnus ASIU, CCM and CRMU gpio controller's node. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm

[PATCH 00/11] Generalized broadcom cygnus gpio driver

2015-10-18 Thread Pramod Kumar
ld be find at- https://github.com/Broadcom/arm64-linux/tree/iproc-gpio-v1 Pramod Kumar (11): dt-bindings: pinctrl: Optional DT property to support pin mappings pinctrl: Remove GPIO to Pinctrl pin mapping from driver dts: pinctrl: Add GPIO to Pinctrl pin mapping in DT dt-binding: Add new c

[PATCH 01/11] dt-bindings: pinctrl: Optional DT property to support pin mappings

2015-10-18 Thread Pramod Kumar
If GPIO controller's pins are muxed, pin-controller subsystem need to be intimated by defining mapping between gpio and pinmux controller. This patch adds required properties to define this mapping via DT. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Br