The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/cpufreq/nvidia,tegra20-cpufreq.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 Binding for NVIDIA Tegra20 CPUFreq
    2 ==================================
    3 
    4 Required properties:
    5 - clocks: Must contain an entry for the CPU clock.
    6   See ../clocks/clock-bindings.txt for details.
    7 - operating-points-v2: See ../bindings/opp/opp-v2.yaml for details.
    8 - #cooling-cells: Should be 2. See ../thermal/thermal-cooling-devices.yaml for details.
    9 
   10 For each opp entry in 'operating-points-v2' table:
   11 - opp-supported-hw: Two bitfields indicating:
   12         On Tegra20:
   13         1. CPU process ID mask
   14         2. SoC speedo ID mask
   15 
   16         On Tegra30:
   17         1. CPU process ID mask
   18         2. CPU speedo ID mask
   19 
   20         A bitwise AND is performed against these values and if any bit
   21         matches, the OPP gets enabled.
   22 
   23 - opp-microvolt: CPU voltage triplet.
   24 
   25 Optional properties:
   26 - cpu-supply: Phandle to the CPU power supply.
   27 
   28 Example:
   29         regulators {
   30                 cpu_reg: regulator0 {
   31                         regulator-name = "vdd_cpu";
   32                 };
   33         };
   34 
   35         cpu0_opp_table: opp_table0 {
   36                 compatible = "operating-points-v2";
   37 
   38                 opp@456000000 {
   39                         clock-latency-ns = <125000>;
   40                         opp-microvolt = <825000 825000 1125000>;
   41                         opp-supported-hw = <0x03 0x0001>;
   42                         opp-hz = /bits/ 64 <456000000>;
   43                 };
   44 
   45                 ...
   46         };
   47 
   48         cpus {
   49                 cpu@0 {
   50                         compatible = "arm,cortex-a9";
   51                         clocks = <&tegra_car TEGRA20_CLK_CCLK>;
   52                         operating-points-v2 = <&cpu0_opp_table>;
   53                         cpu-supply = <&cpu_reg>;
   54                         #cooling-cells = <2>;
   55                 };
   56         };

Cache object: ad967446321fdf39c681d188195ee63e


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.