summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/usb
diff options
context:
space:
mode:
authorLi Jun <b47624@freescale.com>2015-01-09 14:37:24 +0800
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-23 16:42:38 +0300
commitd413bd85ab34c0284cc79f268b5bc7b044611d1d (patch)
tree87660486e52e616e455e89ca9611a064c7d82b3d /Documentation/devicetree/bindings/usb
parent5b9659c7732243b8b898d19d54363cd83bfe078c (diff)
MLK-10085-4 usb: doc: chipidea: imx: add imx6-usb-charger-detection property
It is used to indicate whether we use SoC's usb charger detection or not. Besides, we add anatop phandle since we need to use anatop register to do most of charger detect operations. Signed-off-by: Peter Chen <peter.chen@freescale.com>
Diffstat (limited to 'Documentation/devicetree/bindings/usb')
-rw-r--r--Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt22
1 files changed, 21 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt
index 0e03344e2e8b..366c884e9ac8 100644
--- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt
+++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt
@@ -84,8 +84,14 @@ i.mx specific properties
- over-current-active-high: over current signal polarity is high active,
typically over current signal polarity is low active.
- external-vbus-divider: enables off-chip resistor divider for Vbus
+- imx6-usb-charger-detection: enable imx6 usb charger detect function,
+ only set it when the user wants SoC usb charger detection capabilities.
+ If the user wants to use charger IC's usb charger detection capabilities,
+ please do not set it.
+- fsl,anatop: phandle for anatop module, anatop module is only existed
+ at imx6 SoC series.
-Example:
+Examples:
usb@f7ed0000 {
compatible = "chipidea,usb2";
@@ -103,3 +109,17 @@ Example:
extcon = <0>, <&usb_id>;
phy-clkgate-delay-us = <400>;
};
+
+ usb@02184000 { /* USB OTG */
+ compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
+ reg = <0x02184000 0x200>;
+ interrupts = <0 43 0x04>;
+ fsl,usbphy = <&usbphy1>;
+ fsl,usbmisc = <&usbmisc 0>;
+ disable-over-current;
+ external-vbus-divider;
+ imx6-usb-charger-detection;
+ fsl,anatop = <&anatop>;
+ maximum-speed = "full-speed";
+ tpl-support;
+ };