From: zhiyong.tao@mediatek.com (Zhiyong Tao)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] arm64: dts: mt2712: add pintcrl device node.
Date: Fri, 22 Sep 2017 09:31:34 +0800 [thread overview]
Message-ID: <1506043894.22452.19.camel@mhfsdcap03> (raw)
In-Reply-To: <CACRpkdaX0n7BZVkXYFEh_XSN3P7huvhE6j5My=p=2Lh45oFZaQ@mail.gmail.com>
On Thu, 2017-09-21 at 14:17 +0200, Linus Walleij wrote:
> On Thu, Sep 21, 2017 at 10:13 AM, Zhiyong Tao <zhiyong.tao@mediatek.com> wrote:
> > On Tue, 2017-08-22 at 15:04 +0200, Linus Walleij wrote:
> >> On Mon, Aug 14, 2017 at 5:23 PM, Matthias Brugger
> >> <matthias.bgg@gmail.com> wrote:
> >> > On 07/31/2017 10:22 AM, Zhiyong Tao wrote:
> >> >>
> >> >> The commit includes two change:
> >> >> 1)add pintcrl device node for mt2712.
> >> >> 2)add pinfunc file for mt2712.
> >> >>
> >> >> Signed-off-by: Zhiyong Tao <zhiyong.tao@mediatek.com>
> >> >> ---
> >> >> arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h | 1014
> >> >> +++++++++++++++++++++++++
> >> >
> >> >
> >> > Shouldn't this file be in include/dt-bindings/pinctrl?
> >>
> >> Only if it is also #included in the driver.
> >>
> >> Yours,
> >> Linus Walleij
> >
> > ==>
> > Thanks for your comment.
> > We see our some ICs(mt7623) which move the file to
> > "include/dt-bindings/pinctrl". other ICs(mt2701) which is put in
> > "arch/arm64/boot/dts/mediatek".
> > In mt2712, mt2712-pinfunc.h is only include by dts file. It won't be
> > included by driver. So which is better? "arch/arm64/boot/dts/mediatek/"
> > or "include/dt-bindings/pinctrl".
>
> If it is used in both arm and arm64 it is helpful to have it in
> include/dt-bindings so it can be shared between the two
> archs.
>
> If it is just (ever) for arm64 it can stay inside the arch tree.
>
> Yours,
> Linus Walleij
==> Thanks for your comment. mt2712-pinfunc.h is only used in arm64. so
it can stay inside the arch tree.
next prev parent reply other threads:[~2017-09-22 1:31 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-31 8:22 [PATCH 0/3] PINCTRL: Mediatek pinctrl driver for mt2712 Zhiyong Tao
2017-07-31 8:22 ` [PATCH 1/3] dt-bindings: pinctrl: mt2712: add binding document Zhiyong Tao
2017-08-03 23:40 ` Rob Herring
2017-08-07 12:07 ` Linus Walleij
2017-07-31 8:22 ` [PATCH 2/3] arm64: dts: mt2712: add pintcrl device node Zhiyong Tao
2017-08-07 12:09 ` Linus Walleij
2017-08-14 15:23 ` Matthias Brugger
2017-08-22 13:04 ` Linus Walleij
2017-09-21 8:13 ` Zhiyong Tao
2017-09-21 12:17 ` Linus Walleij
2017-09-22 1:31 ` Zhiyong Tao [this message]
2017-07-31 8:22 ` [PATCH 3/3] pinctrl: add mt2712 pinctrl driver Zhiyong Tao
2017-08-01 9:14 ` Yingjoe Chen
2017-08-02 6:03 ` Zhiyong Tao
2017-08-03 2:00 ` Yingjoe Chen
2017-09-21 8:49 ` Zhiyong Tao
2017-08-01 8:44 ` [PATCH 0/3] PINCTRL: Mediatek pinctrl driver for mt2712 Yingjoe Chen
2017-08-02 2:58 ` Zhiyong Tao
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=1506043894.22452.19.camel@mhfsdcap03 \
--to=zhiyong.tao@mediatek.com \
--cc=linux-arm-kernel@lists.infradead.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