Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1605888
| From | Quentin Schulz <quentin.schulz@free-electrons.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v3 08/11] ARM: dtsi: sun8i: a33: add thermal sensor |
| Date | 2017-03-21 19:40 +0100 |
| Message-ID | <tnwRk-779-31@gated-at.bofh.it> (permalink) |
| References | <tnu38-5ee-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
This adds the DT node for the thermal sensor present in the Allwinner
A33 GPADC.
Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
---
v3:
- switched compatible to allwinner,sun8i-a33-ths,
- renamed DT node name and label to ths to better match datasheet's name,
arch/arm/boot/dts/sun8i-a33.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm/boot/dts/sun8i-a33.dtsi
index b1cdff66..f391f71 100644
--- a/arch/arm/boot/dts/sun8i-a33.dtsi
+++ b/arch/arm/boot/dts/sun8i-a33.dtsi
@@ -266,6 +266,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>;
@@ -376,6 +383,11 @@
};
};
};
+
+ iio-hwmon {
+ compatible = "iio-hwmon";
+ io-channels = <&ths>;
+ };
};
&ccu {
--
2.9.3
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v3 00/11] add thermal throttling to Allwinner A33 SoC Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-21 18:20 +0100
[PATCH v3 09/11] ARM: dtsi: sun8i: a33: add CPU thermal throttling Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-21 18:40 +0100
[PATCH v3 10/11] ARM: sun8i: a33: Add devfreq-based GPU cooling Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-21 19:00 +0100
[PATCH v3 11/11] ARM: sun8i: sina33: add highest OPP of CPUs Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-21 19:10 +0100
[PATCH v3 08/11] ARM: dtsi: sun8i: a33: add thermal sensor Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-21 19:40 +0100
[PATCH v3 03/11] ARM: dts: sun8i: sina33: add cpu-supply Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-21 19:40 +0100
Re: [PATCH v3 03/11] ARM: dts: sun8i: sina33: add cpu-supply Chen-Yu Tsai <wens@csie.org> - 2017-03-22 05:00 +0100
Re: [PATCH v3 03/11] ARM: dts: sun8i: sina33: add cpu-supply Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-03-22 09:20 +0100
[PATCH v3 07/11] iio: adc: sun4i-gpadc-iio: add support for A33 thermal sensor Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-21 20:10 +0100
Re: [PATCH v3 07/11] iio: adc: sun4i-gpadc-iio: add support for A33 thermal sensor Jonathan Cameron <jic23@kernel.org> - 2017-03-25 19:00 +0100
[PATCH v3 06/11] iio: adc: sun4i-gpadc-iio: move code used in MFD probing to new function Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-21 20:40 +0100
csiph-web