diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2016-08-05 18:15:46 +0900 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2016-09-10 16:48:57 +0530 |
commit | af9b9285f2e9b5a625284f92fa508141b26ec381 (patch) | |
tree | 8683bbe01712762107be7df8df88ae5421e1bc76 /drivers/extcon | |
parent | 736d25b115e8f7b6728f39a993d784aac1c6118b (diff) | |
download | linux-af9b9285f2e9b5a625284f92fa508141b26ec381.tar.gz linux-af9b9285f2e9b5a625284f92fa508141b26ec381.tar.bz2 linux-af9b9285f2e9b5a625284f92fa508141b26ec381.zip |
extcon: Add new EXTCON_CHG_WPT for Wireless Power Transfer device
This patchs add the new EXTCON_CHG_WPT for Wireless Power Transfer[1].
The Wireless Power Transfer is the transmission of electronical energy
from a power source. The EXTCON_CHG_WPT has the EXTCON_TYPE_CHG.
[1] https://en.wikipedia.org/wiki/Wireless_power_transfer
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon')
-rw-r--r-- | drivers/extcon/extcon.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/extcon/extcon.c b/drivers/extcon/extcon.c index 10ba876ea77a..78298460d168 100644 --- a/drivers/extcon/extcon.c +++ b/drivers/extcon/extcon.c @@ -93,6 +93,11 @@ struct __extcon_info { .id = EXTCON_CHG_USB_SLOW, .name = "SLOW-CHARGER", }, + [EXTCON_CHG_WPT] = { + .type = EXTCON_TYPE_CHG, + .id = EXTCON_CHG_WPT, + .name = "WPT", + }, /* Jack external connector */ [EXTCON_JACK_MICROPHONE] = { |