Message ID | 20250403-dt-cpu-schema-v1-13-076be7171a85@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Arm cpu schema clean-ups | expand |
On 04/04/2025 04:59, Rob Herring (Arm) wrote: > The "clock-latency" property is part of the deprecated opp-v1 binding > and is redundant if the opp-v2 table has equal or larger values in any > "clock-latency-ns". Add any missing "clock-latency-ns" properties and > remove "clock-latency". > > Signed-off-by: Rob Herring (Arm) <robh@kernel.org> > --- > arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am.dts | 4 ---- > arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts | 4 ---- > arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 4 ---- > arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts | 4 ---- > arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 4 ---- > arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 1 + > arch/arm64/boot/dts/amlogic/meson-g12b-a311d-libretech-cc.dts | 6 ------ > arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi | 2 ++ > arch/arm64/boot/dts/amlogic/meson-g12b-bananapi-cm4.dtsi | 6 ------ > arch/arm64/boot/dts/amlogic/meson-g12b-bananapi.dtsi | 6 ------ > arch/arm64/boot/dts/amlogic/meson-g12b-khadas-vim3.dtsi | 6 ------ > arch/arm64/boot/dts/amlogic/meson-g12b-odroid-go-ultra.dts | 6 ------ > arch/arm64/boot/dts/amlogic/meson-g12b-odroid.dtsi | 6 ------ > arch/arm64/boot/dts/amlogic/meson-g12b-radxa-zero2.dts | 6 ------ > arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi | 2 ++ > arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi | 6 ------ > arch/arm64/boot/dts/amlogic/meson-sm1-ac2xx.dtsi | 4 ---- > arch/arm64/boot/dts/amlogic/meson-sm1-bananapi.dtsi | 4 ---- > arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts | 4 ---- > arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi | 4 ---- > arch/arm64/boot/dts/amlogic/meson-sm1-s905d3-libretech-cc.dts | 4 ---- > arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts | 4 ---- > arch/arm64/boot/dts/amlogic/meson-sm1.dtsi | 1 + > 23 files changed, 6 insertions(+), 92 deletions(-) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am.dts > index 9aa36f17ffa2..d0a3b4b9229c 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am.dts > +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am.dts > @@ -267,28 +267,24 @@ &cpu0 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu1 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu2 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu3 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > ðmac { > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts > index 952b8d02e5c2..4353485c6f26 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts > +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts > @@ -220,28 +220,24 @@ &cpu0 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu1 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu2 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu3 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cvbs_vdac_port { > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts > index 52fbc5103e45..f39fcabc763f 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts > +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts > @@ -314,28 +314,24 @@ &cpu0 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu1 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu2 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu3 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cvbs_vdac_port { > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts > index 5407049d2647..b5bf8ecc91e6 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts > +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts > @@ -407,28 +407,24 @@ &cpu0 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu1 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu2 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu3 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &clkc_audio { > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts > index 01da83658ae3..5ab460a3e637 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts > +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts > @@ -263,28 +263,24 @@ &cpu0 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu1 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu2 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu3 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cvbs_vdac_port { > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi > index 543e70669df5..deee61dbe074 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi > @@ -62,6 +62,7 @@ cpu_opp_table: opp-table { > opp-1000000000 { > opp-hz = /bits/ 64 <1000000000>; > opp-microvolt = <731000>; > + clock-latency-ns = <50000>; > }; > > opp-1200000000 { > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-a311d-libretech-cc.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-a311d-libretech-cc.dts > index adedc1340c78..415248931ab1 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12b-a311d-libretech-cc.dts > +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-a311d-libretech-cc.dts > @@ -76,42 +76,36 @@ &cpu0 { > cpu-supply = <&vddcpu_b>; > operating-points-v2 = <&cpu_opp_table_0>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu1 { > cpu-supply = <&vddcpu_b>; > operating-points-v2 = <&cpu_opp_table_0>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu100 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu101 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu102 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu103 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &pwm_ab { > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi > index 8e9ad1e51d66..8ecb5bd125c1 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi > @@ -14,6 +14,7 @@ cpu_opp_table_0: opp-table-0 { > opp-1000000000 { > opp-hz = /bits/ 64 <1000000000>; > opp-microvolt = <761000>; > + clock-latency-ns = <50000>; > }; > > opp-1200000000 { > @@ -54,6 +55,7 @@ cpub_opp_table_1: opp-table-1 { > opp-1000000000 { > opp-hz = /bits/ 64 <1000000000>; > opp-microvolt = <731000>; > + clock-latency-ns = <50000>; > }; > > opp-1200000000 { > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi-cm4.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi-cm4.dtsi > index 92e8b26ecccc..39011b645128 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi-cm4.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi-cm4.dtsi > @@ -155,42 +155,36 @@ &cpu0 { > cpu-supply = <&vddcpu_b>; > operating-points-v2 = <&cpu_opp_table_0>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu1 { > cpu-supply = <&vddcpu_b>; > operating-points-v2 = <&cpu_opp_table_0>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu100 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu101 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu102 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu103 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &ext_mdio { > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi.dtsi > index 54663c55a20e..1b08303c4282 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi.dtsi > @@ -263,42 +263,36 @@ &cpu0 { > cpu-supply = <&vddcpu_b>; > operating-points-v2 = <&cpu_opp_table_0>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu1 { > cpu-supply = <&vddcpu_b>; > operating-points-v2 = <&cpu_opp_table_0>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu100 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu101 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu102 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu103 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > ðmac { > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-khadas-vim3.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-khadas-vim3.dtsi > index 48650bad230d..fc737499f207 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12b-khadas-vim3.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-khadas-vim3.dtsi > @@ -51,42 +51,36 @@ &cpu0 { > cpu-supply = <&vddcpu_b>; > operating-points-v2 = <&cpu_opp_table_0>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu1 { > cpu-supply = <&vddcpu_b>; > operating-points-v2 = <&cpu_opp_table_0>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu100 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu101 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu102 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu103 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &pwm_ab { > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-go-ultra.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-go-ultra.dts > index e21831dfceee..d5938a4a6da3 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-go-ultra.dts > +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-go-ultra.dts > @@ -281,42 +281,36 @@ &cpu0 { > cpu-supply = <&vddcpu_b>; > operating-points-v2 = <&cpu_opp_table_0>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu1 { > cpu-supply = <&vddcpu_b>; > operating-points-v2 = <&cpu_opp_table_0>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu100 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu101 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu102 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu103 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > /* RK817 only supports 12.5mV steps, round up the values */ > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid.dtsi > index 7e8964bacfce..3298d59833b6 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid.dtsi > @@ -227,42 +227,36 @@ &cpu0 { > cpu-supply = <&vddcpu_b>; > operating-points-v2 = <&cpu_opp_table_0>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu1 { > cpu-supply = <&vddcpu_b>; > operating-points-v2 = <&cpu_opp_table_0>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu100 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu101 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu102 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu103 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu_thermal { > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-radxa-zero2.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-radxa-zero2.dts > index fc05ecf90714..1e5c6f984945 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12b-radxa-zero2.dts > +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-radxa-zero2.dts > @@ -259,42 +259,36 @@ &cpu0 { > cpu-supply = <&vddcpu_b>; > operating-points-v2 = <&cpu_opp_table_0>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu1 { > cpu-supply = <&vddcpu_b>; > operating-points-v2 = <&cpu_opp_table_0>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu100 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu101 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu102 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu103 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu_thermal { > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi > index 44c23c984034..19cad93a6889 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi > @@ -14,6 +14,7 @@ cpu_opp_table_0: opp-table-0 { > opp-1000000000 { > opp-hz = /bits/ 64 <1000000000>; > opp-microvolt = <731000>; > + clock-latency-ns = <50000>; > }; > > opp-1200000000 { > @@ -59,6 +60,7 @@ cpub_opp_table_1: opp-table-1 { > opp-1000000000 { > opp-hz = /bits/ 64 <1000000000>; > opp-microvolt = <771000>; > + clock-latency-ns = <50000>; > }; > > opp-1200000000 { > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi > index a7a0fc264cdc..9b6d780eada7 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi > @@ -213,42 +213,36 @@ &cpu0 { > cpu-supply = <&vddcpu_b>; > operating-points-v2 = <&cpu_opp_table_0>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu1 { > cpu-supply = <&vddcpu_b>; > operating-points-v2 = <&cpu_opp_table_0>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu100 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu101 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu102 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cpu103 { > cpu-supply = <&vddcpu_a>; > operating-points-v2 = <&cpub_opp_table_1>; > clocks = <&clkc CLKID_CPUB_CLK>; > - clock-latency = <50000>; > }; > > &cvbs_vdac_port { > diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-ac2xx.dtsi b/arch/arm64/boot/dts/amlogic/meson-sm1-ac2xx.dtsi > index a3463149db3d..9be3084b090d 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-sm1-ac2xx.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-ac2xx.dtsi > @@ -147,28 +147,24 @@ &cpu0 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu1 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU1_CLK>; > - clock-latency = <50000>; > }; > > &cpu2 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU2_CLK>; > - clock-latency = <50000>; > }; > > &cpu3 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU3_CLK>; > - clock-latency = <50000>; > }; > > &cvbs_vdac_port { > diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi.dtsi b/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi.dtsi > index 40db95f64636..538b35036954 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi.dtsi > @@ -185,28 +185,24 @@ &cpu0 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu1 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU1_CLK>; > - clock-latency = <50000>; > }; > > &cpu2 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU2_CLK>; > - clock-latency = <50000>; > }; > > &cpu3 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU3_CLK>; > - clock-latency = <50000>; > }; > > &ext_mdio { > diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts > index 5d75ad3f3e46..a3d9b66b6878 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts > +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts > @@ -51,28 +51,24 @@ &cpu0 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu1 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU1_CLK>; > - clock-latency = <50000>; > }; > > &cpu2 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU2_CLK>; > - clock-latency = <50000>; > }; > > &cpu3 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU3_CLK>; > - clock-latency = <50000>; > }; > > &pwm_AO_cd { > diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi > index ad8d07883760..c4524eb4f099 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi > @@ -250,28 +250,24 @@ &cpu0 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu1 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU1_CLK>; > - clock-latency = <50000>; > }; > > &cpu2 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU2_CLK>; > - clock-latency = <50000>; > }; > > &cpu3 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU3_CLK>; > - clock-latency = <50000>; > }; > > &ext_mdio { > diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-s905d3-libretech-cc.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-s905d3-libretech-cc.dts > index 537370db360f..5daadfb170b4 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-sm1-s905d3-libretech-cc.dts > +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-s905d3-libretech-cc.dts > @@ -64,26 +64,22 @@ &cpu0 { > cpu-supply = <&vddcpu_b>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu1 { > cpu-supply = <&vddcpu_b>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU1_CLK>; > - clock-latency = <50000>; > }; > > &cpu2 { > cpu-supply = <&vddcpu_b>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU2_CLK>; > - clock-latency = <50000>; > }; > > &cpu3 { > cpu-supply = <&vddcpu_b>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU3_CLK>; > - clock-latency = <50000>; > }; > diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts > index 37d7f64b6d5d..024d2eb8e6ee 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts > +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts > @@ -359,28 +359,24 @@ &cpu0 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU_CLK>; > - clock-latency = <50000>; > }; > > &cpu1 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU1_CLK>; > - clock-latency = <50000>; > }; > > &cpu2 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU2_CLK>; > - clock-latency = <50000>; > }; > > &cpu3 { > cpu-supply = <&vddcpu>; > operating-points-v2 = <&cpu_opp_table>; > clocks = <&clkc CLKID_CPU3_CLK>; > - clock-latency = <50000>; > }; > > ðmac { > diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi b/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi > index 97e4b52066dc..966ebb19cc55 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi > @@ -100,6 +100,7 @@ cpu_opp_table: opp-table { > opp-1000000000 { > opp-hz = /bits/ 64 <1000000000>; > opp-microvolt = <770000>; > + clock-latency-ns = <50000>; > }; > > opp-1200000000 { > Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am.dts index 9aa36f17ffa2..d0a3b4b9229c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am.dts @@ -267,28 +267,24 @@ &cpu0 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu1 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu2 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu3 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; ðmac { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts index 952b8d02e5c2..4353485c6f26 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts @@ -220,28 +220,24 @@ &cpu0 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu1 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu2 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu3 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cvbs_vdac_port { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts index 52fbc5103e45..f39fcabc763f 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts @@ -314,28 +314,24 @@ &cpu0 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu1 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu2 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu3 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cvbs_vdac_port { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts index 5407049d2647..b5bf8ecc91e6 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts @@ -407,28 +407,24 @@ &cpu0 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu1 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu2 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu3 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &clkc_audio { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts index 01da83658ae3..5ab460a3e637 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts @@ -263,28 +263,24 @@ &cpu0 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu1 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu2 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu3 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cvbs_vdac_port { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 543e70669df5..deee61dbe074 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -62,6 +62,7 @@ cpu_opp_table: opp-table { opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <731000>; + clock-latency-ns = <50000>; }; opp-1200000000 { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-a311d-libretech-cc.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-a311d-libretech-cc.dts index adedc1340c78..415248931ab1 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-a311d-libretech-cc.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-a311d-libretech-cc.dts @@ -76,42 +76,36 @@ &cpu0 { cpu-supply = <&vddcpu_b>; operating-points-v2 = <&cpu_opp_table_0>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu1 { cpu-supply = <&vddcpu_b>; operating-points-v2 = <&cpu_opp_table_0>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu100 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu101 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu102 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu103 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &pwm_ab { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi index 8e9ad1e51d66..8ecb5bd125c1 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi @@ -14,6 +14,7 @@ cpu_opp_table_0: opp-table-0 { opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <761000>; + clock-latency-ns = <50000>; }; opp-1200000000 { @@ -54,6 +55,7 @@ cpub_opp_table_1: opp-table-1 { opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <731000>; + clock-latency-ns = <50000>; }; opp-1200000000 { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi-cm4.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi-cm4.dtsi index 92e8b26ecccc..39011b645128 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi-cm4.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi-cm4.dtsi @@ -155,42 +155,36 @@ &cpu0 { cpu-supply = <&vddcpu_b>; operating-points-v2 = <&cpu_opp_table_0>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu1 { cpu-supply = <&vddcpu_b>; operating-points-v2 = <&cpu_opp_table_0>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu100 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu101 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu102 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu103 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &ext_mdio { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi.dtsi index 54663c55a20e..1b08303c4282 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi.dtsi @@ -263,42 +263,36 @@ &cpu0 { cpu-supply = <&vddcpu_b>; operating-points-v2 = <&cpu_opp_table_0>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu1 { cpu-supply = <&vddcpu_b>; operating-points-v2 = <&cpu_opp_table_0>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu100 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu101 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu102 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu103 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; ðmac { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-khadas-vim3.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-khadas-vim3.dtsi index 48650bad230d..fc737499f207 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-khadas-vim3.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-khadas-vim3.dtsi @@ -51,42 +51,36 @@ &cpu0 { cpu-supply = <&vddcpu_b>; operating-points-v2 = <&cpu_opp_table_0>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu1 { cpu-supply = <&vddcpu_b>; operating-points-v2 = <&cpu_opp_table_0>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu100 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu101 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu102 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu103 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &pwm_ab { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-go-ultra.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-go-ultra.dts index e21831dfceee..d5938a4a6da3 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-go-ultra.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-go-ultra.dts @@ -281,42 +281,36 @@ &cpu0 { cpu-supply = <&vddcpu_b>; operating-points-v2 = <&cpu_opp_table_0>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu1 { cpu-supply = <&vddcpu_b>; operating-points-v2 = <&cpu_opp_table_0>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu100 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu101 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu102 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu103 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; /* RK817 only supports 12.5mV steps, round up the values */ diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid.dtsi index 7e8964bacfce..3298d59833b6 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid.dtsi @@ -227,42 +227,36 @@ &cpu0 { cpu-supply = <&vddcpu_b>; operating-points-v2 = <&cpu_opp_table_0>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu1 { cpu-supply = <&vddcpu_b>; operating-points-v2 = <&cpu_opp_table_0>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu100 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu101 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu102 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu103 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu_thermal { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-radxa-zero2.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-radxa-zero2.dts index fc05ecf90714..1e5c6f984945 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-radxa-zero2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-radxa-zero2.dts @@ -259,42 +259,36 @@ &cpu0 { cpu-supply = <&vddcpu_b>; operating-points-v2 = <&cpu_opp_table_0>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu1 { cpu-supply = <&vddcpu_b>; operating-points-v2 = <&cpu_opp_table_0>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu100 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu101 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu102 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu103 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu_thermal { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi index 44c23c984034..19cad93a6889 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi @@ -14,6 +14,7 @@ cpu_opp_table_0: opp-table-0 { opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <731000>; + clock-latency-ns = <50000>; }; opp-1200000000 { @@ -59,6 +60,7 @@ cpub_opp_table_1: opp-table-1 { opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <771000>; + clock-latency-ns = <50000>; }; opp-1200000000 { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi index a7a0fc264cdc..9b6d780eada7 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi @@ -213,42 +213,36 @@ &cpu0 { cpu-supply = <&vddcpu_b>; operating-points-v2 = <&cpu_opp_table_0>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu1 { cpu-supply = <&vddcpu_b>; operating-points-v2 = <&cpu_opp_table_0>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu100 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu101 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu102 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cpu103 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; - clock-latency = <50000>; }; &cvbs_vdac_port { diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-ac2xx.dtsi b/arch/arm64/boot/dts/amlogic/meson-sm1-ac2xx.dtsi index a3463149db3d..9be3084b090d 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-ac2xx.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-ac2xx.dtsi @@ -147,28 +147,24 @@ &cpu0 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu1 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU1_CLK>; - clock-latency = <50000>; }; &cpu2 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU2_CLK>; - clock-latency = <50000>; }; &cpu3 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU3_CLK>; - clock-latency = <50000>; }; &cvbs_vdac_port { diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi.dtsi b/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi.dtsi index 40db95f64636..538b35036954 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi.dtsi @@ -185,28 +185,24 @@ &cpu0 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu1 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU1_CLK>; - clock-latency = <50000>; }; &cpu2 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU2_CLK>; - clock-latency = <50000>; }; &cpu3 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU3_CLK>; - clock-latency = <50000>; }; &ext_mdio { diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts index 5d75ad3f3e46..a3d9b66b6878 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts @@ -51,28 +51,24 @@ &cpu0 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu1 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU1_CLK>; - clock-latency = <50000>; }; &cpu2 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU2_CLK>; - clock-latency = <50000>; }; &cpu3 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU3_CLK>; - clock-latency = <50000>; }; &pwm_AO_cd { diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi index ad8d07883760..c4524eb4f099 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi @@ -250,28 +250,24 @@ &cpu0 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu1 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU1_CLK>; - clock-latency = <50000>; }; &cpu2 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU2_CLK>; - clock-latency = <50000>; }; &cpu3 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU3_CLK>; - clock-latency = <50000>; }; &ext_mdio { diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-s905d3-libretech-cc.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-s905d3-libretech-cc.dts index 537370db360f..5daadfb170b4 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-s905d3-libretech-cc.dts +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-s905d3-libretech-cc.dts @@ -64,26 +64,22 @@ &cpu0 { cpu-supply = <&vddcpu_b>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu1 { cpu-supply = <&vddcpu_b>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU1_CLK>; - clock-latency = <50000>; }; &cpu2 { cpu-supply = <&vddcpu_b>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU2_CLK>; - clock-latency = <50000>; }; &cpu3 { cpu-supply = <&vddcpu_b>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU3_CLK>; - clock-latency = <50000>; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts index 37d7f64b6d5d..024d2eb8e6ee 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts @@ -359,28 +359,24 @@ &cpu0 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU_CLK>; - clock-latency = <50000>; }; &cpu1 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU1_CLK>; - clock-latency = <50000>; }; &cpu2 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU2_CLK>; - clock-latency = <50000>; }; &cpu3 { cpu-supply = <&vddcpu>; operating-points-v2 = <&cpu_opp_table>; clocks = <&clkc CLKID_CPU3_CLK>; - clock-latency = <50000>; }; ðmac { diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi b/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi index 97e4b52066dc..966ebb19cc55 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi @@ -100,6 +100,7 @@ cpu_opp_table: opp-table { opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <770000>; + clock-latency-ns = <50000>; }; opp-1200000000 {
The "clock-latency" property is part of the deprecated opp-v1 binding and is redundant if the opp-v2 table has equal or larger values in any "clock-latency-ns". Add any missing "clock-latency-ns" properties and remove "clock-latency". Signed-off-by: Rob Herring (Arm) <robh@kernel.org> --- arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am.dts | 4 ---- arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts | 4 ---- arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 4 ---- arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts | 4 ---- arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 4 ---- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-g12b-a311d-libretech-cc.dts | 6 ------ arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi | 2 ++ arch/arm64/boot/dts/amlogic/meson-g12b-bananapi-cm4.dtsi | 6 ------ arch/arm64/boot/dts/amlogic/meson-g12b-bananapi.dtsi | 6 ------ arch/arm64/boot/dts/amlogic/meson-g12b-khadas-vim3.dtsi | 6 ------ arch/arm64/boot/dts/amlogic/meson-g12b-odroid-go-ultra.dts | 6 ------ arch/arm64/boot/dts/amlogic/meson-g12b-odroid.dtsi | 6 ------ arch/arm64/boot/dts/amlogic/meson-g12b-radxa-zero2.dts | 6 ------ arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi | 2 ++ arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi | 6 ------ arch/arm64/boot/dts/amlogic/meson-sm1-ac2xx.dtsi | 4 ---- arch/arm64/boot/dts/amlogic/meson-sm1-bananapi.dtsi | 4 ---- arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts | 4 ---- arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi | 4 ---- arch/arm64/boot/dts/amlogic/meson-sm1-s905d3-libretech-cc.dts | 4 ---- arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts | 4 ---- arch/arm64/boot/dts/amlogic/meson-sm1.dtsi | 1 + 23 files changed, 6 insertions(+), 92 deletions(-)