Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1616872
| From | Quentin Schulz <quentin.schulz@free-electrons.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v4 5/8] ARM: sun8i: a33: add thermal sensor |
| Date | 2017-04-05 14:00 +0200 |
| Message-ID | <tsRLs-29M-11@gated-at.bofh.it> (permalink) |
| References | <tsPgB-IY-7@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 077db22..9734e63 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 v4 0/8] add thermal throttling to Allwinner A33 SoC Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-04-05 11:50 +0200
[PATCH v4 1/8] dt-bindings: mfd: add A33 GPADC binding Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-04-05 12:10 +0200
Re: [PATCH v4 1/8] dt-bindings: mfd: add A33 GPADC binding Lee Jones <lee.jones@linaro.org> - 2017-04-05 14:20 +0200
[PATCH v4 2/8] dt-bindings: input: touschcreen: remove sun4i documentation Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-04-05 12:40 +0200
Re: [PATCH v4 2/8] dt-bindings: input: touschcreen: remove sun4i documentation Lee Jones <lee.jones@linaro.org> - 2017-04-05 17:00 +0200
[PATCH v4 3/8] iio: adc: sun4i-gpadc-iio: move code used in MFD probing to new function Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-04-05 13:00 +0200
Re: [PATCH v4 3/8] iio: adc: sun4i-gpadc-iio: move code used in MFD probing to new function Jonathan Cameron <jic23@kernel.org> - 2017-04-08 19:30 +0200
[PATCH v4 4/8] iio: adc: sun4i-gpadc-iio: add support for A33 thermal sensor Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-04-05 13:20 +0200
Re: [PATCH v4 4/8] iio: adc: sun4i-gpadc-iio: add support for A33 thermal sensor Jonathan Cameron <jic23@kernel.org> - 2017-04-08 18:50 +0200
[PATCH v4 5/8] ARM: sun8i: a33: add thermal sensor Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-04-05 14:00 +0200
Re: [PATCH v4 5/8] ARM: sun8i: a33: add thermal sensor Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-04-05 14:20 +0200
Re: [PATCH v4 8/8] ARM: sun8i: sina33: add highest OPP of CPUs Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-04-05 14:30 +0200
Re: [PATCH v4 6/8] ARM: sun8i: a33: add CPU thermal throttling Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-04-05 15:50 +0200
[PATCH v4 6/8] ARM: sun8i: a33: add CPU thermal throttling Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-04-05 17:20 +0200
[PATCH v4 8/8] ARM: sun8i: sina33: add highest OPP of CPUs Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-04-05 17:40 +0200
csiph-web