[PATCH v2 0/4] extcon: Modify the name of unused external connector

From: Chanwoo Choi
Date: Mon May 04 2015 - 01:41:28 EST


This patchset alter the unused name of external connector (jig/dock/MHL) as
following. The name of jig cable and dock device include the non-standard H/W
information. On user-space side, this information are not necessary. The extcon
core will support the other method to inform the specific H/W information to
kernel device driver and framework. For example, extcon core have the plan to add
the notifier chain for USB ID/VBUS pin state. If extcon consumer (kernel device
driver and framework) use the notifer chain for USB ID/VBUS, they can get the
state of both JIG and USB when JIG-USB-ON cable is attached.

And last patch removes the unused 'num_cables' filed on extcon-adc-jack.c.

1. jig cable name
- JIG-USB-ON -->|
- JIG-USB-OFF -->|
- JIG-UART-ON -->|
- JIG-UART-OFF -->|--> JIG

2. dock device name
- Dock-Smart -->|
- Dock-Desk -->|
- Dock-Audio -->|
- Dock-Card -->|--> DOCK

3. MHL-TA cable name
- MHL-TA -> TA

Changes from v1:
- Remove the un-related code about default statement on extcon-max778443.c

Chanwoo Choi (4):
extcon: Unify the jig cable names on rt8973 and max14577/77693/77843
extcon: Unify the dock device names on max8997/77693
extcon: Alter MHL-TA cable name to TA cable name
extcon: adc-jack: Remove the unneeded num_cables field

drivers/extcon/extcon-adc-jack.c | 12 --------
drivers/extcon/extcon-max14577.c | 19 ++----------
drivers/extcon/extcon-max77693.c | 66 +++++++++++++---------------------------
drivers/extcon/extcon-max77843.c | 43 +++++++++-----------------
drivers/extcon/extcon-max8997.c | 10 ++----
drivers/extcon/extcon-rt8973a.c | 22 +++-----------
6 files changed, 46 insertions(+), 126 deletions(-)

--
1.8.5.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/