1 From 43913829405fae8dbc5362e40a2fddf2aac1ca45 Mon Sep 17 00:00:00 2001
2 From: notro <notro@tronnes.org>
3 Date: Thu, 10 Jul 2014 13:59:47 +0200
4 Subject: [PATCH] pinctrl-bcm2835: Set base to 0 give expected gpio
7 Signed-off-by: Noralf Tronnes <notro@tronnes.org>
9 SQUASH: pinctrl: bcm2835: Set base for bcm2711 GPIO to 0
11 Without this patch GPIOs don't seem to work properly, primarily
12 noticeable as broken LEDs.
14 Squash with "pinctrl-bcm2835: Set base to 0 give expected gpio numbering"
16 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
18 drivers/pinctrl/bcm/pinctrl-bcm2835.c | 4 ++--
19 1 file changed, 2 insertions(+), 2 deletions(-)
21 --- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c
22 +++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c
23 @@ -378,7 +378,7 @@ static const struct gpio_chip bcm2835_gp
24 .get = bcm2835_gpio_get,
25 .set = bcm2835_gpio_set,
26 .set_config = gpiochip_generic_config,
29 .ngpio = BCM2835_NUM_GPIOS,
31 .of_gpio_ranges_fallback = bcm2835_of_gpio_ranges_fallback,
32 @@ -395,7 +395,7 @@ static const struct gpio_chip bcm2711_gp
33 .get = bcm2835_gpio_get,
34 .set = bcm2835_gpio_set,
35 .set_config = gpiochip_generic_config,
38 .ngpio = BCM2711_NUM_GPIOS,
40 .of_gpio_ranges_fallback = bcm2835_of_gpio_ranges_fallback,