19 Mar, 2014
1 commit
-
This patch move simply OF helper function to extcon core and change function
name as following:
- of_extcon_get_extcon_dev() -> extcon_get_edev_by_phandle()Signed-off-by: Chanwoo Choi
Acked-by: Felipe Balbi
09 Jan, 2014
1 commit
-
When system on the suspend state, Some SoC can't get gpio interrupt.
After system resume, need send extcon uevent to userspace.Signed-off-by: Rongjun Ying
Reviewed-by: Barry Song
Acked-by: Myungjoo Ham
Signed-off-by: Chanwoo Choi
27 Sep, 2013
2 commits
-
This patch add 'gpio_active_low' field to 'struct gpio_extcon_data'
to check whether gpio active state is 1(high) or 0(low).Signed-off-by: Guenter Roeck
Signed-off-by: Chanwoo Choi -
Signed-off-by: Chanwoo Choi
Signed-off-by: Myungjoo Ham
05 Aug, 2013
1 commit
-
Added an API of_extcon_get_extcon_dev() to be used by drivers to get
extcon device in the case of dt boot (this can be used instead of
extcon_get_extcon_dev()).Signed-off-by: Kishon Vijay Abraham I
Signed-off-by: Chanwoo Choi
Signed-off-by: Myungjoo Ham
14 Feb, 2013
1 commit
-
Signed-off-by: Chanwoo Choi
Signed-off-by: Myungjoo Ham
Signed-off-by: Greg Kroah-Hartman
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
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 -
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
18 Jul, 2012
1 commit
-
Signed-off-by: Peter Meerwald
Signed-off-by: Myungjoo Ham
Signed-off-by: Greg Kroah-Hartman
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 Lockwoodswitch: gpio: Don't call request_irq with interrupts disabled
Author: Arve Hjønnevågswitch_gpio: Add missing #include
Author: Mike LockwoodSigned-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