rockchip: lower mmc speed for rock 5a/5b

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2023-08-10 17:43:01 +08:00
parent 45d361aedd
commit 0621dc232d
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
8 changed files with 38 additions and 14 deletions

View File

@ -28,7 +28,7 @@ Link: https://lore.kernel.org/bpf/20220223012814.1898677-1-connoro@google.com
--- a/kernel/bpf/btf.c
+++ b/kernel/bpf/btf.c
@@ -6076,7 +6076,8 @@ static int btf_module_notify(struct noti
@@ -6072,7 +6072,8 @@ static int btf_module_notify(struct noti
pr_warn("failed to validate module [%s] BTF: %ld\n",
mod->name, PTR_ERR(btf));
kfree(btf_mod);

View File

@ -34,3 +34,27 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
&u2phy0_host {
phy-supply = <&vdd_5v>;
};
--- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
@@ -263,8 +263,7 @@
no-sd;
non-removable;
max-frequency = <200000000>;
- mmc-hs400-1_8v;
- mmc-hs400-enhanced-strobe;
+ mmc-hs200-1_8v;
status = "okay";
};
--- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
@@ -357,8 +357,7 @@
no-sd;
non-removable;
max-frequency = <200000000>;
- mmc-hs400-1_8v;
- mmc-hs400-enhanced-strobe;
+ mmc-hs200-1_8v;
status = "okay";
};

View File

@ -16,7 +16,7 @@ Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
--- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
@@ -114,6 +114,10 @@
@@ -117,6 +117,10 @@
};
};
@ -27,7 +27,7 @@ Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
&cpu_b0 {
cpu-supply = <&vdd_cpu_big0_s0>;
};
@@ -735,3 +739,7 @@
@@ -737,3 +741,7 @@
&usb_host1_ohci {
status = "okay";
};

View File

@ -13,7 +13,7 @@ Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
--- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
@@ -120,34 +120,42 @@
@@ -123,34 +123,42 @@
&cpu_b0 {
cpu-supply = <&vdd_cpu_big0_s0>;

View File

@ -13,7 +13,7 @@ Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
--- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
@@ -707,6 +707,14 @@
@@ -709,6 +709,14 @@
};
};
@ -28,7 +28,7 @@ Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
&u2phy2 {
status = "okay";
};
@@ -730,6 +738,15 @@
@@ -732,6 +740,15 @@
status = "okay";
};
@ -44,7 +44,7 @@ Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
&usb_host0_ehci {
status = "okay";
pinctrl-names = "default";
@@ -740,6 +757,11 @@
@@ -742,6 +759,11 @@
status = "okay";
};

View File

@ -28,7 +28,7 @@ Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
&cpu_b0 {
cpu-supply = <&vdd_cpu_big0_s0>;
};
@@ -743,3 +747,7 @@
@@ -742,3 +746,7 @@
&usb_host1_ohci {
status = "okay";
};

View File

@ -13,7 +13,7 @@ Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
--- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
@@ -721,6 +721,14 @@
@@ -720,6 +720,14 @@
status = "okay";
};
@ -28,7 +28,7 @@ Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
&u2phy2 {
status = "okay";
};
@@ -740,6 +748,14 @@
@@ -739,6 +747,14 @@
status = "okay";
};
@ -43,7 +43,7 @@ Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
&usb_host0_ehci {
status = "okay";
};
@@ -756,6 +772,10 @@
@@ -755,6 +771,10 @@
status = "okay";
};

View File

@ -118,7 +118,7 @@ Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
};
};
@@ -721,6 +791,14 @@
@@ -720,6 +790,14 @@
status = "okay";
};
@ -133,7 +133,7 @@ Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
&u2phy1 {
status = "okay";
};
@@ -756,6 +834,33 @@
@@ -755,6 +833,33 @@
status = "okay";
};
@ -167,7 +167,7 @@ Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
&usb_host0_ehci {
status = "okay";
};
@@ -764,6 +869,20 @@
@@ -763,6 +868,20 @@
status = "okay";
};