lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 06 Jan 2017 17:55:19 +0900
From:   Chanwoo Choi <cw00.choi@...sung.com>
To:     Baolin Wang <baolin.wang@...aro.org>, myungjoo.ham@...sung.com
Cc:     linux-kernel@...r.kernel.org, linaro-kernel@...ts.linaro.org,
        broonie@...nel.org, neilb@...e.com
Subject: Re: [PATCH] extcon: Add documentation for EXTCON_CHG_USB_SLOW/FAST

On 2017년 01월 03일 14:50, Baolin Wang wrote:
> 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@...e.com>
> Signed-off-by: Baolin Wang <baolin.wang@...aro.org>
> ---
>  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.

When I applied this patch, I use the 'connector expression' instead of 'cable'.

>   */
>  #define EXTCON_CHG_USB_SDP	5	/* Standard Downstream Port */
>  #define EXTCON_CHG_USB_DCP	6	/* Dedicated Charging Port */
> 

Applied it. Thanks.

-- 
Best Regards,
Chanwoo Choi
S/W Center, Samsung Electronics

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ