alistair23-linux/drivers/extcon
Chanwoo Choi 792e7e9e5d extcon: Add the support for extcon property according to extcon type
This patch support the extcon property for the external connector
because each external connector might have the property according to
the H/W design and the specific characteristics.

- EXTCON_PROP_USB_[property name]
- EXTCON_PROP_CHG_[property name]
- EXTCON_PROP_JACK_[property name]
- EXTCON_PROP_DISP_[property name]

Add the new extcon APIs to get/set the property value as following:
- int extcon_get_property(struct extcon_dev *edev, unsigned int id,
			unsigned int prop,
			union extcon_property_value *prop_val)
- int extcon_set_property(struct extcon_dev *edev, unsigned int id,
			unsigned int prop,
			union extcon_property_value prop_val)

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Tested-by: Chris Zhong <zyw@rock-chips.com>
Tested-by: Guenter Roeck <groeck@chromium.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
2016-08-08 11:17:22 +09:00
..
devres.c extcon: Add resource-managed functions to register extcon notifier 2016-06-27 21:03:23 +09:00
extcon-adc-jack.c extcon: adc-jack: Remove the usage of extcon_set_state() 2016-08-08 10:58:35 +09:00
extcon-arizona.c extcon: arizona: Remove the usage of extcon_update_state() 2016-08-08 10:58:35 +09:00
extcon-axp288.c extcon: Modify the id and name of external connector 2015-10-16 08:30:09 +09:00
extcon-gpio.c extcon: gpio: Remove the usage of extcon_set_state() 2016-08-08 10:58:36 +09:00
extcon-max3355.c extcon: add Maxim MAX3355 driver 2015-12-21 11:44:00 +09:00
extcon-max8997.c extcon: Add the EXTCON_CHG_USB_SDP to support SDP charing port 2016-01-25 13:16:53 +09:00
extcon-max14577.c extcon: Add the EXTCON_CHG_USB_SDP to support SDP charing port 2016-01-25 13:16:53 +09:00
extcon-max77693.c extcon: Add the EXTCON_CHG_USB_SDP to support SDP charing port 2016-01-25 13:16:53 +09:00
extcon-max77843.c extcon: max77843: Use correct size for reading the interrupt register 2016-02-05 11:37:26 +09:00
extcon-palmas.c extcon: palmas: Fix boot up state of VBUS when using GPIO detection 2016-06-15 17:17:22 +09:00
extcon-rt8973a.c extcon: Add the EXTCON_CHG_USB_SDP to support SDP charing port 2016-01-25 13:16:53 +09:00
extcon-rt8973a.h extcon: rt8973a: Add Richtek RT8973A extcon driver 2014-09-22 11:43:08 +09:00
extcon-sm5502.c extcon: Add the EXTCON_CHG_USB_SDP to support SDP charing port 2016-01-25 13:16:53 +09:00
extcon-sm5502.h extcon: sm5502: Move sm5502.h header file to extcon directory 2014-09-22 11:43:08 +09:00
extcon-usb-gpio.c extcon: usb-gpio: add support for ACPI gpio interface 2016-06-21 14:09:53 +09:00
extcon.c extcon: Add the support for extcon property according to extcon type 2016-08-08 11:17:22 +09:00
Kconfig extcon: add Maxim MAX3355 driver 2015-12-21 11:44:00 +09:00
Makefile extcon: link devres into core module 2016-06-30 22:18:40 +09:00