riscv: dts: Remove unsupported cpuidle state
authormason.huo <mason.huo@starfivetech.com>
Fri, 11 Nov 2022 02:13:04 +0000 (10:13 +0800)
committermason.huo <mason.huo@starfivetech.com>
Fri, 11 Nov 2022 02:15:16 +0000 (10:15 +0800)
The cpuidle state1 is also implemented in sbi with
WFI C state, but it cause audio play failed.
Remove the cpuidle state1.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
arch/riscv/boot/dts/starfive/jh7110.dtsi

index 6a2b038..777bd80 100644 (file)
@@ -57,7 +57,6 @@
                        i-tlb-sets = <1>;
                        i-tlb-size = <40>;
                        mmu-type = "riscv,sv39";
-                       cpu-idle-states = <&CPU_NONRET_0_0>;
                        next-level-cache = <&cachectrl>;
                        riscv,isa = "rv64imac";
                        tlb-split;
@@ -85,7 +84,6 @@
                        i-tlb-sets = <1>;
                        i-tlb-size = <40>;
                        mmu-type = "riscv,sv39";
-                       cpu-idle-states = <&CPU_NONRET_0_0>;
                        next-level-cache = <&cachectrl>;
                        riscv,isa = "rv64imafdc";
                        tlb-split;
                        i-tlb-sets = <1>;
                        i-tlb-size = <40>;
                        mmu-type = "riscv,sv39";
-                       cpu-idle-states = <&CPU_NONRET_0_0>;
                        next-level-cache = <&cachectrl>;
                        riscv,isa = "rv64imafdc";
                        tlb-split;
                        i-tlb-sets = <1>;
                        i-tlb-size = <40>;
                        mmu-type = "riscv,sv39";
-                       cpu-idle-states = <&CPU_NONRET_0_0>;
                        next-level-cache = <&cachectrl>;
                        riscv,isa = "rv64imafdc";
                        tlb-split;
                        i-tlb-sets = <1>;
                        i-tlb-size = <40>;
                        mmu-type = "riscv,sv39";
-                       cpu-idle-states = <&CPU_NONRET_0_0>;
                        next-level-cache = <&cachectrl>;
                        riscv,isa = "rv64imafdc";
                        tlb-split;
                };
        };
 
-       idle-states {
-               CPU_NONRET_0_0: cpu-nonretentive-0-0 {
-                       compatible = "riscv,idle-state";
-                       riscv,sbi-suspend-param = <0x80000000>;
-                       entry-latency-us = <600>;
-                       exit-latency-us = <1100>;
-                       min-residency-us = <2700>;
-                       wakeup-latency-us = <1500>;
-               };
-       };
-
        soc: soc {
                compatible = "simple-bus";
                interrupt-parent = <&plic>;