arm64: dts: rockchip: describe Gru/Kevin OPPs + CPU regulators
authorBrian Norris <briannorris@chromium.org>
Mon, 20 Mar 2017 23:53:43 +0000 (16:53 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 22 Mar 2017 10:54:47 +0000 (11:54 +0100)
commitacaa71a6c746df80b33ace88689b336de96e833e
tree9a4fb4d8c5c9c4a5ba6a9c3ddf875309381b0350
parent48f4d9796d990850f6339b61eeeac9ca7fdb3695
arm64: dts: rockchip: describe Gru/Kevin OPPs + CPU regulators

Used for Gru/Kevin only, as they're the only ones which have a described
CPU regulator. Also, I'm not sure we've validated this table non-Gru
boards.

At the same time, partially describe PWM regulators for Gru, so cpufreq
doesn't think it can crank up the clock speed without changing the
voltage. However, we don't yet have the DT bindings to fully describe
the Over Voltage Protection (OVP) circuits on these boards. Without that
description, we might end up changing the voltage too much, too fast.

Add the pwm-regulator descriptions and associate the CPU OPPs, but leave
them disabled.

Signed-off-by: Brian Norris <briannorris@chromium.org>
[shared gru/kevin parts on a gru device]
Tested-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
[with a bit of reordering]
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi
arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi [new file with mode: 0644]