From d413bd85ab34c0284cc79f268b5bc7b044611d1d Mon Sep 17 00:00:00 2001 From: Li Jun Date: Fri, 9 Jan 2015 14:37:24 +0800 Subject: 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 --- .../devicetree/bindings/usb/ci-hdrc-usb2.txt | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'Documentation/devicetree/bindings/usb') 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; + }; -- cgit v1.2.3