linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11] Generalized broadcom cygnus gpio driver
@ 2015-10-19  5:43 Pramod Kumar
  2015-10-19  5:43 ` [PATCH 01/11] dt-bindings: pinctrl: Optional DT property to support pin mappings Pramod Kumar
                   ` (9 more replies)
  0 siblings, 10 replies; 41+ messages in thread
From: Pramod Kumar @ 2015-10-19  5:43 UTC (permalink / raw)
  To: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Ray Jui, Scott Branden, Russell King, Linus Walleij, linux-gpio
  Cc: BCM Kernel Feedback, Jason Uy, Masahiro Yamada, Thomas Gleixner,
	Laurent Pinchart, devicetree, linux-arm-kernel, linux-kernel,
	Jonas Gorski, Pramod Kumar

Generalized pinctrl-cygnus-gpio driver so that it could be used for all
iProc architecture based future SoCs having same gpio pin controller.
Generalization process made the below changes in driver-

1. Removed pin mapping from driver and addressed this via DT through
"gpio-ranges" property.
2. Addressed number of pins from DT through "ngpios" property and removed
from driver.
3. Since all iProc based SoCs would use this driver hence renamed all
variables/macros/functions and even file name on iproc.

This patchset applies on v4.3-rc4 and is tested on cygnus SVK and could 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 compatible string for gpio controller driver
  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 func/macro/var to IP-block,iproc
  Documentation: Rename gpio controller name from cygnus to iproc
  pinctrl: Rename gpio driver from cygnus to iproc

 .../{brcm,cygnus-gpio.txt => brcm,iproc-gpio.txt}  |  25 +-
 arch/arm/boot/dts/bcm-cygnus.dtsi                  |  56 +-
 drivers/pinctrl/bcm/Kconfig                        |  30 +-
 drivers/pinctrl/bcm/Makefile                       |   2 +-
 drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c          | 909 ---------------------
 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c           | 759 +++++++++++++++++
 6 files changed, 854 insertions(+), 927 deletions(-)
 rename Documentation/devicetree/bindings/pinctrl/{brcm,cygnus-gpio.txt => brcm,iproc-gpio.txt} (75%)
 delete mode 100644 drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c
 create mode 100644 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c

-- 
1.9.1


^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2015-11-19  3:35 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-19  5:43 [PATCH 00/11] Generalized broadcom cygnus gpio driver Pramod Kumar
2015-10-19  5:43 ` [PATCH 01/11] dt-bindings: pinctrl: Optional DT property to support pin mappings Pramod Kumar
2015-10-22 18:45   ` Rob Herring
2015-10-27  9:43   ` Linus Walleij
2015-10-19  5:43 ` [PATCH 02/11] pinctrl: Remove GPIO to Pinctrl pin mapping from driver Pramod Kumar
2015-10-27  9:45   ` Linus Walleij
2015-10-19  5:43 ` [PATCH 04/11] dt-binding: Add new compatible string for gpio controller driver Pramod Kumar
2015-10-22 18:40   ` Rob Herring
2015-10-27  9:49   ` Linus Walleij
2015-10-19  5:43 ` [PATCH 05/11] dt-binding: Add ngpios property to GPIO controller node Pramod Kumar
2015-10-22 18:43   ` Rob Herring
     [not found]     ` <CAL_Jsq+Xwf7==J1LLnUDtj-cgJWRizbKXcYtwfEe5iv8VS-Uwg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-22 18:52       ` Ray Jui
2015-10-22 23:41         ` Rob Herring
2015-10-23  9:08           ` Laurent Pinchart
2015-10-23 11:51             ` Rob Herring
2015-10-23 13:02               ` Laurent Pinchart
2015-10-23 16:08                 ` Ray Jui
     [not found]                   ` <562A5B75.7010804-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2015-10-26 17:08                     ` Pramod Kumar
2015-10-26 17:12                       ` Ray Jui
2015-10-26 18:06                         ` Pramod Kumar
     [not found]                           ` <0C803592FC378B4E83922050AB46442A2AD729D4-HXj2mutaA2qau4nib9vn7Zr/X4hKkxxPpWgKQ6/u3Fg@public.gmane.org>
2015-10-26 18:08                             ` Ray Jui
2015-10-27  9:41   ` Linus Walleij
2015-10-28  5:14     ` Pramod Kumar
2015-10-19  5:43 ` [PATCH 06/11] dts: define ngpios property in gpio controller's node Pramod Kumar
2015-10-19  5:43 ` [PATCH 07/11] pinctrl: use ngpios propety from DT Pramod Kumar
2015-10-27  9:51   ` Linus Walleij
     [not found]     ` <CACRpkdY1GDs6ypqCiY3iiv3DkfnHchnY+bWPoCqU=_sgn9f5vQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-28 11:52       ` Pramod Kumar
     [not found]         ` <0C803592FC378B4E83922050AB46442A2AD742F0-HXj2mutaA2qau4nib9vn7Zr/X4hKkxxPpWgKQ6/u3Fg@public.gmane.org>
2015-10-28 15:39           ` Ray Jui
2015-10-29 14:36           ` Linus Walleij
2015-10-29 14:47             ` Jonas Gorski
2015-10-30 11:06               ` Linus Walleij
     [not found] ` <1445233398-27129-1-git-send-email-pramodku-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2015-10-19  5:43   ` [PATCH 03/11] dts: pinctrl: Add GPIO to Pinctrl pin mapping in DT Pramod Kumar
     [not found]     ` <1445233398-27129-4-git-send-email-pramodku-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2015-10-27  9:46       ` Linus Walleij
2015-11-18 18:39     ` Florian Fainelli
2015-11-19  3:34       ` Pramod Kumar
2015-10-19  5:43   ` [PATCH 08/11] pinctrl: Add new compatible string to GPIO controller driver Pramod Kumar
     [not found]     ` <1445233398-27129-9-git-send-email-pramodku-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2015-10-27  9:54       ` Linus Walleij
2015-10-19  5:43 ` [PATCH 09/11] gpio: Rename func/macro/var to IP-block,iproc Pramod Kumar
2015-10-19  5:43 ` [PATCH 10/11] Documentation: Rename gpio controller name from cygnus to iproc Pramod Kumar
2015-10-22 18:41   ` Rob Herring
2015-10-19  5:43 ` [PATCH 11/11] pinctrl: Rename gpio driver " Pramod Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).