linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/5] pinctrl: SPEAr Updates
@ 2012-05-03 10:12 Viresh Kumar
  2012-05-03 10:12 ` [PATCH V2 1/5] pinctrl: SPEAr: Don't set all non muxreg bits on pinctrl_disable Viresh Kumar
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Viresh Kumar @ 2012-05-03 10:12 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Linus,

This patchset mainly focuses on providing support to configure SPEAr pads as
gpios. For this i have added a gpiolib based driver and few changes in other
SPEAr pinctrl drivers.

It also contains minor fixes.

V1->V2:
- Passing gpio node via DT. Patch for this support in gpiolib is
  gpiolib: Add of_get_gpio_chip_by_phandle() helper
- Other minor fixes

Viresh Kumar (5):
  pinctrl: SPEAr: Don't set all non muxreg bits on pinctrl_disable
  pinctrl: SPEAr1310: Fix pin numbers for clcd_high_res
  pinctrl: SPEAr: Add plgpio driver
  pinctrl: SPEAr: Add gpio ranges support
  SPEAr: Add plgpio node in device tree dtsi files

 arch/arm/boot/dts/spear1310-evb.dts       |    4 +
 arch/arm/boot/dts/spear1310.dtsi          |   22 +
 arch/arm/boot/dts/spear1340-evb.dts       |    4 +
 arch/arm/boot/dts/spear1340.dtsi          |   21 +
 arch/arm/boot/dts/spear310-evb.dts        |    4 +
 arch/arm/boot/dts/spear310.dtsi           |   15 +
 arch/arm/boot/dts/spear320-evb.dts        |    4 +
 arch/arm/boot/dts/spear320.dtsi           |   16 +
 drivers/pinctrl/spear/Kconfig             |   11 +
 drivers/pinctrl/spear/Makefile            |    1 +
 drivers/pinctrl/spear/pinctrl-plgpio.c    |  738 ++++++++++++++++++++++++++
 drivers/pinctrl/spear/pinctrl-spear.c     |  110 ++++-
 drivers/pinctrl/spear/pinctrl-spear.h     |   15 +
 drivers/pinctrl/spear/pinctrl-spear1310.c |  812 ++++++++++++++++++++++++++++-
 drivers/pinctrl/spear/pinctrl-spear1340.c |    8 +
 drivers/pinctrl/spear/pinctrl-spear300.c  |    2 +
 drivers/pinctrl/spear/pinctrl-spear310.c  |    2 +
 drivers/pinctrl/spear/pinctrl-spear320.c  |    2 +
 drivers/pinctrl/spear/pinctrl-spear3xx.c  |  120 +++++
 19 files changed, 1898 insertions(+), 13 deletions(-)
 create mode 100644 drivers/pinctrl/spear/pinctrl-plgpio.c

-- 
1.7.9

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH V2 0/5] Pinctrl: SPEAr: Add support for plgpio driver
@ 2012-10-27  9:51 Viresh Kumar
  2012-10-27  9:51 ` [PATCH V2 3/5] pinctrl: SPEAr: Add " Viresh Kumar
  0 siblings, 1 reply; 10+ messages in thread
From: Viresh Kumar @ 2012-10-27  9:51 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Linus,

This patchset has an interesting history. It was first started by me. After i
left ST Shiraz took over and now i am back again :)

The idea of this series is to add plgpio support for SPEAr. PLGPIO's are pads
which can be configured as GPIO and so it is closely bound to pinctrl framework.

Some of these are sent earlier and Acked-by you. So, they will retain that. The
main bottleneck is still: 
  gpiolib: provide provision for gpiolib to register pin range

I have tried to fix most of your comments. Please see if they are fixed.

This is rebased over:

http://www.spinics.net/lists/arm-kernel/msg203465.html

--
viresh

Shiraz Hashim (1):
  gpiolib: provide provision for gpiolib to register pin range

Viresh Kumar (4):
  Revert "pinctrl: remove pinctrl_remove_gpio_range"
  pinctrl: SPEAr: Add plgpio driver
  pinctrl: SPEAr: Add gpio ranges support
  ARM: SPEAr: Add plgpio node in device tree dtsi files

 Documentation/devicetree/bindings/gpio/gpio.txt |  36 ++
 Documentation/gpio.txt                          |  26 +
 Documentation/pinctrl.txt                       |   3 +
 arch/arm/boot/dts/spear1310-evb.dts             |   4 +
 arch/arm/boot/dts/spear1310.dtsi                |  27 +
 arch/arm/boot/dts/spear1340-evb.dts             |   4 +
 arch/arm/boot/dts/spear1340.dtsi                |  26 +
 arch/arm/boot/dts/spear310.dtsi                 |  22 +-
 arch/arm/boot/dts/spear320-evb.dts              |   4 +
 arch/arm/boot/dts/spear320.dtsi                 |  23 +-
 drivers/gpio/gpiolib-of.c                       |  56 ++
 drivers/gpio/gpiolib.c                          |  43 ++
 drivers/pinctrl/core.c                          |  27 +
 drivers/pinctrl/devicetree.c                    |  13 +
 drivers/pinctrl/spear/Kconfig                   |  11 +
 drivers/pinctrl/spear/Makefile                  |   1 +
 drivers/pinctrl/spear/pinctrl-plgpio.c          | 746 ++++++++++++++++++++++++
 drivers/pinctrl/spear/pinctrl-spear.c           | 107 +++-
 drivers/pinctrl/spear/pinctrl-spear.h           |  46 ++
 drivers/pinctrl/spear/pinctrl-spear1310.c       | 264 +++++++++
 drivers/pinctrl/spear/pinctrl-spear300.c        |   2 +
 drivers/pinctrl/spear/pinctrl-spear310.c        |   2 +
 drivers/pinctrl/spear/pinctrl-spear320.c        |   2 +
 drivers/pinctrl/spear/pinctrl-spear3xx.c        |  37 ++
 include/asm-generic/gpio.h                      |  25 +
 include/linux/gpio.h                            |   3 +
 include/linux/pinctrl/pinctrl.h                 |  19 +
 27 files changed, 1560 insertions(+), 19 deletions(-)
 create mode 100644 drivers/pinctrl/spear/pinctrl-plgpio.c

-- 
1.7.12.rc2.18.g61b472e

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

end of thread, other threads:[~2012-11-06  8:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-03 10:12 [PATCH V2 0/5] pinctrl: SPEAr Updates Viresh Kumar
2012-05-03 10:12 ` [PATCH V2 1/5] pinctrl: SPEAr: Don't set all non muxreg bits on pinctrl_disable Viresh Kumar
2012-05-03 10:12 ` [PATCH V2 2/5] pinctrl: SPEAr1310: Fix pin numbers for clcd_high_res Viresh Kumar
2012-05-03 10:12 ` [PATCH V2 3/5] pinctrl: SPEAr: Add plgpio driver Viresh Kumar
2012-05-03 10:12 ` [PATCH V2 4/5] pinctrl: SPEAr: Add gpio ranges support Viresh Kumar
2012-05-04  5:51   ` Viresh Kumar
2012-05-03 10:12 ` [PATCH V2 5/5] SPEAr: Add plgpio node in device tree dtsi files Viresh Kumar
2012-05-07 13:11 ` [PATCH V2 0/5] pinctrl: SPEAr Updates Linus Walleij
  -- strict thread matches above, loose matches on Subject: below --
2012-10-27  9:51 [PATCH V2 0/5] Pinctrl: SPEAr: Add support for plgpio driver Viresh Kumar
2012-10-27  9:51 ` [PATCH V2 3/5] pinctrl: SPEAr: Add " Viresh Kumar
2012-11-06  8:08   ` Linus Walleij

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).