Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1413448

[PATCH 0/2] gpio: of: Support cascaded GPIO

From Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Newsgroups linux.kernel
Subject [PATCH 0/2] gpio: of: Support cascaded GPIO
Date 2016-06-03 22:30 +0200
Message-ID <rG3Tb-7Tx-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


These two patches enable GPIO cascades where a match may be
retried until the finalr real GPIO is located.

The first patch removes the const specifier from gpiospec at of_xlate(),
while the second introduces the new method of_gpiochip_find() that
performs the cascade operation.

Pantelis Antoniou (2):
  gpio: Remove const from gpiospec in of_xlate
  gpio: Support cascaded GPIO chip lookup for OF

 drivers/gpio/gpio-brcmstb.c |  2 +-
 drivers/gpio/gpio-davinci.c |  2 +-
 drivers/gpio/gpio-etraxfs.c |  2 +-
 drivers/gpio/gpio-lpc32xx.c |  2 +-
 drivers/gpio/gpio-pxa.c     |  2 +-
 drivers/gpio/gpiolib-of.c   | 18 +++++----------
 drivers/gpio/gpiolib.c      | 54 +++++++++++++++++++++++++++++++++++++++++++++
 drivers/gpio/gpiolib.h      | 14 ++++++++++++
 include/linux/gpio/driver.h |  2 +-
 include/linux/of_gpio.h     |  2 +-
 10 files changed, 80 insertions(+), 20 deletions(-)

-- 
1.7.12

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] gpio: of: Support cascaded GPIO Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2016-06-03 22:30 +0200
  [PATCH 2/2] gpio: Support cascaded GPIO chip lookup for OF Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2016-06-03 22:30 +0200
    Re: [PATCH 2/2] gpio: Support cascaded GPIO chip lookup for OF Rob Herring <robherring2@gmail.com> - 2016-06-07 23:10 +0200
      Re: [PATCH 2/2] gpio: Support cascaded GPIO chip lookup for OF Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2016-06-08 15:50 +0200
        Re: [PATCH 2/2] gpio: Support cascaded GPIO chip lookup for OF Rob Herring <robherring2@gmail.com> - 2016-06-08 17:20 +0200
          Re: [PATCH 2/2] gpio: Support cascaded GPIO chip lookup for OF Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2016-06-08 17:40 +0200
  [PATCH 1/2] gpio: Remove const from gpiospec in of_xlate Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2016-06-03 22:30 +0200

csiph-web