22 Feb, 2013

1 commit

  • Pull char/misc driver patches from Greg Kroah-Hartman:
    "Here's the big char/misc driver patches for 3.9-rc1.

    Nothing major here, just lots of different driver updates (mei,
    hyperv, ipack, extcon, vmci, etc.).

    All of these have been in the linux-next tree for a while."

    * tag 'char-misc-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (209 commits)
    w1: w1_therm: Add force-pullup option for "broken" sensors
    w1: ds2482: Added 1-Wire pull-up support to the driver
    vme: add missing put_device() after device_register() fails
    extcon: max8997: Use workqueue to check cable state after completing boot of platform
    extcon: max8997: Set default UART/USB path on probe
    extcon: max8997: Consolidate duplicate code for checking ADC/CHG cable type
    extcon: max8997: Set default of ADC debounce time during initialization
    extcon: max8997: Remove duplicate code related to set H/W line path
    extcon: max8997: Move defined constant to header file
    extcon: max77693: Make max77693_extcon_cable static
    extcon: max8997: Remove unreachable code
    extcon: max8997: Make max8997_extcon_cable static
    extcon: max77693: Remove unnecessary goto statement to improve readability
    extcon: max77693: Convert to devm_input_allocate_device()
    extcon: gpio: Rename filename of extcon-gpio.c according to kernel naming style
    CREDITS: update email and address of Harald Hoyer
    extcon: arizona: Use MICDET for final microphone identification
    extcon: arizona: Always take the first HPDET reading as the final one
    extcon: arizona: Clear _trig_sts bits after jack detection
    extcon: arizona: Don't HPDET magic when headphones are enabled
    ...

    Linus Torvalds
     

14 Feb, 2013

12 commits


12 Feb, 2013

7 commits


08 Feb, 2013

2 commits


07 Feb, 2013

1 commit


26 Jan, 2013

1 commit

  • This patch fix build error of following log:

    drivers/built-in.o: In function `max77693_muic_remove':
    extcon-max77693.c:(.text+0x664853): undefined reference to `input_unregister_device'
    drivers/built-in.o: In function `max77693_muic_probe':
    extcon-max77693.c:(.text+0x664971): undefined reference to `input_allocate_device'
    extcon-max77693.c:(.text+0x6649c1): undefined reference to `input_set_capability'
    extcon-max77693.c:(.text+0x6649d6): undefined reference to `input_set_capability'
    extcon-max77693.c:(.text+0x6649eb): undefined reference to `input_set_capability'
    extcon-max77693.c:(.text+0x664a00): undefined reference to `input_set_capability'
    extcon-max77693.c:(.text+0x664a15): undefined reference to `input_set_capability'
    extcon-max77693.c:(.text+0x664a20): undefined reference to `input_register_device'
    drivers/built-in.o: In function `max77693_muic_adc_handler':
    extcon-max77693.c:(.text+0x665318): undefined reference to `input_event'
    extcon-max77693.c:(.text+0x66532a): undefined reference to `input_event'
    make[1]: *** [vmlinux] Error 1

    Signed-off-by: Chanwoo Choi
    Signed-off-by: Myungjoo Ham
    Reported-by: Randy Dunlap
    Acked-by: Randy Dunlap
    Signed-off-by: Greg Kroah-Hartman

    Chanwoo Choi
     

23 Jan, 2013

3 commits


15 Jan, 2013

13 commits

  • With some GPIO control it is possible to detect microphones in a wider
    range of configurations by directly measuring the microphone impedance
    when the HPDET method cannot distinguish between the behaviour of the
    two grounds. Allow a GPIO to be provided in platform data and use it to
    implement this behaviour.

    Signed-off-by: Mark Brown
    Signed-off-by: Chanwoo Choi
    Signed-off-by: Myungjoo Ham

    Mark Brown
     
  • The accessory detection functionality in Arizona devices is flexible and
    supports several system designs in addition to the default one implemented
    by the existing driver. One such design uses the HPDET feature to determine
    what kind of accessory is present by comparing measurements taken with the
    two headphone grounds available on the device, implement that if selected
    by platform data.

    Signed-off-by: Mark Brown
    Signed-off-by: Chanwoo Choi
    Signed-off-by: Myungjoo Ham

    Mark Brown
     
  • Signed-off-by: Mark Brown
    Signed-off-by: Chanwoo Choi
    Signed-off-by: Myungjoo Ham

    Mark Brown
     
  • Use the headphone detection to identify if the accessory is a headphone or
    line load. There are two different revisions of the IP with different
    register layouts, support both.

    Signed-off-by: Mark Brown
    Signed-off-by: Chanwoo Choi
    Signed-off-by: Myungjoo Ham

    Mark Brown
     
  • Some system designs provide an input on GPIO5 which in conjunction with
    the jack detection feature indicates the presence of an accessory.
    Support such systems, using the microphone clamp feature to minimise
    wakeups of the processor.

    Signed-off-by: Mark Brown
    Signed-off-by: Chanwoo Choi
    Signed-off-by: Myungjoo Ham

    Mark Brown
     
  • Newer Arizona devices include a microphone clamp function which is tied to
    jack detect. Activate this feature when present in order to ensure best
    performance of the subsystem.

    Signed-off-by: Mark Brown
    Signed-off-by: Chanwoo Choi
    Signed-off-by: Myungjoo Ham

    Mark Brown
     
  • Allow configuration of the rise time for MICBIAS via platform data, the
    delay required depends on things like the external component selection.

    Signed-off-by: Mark Brown
    Signed-off-by: Chanwoo Choi
    Acked-by: MyungJoo Ham

    Mark Brown
     
  • The micd_pol GPIO is only requested if we've specified one greater than 0
    so apply the same test before we set it.

    Signed-off-by: Mark Brown
    Signed-off-by: Chanwoo Choi
    Signed-off-by: Myungjoo Ham

    Mark Brown
     
  • Now this is configured by platform data remove the defualt configuration
    the driver had.

    Signed-off-by: Mark Brown
    Signed-off-by: Chanwoo Choi
    Signed-off-by: Myungjoo Ham

    Mark Brown
     
  • Signed-off-by: Mark Brown
    Signed-off-by: Chanwoo Choi
    Signed-off-by: Myungjoo Ham

    Mark Brown
     
  • This patch support the detection of Dock-Smart device which include
    three type of port(HDMI, USB for mouse/keyboard and Micro-USB for
    USB/TA cable).The Dock-Smart device need always exteranl power supply
    (USB/TA cable through micro-usb cable). Dock-Smart device support screen
    output of target to separate monitor and mouse/keyboard for desktop
    mode.

    Features of 'Dock-Smart device'
    - Support HDMI
    - Support external output feature of audio
    - Support charging through micro-usb port without data
    connection if TA cable is connected to target.
    - Support charging and data connection through micro-usb port
    if USB cable is connected between target and host device.
    - Support OTG device (Mouse/Keyboard)

    Signed-off-by: Chanwoo Choi
    Signed-off-by: Myungjoo Ham

    Chanwoo Choi
     
  • This patch fix bug that muic couldn't detect MHL/Dock-Audio with USB/TA
    cable on exception situation. I explain detail case on following:

    When MHL(with USB/TA cable) or Dock-Audio with USB/TA cable is attached,
    the MUIC device happen following two interrupt.
    - 'MAX77693_MUIC_IRQ_INT1_ADC' for detecting MHL/Dock-Audio.
    - 'MAX77693_MUIC_IRQ_INT2_CHGTYP' for detecting USB/TA cable connected to
    MHL/Dock-Audio. Always, happen eariler MAX77693_MUIC_IRQ_INT1_ADC interrupt
    than MAX77693_MUIC_IRQ_INT2_CHGTYP interrupt.

    If user attach MHL with USB/TA cable and immediately detach MHL with USB/TA
    cable before MAX77693_MUIC_IRQ_INT2_CHGTYP interrupt is happened, USB/TA
    connected to MHL cable remain connected state to target. But USB/TA connected
    to MHL cable isn't connected to target. user be faced with unusual action.
    So, driver should check this situation in spite of that, previous charger type
    is N/A.

    Signed-off-by: Chanwoo Choi
    Signed-off-by: Myungjoo Ham

    Chanwoo Choi
     
  • This patch determine default uart/usb path by using platform data.
    The MAX77693 MUIC device can possibliy set USB/UART/AUDIO/USB_AUX
    /UART_AUX to internal h/w path of MUIC device. So, drvier should
    determine default uart/usb path.

    Signed-off-by: Chanwoo Choi
    Signed-off-by: Myungjoo Ham

    Chanwoo Choi