1. 13 Jun, 2015 1 commit
  2. 12 Jun, 2015 5 commits
  3. 08 Jun, 2015 2 commits
  4. 03 Jun, 2015 1 commit
    • Greg Kroah-Hartman's avatar
      Merge tag 'extcon-next-for-4.2' of... · 00465f4c
      Greg Kroah-Hartman authored
      Merge tag 'extcon-next-for-4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon into char-misc-next
      
      Chanwoo writes:
      
      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
      00465f4c
  5. 01 Jun, 2015 6 commits
  6. 31 May, 2015 10 commits
  7. 29 May, 2015 1 commit
  8. 24 May, 2015 14 commits