Path: blob/master/Documentation/devicetree/bindings/cpufreq/cpufreq-st.txt
26308 views
Binding for ST's CPUFreq driver1===============================23ST's CPUFreq driver attempts to read 'process' and 'version' attributes4from the SoC, then supplies the OPP framework with 'prop' and 'supported5hardware' information respectively. The framework is then able to read6the DT and operate in the usual way.78Frequency Scaling only9----------------------1011No vendor specific driver required for this.1213Located in CPU's node:1415- operating-points : [See: ../power/opp-v1.yaml]1617Example [safe]18--------------1920cpus {21cpu@0 {22/* kHz uV */23operating-points = <1500000 0241200000 025800000 026500000 0>;27};28};2930Dynamic Voltage and Frequency Scaling (DVFS)31--------------------------------------------3233This requires the ST CPUFreq driver to supply 'process' and 'version' info.3435Located in CPU's node:3637- operating-points-v2 : [See ../power/opp-v2.yaml]3839Example [unsafe]40----------------4142cpus {43cpu@0 {44operating-points-v2 = <&cpu0_opp_table>;45};46};4748cpu0_opp_table: opp_table {49compatible = "operating-points-v2";5051/* ############################################################### */52/* # WARNING: Do not attempt to copy/replicate these nodes, # */53/* # they are only to be supplied by the bootloader !!! # */54/* ############################################################### */55opp0 {56/* Major Minor Substrate */57/* 2 all all */58opp-supported-hw = <0x00000004 0xffffffff 0xffffffff>;59opp-hz = /bits/ 64 <1500000000>;60clock-latency-ns = <10000000>;6162opp-microvolt-pcode0 = <1200000>;63opp-microvolt-pcode1 = <1200000>;64opp-microvolt-pcode2 = <1200000>;65opp-microvolt-pcode3 = <1200000>;66opp-microvolt-pcode4 = <1170000>;67opp-microvolt-pcode5 = <1140000>;68opp-microvolt-pcode6 = <1100000>;69opp-microvolt-pcode7 = <1070000>;70};7172opp1 {73/* Major Minor Substrate */74/* all all all */75opp-supported-hw = <0xffffffff 0xffffffff 0xffffffff>;76opp-hz = /bits/ 64 <1200000000>;77clock-latency-ns = <10000000>;7879opp-microvolt-pcode0 = <1110000>;80opp-microvolt-pcode1 = <1150000>;81opp-microvolt-pcode2 = <1100000>;82opp-microvolt-pcode3 = <1080000>;83opp-microvolt-pcode4 = <1040000>;84opp-microvolt-pcode5 = <1020000>;85opp-microvolt-pcode6 = <980000>;86opp-microvolt-pcode7 = <930000>;87};88};899091