dt-bindings: cpufreq: Document allwinner,sun50i-h6-operating-points
authorYangtao Li <tiny.windzz@gmail.com>
Wed, 12 Jun 2019 16:28:16 +0000 (12:28 -0400)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 22 Jul 2019 05:40:57 +0000 (11:10 +0530)
commitb880c18336252df4866d07f850ea7872b6e83f0a
treefbd6a9683d84e542530c5e7ee6b66aa26ddded5f
parentf328584f7bff86858249bb358f1adcecde48388a
dt-bindings: cpufreq: Document allwinner,sun50i-h6-operating-points

Allwinner Process Voltage Scaling Tables defines the voltage and
frequency value based on the speedbin blown in the efuse combination.
The sunxi-cpufreq-nvmem driver reads the efuse value from the SoC to
provide the OPP framework with required information.
This is used to determine the voltage and frequency value for each
OPP of operating-points-v2 table when it is parsed by the OPP framework.

The "allwinner,sun50i-h6-operating-points" DT extends the
"operating-points-v2"
with following parameters:
- nvmem-cells (NVMEM area containig the speedbin information)
- opp-microvolt-<name>: voltage in micro Volts.
  At runtime, the platform can pick a <name> and matching
  opp-microvolt-<name> property.
                        HW:             <name>:
                        sun50i-h6      speed0 speed1 speed2

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Documentation/devicetree/bindings/opp/sun50i-nvmem-cpufreq.txt [new file with mode: 0644]