summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2017-01-03 13:50:54 +0800
committerChanwoo Choi <cw00.choi@samsung.com>2017-01-09 10:04:12 +0900
commit62a37443e93bbae74410cb72aa9d7e15a1da0b98 (patch)
tree2fe78bfcbca28b4f0739cf0842669a944abd3900
parentbcb7440e76a96c8a244bd683142a38f7d5cecb93 (diff)
downloadlinux-62a37443e93bbae74410cb72aa9d7e15a1da0b98.tar.gz
linux-62a37443e93bbae74410cb72aa9d7e15a1da0b98.tar.bz2
linux-62a37443e93bbae74410cb72aa9d7e15a1da0b98.zip
extcon: Add documentation for EXTCON_CHG_USB_SLOW/FAST
Currently there are no documentation for EXTCON_CHG_USB_SLOW/FAST charger connector. These names don't mean much and no guide to tell users how to use it, thus try to add documentation to make them clear. Suggested-by: NeilBrown <neilb@suse.com> Signed-off-by: Baolin Wang <baolin.wang@linaro.org> [cw00.choi: Use the 'connector' expression instead of 'cable'] Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
-rw-r--r--include/linux/extcon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/extcon.h b/include/linux/extcon.h
index d57e52443841..242157cad25d 100644
--- a/include/linux/extcon.h
+++ b/include/linux/extcon.h
@@ -53,6 +53,10 @@
* the USB connector, which means EXTCON_CHG_USB_SDP should always
* appear together with EXTCON_USB. The same as ACA charger connector,
* EXTCON_CHG_USB_ACA would normally appear with EXTCON_USB_HOST.
+ *
+ * The EXTCON_CHG_USB_SLOW connector can provide at least 500mA of
+ * current at 5V. The EXTCON_CHG_USB_FAST connector can provide at
+ * least 1A of current at 5V.
*/
#define EXTCON_CHG_USB_SDP 5 /* Standard Downstream Port */
#define EXTCON_CHG_USB_DCP 6 /* Dedicated Charging Port */