[PATCH 2/4] doc: usb: ci-hdrc-usb2: add property over-current-polarity
Rob Herring
robh at kernel.org
Tue Jul 19 18:09:02 PDT 2016
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 at 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
More information about the linux-arm-kernel
mailing list