]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00287992-2 usb: doc: chipidea: imx: add imx6-usb-charger-detection property
authorPeter Chen <peter.chen@freescale.com>
Thu, 14 Nov 2013 06:29:51 +0000 (14:29 +0800)
committerPeter Chen <peter.chen@freescale.com>
Mon, 18 Nov 2013 07:05:43 +0000 (15:05 +0800)
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/ci13xxx-imx.txt

index b4b5b7906c88b0d2e06111068c9e3279e14b07a8..226ca0689d574f1cc2cab3416fefabf2f7071514 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
 
 Examples:
 usb@02184000 { /* USB OTG */
@@ -28,4 +34,6 @@ usb@02184000 { /* USB OTG */
        fsl,usbmisc = <&usbmisc 0>;
        disable-over-current;
        external-vbus-divider;
+       imx6-usb-charger-detection;
+       fsl,anatop = <&anatop>;
 };