]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
MLK-10085-4 usb: doc: chipidea: imx: add imx6-usb-charger-detection property
authorLi Jun <b47624@freescale.com>
Fri, 9 Jan 2015 06:37:24 +0000 (14:37 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:20:02 +0000 (21:20 -0600)
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>
Documentation/devicetree/bindings/usb/ci-hdrc-imx.txt

index 38a548001e3a685d54fdc03b8ee17d7a0b414399..4ac8e27568fd58f3a1453adacd09a75135a10662 100644 (file)
@@ -18,6 +18,12 @@ Optional properties:
 - vbus-supply: regulator for vbus
 - disable-over-current: disable over current detect
 - 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.
 - maximum-speed: limit the maximum connection speed to "full-speed".
 - tpl-support: TPL (Targeted Peripheral List) feature for targeted hosts
 
@@ -30,6 +36,8 @@ usb@02184000 { /* USB OTG */
        fsl,usbmisc = <&usbmisc 0>;
        disable-over-current;
        external-vbus-divider;
+       imx6-usb-charger-detection;
+       fsl,anatop = <&anatop>;
        maximum-speed = "full-speed";
        tpl-support;
 };