Path: blob/master/Documentation/devicetree/bindings/cpufreq/nvidia,tegra20-cpufreq.txt
26308 views
Binding for NVIDIA Tegra20 CPUFreq1==================================23Required properties:4- clocks: Must contain an entry for the CPU clock.5See ../clocks/clock-bindings.txt for details.6- operating-points-v2: See ../bindings/opp/opp-v2.yaml for details.7- #cooling-cells: Should be 2. See ../thermal/thermal-cooling-devices.yaml for details.89For each opp entry in 'operating-points-v2' table:10- opp-supported-hw: Two bitfields indicating:11On Tegra20:121. CPU process ID mask132. SoC speedo ID mask1415On Tegra30:161. CPU process ID mask172. CPU speedo ID mask1819A bitwise AND is performed against these values and if any bit20matches, the OPP gets enabled.2122- opp-microvolt: CPU voltage triplet.2324Optional properties:25- cpu-supply: Phandle to the CPU power supply.2627Example:28regulators {29cpu_reg: regulator0 {30regulator-name = "vdd_cpu";31};32};3334cpu0_opp_table: opp_table0 {35compatible = "operating-points-v2";3637opp@456000000 {38clock-latency-ns = <125000>;39opp-microvolt = <825000 825000 1125000>;40opp-supported-hw = <0x03 0x0001>;41opp-hz = /bits/ 64 <456000000>;42};4344...45};4647cpus {48cpu@0 {49compatible = "arm,cortex-a9";50clocks = <&tegra_car TEGRA20_CLK_CCLK>;51operating-points-v2 = <&cpu0_opp_table>;52cpu-supply = <&cpu_reg>;53#cooling-cells = <2>;54};55};565758