[PATCH 1/4] Make non-linear GPIO ranges accesible from gpiolib

Linus Walleij linus.walleij at linaro.org
Tue Jun 18 18:09:47 EST 2013


On Mon, Jun 17, 2013 at 6:04 PM, Christian Ruppert
<christian.ruppert at abilis.com> wrote:

> This patch adds the infrastructure required to register non-linear gpio
> ranges through gpiolib and the standard GPIO device tree bindings.
>
> Signed-off-by: Christian Ruppert <christian.ruppert at abilis.com>

>  Documentation/devicetree/bindings/gpio/gpio.txt |   44 ++++++++++++++++++
>  arch/arc/boot/dts/abilis_tb100.dtsi             |   56 +++++++++++-----------
>  arch/arc/boot/dts/abilis_tb101.dtsi             |   56 +++++++++++-----------
>  arch/arc/boot/dts/abilis_tb10x.dtsi             |    3 +-
>  drivers/gpio/gpiolib-of.c                       |   31 +++++++++---
>  drivers/gpio/gpiolib.c                          |   47 +++++++++++++++++++
>  drivers/pinctrl/core.c                          |   23 +++++++++
>  include/asm-generic/gpio.h                      |   10 ++++
>  include/linux/gpio.h                            |    9 ++++
>  include/linux/pinctrl/pinctrl.h                 |    3 +
>  10 files changed, 216 insertions(+), 66 deletions(-)

Can you please split this patch in two?

One altering drivers/* include/* and the Documentation/*

And a separate patch to alter all the abilis trees?

I do not maintain bisectability across device trees
to the rest of the kernel, as these trees are supposed
to be moved out of the kernel at some point.

Yours,
Linus Walleij


More information about the devicetree-discuss mailing list