All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
To: Yingjoe Chen <yingjoe.chen@mediatek.com>
Cc: sean.wang@kernel.org, linus.walleij@linaro.org,
	matthias.bgg@gmail.com, robh+dt@kernel.org,
	linux-kernel@vger.kernel.org, amit.kucheria@linaro.org,
	linux-gpio@vger.kernel.org, linux-mediatek@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v3 1/4] dt-bindings: pinctrl: Add devicetree bindings for MT6797 SoC Pinctrl
Date: Thu, 8 Nov 2018 09:35:54 +0530	[thread overview]
Message-ID: <20181108040551.GB3046@Mani-XPS-13-9360> (raw)
In-Reply-To: <1541643072.23791.3.camel@mtksdaap41>

On Thu, Nov 08, 2018 at 10:11:12AM +0800, Yingjoe Chen wrote:
> On Wed, 2018-11-07 at 23:18 +0530, Manivannan Sadhasivam wrote:
> > Add devicetree bindings for Mediatek MT6797 SoC Pin Controller.
> > 
> > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> > ---
> >  .../bindings/pinctrl/pinctrl-mt6797.txt       |   83 +
> >  include/dt-bindings/pinctrl/mt6797-pinfunc.h  | 1368 +++++++++++++++++
> >  2 files changed, 1451 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-mt6797.txt
> >  create mode 100644 include/dt-bindings/pinctrl/mt6797-pinfunc.h
> > diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt6797.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt6797.txt
> > new file mode 100644
> > index 000000000000..bd83401e6179
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt6797.txt
> 
> Sorry if this is discussed.
> 
> What's the difference between this and
> Documentation/devicetree/bindings/pinctrl/pinctrl-mt65xx.txt?
> Should this be added to pinctrl-mt65xx.txt?
>

Currently there are 3 different pinctrl core's available for MediaTek
SoCs:

1. Legacy core - pinctrl-mtk-common.c
2. Moore core - pinctrl-moore.c pinctrl-mtk-common-v2.c
3. Paris core - pinctrl-paris.c pinctrl-mtk-common-v2.c

AFAIU pinctrl-mt65xx binding documents the SoC's based on MediaTek's legacy
pinctrl-mtk-common.c core. Whereas MT6797 is based on the MediaTek's Paris
core. There isn't any binding doc available for the Paris core SoC's yet.
That's why I have created a new bindings doc and expecting the remaining SoC's
of Paris family to be included in new pinctrl-mt6797.txt.

Hope this makes clear!

Thanks,
Mani

> Joe.C
> 
> 

WARNING: multiple messages have this Message-ID (diff)
From: manivannan.sadhasivam@linaro.org (Manivannan Sadhasivam)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 1/4] dt-bindings: pinctrl: Add devicetree bindings for MT6797 SoC Pinctrl
Date: Thu, 8 Nov 2018 09:35:54 +0530	[thread overview]
Message-ID: <20181108040551.GB3046@Mani-XPS-13-9360> (raw)
In-Reply-To: <1541643072.23791.3.camel@mtksdaap41>

On Thu, Nov 08, 2018 at 10:11:12AM +0800, Yingjoe Chen wrote:
> On Wed, 2018-11-07 at 23:18 +0530, Manivannan Sadhasivam wrote:
> > Add devicetree bindings for Mediatek MT6797 SoC Pin Controller.
> > 
> > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> > ---
> >  .../bindings/pinctrl/pinctrl-mt6797.txt       |   83 +
> >  include/dt-bindings/pinctrl/mt6797-pinfunc.h  | 1368 +++++++++++++++++
> >  2 files changed, 1451 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-mt6797.txt
> >  create mode 100644 include/dt-bindings/pinctrl/mt6797-pinfunc.h
> > diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt6797.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt6797.txt
> > new file mode 100644
> > index 000000000000..bd83401e6179
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt6797.txt
> 
> Sorry if this is discussed.
> 
> What's the difference between this and
> Documentation/devicetree/bindings/pinctrl/pinctrl-mt65xx.txt?
> Should this be added to pinctrl-mt65xx.txt?
>

Currently there are 3 different pinctrl core's available for MediaTek
SoCs:

1. Legacy core - pinctrl-mtk-common.c
2. Moore core - pinctrl-moore.c pinctrl-mtk-common-v2.c
3. Paris core - pinctrl-paris.c pinctrl-mtk-common-v2.c

AFAIU pinctrl-mt65xx binding documents the SoC's based on MediaTek's legacy
pinctrl-mtk-common.c core. Whereas MT6797 is based on the MediaTek's Paris
core. There isn't any binding doc available for the Paris core SoC's yet.
That's why I have created a new bindings doc and expecting the remaining SoC's
of Paris family to be included in new pinctrl-mt6797.txt.

Hope this makes clear!

Thanks,
Mani

> Joe.C
> 
> 

  reply	other threads:[~2018-11-08  4:05 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-07 17:48 [PATCH v3 0/4] Add initial pinctrl support for MT6797 SoC Manivannan Sadhasivam
2018-11-07 17:48 ` Manivannan Sadhasivam
2018-11-07 17:48 ` [PATCH v3 1/4] dt-bindings: pinctrl: Add devicetree bindings for MT6797 SoC Pinctrl Manivannan Sadhasivam
2018-11-07 17:48   ` Manivannan Sadhasivam
2018-11-08  2:11   ` Yingjoe Chen
2018-11-08  2:11     ` Yingjoe Chen
2018-11-08  2:11     ` Yingjoe Chen
2018-11-08  4:05     ` Manivannan Sadhasivam [this message]
2018-11-08  4:05       ` Manivannan Sadhasivam
2018-11-15 10:04   ` Linus Walleij
2018-11-15 10:04     ` Linus Walleij
2018-11-15 10:04     ` Linus Walleij
2018-12-03  1:08     ` Matthias Brugger
2018-12-03  1:08       ` Matthias Brugger
2018-12-03  1:08       ` Matthias Brugger
2018-12-05 12:00       ` Linus Walleij
2018-12-05 12:00         ` Linus Walleij
2018-12-05 12:00         ` Linus Walleij
2018-12-07 18:41         ` Olof Johansson
2018-12-07 18:41           ` Olof Johansson
2018-12-07 18:41           ` Olof Johansson
2018-12-07 21:42           ` Sean Wang
2018-12-07 21:42             ` Sean Wang
2018-12-11 15:41             ` Olof Johansson
2018-12-11 15:41               ` Olof Johansson
2018-11-07 17:48 ` [PATCH v3 2/4] arm64: dts: mediatek: mt6797: Add pinctrl support Manivannan Sadhasivam
2018-11-07 17:48   ` Manivannan Sadhasivam
2018-11-15 10:06   ` Linus Walleij
2018-11-15 10:06     ` Linus Walleij
2018-11-15 10:06     ` Linus Walleij
2018-11-29 11:49   ` Matthias Brugger
2018-11-07 17:48 ` [PATCH v3 3/4] arm64: dts: mediatek: x20: Add pinmux support for UART1 Manivannan Sadhasivam
2018-11-07 17:48   ` Manivannan Sadhasivam
2018-11-15 10:07   ` Linus Walleij
2018-11-15 10:07     ` Linus Walleij
2018-11-15 10:07     ` Linus Walleij
2018-11-29 11:49   ` Matthias Brugger
2018-11-07 17:48 ` [PATCH v3 4/4] pinctrl: mediatek: Add initial pinctrl driver for MT6797 SoC Manivannan Sadhasivam
2018-11-07 17:48   ` Manivannan Sadhasivam
2018-11-15 10:06   ` Linus Walleij
2018-11-15 10:06     ` Linus Walleij
2018-11-15 10:06     ` Linus Walleij

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=20181108040551.GB3046@Mani-XPS-13-9360 \
    --to=manivannan.sadhasivam@linaro.org \
    --cc=amit.kucheria@linaro.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=sean.wang@kernel.org \
    --cc=yingjoe.chen@mediatek.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.