From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: Icenowy Zheng <icenowy@aosc.xyz>
Cc: Ondrej Jirman <megous@megous.com>,
devicetree@vger.kernel.org, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org,
Eduardo Valentin <edubezval@gmail.com>,
Chen-Yu Tsai <wens@csie.org>, Rob Herring <robh+dt@kernel.org>,
Zhang Rui <rui.zhang@intel.com>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/3] thermal: add support for the thermal sensor on Allwinner new SoCs
Date: Wed, 1 Mar 2017 11:14:56 +0100 [thread overview]
Message-ID: <20170301101456.a745eghkjoz5zzk7@lukather> (raw)
In-Reply-To: <20170301054835.mUDm4hZv@smtp2m.mail.yandex.net>
[-- Attachment #1.1: Type: text/plain, Size: 1331 bytes --]
On Tue, Feb 28, 2017 at 03:18:13PM +0800, Icenowy Zheng wrote:
>
> 2017年2月28日 14:44于 Maxime Ripard <maxime.ripard@free-electrons.com>写道:
> >
> > On Tue, Feb 28, 2017 at 03:40:53AM +0800, Icenowy Zheng wrote:
> > > From: Ondrej Jirman <megous@megous.com>
> > >
> > > Allwinner SoCs from H3 (including H5, A64, etc) have a new version of
> > > thermal sensor, and needs a new driver for it.
> > >
> > > Add such a driver.
> > >
> > > Currently only H3 is supported, but other SoCs are easily to be
> > > supported by adding new formula and set the sensor number.
> > >
> > > Signed-off-by: Ondřej Jirman <megous@megous.com>
> > > [Icenowy: extend to support further multiple-sensor SoCs, change commit
> > > message]
> > > Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
> >
> > There's no need to create a new driver for that. This can be handled
> > by the GPADC driver we already have.
>
> sun8i-ths is not GPADC at all.
>
> The latest SoC I know that use GPADC as thermal sensor is A33.
It's not called the same way, but it definitely is an evolution of the
same controller. There's no need for a new driver, only reworking what
is already there.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2017-03-01 10:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-28 7:18 [PATCH 2/3] thermal: add support for the thermal sensor on Allwinner new SoCs Icenowy Zheng
2017-03-01 10:14 ` Maxime Ripard [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-03-01 16:02 Icenowy Zheng
2017-03-02 14:11 ` Maxime Ripard
2017-03-09 0:36 ` Icenowy Zheng
2017-03-09 14:27 ` Maxime Ripard
2017-03-09 15:31 ` Icenowy Zheng
2017-03-01 10:20 Icenowy Zheng
2017-03-01 15:56 ` Maxime Ripard
2017-02-27 19:40 [PATCH 1/3] dt-bindings: document the thermal sensor of Allwinner H3 SoC Icenowy Zheng
2017-02-27 19:40 ` [PATCH 2/3] thermal: add support for the thermal sensor on Allwinner new SoCs Icenowy Zheng
[not found] ` <20170227194054.51951-2-icenowy-ymACFijhrKM@public.gmane.org>
2017-02-28 6:44 ` Maxime Ripard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170301101456.a745eghkjoz5zzk7@lukather \
--to=maxime.ripard@free-electrons.com \
--cc=devicetree@vger.kernel.org \
--cc=edubezval@gmail.com \
--cc=icenowy@aosc.xyz \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=megous@megous.com \
--cc=robh+dt@kernel.org \
--cc=rui.zhang@intel.com \
--cc=wens@csie.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox