From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756976AbdACFvl (ORCPT ); Tue, 3 Jan 2017 00:51:41 -0500 Received: from mail-pg0-f41.google.com ([74.125.83.41]:34726 "EHLO mail-pg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755906AbdACFvf (ORCPT ); Tue, 3 Jan 2017 00:51:35 -0500 From: Baolin Wang To: myungjoo.ham@samsung.com, cw00.choi@samsung.com Cc: linux-kernel@vger.kernel.org, linaro-kernel@lists.linaro.org, baolin.wang@linaro.org, broonie@kernel.org, neilb@suse.com Subject: [PATCH] extcon: Add documentation for EXTCON_CHG_USB_SLOW/FAST Date: Tue, 3 Jan 2017 13:50:54 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Signed-off-by: Baolin Wang --- include/linux/extcon.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/linux/extcon.h b/include/linux/extcon.h index 0020123..ceec1f0 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. + * + * A cable of type EXTCON_CHG_USB_SLOW can provide at least 500mA of + * current at 5V. A cable of type EXTCON_CHG_USB_FAST 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 */ -- 1.7.9.5