Skip to content
  • MyungJoo Ham's avatar
    Extcon: support generic GPIO extcon driver · be48308a
    MyungJoo Ham authored
    
    
    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 <lockwood@android.com>
    
    switch: gpio: Don't call request_irq with interrupts disabled
    Author: Arve Hjønnevåg <arve@android.com>
    
    switch_gpio: Add missing #include <linux/interrupt.h>
    Author: Mike Lockwood <lockwood@android.com>
    
    Signed-off-by: default avatarMyungJoo Ham <myungjoo.ham@samsung.com>
    Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
    Reviewed-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    
    --
    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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    be48308a