Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1157018

[GIT PULL] extcon next for 4.2

Path csiph.com!aioe.org!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod
From Chanwoo Choi <cw00.choi@samsung.com>
Newsgroups linux.kernel
Subject [GIT PULL] extcon next for 4.2
Date Wed, 03 Jun 2015 03:40:02 +0200
Message-ID <px5OW-2mM-3@gated-at.bofh.it> (permalink)
X-Original-To Greg KH <gregkh@linuxfoundation.org>, "최찬우 (samsung)" <cw00.choi@samsung.com>
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Auditid cbfee68e-f79c56d000006efb-b5-556e58bba603
Content-Transfer-Encoding 8BIT
User-Agent Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2
X-Brightmail-Tracker H4sIAAAAAAAAA+NgFvrJLMWRmVeSWpSXmKPExsWyRsSkUHdPRF6owdQ+FovrX56zWjQvXs9m Men+BBaLs01v2C0u75rDZnG7cQWbA5vH/rlr2D36tqxi9Pi8SS6AOYrLJiU1J7MstUjfLoEr 48bZY6wFn40rbvdpNTAuUe9i5OSQEDCR+H7uBjOELSZx4d56ti5GLg4hgaWMEjueX2OEKfp8 6RoLRGIRo8TCAx1MIAleAUGJH5PvASU4OJgF5CWOXMoGCTMLqEtMmrcIbKiQwANGiWkHYyDK tSROnfgHFmcRUJWY3DsZbAwbUHz/ixtsILaoQJjEyulXwEaKCNRLHPiiC7KWWeAEo8S5oytY QGqEgea/uvuUHSQhITCPXeLMn+dMEEMFJL5NPgTWLCEgK7HpANRjkhIHV9xgmcAoMgvJ1bMQ rp6F5OoFjMyrGEVTC5ILipPSi4z0ihNzi0vz0vWS83M3MQJj5PS/Z307GG8esD7EKMDBqMTD y/ApJ1SINbGsuDL3EKMp0BETmaVEk/OBkZhXEm9obGZkYWpiamxkbmmmJM6bIPUzWEggPbEk NTs1tSC1KL6oNCe1+BAjEw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t0X+tRJLcUaioRZzUXEiAL0YoPTW AgAA
Dlp-Filter Pass
X-Mtr 20000000000000000@CPGS
X-Cfilter-Loop Reflected
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 156
Organization linux.* mail to news gateway
X-Original-Cc linux-kernel <linux-kernel@vger.kernel.org>, "myungjoo.ham@samsung.com" <myungjoo.ham@samsung.com>, 대인기 <inki.dae@samsung.com>, Kyungmin Park <kyungmin.park@samsung.com>
X-Original-Date Wed, 03 Jun 2015 10:30:35 +0900
X-Original-Message-ID <556E58BB.1070509@samsung.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1157018

Show key headers only | View raw


Dear Greg,

This is extcon-next full request for v4.2. I add detailed description of this
pull request on below. Please pull extcon with following updates.

Best Regards,
Chanwoo Choi

The following changes since commit e26081808edadfd257c6c9d81014e3b25e9a6118:

  Linux 4.1-rc4 (2015-05-18 10:13:47 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon.git tags/extcon-next-for-4.2

for you to fetch changes up to f8df88081183bd4d3c461c617c3519445eb85642:

  extcon: Remove optional print_name() function pointer of extcon_dev (2015-05-29 19:56:11 +0900)

----------------------------------------------------------------
Update extcon for v4.2

This patchset include the huge update of extcon core and add the new one extcon
driver and fix minor isseu of extcon drivers.

Detailed description for patchset:
1. Update the extcon core.
- Modify the extcon device name on sysfs from device name name to 'extcon[X]'
as following because if same extcon device are included in H/W development board,
the one of the two device driver might be failed on the probe().
: /sys/class/extcon/[device name] -> /sys/class/extcon/extcon[X]

- Use the unique id for external connectors instead of legacy string name.
Previously, extcon used the string name to identify the type of external
connectors. This way have the many potential issues. So, extcon core define the
unique id for each external connectors as following:

	enum extcon {
		EXTCON_NONE             = 0x0,

		/* USB external connector */
		EXTCON_USB              = 0x1,
		EXTCON_USB_HOST		= 0x2,

		/* Charger external connector */
		EXTCON_TA		= 0x10,
		EXTCON_FAST_CHARGER	= 0x11,
		EXTCON_SLOW_CHARGER	= 0x12,
		EXTCON_CHARGE_DOWNSTREAM = 0x13,

		/* Audio and video external connector */
		EXTCON_LINE_IN		= 0x20,
		EXTCON_LINE_OUT		= 0x21,
		EXTCON_MICROPHONE	= 0x22,
		EXTCON_HEADPHONE	= 0x23,
		...
	};

- Update tye prototype of extcon_register_notifier() by using the unique id
(enum extcon) of external connectors.

- Add extcon_get_edev_name() API to get the name of extcon device on extcon
client driver because the name is included in 'struct extcon_dev' and 'struct
extcon_dev' should be handled in only drivers/extcon directory. So. if extcon
client need the name of extcon device, they could use this function.

- Unify the jig/dock and MHL-TA cable name on extcon driver.
: JIG-{USB-ON|USB-OFF|UART-ON|UART-OFF} -> JIG
: Dock-{Smart|Desk|Audio|Card} -> DOCK
: MHL-TA -> TA

- Use the capital letter for the name of all external connectors.
- Remove the optional print_name() function pointer from struct extcon_dev to
maintain the consistent name of extcon device.

2. Add the new extcon-axp288.c extcon driver.
- The extcon-axp288.c driver support for AXP288 PMIC which has the BC1.2
charger detection capability. So this extcon driver can detect the
EXTCON_SLOW_CHARGER, EXTCON_CHARGE_DOWNSTREAM and EXTCON_FAST_CHARGER.

3. Update the extcon-arizona.c driver.
- Add support for selective detection mode when headphone detection.
- Apply HP clamps for WM8280

4. Clean-up the extcon core and drivers.
- Add manufactor information of each extcon device.
- Fix checkpatch warning and minor coding style on extcon.c.c
- Fix build break if GPIOLIB is not enabled on extcon-usb-gpiio.c.
- Set the direction of gpio when calling devm_gpiod_get() on extcon-usb-gpio.c

----------------------------------------------------------------
Chanwoo Choi (14):
      extcon: Add manufactor name of each extcon device
      extcon: Modify the device name as extcon[X] for sysfs
      extcon: Add extcon_get_edev_name() API to get the extcon device name
      extcon: Fix the checkpatch warning and minor coding style issue
      extcon: arizona: Remove the setting of device name
      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
      extcon: Remove the optional name of extcon device
      extcon: Use the unique id for external connector instead of string
      extcon: Use capital letter for the name of external connectors
      extcon: Update the prototype of extcon_register_notifier() with enum extcon
      extcon: Remove optional print_name() function pointer of extcon_dev

Charles Keepax (1):
      extcon: arizona: Apply HP clamps correctly for WM8280

Geert Uytterhoeven (1):
      extcon: Allow compile test of GPIO consumers if !GPIOLIB

Inha Song (2):
      extcon: arizona: Add support for select accessory detect mode when headphone detection
      mfd: arizona: Update DT binding to support hpdet channel

Ramakrishna Pallala (1):
      extcon: axp288: Add axp288 extcon driver support

Richard Fitzgerald (1):
      extcon: arizona: Rename hpdet_ip to make its purpose clearer

Uwe Kleine-König (1):
      extcon: usb-gpio: use flags argument of devm_gpiod_get to set direction

 Documentation/devicetree/bindings/mfd/arizona.txt |   6 +
 drivers/extcon/Kconfig                            |  25 +-
 drivers/extcon/Makefile                           |   1 +
 drivers/extcon/extcon-adc-jack.c                  |  13 -
 drivers/extcon/extcon-arizona.c                   |  88 ++---
 drivers/extcon/extcon-axp288.c                    | 381 ++++++++++++++++++++++
 drivers/extcon/extcon-gpio.c                      |   1 -
 drivers/extcon/extcon-max14577.c                  |  60 +---
 drivers/extcon/extcon-max77693.c                  | 140 +++-----
 drivers/extcon/extcon-max77843.c                  |  89 ++---
 drivers/extcon/extcon-max8997.c                   |  64 ++--
 drivers/extcon/extcon-palmas.c                    |  23 +-
 drivers/extcon/extcon-rt8973a.c                   |  55 +---
 drivers/extcon/extcon-sm5502.c                    |  33 +-
 drivers/extcon/extcon-usb-gpio.c                  |  35 +-
 drivers/extcon/extcon.c                           | 316 ++++++++++--------
 drivers/usb/phy/phy-tahvo.c                       |   9 +-
 include/dt-bindings/mfd/arizona.h                 |   4 +
 include/linux/extcon.h                            | 142 ++++----
 include/linux/extcon/extcon-adc-jack.h            |   5 +-
 include/linux/mfd/arizona/pdata.h                 |   3 +
 include/linux/mfd/axp20x.h                        |   5 +
 22 files changed, 885 insertions(+), 613 deletions(-)
 create mode 100644 drivers/extcon/extcon-axp288.c
--
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 — Next in thread | Find similar | Unroll thread


Thread

[GIT PULL] extcon next for 4.2 Chanwoo Choi <cw00.choi@samsung.com> - 2015-06-03 03:40 +0200
  Re: [GIT PULL] extcon next for 4.2 Greg KH <gregkh@linuxfoundation.org> - 2015-06-03 07:20 +0200

csiph-web