pinctrl/ARM: move GPIO and pinctrl deps to device tree
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 23 Jul 2015 07:09:49 +0000 (09:09 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 27 Jul 2015 13:04:40 +0000 (15:04 +0200)
commitee04139d916a61454850f3e3c687f50f891fc8bd
tree93a5032db62dc8228aaad70b661eabd9372a3f31
parentd8323c6b03533ac870fb665277e6dad7ebf7e4d3
pinctrl/ARM: move GPIO and pinctrl deps to device tree

This gets the GPIO ranges out of the driver and into the device
tree where they belong. Standard DT bindings already exist for
this. Since no systems with this are deployed we can just augment
all device trees and the drivers at the same time and simplify
the world.

This also defines the array of GPIO chips related to the pin
controller.

Cc: arm@kernel.org
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/ste-dbx5x0.dtsi
arch/arm/boot/dts/ste-nomadik-stn8815.dtsi
drivers/pinctrl/nomadik/pinctrl-nomadik-db8500.c
drivers/pinctrl/nomadik/pinctrl-nomadik-db8540.c
drivers/pinctrl/nomadik/pinctrl-nomadik-stn8815.c
drivers/pinctrl/nomadik/pinctrl-nomadik.c
drivers/pinctrl/nomadik/pinctrl-nomadik.h