All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jacky Bai <ping.bai@nxp.com>
To: Shawn Guo <shawnguo@kernel.org>,
	Linus Walleij <linus.walleij@linaro.org>
Cc: Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@codeaurora.org>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Sascha Hauer <kernel@pengutronix.de>,
	Fabio Estevam <fabio.estevam@nxp.com>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	linux-clk <linux-clk@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"jacky.baip@gmail.com" <jacky.baip@gmail.com>,
	Anson Huang <anson.huang@nxp.com>
Subject: RE: [PATCH v2 05/12] Document: dt: binding: imx: update pinctrl doc for imx6sll
Date: Mon, 23 Jan 2017 07:17:30 +0000	[thread overview]
Message-ID: <AM3PR04MB530E214A598B06ECFFE551487720@AM3PR04MB530.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <20170123060454.GD5662@dragon>

> From: Shawn Guo [mailto:shawnguo@kernel.org]
> > >>
> > >> > Another thing is that we can use a pins-tool program developed by
> > >> > NXP to  generate the pinctrl configuration code that can be used
> > >> > directly in dts. This tiny program can avoid pin function
> > >> > conflict. As on i.MX, there are so may pins, each pin can be used for up 8
> function.
> > >> > Configuring the pins is a time-consuming work.  This tools is
> > >> > very useful for
> > >> customer to generate the dts code.
> > >>
> > >> I understand, but every silicon vendor has such a tool, all are
> > >> different, proprietary and unfriendly to programmers and open
> > >> source developers, who need to understand how the hardware is
> > >> working without magic tools and secret data sheets to fix bugs.
> > >>
> > >> For the people working with maintaining the code it is paramount
> > >> that DTS files are self-descriptive.
> > >
> > > OK.  Thanks for your comments.  Adding generic-pinconf in imx
> > > pinctrl needs some time to finish and the legacy method still need be here
> even if generic-pinconf is added.
> > > Do you plan to pick this legacy binding patch for now?
> >
> > As I said earlier:
> >
> > > atleast I need an indication from one of the i.MX maintainers how
> > > they want to proceed.
> 
> Sorry for being late for the discussion.
> 
> To be honest, I did not really expect so many i.MX6 variants coming to us.  Just
> out of curiosity, are there any more in the pipeline to come, or is this the last
> known one?
> 

AFAIK, this should be the last variant of i.MX6. But not the last one of i.MX family.

> I understand that there are now more generic support available at pinctrl core
> level for us to use than the time we initial designed i.MX pinctrl driver.  But I
> intend to agree with Jacky that imx6sll can be supported by the existing driver,
> since it doesn't require any additional driver changes.
> 
> If any new generation of i.MX family require changes on the existing pinctrl
> driver, we should probably push back for a redesign to use generic support as
> much as possible.  @Jacky, how does i.MX8 pinctrl look like?  How same or
> different as/from i.MX6 pinctrl?
> 

i.MX8 kernel support is in development stage. The code has not been finalized.
For now, i.MX8 shares most of the pinctrl code with i.MX6 and use the same pinconfig method.

> Just my opinion.
> 
> Shawn

WARNING: multiple messages have this Message-ID (diff)
From: Jacky Bai <ping.bai@nxp.com>
To: Shawn Guo <shawnguo@kernel.org>,
	Linus Walleij <linus.walleij@linaro.org>
Cc: Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@codeaurora.org>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Sascha Hauer <kernel@pengutronix.de>,
	Fabio Estevam <fabio.estevam@nxp.com>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	"Thomas Gleixner" <tglx@linutronix.de>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	linux-clk <linux-clk@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"jacky.baip@gmail.com" <jacky.baip@gmail.com>,
	Anson Huang <anson.huang@nxp.com>
Subject: RE: [PATCH v2 05/12] Document: dt: binding: imx: update pinctrl doc for imx6sll
Date: Mon, 23 Jan 2017 07:17:30 +0000	[thread overview]
Message-ID: <AM3PR04MB530E214A598B06ECFFE551487720@AM3PR04MB530.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <20170123060454.GD5662@dragon>

> From: Shawn Guo [mailto:shawnguo@kernel.org]
> > >>
> > >> > Another thing is that we can use a pins-tool program developed by
> > >> > NXP to  generate the pinctrl configuration code that can be used
> > >> > directly in dts. This tiny program can avoid pin function
> > >> > conflict. As on i.MX, there are so may pins, each pin can be used =
for up 8
> function.
> > >> > Configuring the pins is a time-consuming work.  This tools is
> > >> > very useful for
> > >> customer to generate the dts code.
> > >>
> > >> I understand, but every silicon vendor has such a tool, all are
> > >> different, proprietary and unfriendly to programmers and open
> > >> source developers, who need to understand how the hardware is
> > >> working without magic tools and secret data sheets to fix bugs.
> > >>
> > >> For the people working with maintaining the code it is paramount
> > >> that DTS files are self-descriptive.
> > >
> > > OK.  Thanks for your comments.  Adding generic-pinconf in imx
> > > pinctrl needs some time to finish and the legacy method still need be=
 here
> even if generic-pinconf is added.
> > > Do you plan to pick this legacy binding patch for now?
> >
> > As I said earlier:
> >
> > > atleast I need an indication from one of the i.MX maintainers how
> > > they want to proceed.
>=20
> Sorry for being late for the discussion.
>=20
> To be honest, I did not really expect so many i.MX6 variants coming to us=
.  Just
> out of curiosity, are there any more in the pipeline to come, or is this =
the last
> known one?
>=20

AFAIK, this should be the last variant of i.MX6. But not the last one of i.=
MX family.

> I understand that there are now more generic support available at pinctrl=
 core
> level for us to use than the time we initial designed i.MX pinctrl driver=
.  But I
> intend to agree with Jacky that imx6sll can be supported by the existing =
driver,
> since it doesn't require any additional driver changes.
>=20
> If any new generation of i.MX family require changes on the existing pinc=
trl
> driver, we should probably push back for a redesign to use generic suppor=
t as
> much as possible.  @Jacky, how does i.MX8 pinctrl look like?  How same or
> different as/from i.MX6 pinctrl?
>=20

i.MX8 kernel support is in development stage. The code has not been finaliz=
ed.
For now, i.MX8 shares most of the pinctrl code with i.MX6 and use the same =
pinconfig method.

> Just my opinion.
>=20
> Shawn

WARNING: multiple messages have this Message-ID (diff)
From: ping.bai@nxp.com (Jacky Bai)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 05/12] Document: dt: binding: imx: update pinctrl doc for imx6sll
Date: Mon, 23 Jan 2017 07:17:30 +0000	[thread overview]
Message-ID: <AM3PR04MB530E214A598B06ECFFE551487720@AM3PR04MB530.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <20170123060454.GD5662@dragon>

> From: Shawn Guo [mailto:shawnguo at kernel.org]
> > >>
> > >> > Another thing is that we can use a pins-tool program developed by
> > >> > NXP to  generate the pinctrl configuration code that can be used
> > >> > directly in dts. This tiny program can avoid pin function
> > >> > conflict. As on i.MX, there are so may pins, each pin can be used for up 8
> function.
> > >> > Configuring the pins is a time-consuming work.  This tools is
> > >> > very useful for
> > >> customer to generate the dts code.
> > >>
> > >> I understand, but every silicon vendor has such a tool, all are
> > >> different, proprietary and unfriendly to programmers and open
> > >> source developers, who need to understand how the hardware is
> > >> working without magic tools and secret data sheets to fix bugs.
> > >>
> > >> For the people working with maintaining the code it is paramount
> > >> that DTS files are self-descriptive.
> > >
> > > OK.  Thanks for your comments.  Adding generic-pinconf in imx
> > > pinctrl needs some time to finish and the legacy method still need be here
> even if generic-pinconf is added.
> > > Do you plan to pick this legacy binding patch for now?
> >
> > As I said earlier:
> >
> > > atleast I need an indication from one of the i.MX maintainers how
> > > they want to proceed.
> 
> Sorry for being late for the discussion.
> 
> To be honest, I did not really expect so many i.MX6 variants coming to us.  Just
> out of curiosity, are there any more in the pipeline to come, or is this the last
> known one?
> 

AFAIK, this should be the last variant of i.MX6. But not the last one of i.MX family.

> I understand that there are now more generic support available at pinctrl core
> level for us to use than the time we initial designed i.MX pinctrl driver.  But I
> intend to agree with Jacky that imx6sll can be supported by the existing driver,
> since it doesn't require any additional driver changes.
> 
> If any new generation of i.MX family require changes on the existing pinctrl
> driver, we should probably push back for a redesign to use generic support as
> much as possible.  @Jacky, how does i.MX8 pinctrl look like?  How same or
> different as/from i.MX6 pinctrl?
> 

i.MX8 kernel support is in development stage. The code has not been finalized.
For now, i.MX8 shares most of the pinctrl code with i.MX6 and use the same pinconfig method.

> Just my opinion.
> 
> Shawn

  reply	other threads:[~2017-01-23  7:17 UTC|newest]

Thread overview: 113+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-27  9:47 [PATCH v2 00/12] Add basic code support for imx6sll Bai Ping
2016-12-27  9:47 ` Bai Ping
2016-12-27  9:47 ` Bai Ping
2016-12-27  9:47 ` [PATCH v2 01/12] ARM: imx: Add basic msl " Bai Ping
2016-12-27  9:47   ` Bai Ping
2016-12-27  9:47   ` Bai Ping
2016-12-27  9:47 ` [PATCH v2 02/12] driver: clocksource: add gpt timer " Bai Ping
2016-12-27  9:47   ` Bai Ping
2016-12-27  9:47   ` Bai Ping
2017-01-09 10:30   ` Daniel Lezcano
2017-01-09 10:30     ` Daniel Lezcano
2017-01-09 10:30     ` Daniel Lezcano
2016-12-27  9:47 ` [PATCH v2 03/12] Document: dt: binding: imx: update clock doc " Bai Ping
2016-12-27  9:47   ` Bai Ping
2016-12-27  9:47   ` Bai Ping
2017-01-03 17:48   ` Rob Herring
2017-01-03 17:48     ` Rob Herring
2017-01-03 17:48     ` Rob Herring
2016-12-27  9:47 ` [PATCH v2 04/12] driver: clk: imx: Add clock driver " Bai Ping
2016-12-27  9:47   ` Bai Ping
2016-12-27  9:47   ` Bai Ping
     [not found]   ` <1482832070-22668-5-git-send-email-ping.bai-3arQi8VN3Tc@public.gmane.org>
2017-01-03 17:49     ` Rob Herring
2017-01-03 17:49       ` Rob Herring
2017-01-03 17:49       ` Rob Herring
2017-01-10  0:37     ` Stephen Boyd
2017-01-10  0:37       ` Stephen Boyd
2017-01-10  0:37       ` Stephen Boyd
     [not found]       ` <20170110003753.GM17126-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2017-01-10  3:18         ` Jacky Bai
2017-01-10  3:18           ` Jacky Bai
2017-01-10  3:18           ` Jacky Bai
2017-01-12 22:05           ` Stephen Boyd
2017-01-12 22:05             ` Stephen Boyd
2017-01-12 22:05             ` Stephen Boyd
2017-01-13  3:04             ` Jacky Bai
2017-01-13  3:04               ` Jacky Bai
2017-01-13  3:04               ` Jacky Bai
2017-01-21  1:00               ` Stephen Boyd
2017-01-21  1:00                 ` Stephen Boyd
2017-01-21  1:00                 ` Stephen Boyd
2017-01-22  2:14                 ` Jacky Bai
2017-01-22  2:14                   ` Jacky Bai
2017-01-22  2:14                   ` Jacky Bai
2016-12-27  9:47 ` [PATCH v2 05/12] Document: dt: binding: imx: update pinctrl doc " Bai Ping
2016-12-27  9:47   ` Bai Ping
2016-12-27  9:47   ` Bai Ping
2016-12-27 12:59   ` Linus Walleij
2016-12-27 12:59     ` Linus Walleij
2017-01-09  2:32     ` Jacky Bai
2017-01-09  2:32       ` Jacky Bai
2017-01-09  2:32       ` Jacky Bai
     [not found]       ` <AM3PR04MB5304992095753B761E66A9A87640-f56W/S9L6NRDGcFijYBXZgfhPeD8jYilXA4E9RH9d+qIuWR1G4zioA@public.gmane.org>
2017-01-11 14:33         ` Linus Walleij
2017-01-11 14:33           ` Linus Walleij
2017-01-11 14:33           ` Linus Walleij
2017-01-12  2:57           ` Jacky Bai
2017-01-12  2:57             ` Jacky Bai
2017-01-12  2:57             ` Jacky Bai
2017-01-13 15:22             ` Linus Walleij
2017-01-13 15:22               ` Linus Walleij
2017-01-17  6:35               ` Jacky Bai
2017-01-17  6:35                 ` Jacky Bai
2017-01-17  6:35                 ` Jacky Bai
2017-01-18 12:24                 ` Linus Walleij
2017-01-18 12:24                   ` Linus Walleij
2017-01-18 12:24                   ` Linus Walleij
2017-01-23  6:04                   ` Shawn Guo
2017-01-23  6:04                     ` Shawn Guo
2017-01-23  7:17                     ` Jacky Bai [this message]
2017-01-23  7:17                       ` Jacky Bai
2017-01-23  7:17                       ` Jacky Bai
2017-01-26 14:05                       ` Linus Walleij
2017-01-26 14:05                         ` Linus Walleij
2017-02-16  7:51     ` Dong Aisheng
2017-02-16  7:51       ` Dong Aisheng
2017-02-16  7:51       ` Dong Aisheng
2017-02-24  9:02       ` Dong Aisheng
2017-02-24  9:02         ` Dong Aisheng
2017-02-24  9:02         ` Dong Aisheng
2017-03-14 13:54       ` Linus Walleij
2017-03-14 13:54         ` Linus Walleij
2017-03-15 14:05         ` Dong Aisheng
2017-03-15 14:05           ` Dong Aisheng
2017-03-15 14:05           ` Dong Aisheng
2016-12-27  9:47 ` [PATCH v2 06/12] driver: pinctrl: imx: Add pinctrl driver support " Bai Ping
2016-12-27  9:47   ` Bai Ping
2016-12-27  9:47   ` Bai Ping
2016-12-27 13:01   ` Linus Walleij
2016-12-27 13:01     ` Linus Walleij
2016-12-27 13:01     ` Linus Walleij
2017-01-03  1:00     ` Jacky Bai
2017-01-03  1:00       ` Jacky Bai
2017-01-03  1:00       ` Jacky Bai
2016-12-27  9:47 ` [PATCH v2 07/12] ARM: dts: imx: Add basic dtsi " Bai Ping
2016-12-27  9:47   ` Bai Ping
2016-12-27  9:47 ` [PATCH v2 08/12] ARM: dts: imx: Add imx6sll EVK board dts support Bai Ping
2016-12-27  9:47   ` Bai Ping
2016-12-27  9:47   ` Bai Ping
2016-12-27  9:47 ` [PATCH v2 09/12] ARM: debug: Add low level debug support for imx6sll Bai Ping
2016-12-27  9:47   ` Bai Ping
2016-12-27  9:47   ` Bai Ping
2016-12-27  9:47 ` [PATCH v2 10/12] ARM: imx: Add suspend/resume " Bai Ping
2016-12-27  9:47   ` Bai Ping
2016-12-27  9:47   ` Bai Ping
2016-12-27  9:47 ` [PATCH v2 11/12] ARM: imx: correct i.mx6sll dram io low power mode Bai Ping
2016-12-27  9:47   ` Bai Ping
2016-12-27  9:47   ` Bai Ping
2016-12-27  9:47 ` [PATCH v2 12/12] ARM: configs: enable imx6sll support in defconfig Bai Ping
2016-12-27  9:47   ` Bai Ping
2016-12-27  9:47   ` Bai Ping
2017-01-23  6:10 ` [PATCH v2 00/12] Add basic code support for imx6sll Shawn Guo
2017-01-23  6:10   ` Shawn Guo
2017-01-23  7:18   ` Jacky Bai
2017-01-23  7:18     ` Jacky Bai
2017-01-23  7:18     ` Jacky Bai

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=AM3PR04MB530E214A598B06ECFFE551487720@AM3PR04MB530.eurprd04.prod.outlook.com \
    --to=ping.bai@nxp.com \
    --cc=anson.huang@nxp.com \
    --cc=daniel.lezcano@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=fabio.estevam@nxp.com \
    --cc=jacky.baip@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mturquette@baylibre.com \
    --cc=p.zabel@pengutronix.de \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@codeaurora.org \
    --cc=shawnguo@kernel.org \
    --cc=tglx@linutronix.de \
    /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.