linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] gpio: dwapb: allow sane gpio numbering
@ 2015-07-01 19:34 Richard Cochran
  2015-07-01 19:34 ` [PATCH 1/2] gpio: dwapb: Use human understandable " Richard Cochran
       [not found] ` <cover.1435777856.git.rcochran-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
  0 siblings, 2 replies; 27+ messages in thread
From: Richard Cochran @ 2015-07-01 19:34 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: linux-gpio, devicetree, Alan Tull, Alexandre Courbot, Dinh Nguyen,
	Linus Walleij, Sebastian Andrzej Siewior

The dwapb driver always uses dynamic (pseudo-random) gpio numbers
selected in blocks *descending* from the arch's maximum gpio value.
Maybe this was meant for some theoretical hot pluggable gpio
controller, but normal SoC devices have their gpio numbering set in
stone.

This series extends the driver to accept a base number from the device
tree and add the correct base numbers into the dts for the Altera
socfpga.


Richard Cochran (2):
  gpio: dwapb: Use human understandable gpio numbering.
  arm: dts: socfpga: Provide the gpio numbers in the controller nodes.

 Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt | 2 ++
 arch/arm/boot/dts/socfpga.dtsi                             | 3 +++
 drivers/gpio/gpio-dwapb.c                                  | 8 +++++++-
 3 files changed, 12 insertions(+), 1 deletion(-)

-- 
2.1.4


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

end of thread, other threads:[~2015-07-27 12:26 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-01 19:34 [PATCH 0/2] gpio: dwapb: allow sane gpio numbering Richard Cochran
2015-07-01 19:34 ` [PATCH 1/2] gpio: dwapb: Use human understandable " Richard Cochran
2015-07-02  7:05   ` Michael van der Westhuizen
2015-07-02 14:20     ` Richard Cochran
     [not found]       ` <20150702142058.GA9349-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2015-07-16  7:57         ` Linus Walleij
2015-07-16  8:18           ` Michael van der Westhuizen
2015-07-16 18:19           ` Richard Cochran
2015-07-03  9:13     ` Richard Cochran
2015-07-03  9:18       ` Michael van der Westhuizen
     [not found]         ` <C1BD6DA3-F32E-4CAD-8DA9-6F74A7966DBE-XrNoQAPr3WXM9gW82pYGhQ@public.gmane.org>
2015-07-03 10:36           ` Richard Cochran
2015-07-03 10:55             ` Russell King - ARM Linux
2015-07-16  7:52     ` Linus Walleij
2015-07-16  8:16       ` Michael van der Westhuizen
2015-07-02  7:36   ` Sebastian Andrzej Siewior
2015-07-02 14:26     ` Richard Cochran
2015-07-02 14:30       ` Sebastian Andrzej Siewior
     [not found]         ` <55954B17.3020303-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
2015-07-02 15:21           ` Richard Cochran
     [not found]             ` <20150702152147.GA10111-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2015-07-02 15:54               ` Sebastian Andrzej Siewior
2015-07-02 16:02                 ` Michael van der Westhuizen
2015-07-03 13:30                   ` Michael van der Westhuizen
     [not found]   ` <d6b5ce85a17164970d454583560e07f7aed7b8ca.1435777856.git.rcochran-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
2015-07-16  7:50     ` Linus Walleij
2015-07-16 17:10       ` Richard Cochran
2015-07-16 17:19       ` Richard Cochran
2015-07-27 10:19         ` Linus Walleij
2015-07-27 11:28           ` Richard Cochran
2015-07-27 12:26           ` Sebastian Andrzej Siewior
     [not found] ` <cover.1435777856.git.rcochran-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
2015-07-01 19:34   ` [PATCH 2/2] arm: dts: socfpga: Provide the gpio numbers in the controller nodes Richard Cochran

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