ARM: dts: sunxi: Enable thermal sensor support for RTP on sun[457]i

Now that the resistive touchpanel driver supports thermal sensors,
add the "#thermal-sensor-cells" property as required by the thermal
framework.

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

The cpu core is clocked from the "cpu" clock. Add a reference to it
in the first cpu node. Also add "cpu0" label to the node.

The operating points were taken from the A20 FEX files in the
sunxi-boards repository. Not all boards have the same settings. The
settings in this patch are the most generic ones.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
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 nodes

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.

The regulator names and constraints are based on the board
schematics and the SoC datasheet.

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: sun7i: cubietruck: add axp209 regulator nodes

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.

The regulator names and constraints are based on the board
schematics and the SoC datasheet.

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 clock reference and operating points to dtsi

The cpu core is clocked from the "cpu" clock. Add a reference to it
in the first cpu node. Also add "cpu0" label to the node.

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 nodes

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.

The regulator names and constraints are based on the reference
design schematics and the SoC datasheet, with testing to confirm.

DCDC2 is used as the cpu power supply. This patch also references
it from the cpu node.

LDO3 powers the USB WiFi module. This patch also references
it from the usb-phy node.

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

The cpu core is clocked from the "cpu" clock. Add a reference to it
in the first cpu node. Also add "cpu0" label to the node.

The operating points were taken from the A10 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: sun4i: 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: sun4i: cubieboard: add axp209 regulator nodes

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.

The regulator names and constraints are based on the board
schematics and the SoC datasheet.

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: sunxi_defconfig: Enable TOUCHSCREEN_SUN4I, CPUFREQ_DT, CPU_THERMAL

This patch enables TOUCHSCREEN_SUN4I, CPUFREQ_DT, and CPU_THERMAL to
enable cpufreq support by default.

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