From: shawnguo@kernel.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V3 1/2] dt-bindings: pinctrl: add imx7ulp pinctrl binding doc
Date: Thu, 25 May 2017 15:42:59 +0800 [thread overview]
Message-ID: <20170525074255.GY26102@dragon> (raw)
In-Reply-To: <AM3PR04MB306BB77DD89C680DC42636D80FF0@AM3PR04MB306.eurprd04.prod.outlook.com>
On Thu, May 25, 2017 at 05:06:56AM +0000, A.S. Dong wrote:
> > > > +=== Pin Configuration Node ===
> > > > +- pins: One integers array, represents a group of pins mux setting.
> > > > + The format is fsl,pins = <PIN_FUNC_ID>, PIN_FUNC_ID is a pin
> > > > +working
> > > on
> > > > + a specific function.
> > > > +
> > > > + NOTE: i.MX7ULP PIN_FUNC_ID consists of 4 integers as it shares one
> > > mux
> > > > + and config register as follows:
> > > > + <mux_conf_reg input_reg mux_mode input_val>
> > >
> > > As your PIN_FUNC_ID specifies both the pin ids and their mux settings,
> > > shouldn't you use the newly documented 'pinmux' property in place of
> > > 'pins'?
> > >
> > > Please see
> > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/com
> > > mit/ ?id=8d5e7c5df0a6c442373628be5221321172b1badf
> > >
> > > The current documentation specifies pin ids and mux settings have to
> > > be assembled in one single integer, which is not your case, but that
> > > can be changed to make it accept an array of integers values if needed.
> > >
> >
> > Thanks for the info.
> > Looks good to me.
> >
> > Shawn & Linus,
> > Are you okay with this?
> >
> > If yes, I can extend the standard 'pinmux' property to support integer
> > array and renew the patch series to use it.
> >
>
> Would you comment on this question?
>
> Then I can decide whether sent a new series based on it.
I'm fine with it. But what's important is whether Linus is fine with
extending the standard 'pinmux' property to cover IMX case.
Shawn
next prev parent reply other threads:[~2017-05-25 7:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-23 11:43 [PATCH V3 1/2] dt-bindings: pinctrl: add imx7ulp pinctrl binding doc Dong Aisheng
2017-05-23 11:43 ` [PATCH V3 2/2] pinctrl: imx: add imx7ulp driver Dong Aisheng
2017-05-23 18:24 ` [PATCH V3 1/2] dt-bindings: pinctrl: add imx7ulp pinctrl binding doc jmondi
2017-05-24 3:10 ` A.S. Dong
2017-05-25 5:06 ` A.S. Dong
2017-05-25 7:42 ` Shawn Guo [this message]
2017-05-29 8:50 ` 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=20170525074255.GY26102@dragon \
--to=shawnguo@kernel.org \
--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