Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1456995 > unrolled thread

[PATCH] extcon: Add new EXTCON_CHG_WPT for Wireless Power Transfer device

Started byChanwoo Choi <cw00.choi@samsung.com>
First post2016-08-05 12:00 +0200
Last post2016-08-05 12:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] extcon: Add new EXTCON_CHG_WPT for Wireless Power Transfer  device Chanwoo Choi <cw00.choi@samsung.com> - 2016-08-05 12:00 +0200

#1456995 — [PATCH] extcon: Add new EXTCON_CHG_WPT for Wireless Power Transfer device

FromChanwoo Choi <cw00.choi@samsung.com>
Date2016-08-05 12:00 +0200
Subject[PATCH] extcon: Add new EXTCON_CHG_WPT for Wireless Power Transfer device
Message-ID<s2K53-5Nd-1@gated-at.bofh.it>
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>
---
 drivers/extcon/extcon.c | 5 +++++
 include/linux/extcon.h  | 1 +
 2 files changed, 6 insertions(+)

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] = {
diff --git a/include/linux/extcon.h b/include/linux/extcon.h
index e79b644f41a7..461abee969b7 100644
--- a/include/linux/extcon.h
+++ b/include/linux/extcon.h
@@ -53,6 +53,7 @@
 #define EXTCON_CHG_USB_ACA	8	/* Accessory Charger Adapter */
 #define EXTCON_CHG_USB_FAST	9
 #define EXTCON_CHG_USB_SLOW	10
+#define EXTCON_CHG_WPT		11	/* Wireless Power Transfer */
 
 /* Jack external connector */
 #define EXTCON_JACK_MICROPHONE	20
-- 
1.9.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web