diff options
author | Stephen Warren <swarren@wwwdotorg.org> | 2012-09-28 05:54:21 +0200 |
---|---|---|
committer | Stephen Warren <swarren@wwwdotorg.org> | 2012-10-26 04:42:51 +0200 |
commit | 805504abdc73cfc745a5fee3d616cdb24bb2a68c (patch) | |
tree | b531ce1bcc94b540d783b8153f90567dd3c735cc /arch/arm/mach-bcm2835 | |
parent | ARM: bcm2835: implement machine restart hook (diff) | |
download | linux-805504abdc73cfc745a5fee3d616cdb24bb2a68c.tar.xz linux-805504abdc73cfc745a5fee3d616cdb24bb2a68c.zip |
ARM: bcm2835: enable GPIO/pinctrl
Enable GPIO and pinctrl in Kconfig.
Add required <mach/gpio.h> for gpiolib.
Instantiate the BCM2835 GPIO module in bcm2835.dtsi.
Add a pinctrl definition to bcm2835-rpi-b.dts that sets up all of the
board's required pinmux configuration. GPIO aren't specified; that's
left to gpio_request().
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-bcm2835')
-rw-r--r-- | arch/arm/mach-bcm2835/include/mach/gpio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-bcm2835/include/mach/gpio.h b/arch/arm/mach-bcm2835/include/mach/gpio.h new file mode 100644 index 000000000000..40a8c178f10d --- /dev/null +++ b/arch/arm/mach-bcm2835/include/mach/gpio.h @@ -0,0 +1 @@ +/* empty */ |