Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a424f635 authored by Quentin Schulz's avatar Quentin Schulz Committed by Maxime Ripard
Browse files

ARM: sun8i: a33: add thermal sensor



This adds the DT node for the thermal sensor present in the Allwinner
A33 GPADC.

Signed-off-by: default avatarQuentin Schulz <quentin.schulz@free-electrons.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent cb44b46d
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -154,6 +154,11 @@
		status = "disabled";
	};

	iio-hwmon {
		compatible = "iio-hwmon";
		io-channels = <&ths>;
	};

	mali_opp_table: gpu-opp-table {
		compatible = "operating-points-v2";

@@ -266,6 +271,13 @@
			status = "disabled";
		};

		ths: ths@01c25000 {
			compatible = "allwinner,sun8i-a33-ths";
			reg = <0x01c25000 0x100>;
			#thermal-sensor-cells = <0>;
			#io-channel-cells = <0>;
		};

		fe0: display-frontend@01e00000 {
			compatible = "allwinner,sun8i-a33-display-frontend";
			reg = <0x01e00000 0x20000>;