From: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Li Jun <jun.li-3arQi8VN3Tc@public.gmane.org>
Cc: peter.chen-3arQi8VN3Tc@public.gmane.org,
shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH 2/4] doc: usb: ci-hdrc-usb2: add property over-current-polarity
Date: Tue, 19 Jul 2016 20:09:02 -0500 [thread overview]
Message-ID: <20160720010902.GA972@rob-hp-laptop> (raw)
In-Reply-To: <1468840547-17899-2-git-send-email-jun.li-3arQi8VN3Tc@public.gmane.org>
On Mon, Jul 18, 2016 at 07:15:45PM +0800, Li Jun wrote:
> Adding over-current-polarity to indicate the over current flag
> is low active or high active.
>
> Signed-off-by: Li Jun <jun.li-3arQi8VN3Tc@public.gmane.org>
> ---
> Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt
> index 341dc67..c5d35f4 100644
> --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt
> +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt
> @@ -81,6 +81,8 @@ i.mx specific properties
> - fsl,usbmisc: phandler of non-core register device, with one
> argument that indicate usb controller index
> - disable-over-current: disable over current detect
> +- over-current-polarity: 0 if the over current signal polarity is low active,
> + 1 if the over current signal polarity is high active.
Make the common case be no property and make this bool. So if typically
active high, the property is "over-current-active-low".
Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-07-20 1:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-18 11:15 [PATCH 1/4] doc: usb: usbmisc-imx: add imx7d compatible string Li Jun
2016-07-18 11:15 ` [PATCH 2/4] doc: usb: ci-hdrc-usb2: add property over-current-polarity Li Jun
[not found] ` <1468840547-17899-2-git-send-email-jun.li-3arQi8VN3Tc@public.gmane.org>
2016-07-18 15:24 ` Joshua Clayton
[not found] ` <578CF4C2.4000804-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-07-19 1:47 ` Peter Chen
2016-07-19 2:56 ` Jun Li
2016-07-20 1:09 ` Rob Herring [this message]
2016-07-18 11:15 ` [PATCH 3/4] ARM: dts: imx7d-sdb: Set OTG2 oc polarity to be active low Li Jun
2016-07-18 11:15 ` [PATCH 4/4] usb: chipidea: imx: set over current polarity per dts setting Li Jun
[not found] ` <1468840547-17899-4-git-send-email-jun.li-3arQi8VN3Tc@public.gmane.org>
2016-07-19 1:57 ` Peter Chen
2016-07-19 2:31 ` Jun Li
[not found] ` <AM4PR04MB21300689DA05A4D36F13607B89370-WOempg8NbQQzjTQnahXoOs9NdZoXdze2vxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2016-07-19 2:44 ` Peter Chen
[not found] ` <1468840547-17899-1-git-send-email-jun.li-3arQi8VN3Tc@public.gmane.org>
2016-07-20 1:04 ` [PATCH 1/4] doc: usb: usbmisc-imx: add imx7d compatible string Rob Herring
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=20160720010902.GA972@rob-hp-laptop \
--to=robh-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=jun.li-3arQi8VN3Tc@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=peter.chen-3arQi8VN3Tc@public.gmane.org \
--cc=shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.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