public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: icenowy@aosc•xyz (Icenowy Zheng)
To: linux-arm-kernel@lists•infradead.org
Subject: [RFC PATCH 3/5] thermal: Add support for the thermal sensor on A23/33
Date: Tue, 28 Jun 2016 21:56:22 +0800	[thread overview]
Message-ID: <60021467122182@web19j.yandex.ru> (raw)
In-Reply-To: <20160628114640.GE5550@lukather>



28.06.2016, 19:46, "Maxime Ripard" <maxime.ripard@free-electrons•com>:
> Hi,
>
> Thanks for working on this.
>
> On Tue, Jun 28, 2016 at 06:13:23PM +0800, Icenowy Zheng wrote:
>> ?This patch adds support for the sun8iw3 thermal sensor on
>> ?Allwinner A23/33 SoCs.
>>
>> ?Signed-off-by: Icenowy Zheng <icenowy@aosc•xyz>
>
> The IP is awfully similar to the A31's, which already has a driver
> (drivers/input/touchscreen/sun4i-ts.c).
>
> There's no reason to add a new one here.
>
> Thanks,
> Maxime
>
> --
> Maxime Ripard, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com

The reason for a dedicate driver is:
1. This IP have only thermal function, so it's not suitable to use a driver at drivers/input/touchscreen/.
2. Control Register are quite different.
3. This IP uses AUDIO PLL (PLL2) as its clock!

  reply	other threads:[~2016-06-28 13:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-28 10:13 [RFC PATCH 1/5] clk: sunxi: Add a driver for the PLL2 on A31/23/33 Icenowy Zheng
2016-06-28 10:13 ` [RFC PATCH 2/5] dt: bindings: add bindings for allwinner a23/33 ths Icenowy Zheng
2016-06-28 10:13 ` [RFC PATCH 3/5] thermal: Add support for the thermal sensor on A23/33 Icenowy Zheng
2016-06-28 11:46   ` Maxime Ripard
2016-06-28 13:56     ` Icenowy Zheng [this message]
2016-06-29 12:10       ` Maxime Ripard
2016-06-29 13:31         ` Icenowy Zheng
2016-06-29 13:42           ` Maxime Ripard
2016-06-29 13:52             ` Icenowy Zheng
2016-06-29 13:33         ` Icenowy Zheng
2016-06-29 13:42         ` Icenowy Zheng
2016-06-28 14:03     ` Icenowy Zheng
2016-06-28 10:13 ` [RFC PATCH 4/5] ARM: sun8i: enable PLL2 on a23/33 Icenowy Zheng
2016-06-28 10:13 ` [RFC PATCH 5/5] ARM: sun8i: enable ths node for A23/33 Icenowy Zheng
2016-07-05  6:12 ` [RFC PATCH 1/5] clk: sunxi: Add a driver for the PLL2 on A31/23/33 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=60021467122182@web19j.yandex.ru \
    --to=icenowy@aosc$(echo .)xyz \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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