* This disables support for the RockPI-S "SDNAND" soldered on EMMC storage

Without it, SDNAND functions
There are no issues on boards that lack the EMMC storage option
In this case, the kernel probes the chip, quietly fails and continues without
creating the corresponding /dev/mmcblk* nodes

* This patch attempts to enable CPU operating points that are not defined.

The result is that the cpufreq-dt driver aborts when attempting to process these incompletely defined nodes.
The CPU ends up running at a constant clock rate, without cpufreq support.
Simply removing the patch restores proper cpufreq operation.
Note, however, that the CPU operating points are still overvolted for the newer RK3308B-S SOC.

See:
https://dl.radxa.com/rockpis/docs/sw/RK3308B-S&RK3308H-S_Software_Compatibility_Introduction_V1.0.0_20211016.pdf
This commit is contained in:
brentr 2022-07-09 02:35:51 -07:00 committed by GitHub
parent 35e509a040
commit 3ff231d9a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 29 deletions

View File

@ -1,18 +0,0 @@
--- a/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts 2020-12-25 21:20:04.848721628 +0200
+++ b/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts 2020-12-26 18:57:00.289626975 +0200
@@ -191,6 +191,15 @@
cpu-supply = <&vdd_core>;
};
+&cpu0_opp_table {
+ opp-1200000000 {
+ status = "okay";
+ };
+ opp-1296000000 {
+ status = "okay";
+ };
+};
+
&emmc {
bus-width = <4>; // Confirm if right value - <8>
cap-mmc-highspeed;

View File

@ -1,11 +0,0 @@
--- a/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts 2020-12-26 18:58:21.965015472 +0200
+++ b/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts 2020-12-26 20:35:04.055890457 +0200
@@ -202,7 +202,7 @@
/* please provide actual vmmc and vqmmc supplies
vin is not a valid supply for emmcs */
vin-supply = <&vcc_io>;
- status = "okay";
+ status = "disabled";
};
&i2c1 {