OpenCloudOS-Kernel/drivers/extcon
Chanwoo Choi 176aa36012 extcon: Split out extcon header file for consumer and provider device
The extcon has two type of extcon devices as following.
- 'extcon provider deivce' adds new extcon device and detect the
   state/properties of external connector. Also, it notifies the
   state/properties to the extcon consumer device.
- 'extcon consumer device' gets the change state/properties
   from extcon provider device.
Prior to that, include/linux/extcon.h contains all exported API for
both provider and consumer device driver. To clarify the meaning of
header file and to remove the wrong use-case on consumer device,
this patch separates into extcon.h and extcon-provider.h.

[Description for include/linux/{extcon.h|extcon-provider.h}]
- extcon.h includes the extcon API and data structure for extcon consumer
  device driver. This header file contains the following APIs:
  : Register/unregister the notifier to catch the change of extcon device
  : Get the extcon device instance
  : Get the extcon device name
  : Get the state of each external connector
  : Get the property value of each external connector
  : Get the property capability of each external connector

- extcon-provider.h includes the extcon API and data structure for extcon
  provider device driver. This header file contains the following APIs:
  : Include 'include/linux/extcon.h'
  : Allocate the memory for extcon device instance
  : Register/unregister extcon device
  : Set the state of each external connector
  : Set the property value of each external connector
  : Set the property capability of each external connector

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
2017-10-23 14:07:58 +09:00
..
Kconfig extcon: cros-ec: Add extcon-cros-ec driver to support display out 2017-07-17 19:25:49 +09:00
Makefile extcon: cros-ec: Add extcon-cros-ec driver to support display out 2017-07-17 19:25:49 +09:00
devres.c extcon: Correct description to improve the readability 2017-08-16 09:27:55 +09:00
extcon-adc-jack.c extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00
extcon-arizona.c extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00
extcon-axp288.c extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00
extcon-gpio.c extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00
extcon-intel-cht-wc.c extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00
extcon-intel-int3496.c extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00
extcon-max3355.c extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00
extcon-max8997.c extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00
extcon-max14577.c extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00
extcon-max77693.c extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00
extcon-max77843.c extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00
extcon-palmas.c extcon: palmas: Don't miss GPIO events during suspend/resume 2017-04-06 10:55:22 +09:00
extcon-qcom-spmi-misc.c extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00
extcon-rt8973a.c extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00
extcon-rt8973a.h extcon: rt8973a: Add Richtek RT8973A extcon driver 2014-09-22 11:43:08 +09:00
extcon-sm5502.c extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +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: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00
extcon-usbc-cros-ec.c extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00
extcon.c extcon: Correct description to improve the readability 2017-08-16 09:27:55 +09:00
extcon.h extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00