From: robh@kernel.org (Rob Herring)
To: linux-arm-kernel@lists.infradead.org
Subject: [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@nxp.com>
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@nxp.com>
> ---
> 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
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
2016-07-18 15:24 ` Joshua Clayton
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
2016-07-19 1:57 ` Peter Chen
2016-07-19 2:31 ` Jun Li
2016-07-19 2:44 ` Peter Chen
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@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