Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1240410
| From | Chanwoo Choi <cw00.choi@samsung.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] extcon: Add the support of EXTCON_CHG_USB when SDP port is attached or detached |
| Date | 2015-10-06 14:30 +0200 |
| Message-ID | <qgzxw-63y-27@gated-at.bofh.it> (permalink) |
| References | <qgyBr-4Iz-7@gated-at.bofh.it> <qgyBr-4Iz-5@gated-at.bofh.it> <qgz4t-5ge-11@gated-at.bofh.it> <qgznP-5Sf-9@gated-at.bofh.it> <qgzxw-63y-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Roger, On 2015년 10월 06일 21:22, Roger Quadros wrote: > Chanwoo, > > On 06/10/15 15:12, Chanwoo Choi wrote: >> Roger, >> >> On 2015년 10월 06일 20:49, Roger Quadros wrote: >>> Hi, >>> >>> On 06/10/15 14:21, Chanwoo Choi wrote: >>>> The SDP (Standard Downstream Port) is one of various USB Charging ports. The SDP >>>> supports both the data transmission and the charging through USB connector at >>>> the same time. So, the EXTCON framework defines two connector type for USB SDP >>>> connector as following: >>>> - EXTCON_USB means the USB cable for data transmission. >>>> - EXTCON_CHG_USB means the USB charger cable for battery charging. >>>> >>>> This patch add the support of EXTCON_CHG_USB when USB SDP is attached or >>>> detached. >>> >>> I didn't understand why this change is needed. SDP, EXTCON_USB and EXTCON_CHG_USB >>> are the same thing. no? >> >> As you knew, SDP support both data transmission and charging >> through one port at the same time. Also, On patch1 of this patch-set, >> I add the prefix to clarify both attribute and meaning of external connector as following: >> - EXTCON_CHG_* mean the charger connector. >> >> So, there are three possible naming approach for USB SDP. >> >> Approach 1. >> - EXTCON_USB /* SDP for both data transmission and charging */ >> >> Approach 2. >> - EXTCON_USB /* SDP for data transmission */ >> - EXTCON_CHG_USB /* SDP for charging */ > > This only adds confusion. There is only one cable that will always do both jobs > so no point in using 2 names for it. OK. I'll drop it. > >> >> Approach 3. >> - EXTCON_CHG_USB /* SDP for both data transmission and charging */ >> >> It is not fixed about name. I want to discuss what is proper name for USB SDP. > > I do not have any preference over 1 or 3. I'll drop this patch. Also, I'll use only EXTCON_USB and delete the EXTCON_CHG_USB from patch1 on next version. Thanks, Chanwoo Choi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 2/2] extcon: Add the support of EXTCON_CHG_USB when SDP port is attached or detached Chanwoo Choi <cw00.choi@samsung.com> - 2015-10-06 13:30 +0200
Re: [PATCH 2/2] extcon: Add the support of EXTCON_CHG_USB when SDP port is attached or detached Roger Quadros <rogerq@ti.com> - 2015-10-06 14:00 +0200
Re: [PATCH 2/2] extcon: Add the support of EXTCON_CHG_USB when SDP port is attached or detached Chanwoo Choi <cw00.choi@samsung.com> - 2015-10-06 14:20 +0200
Re: [PATCH 2/2] extcon: Add the support of EXTCON_CHG_USB when SDP port is attached or detached Roger Quadros <rogerq@ti.com> - 2015-10-06 14:30 +0200
Re: [PATCH 2/2] extcon: Add the support of EXTCON_CHG_USB when SDP port is attached or detached Chanwoo Choi <cw00.choi@samsung.com> - 2015-10-06 14:30 +0200
csiph-web