From: Sascha Hauer <s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
To: Matthias Brugger <matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Daniel Kurtz <djkurtz-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>,
linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH] dt-bindings: MediaTek: Add binding document for the AUXADC
Date: Mon, 7 Mar 2016 07:52:33 +0100 [thread overview]
Message-ID: <20160307065233.GA21851@pengutronix.de> (raw)
In-Reply-To: <56CDF7AB.7050201-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
On Wed, Feb 24, 2016 at 07:34:19PM +0100, Matthias Brugger wrote:
>
>
> On 24/02/16 16:12, Sascha Hauer wrote:
> >Hi Matthias,
> >
> >On Wed, Feb 24, 2016 at 03:36:46PM +0100, Matthias Brugger wrote:
> >>
> >>
> >>On 23/02/16 21:32, Rob Herring wrote:
> >>>On Fri, Feb 19, 2016 at 08:18:46AM +0100, Sascha Hauer wrote:
> >>>>Signed-off-by: Sascha Hauer <s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> >>>>---
> >>>>
> >>>>This is a supplement to the MTK Thermal series which was lacking the
> >>>>description for the AUXADC.
> >>>
> >>>So it will be applied with that I presume.
> >>>
> >>>Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
> >>>
> >>
> >>Well the basic problem that I see is, that the auxadc has some more
> >>registers (at least in mt6589) for the touch screen registers.
> >>So this makes it a candidate for syscon and regmap.
> >>But this needs a patch in the thermal driver first...
> >
> >When we want to have a driver for the auxadc we are free to write one.
> >No need to use syscon and/or regmap for it.
> >
> >Note that the auxadc is not used by the thermal *driver*, it's used by
> >the thermal *hardware*. It's the hardware that directly reads/writes
> >auxadc registers. If MTK did it right then a real auxadc driver should
> >not be disturbed by the thermal controller accesses. At least from
>
> Right, didn't realize this.
>
> >checking the datasheet the registers the thermal controller accesses
> >are completely orthogonal to the ones a auxadc driver would use.
> >
>
> As you already explained, syscon/regmap is not needed here. Just for
> completion: we already had completely orthogonal registers for the reset
> controller, and we decided to use regmap there as well.
> We should stay consistent on this.
Matthias, is this some kind of action topic for me? We can use regmap
for the AUXADC driver if we want to, I have no problem with that.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-03-07 6:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-19 7:18 [PATCH] dt-bindings: MediaTek: Add binding document for the AUXADC Sascha Hauer
[not found] ` <1455866326-15095-1-git-send-email-s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2016-02-23 20:32 ` Rob Herring
2016-02-24 14:36 ` Matthias Brugger
[not found] ` <56CDBFFE.9050406-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-02-24 15:12 ` Sascha Hauer
[not found] ` <20160224151204.GP3939-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2016-02-24 18:34 ` Matthias Brugger
[not found] ` <56CDF7AB.7050201-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-03-07 6:52 ` Sascha Hauer [this message]
[not found] ` <20160307065233.GA21851-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2016-03-15 3:45 ` Eddie Huang
2016-03-17 15:39 ` Matthias Brugger
[not found] ` <56EACFC0.5000300-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-04-20 11:24 ` Matthias Brugger
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=20160307065233.GA21851@pengutronix.de \
--to=s.hauer-bicnvbalz9megne8c9+irq@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=djkurtz-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
--cc=linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.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;
as well as URLs for NNTP newsgroup(s).