提交 3116be1e 编写于 作者: P Phil Elwell 提交者: Zheng Zengkai

SQUASH: pinctrl: bcm2835: Set base for bcm2711 GPIO to 0

raspberrypi inclusion
category: feature
bugzilla: 50432

--------------------------------

Without this patch GPIOs don't seem to work properly, primarily
noticeable as broken LEDs.

Squash with "pinctrl-bcm2835: Set base to 0 give expected gpio numbering"
Signed-off-by: NPhil Elwell <phil@raspberrypi.com>
Signed-off-by: NFang Yafen <yafen@iscas.ac.cn>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 a7536dd3
...@@ -378,7 +378,7 @@ static const struct gpio_chip bcm2711_gpio_chip = { ...@@ -378,7 +378,7 @@ static const struct gpio_chip bcm2711_gpio_chip = {
.get = bcm2835_gpio_get, .get = bcm2835_gpio_get,
.set = bcm2835_gpio_set, .set = bcm2835_gpio_set,
.set_config = gpiochip_generic_config, .set_config = gpiochip_generic_config,
.base = -1, .base = 0,
.ngpio = BCM2711_NUM_GPIOS, .ngpio = BCM2711_NUM_GPIOS,
.can_sleep = false, .can_sleep = false,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册