Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1732326 > unrolled thread
| Started by | Icenowy Zheng <icenowy@aosc.io> |
|---|---|
| First post | 2017-09-14 17:00 +0200 |
| Last post | 2017-09-24 16:30 +0200 |
| Articles | 5 — 4 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v4 6/6] ARM: sun8i: h3: add partial CPU thermal zone Icenowy Zheng <icenowy@aosc.io> - 2017-09-14 17:00 +0200
Re: [PATCH v4 6/6] ARM: sun8i: h3: add partial CPU thermal zone Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-09-16 12:10 +0200
Re: [PATCH v4 6/6] ARM: sun8i: h3: add partial CPU thermal zone Jonathan Cameron <jic23@kernel.org> - 2017-09-17 00:20 +0200
Re: [PATCH v4 6/6] ARM: sun8i: h3: add partial CPU thermal zone Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-09-18 10:30 +0200
Re: [PATCH v4 6/6] ARM: sun8i: h3: add partial CPU thermal zone Jonathan Cameron <jic23@kernel.org> - 2017-09-24 16:30 +0200
| From | Icenowy Zheng <icenowy@aosc.io> |
|---|---|
| Date | 2017-09-14 17:00 +0200 |
| Subject | [PATCH v4 6/6] ARM: sun8i: h3: add partial CPU thermal zone |
| Message-ID | <upDMt-6ln-1@gated-at.bofh.it> |
Because of the restriction of the OF thermal framework, the thermal
sensor will fail to probe if the thermal zone doesn't exist.
Add a partial thermal zone which claims the H3 THS as the thermal sensor.
The cooling device (CPU DVFS) is still not added as it's not ready, and
the trip points are also not added yet.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
---
arch/arm/boot/dts/sun8i-h3.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
index 3220da3ad790..687c6457d214 100644
--- a/arch/arm/boot/dts/sun8i-h3.dtsi
+++ b/arch/arm/boot/dts/sun8i-h3.dtsi
@@ -89,6 +89,15 @@
};
};
+ thermal-zones {
+ cpu-thermal {
+ /* milliseconds */
+ polling-delay-passive = <250>;
+ polling-delay = <1000>;
+ thermal-sensors = <&ths>;
+ };
+ };
+
timer {
compatible = "arm,armv7-timer";
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
--
2.13.5
[toc] | [next] | [standalone]
| From | Quentin Schulz <quentin.schulz@free-electrons.com> |
|---|---|
| Date | 2017-09-16 12:10 +0200 |
| Message-ID | <uqicW-8uT-1@gated-at.bofh.it> |
| In reply to | #1732326 |
Hi Icenowy,
On 14/09/2017 16:52, Icenowy Zheng wrote:
> Because of the restriction of the OF thermal framework, the thermal
> sensor will fail to probe if the thermal zone doesn't exist.
>
Oh no, that's not good.
We discussed about it on IRC and I even proposed a patch for it, telling
you I would post it on the mailing list soon after. Of course, I forgot
and you definitely should have yelled at me for not doing it :)
I won't be able to test the patch soon. I can send it to you so that you
can test it and integrate it in your patch series so it won't block you.
Otherwise, we'll have to wait for a week or two for me to test it.
Thanks and sorry for forgetting to post the patch you need,
Quentin
> Add a partial thermal zone which claims the H3 THS as the thermal sensor.
>
> The cooling device (CPU DVFS) is still not added as it's not ready, and
> the trip points are also not added yet.
>
> Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
> ---
> arch/arm/boot/dts/sun8i-h3.dtsi | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
> index 3220da3ad790..687c6457d214 100644
> --- a/arch/arm/boot/dts/sun8i-h3.dtsi
> +++ b/arch/arm/boot/dts/sun8i-h3.dtsi
> @@ -89,6 +89,15 @@
> };
> };
>
> + thermal-zones {
> + cpu-thermal {
> + /* milliseconds */
> + polling-delay-passive = <250>;
> + polling-delay = <1000>;
> + thermal-sensors = <&ths>;
> + };
> + };
> +
> timer {
> compatible = "arm,armv7-timer";
> interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
>
--
Quentin Schulz, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
[toc] | [prev] | [next] | [standalone]
| From | Jonathan Cameron <jic23@kernel.org> |
|---|---|
| Date | 2017-09-17 00:20 +0200 |
| Message-ID | <uqtBo-7Ks-11@gated-at.bofh.it> |
| In reply to | #1733236 |
On Sat, 16 Sep 2017 12:05:49 +0200
Quentin Schulz <quentin.schulz@free-electrons.com> wrote:
> Hi Icenowy,
>
> On 14/09/2017 16:52, Icenowy Zheng wrote:
> > Because of the restriction of the OF thermal framework, the thermal
> > sensor will fail to probe if the thermal zone doesn't exist.
> >
>
> Oh no, that's not good.
>
> We discussed about it on IRC and I even proposed a patch for it, telling
> you I would post it on the mailing list soon after. Of course, I forgot
> and you definitely should have yelled at me for not doing it :)
>
> I won't be able to test the patch soon. I can send it to you so that you
> can test it and integrate it in your patch series so it won't block you.
> Otherwise, we'll have to wait for a week or two for me to test it.
>
> Thanks and sorry for forgetting to post the patch you need,
> Quentin
Other this outstanding issue I'm happy with the series, so hopefully
with Quentin's patch added we should be good to merge this one.
Jonathan
>
> > Add a partial thermal zone which claims the H3 THS as the thermal sensor.
> >
> > The cooling device (CPU DVFS) is still not added as it's not ready, and
> > the trip points are also not added yet.
> >
> > Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
> > ---
> > arch/arm/boot/dts/sun8i-h3.dtsi | 9 +++++++++
> > 1 file changed, 9 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
> > index 3220da3ad790..687c6457d214 100644
> > --- a/arch/arm/boot/dts/sun8i-h3.dtsi
> > +++ b/arch/arm/boot/dts/sun8i-h3.dtsi
> > @@ -89,6 +89,15 @@
> > };
> > };
> >
> > + thermal-zones {
> > + cpu-thermal {
> > + /* milliseconds */
> > + polling-delay-passive = <250>;
> > + polling-delay = <1000>;
> > + thermal-sensors = <&ths>;
> > + };
> > + };
> > +
> > timer {
> > compatible = "arm,armv7-timer";
> > interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
> >
>
[toc] | [prev] | [next] | [standalone]
| From | Maxime Ripard <maxime.ripard@free-electrons.com> |
|---|---|
| Date | 2017-09-18 10:30 +0200 |
| Message-ID | <uqZBf-3G0-7@gated-at.bofh.it> |
| In reply to | #1733354 |
[Multipart message — attachments visible in raw view] — view raw
Hi Jonathan, On Sat, Sep 16, 2017 at 03:17:34PM -0700, Jonathan Cameron wrote: > On Sat, 16 Sep 2017 12:05:49 +0200 > Quentin Schulz <quentin.schulz@free-electrons.com> wrote: > > > Hi Icenowy, > > > > On 14/09/2017 16:52, Icenowy Zheng wrote: > > > Because of the restriction of the OF thermal framework, the thermal > > > sensor will fail to probe if the thermal zone doesn't exist. > > > > > > > Oh no, that's not good. > > > > We discussed about it on IRC and I even proposed a patch for it, telling > > you I would post it on the mailing list soon after. Of course, I forgot > > and you definitely should have yelled at me for not doing it :) > > > > I won't be able to test the patch soon. I can send it to you so that you > > can test it and integrate it in your patch series so it won't block you. > > Otherwise, we'll have to wait for a week or two for me to test it. > > > > Thanks and sorry for forgetting to post the patch you need, > > Quentin > > Other this outstanding issue I'm happy with the series, so hopefully > with Quentin's patch added we should be good to merge this one. We will at least need a v5. Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
[toc] | [prev] | [next] | [standalone]
| From | Jonathan Cameron <jic23@kernel.org> |
|---|---|
| Date | 2017-09-24 16:30 +0200 |
| Message-ID | <utg4V-1lc-5@gated-at.bofh.it> |
| In reply to | #1733742 |
On Mon, 18 Sep 2017 10:27:03 +0200 Maxime Ripard <maxime.ripard@free-electrons.com> wrote: > Hi Jonathan, > > On Sat, Sep 16, 2017 at 03:17:34PM -0700, Jonathan Cameron wrote: > > On Sat, 16 Sep 2017 12:05:49 +0200 > > Quentin Schulz <quentin.schulz@free-electrons.com> wrote: > > > > > Hi Icenowy, > > > > > > On 14/09/2017 16:52, Icenowy Zheng wrote: > > > > Because of the restriction of the OF thermal framework, the thermal > > > > sensor will fail to probe if the thermal zone doesn't exist. > > > > > > > > > > Oh no, that's not good. > > > > > > We discussed about it on IRC and I even proposed a patch for it, telling > > > you I would post it on the mailing list soon after. Of course, I forgot > > > and you definitely should have yelled at me for not doing it :) > > > > > > I won't be able to test the patch soon. I can send it to you so that you > > > can test it and integrate it in your patch series so it won't block you. > > > Otherwise, we'll have to wait for a week or two for me to test it. > > > > > > Thanks and sorry for forgetting to post the patch you need, > > > Quentin > > > > Other this outstanding issue I'm happy with the series, so hopefully > > with Quentin's patch added we should be good to merge this one. > > We will at least need a v5. > > Maxime > Sure - I can see other issues are coming out of the woodwork! Thanks, Jonathan
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web