ARM: sunxi: Register cpufreq-dt for sun[45678]i

On sun[45678]i, we have one cluster of identical cores sharing a
clock, which is ideal for using cpufreq-dt. Register a platform
device for cpufreq-dt.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
clk: sunxi: Propagate rate changes to parent for mux clocks

The cpu clock on sunxi machines is just a mux clock, which is normally
fed by the main PLL, but can be muxed to the main or low power oscillator.

Make the mux clock propagate rate changes to its parent, so we can
change the clock rate of the PLL, and thus actually implement rate
changing on the cpu clock.

This patch also removes the no reparenting limit.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Input: sun4i-ts: Add thermal zone sensor support

The touchscreen controller has a temperature sensor embedded in the SoC,
which already has hwmon support in the driver.

Add DT thermal zone support so we can use it with cpufreq for thermal
throttling.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
ARM: dts: sun7i: Add cpu clocks and operating points to dtsi
ARM: dts: sun7i: Add cpu thermal zones to dtsi

The core temperature sensor now supports thermal zones. Add a thermal
zone mapping for the cpus with passive cooling (cpufreq throttling).

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
ARM: dts: sun7i: cubieboard2: add axp209 regulator supplies

This patch adds the regulator nodes for the axp209. As the
inputs of these regulators are from the axp209's PS output,
which is basically just a mux over the 2 inputs, it is
considered to be unregulated. Thus we do not provide input
supply properties for them.

DCDC2 is used as the cpu power supply. This patch also
references it from the cpu node, and adds constraints to it.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
ARM: dts: sun5i: Add cpu clocks and operating points to dtsi

The cpu core is clocked from the "cpu" clock. The operating points
were taken from the A13 FEX files in the sunxi-boards repository.
All FEX files have the same settings.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
ARM: dts: sun5i: Add cpu thermal zones to dtsi

The core temperature sensor now supports thermal zones. Add a thermal
zone mapping for the cpus with passive cooling (cpufreq throttling).

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
ARM: dts: sun5i: hsg-h702: add axp209 regulator supplies

This patch adds the regulator nodes for the axp209. As the
inputs of these regulators are from the axp209's PS output,
which is basically just a mux over the 2 inputs, it is
considered to be unregulated. Thus we do not provide input
supply properties for them.

DCDC2 is used as the cpu power supply. This patch also
references it from the cpu node, and adds constraints to it.

DCDC2 powers the USB WiFi module. This patch also references
it from the usb-phy node, and adds constraints to it.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>