rockchip: add LED configuration for NanoPi R5S

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2023-08-23 13:20:42 +08:00
parent 7564d4123a
commit 6f7eddb42c
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
3 changed files with 12 additions and 2 deletions

View File

@ -43,7 +43,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
--- a/drivers/usb/typec/tcpm/tcpm.c --- a/drivers/usb/typec/tcpm/tcpm.c
+++ b/drivers/usb/typec/tcpm/tcpm.c +++ b/drivers/usb/typec/tcpm/tcpm.c
@@ -6541,6 +6541,8 @@ struct tcpm_port *tcpm_register_port(str @@ -6548,6 +6548,8 @@ struct tcpm_port *tcpm_register_port(str
port->port_type = port->typec_caps.type; port->port_type = port->typec_caps.type;
port->role_sw = usb_role_switch_get(port->dev); port->role_sw = usb_role_switch_get(port->dev);

View File

@ -28,7 +28,7 @@ Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
--- a/drivers/usb/typec/tcpm/tcpm.c --- a/drivers/usb/typec/tcpm/tcpm.c
+++ b/drivers/usb/typec/tcpm/tcpm.c +++ b/drivers/usb/typec/tcpm/tcpm.c
@@ -6540,9 +6540,9 @@ struct tcpm_port *tcpm_register_port(str @@ -6547,9 +6547,9 @@ struct tcpm_port *tcpm_register_port(str
port->partner_desc.identity = &port->partner_ident; port->partner_desc.identity = &port->partner_ident;
port->port_type = port->typec_caps.type; port->port_type = port->typec_caps.type;

View File

@ -148,3 +148,13 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
}; };
}; };
--- a/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts
@@ -72,6 +72,7 @@
reg = <1>;
pinctrl-0 = <&eth_phy0_reset_pin>;
pinctrl-names = "default";
+ realtek,led-data = <0x6d60>;
};
};