arm64: dts: meson: fixups for WeTek common dtsi
Subsystems (2)
cover arm64: dts: meson: fixups for WeTek common dtsi
Two fixes from work on u-boot support and following access to the original vendor schematics, plus a minor change to use revised LED bindings.
- Mark VDDIO_AO18 always-on and link hdmi-supply to fix HDMI on boot
- Add missing GPIO binding
- Update LED bindings
Christian Hewitt (3):
arm64: dts: meson-gxbb-wetek: fix HDMI in early boot
arm64: dts: meson-gxbb-wetek: fix missing GPIO binding
arm64: dts: meson-gxbb-wetek: use updated LED bindings
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
Signature · 1 line
2.17.1
PATCH 1/3 arm64: dts: meson-gxbb-wetek: fix HDMI in early boot
Mark the VDDIO_AO18 regulator always-on and set hdmi-supply for the hdmi_tx node to ensure HDMI is powered in the early stages of boot.
--- arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi +2 -0
@@ -64,6 +64,7 @@ regulator-name = "VDDIO_AO18"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-always-on; }; vcc_3v3: regulator-vcc_3v3 {
@@ -161,6 +162,7 @@ status = "okay"; pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; pinctrl-names = "default"; + hdmi-supply = <&vddio_ao18>; }; &hdmi_tx_tmds_port {
Signature · 1 line
2.17.1
Re: [PATCH 1/3] arm64: dts: meson-gxbb-wetek: fix HDMI in early boot
Quoted 24 lines · Christian Hewitt
Mark the
VDDIO_AO18regulator always-on and set hdmi-supply for thehdmi_txnode to ensure HDMI is powered in the early stages of boot.Fixes fb72c03e0e32 ("ARM64: dts: meson-gxbb-wetek: add a wetek specific dtsi to cleanup hub and play2")Signed-off-by Christian Hewitt <[email protected]>--- arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi | 2 ++ 1 file changed, 2 insertions(+)arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi +1
-0@@ -64,6 +64,7 @@ regulator-name = "VDDIO_AO18"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-always-on; }; vcc_3v3: regulator-vcc_3v3 {
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi line 168
Quoted 7 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi +1
-0@@ -161,6 +162,7 @@ status = "okay"; pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; pinctrl-names = "default"; + hdmi-supply = <&vddio_ao18>; }; &hdmi_tx_tmds_port {
PATCH 2/3 arm64: dts: meson-gxbb-wetek: fix missing GPIO binding
In reply to Christian HewittThe absence of this binding appears to be harmless in Linux but it breaks Ethernet support in mainline u-boot. So add the binding (which is present in all other u-boot supported GXBB device-trees).
--- arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi +1 -0
@@ -6,6 +6,7 @@ */ #include "meson-gxbb.dtsi" +#include <dt-bindings/gpio/gpio.h> / { aliases {
Signature · 1 line
2.17.1
Re: [PATCH 2/3] arm64: dts: meson-gxbb-wetek: fix missing GPIO binding
Quoted 17 lines · Christian Hewitt
The absence of this binding appears to be harmless in Linux but it breaks Ethernet support in mainline u-boot. So add the binding (which is present in all other u-boot supported GXBB device-trees).
Fixes fb72c03e0e32 ("ARM64: dts: meson-gxbb-wetek: add a wetek specific dtsi to cleanup hub and play2")Signed-off-by Christian Hewitt <[email protected]>--- arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi | 1 + 1 file changed, 1 insertion(+)arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi +0
-0
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi line 12
Quoted 7 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi +1
-0@@ -6,6 +6,7 @@ */ #include "meson-gxbb.dtsi" +#include <dt-bindings/gpio/gpio.h> / { aliases {
PATCH 3/3 arm64: dts: meson-gxbb-wetek: use updated LED bindings
In reply to Christian HewittUpdate the dts to use the newer style of LED bindings.
--- arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi +5 -2
@@ -7,6 +7,7 @@ #include "meson-gxbb.dtsi" #include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/leds/common.h> / { aliases {
@@ -26,8 +27,10 @@ leds { compatible = "gpio-leds"; - led-system { - label = "wetek-play:system-status"; + led-power { + /* red in suspend or power-off */ + color = <LED_COLOR_ID_BLUE>; + function = LED_FUNCTION_POWER; gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>; default-state = "on"; panic-indicator;
Signature · 1 line
2.17.1
Re: [PATCH 3/3] arm64: dts: meson-gxbb-wetek: use updated LED bindings
Quoted 23 lines · Christian Hewitt
Update the dts to use the newer style of LED bindings.
Signed-off-by Christian Hewitt <[email protected]>--- arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi +1
-0@@ -7,6 +7,7 @@ #include "meson-gxbb.dtsi" #include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/leds/common.h> / { aliases {@@ -26,8 +27,10 @@ leds { compatible = "gpio-leds";
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi line 36
Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi +4
-2- led-system { - label = "wetek-play:system-status"; + led-power { + /* red in suspend or power-off */ + color = <LED_COLOR_ID_BLUE>; + function = LED_FUNCTION_POWER; gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>; default-state = "on"; panic-indicator;
Neil Armstrong
AppliedHi,
Quoted 8 lines · Christian Hewitt
Two fixes from work on u-boot support and following access to the original vendor schematics, plus a minor change to use revised LED bindings.
- Mark
VDDIO_AO18always-on and link hdmi-supply to fix HDMI on boot
- Add missing GPIO binding
- Update LED bindings[...]
Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v5.17/dt64)
[1/3] arm64: dts: meson-gxbb-wetek: fix HDMI in early boot
https://git.kernel.org/amlogic/c/8182a35868db5f053111d5d9d4da8fcb3f99259d [2/3] arm64: dts: meson-gxbb-wetek: fix missing GPIO binding https://git.kernel.org/amlogic/c/c019abb2feba3cbbd7cf7178f8e6499c4fa6fced [3/3] arm64: dts: meson-gxbb-wetek: use updated LED bindings https://git.kernel.org/amlogic/c/1e9fc71213d784dfbd153289daf08fdfc87f32ba
Signature · 1 line
Neil