gpio: sunxi: Add compatible string for H5 PIO
Subsystems (2)
PATCH 1/1 gpio: sunxi: Add compatible string for H5 PIO
Due to the changes in https://github.com/linux-sunxi/u-boot-sunxi/commit/8faac0941cd409c6ff3738fbf658de2296f48e9a, allwinner,sun50i-h5-pinctrl needs to be defined otherwise PIO does not work on H5 based boards.
--- drivers/gpio/sunxi_gpio.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpio/sunxi_gpio.c +1 -0
@@ -345,6 +345,7 @@ static const struct udevice_id sunxi_gpio_ids[] = {ID ("allwinner,sun4i-a10-pinctrl" , a_all),ID ("allwinner,sun5i-a10s-pinctrl" , a_all),ID ("allwinner,sun5i-a13-pinctrl" , a_all), +ID ("allwinner,sun50i-h5-pinctrl" , a_all),ID ("allwinner,sun6i-a31-pinctrl" , a_all),ID ("allwinner,sun6i-a31s-pinctrl" , a_all), ID("allwinner,sun7i-a20-pinctrl", a_all),
--
2.7.4
PATCH 1/1 gpio: sunxi: Add compatible string for H5 PIO
Quoted 1 line · Chris Blake
Due to the changes in https://github.com/linux-sunxi/u-boot-sunxi/commit/8faac0941cd409c6ff3738fbf658de2296f48e9a, allwinner,sun50i-h5-pinctrl needs to be defined otherwise PIO does not work on H5 based boards.
What is the issue observed w/o this?
PATCH 1/1 gpio: sunxi: Add compatible string for H5 PIO
Quoted 4 lines · Jagan Teki
Quoted 1 line · Chris Blake
Due to the changes in https://github.com/linux-sunxi/u-boot-sunxi/commit/8faac0941cd409c6ff3738fbf658de2296f48e9a, allwinner,sun50i-h5-pinctrl needs to be defined otherwise PIO does not work on H5 based boards.
What is the issue observed w/o this?
Without this, H5 boards that rely on CONFIG_MACPWR for Ethernet do not support networking in u-boot. This also breaks access to GPIOs via the gpio cmd.
PATCH 1/1 gpio: sunxi: Add compatible string for H5 PIO
Quoted 9 lines · Chris Blake
Quoted 4 lines · Jagan Teki
Quoted 1 line · Chris Blake
Due to the changes in https://github.com/linux-sunxi/u-boot-sunxi/commit/8faac0941cd409c6ff3738fbf658de2296f48e9a, allwinner,sun50i-h5-pinctrl needs to be defined otherwise PIO does not work on H5 based boards.
What is the issue observed w/o this?
Without this, H5 boards that rely on
CONFIG_MACPWRfor Ethernet do not support networking in u-boot. This also breaks access to GPIOs via the gpio cmd.
Ok, did you verify it on opi-pc2?
PATCH 1/1 gpio: sunxi: Add compatible string for H5 PIO
Quoted 5 lines · Jagan Teki
Quoted 4 lines · Chris Blake
Quoted 3 lines · Jagan Teki
Quoted 1 line · Chris Blake
Due to the changes in https://github.com/linux-sunxi/u-boot-sunxi/commit/8faac0941cd409c6ff3738fbf658de2296f48e9a, allwinner,sun50i-h5-pinctrl needs to be defined otherwise PIO does not work on H5 based boards.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
What is the issue observed w/o this?
Without this, H5 boards that rely on
CONFIG_MACPWRfor Ethernet do not support networking in u-boot. This also breaks access to GPIOs via the gpio cmd.Ok, did you verify it on opi-pc2?
This was verified on a FriendlyARM NanoPi Neo2 and FriendlyARM NanoPi Neo Core2.
PATCH 1/1 gpio: sunxi: Add compatible string for H5 PIO
In reply to Chris BlakeQuoted 12 lines · Chris Blake
Due to the changes in https://github.com/linux-sunxi/u-boot-sunxi/commit/8faac0941cd409c6ff3738fbf658de2296f48e9a, allwinner,sun50i-h5-pinctrl needs to be defined otherwise PIO does not work on H5 based boards.
Signed-off-by Chris Blake <[email protected]>--- drivers/gpio/sunxi_gpio.c | 1 + 1 file changed, 1 insertion(+)drivers/gpio/sunxi_gpio.c +0
-0
drivers/gpio/sunxi_gpio.c static const struct udevice_id sunxi_gpio_ids[] = { · line 348
Quoted 4 lines
drivers/gpio/sunxi_gpio.c +1
-0@@ -345,6 +345,7 @@ static const struct udevice_id sunxi_gpio_ids[] = {ID ("allwinner,sun4i-a10-pinctrl" , a_all),ID ("allwinner,sun5i-a10s-pinctrl" , a_all),ID ("allwinner,sun5i-a13-pinctrl" , a_all), + ID("allwinner,sun50i-h5-pinctrl", a_all),