2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00
linux-next/drivers/extcon
Laxman Dewangan 002945f014 extcon: palmas: enable ID_GND and ID_FLOAT detection always
When integrating driver with Tegra platform, it is found that
the ID pins get detected only once after booting system and
further removal and re-insert does not detect the ID pin.

Fixing this issue with enabling interrupt on ID_GND and ID_FLOAT
always  and clearing the status on LATCH register which actually
occurred.

Also if interrupt occurs with line status as zero then based on
previous status, set the cable state.

Add debug prints to display the cable state when any cable
insertion/removal happen.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Graeme Gregory <gg@slimlogic.co.uk>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
2013-08-05 08:53:34 +09:00
..
extcon-adc-jack.c iio: Update iio_channel_get API to use consumer device pointer as argument 2013-02-06 19:23:52 +00:00
extcon-arizona.c extcon: arizona: Make mic detection timeout configurable 2013-04-02 11:54:07 +01:00
extcon-class.c extcon: Add an API to get extcon device from dt node 2013-08-05 08:52:45 +09:00
extcon-gpio.c extcon: gpio: Rename filename of extcon-gpio.c according to kernel naming style 2013-02-13 08:35:43 -08:00
extcon-max8997.c extcon: max8997: Fix return value 2013-04-09 07:53:46 +09:00
extcon-max77693.c extcon: max77693: Fix return value 2013-04-09 07:53:46 +09:00
extcon-palmas.c extcon: palmas: enable ID_GND and ID_FLOAT detection always 2013-08-05 08:53:34 +09:00
Kconfig extcon: Add an API to get extcon device from dt node 2013-08-05 08:52:45 +09:00
Makefile extcon: Add an API to get extcon device from dt node 2013-08-05 08:52:45 +09:00
of_extcon.c extcon: Add an API to get extcon device from dt node 2013-08-05 08:52:45 +09:00