From: Tony Lindgren <tony@atomide.com>
To: Nishanth Menon <nm@ti.com>
Cc: Roger Quadros <rogerq@ti.com>,
balbi@ti.com, linux-omap@vger.kernel.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH v2] pinctrl: dra: dt-bindings: Fix output pull up/down
Date: Mon, 10 Nov 2014 14:29:52 -0800 [thread overview]
Message-ID: <20141110222951.GY31454@atomide.com> (raw)
In-Reply-To: <545A5A05.6050500@ti.com>
* Nishanth Menon <nm@ti.com> [141105 09:12]:
> On 11/03/2014 04:09 AM, Roger Quadros wrote:
> > For PIN_OUTPUT_PULLUP and PIN_OUTPUT_PULLDOWN we must not set the
> > PULL_DIS bit which disables the PULLs.
> >
> > PULL_ENA is a 0 and using it in an OR operation is a NOP, so don't
> > use it in the PIN_OUTPUT_PULLUP/DOWN macros.
> >
> > Fixes: 23d9cec07c58 ("pinctrl: dra: dt-bindings: Fix pull enable/disable")
> >
> > Signed-off-by: Roger Quadros <rogerq@ti.com>
> > ---
> > include/dt-bindings/pinctrl/dra.h | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/include/dt-bindings/pinctrl/dra.h b/include/dt-bindings/pinctrl/dra.h
> > index 3d33794..7448edf 100644
> > --- a/include/dt-bindings/pinctrl/dra.h
> > +++ b/include/dt-bindings/pinctrl/dra.h
> > @@ -40,8 +40,8 @@
> >
> > /* Active pin states */
> > #define PIN_OUTPUT (0 | PULL_DIS)
> > -#define PIN_OUTPUT_PULLUP (PIN_OUTPUT | PULL_ENA | PULL_UP)
> > -#define PIN_OUTPUT_PULLDOWN (PIN_OUTPUT | PULL_ENA)
> > +#define PIN_OUTPUT_PULLUP (PULL_UP)
> > +#define PIN_OUTPUT_PULLDOWN (0)
> > #define PIN_INPUT (INPUT_EN | PULL_DIS)
> > #define PIN_INPUT_SLEW (INPUT_EN | SLEWCONTROL)
> > #define PIN_INPUT_PULLUP (PULL_ENA | INPUT_EN | PULL_UP)
> >
>
>
> There might be additional updates needed to DRA7 pinctrl sequencing
> requirements based on latest documentation:
>
> http://www.ti.com/lit/ug/spruhz6/spruhz6.pdf#page=4004&zoom=auto,0,274.1
>
> But, that has nothing to do with the bug that is currently being fixed
> in this patch,.
>
> So, for the record:
> Acked-by: Nishanth Menon <nm@ti.com>
OK applying into omap-for-v3.18/fixes thanks.
Tony
prev parent reply other threads:[~2014-11-10 22:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-31 10:52 [PATCH] pinctrl: dra: dt-bindings: Fix output pull up/down Roger Quadros
2014-10-31 13:50 ` Nishanth Menon
2014-11-03 9:28 ` Roger Quadros
2014-11-03 10:09 ` [PATCH v2] " Roger Quadros
2014-11-03 14:30 ` Nishanth Menon
2014-11-03 14:44 ` Roger Quadros
2014-11-03 14:59 ` Nishanth Menon
2014-11-03 15:07 ` Roger Quadros
2014-11-03 17:56 ` Nishanth Menon
2014-11-05 17:10 ` Nishanth Menon
2014-11-10 22:29 ` Tony Lindgren [this message]
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=20141110222951.GY31454@atomide.com \
--to=tony@atomide.com \
--cc=balbi@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=nm@ti.com \
--cc=rogerq@ti.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 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).