19 Mar, 2014

1 commit


09 Jan, 2014

1 commit


27 Sep, 2013

2 commits


05 Aug, 2013

1 commit


14 Feb, 2013

1 commit


06 Sep, 2012

1 commit

  • External connector devices that decides connection information based on
    ADC values may use adc-jack device driver. The user simply needs to
    provide a table of adc range and connection states. Then, extcon
    framework will automatically notify others.

    Changes in V1:
    added Lars-Peter Clausen suggested changes:
    Using macros to get rid of boiler plate code such as devm_kzalloc
    and module_platform_driver.Other changes suggested are related to
    coding guidelines.

    Changes in V2:
    Removed some unnecessary checks and changed the way we are un-regitering
    extcon and freeing the irq while removing.

    Changes in V3:
    Renamed the files to comply with extcon naming.

    Changes in V4:
    Added the cancel_work_sync during removing of driver.

    Changes in V5:
    Added the dependency of IIO in Kconfig.

    Changes in V6:
    Some nitpicks related to naming.

    Changes in this version:
    V6 patch version patch broke the build:
    ERROR: "extcon_cable_name" [drivers/extcon/extcon-adc-jack.ko] undefined!

    Fixed it in this version.

    Acked-by: Jonathan Cameron
    Reviewed-by: Lars-Peter Clausen
    Signed-off-by: anish kumar
    Signed-off-by: MyungJoo Ham
    Signed-off-by: Greg Kroah-Hartman

    anish kumar
     

17 Aug, 2012

2 commits

  • This reverts commit 980d7929816236476967218645c30acc022042eb as it
    breaks the build with the error:
    ERROR: "extcon_cable_name" [drivers/extcon/extcon-adc-jack.ko] undefined!

    Cc: Lars-Peter Clausen
    Cc: anish kumar
    Cc: MyungJoo Ham
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • External connector devices that decides connection information based on
    ADC values may use adc-jack device driver. The user simply needs to
    provide a table of adc range and connection states. Then, extcon
    framework will automatically notify others.

    Changes in V1:
    added Lars-Peter Clausen suggested changes:
    Using macros to get rid of boiler plate code such as devm_kzalloc
    and module_platform_driver.Other changes suggested are related to
    coding guidelines.

    Changes in V2:
    Removed some unnecessary checks and changed the way we are un-regitering
    extcon and freeing the irq while removing.

    Changes in V3:
    Renamed the files to comply with extcon naming.

    Changes in V4:
    Added the cancel_work_sync during removing of driver.

    Changes in V5:
    Added the dependency of IIO in Kconfig.

    Changes in V6:
    Some nitpicks related to naming.

    Reviewed-by: Lars-Peter Clausen
    Signed-off-by: anish kumar
    Signed-off-by: MyungJoo Ham
    Signed-off-by: Greg Kroah-Hartman

    anish kumar
     

18 Jul, 2012

1 commit


21 Apr, 2012

1 commit

  • The generic GPIO extcon driver (an external connector device based on
    GPIO control) and imported from Android kernel.

    switch: switch class and GPIO drivers. (splitted)
    Author: Mike Lockwood

    switch: gpio: Don't call request_irq with interrupts disabled
    Author: Arve Hjønnevåg

    switch_gpio: Add missing #include
    Author: Mike Lockwood

    Signed-off-by: MyungJoo Ham
    Signed-off-by: Kyungmin Park
    Reviewed-by: Mark Brown

    --
    Changed from v7:
    - Style updates mentioned by Stephen Boyd and Mark Brown
    Changed from v5:
    - Splitted at v5 from the main extcon patch.
    - Added debounce time for irq handlers.
    - Use request_any_context_irq instead of request_irq
    - User needs to specify irq flags for GPIO interrupts (was fixed to
    IRQF_TRIGGER_LOW before)
    - Use module_platform_driver().
    Signed-off-by: Greg Kroah-Hartman

    MyungJoo Ham