]> nv-tegra.nvidia Code Review - linux-4.9.git/commitdiff
extcon: add unique ac adaptor extcon cable id
authorVenkat Reddy Talla <vreddytalla@nvidia.com>
Wed, 3 Oct 2018 11:43:49 +0000 (17:13 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 23 Oct 2018 09:14:03 +0000 (02:14 -0700)
Add unique ac adaptor extcon cable id, this cable
id used to detect and report always on ac power supply
status to framework layer.

Bug 200453496

Change-Id: Ibeb6b25e0db2aed35bbed7389245fb07125378af
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1922472
(cherry picked from commit 958ce629d61bb2207cb8505b5cf9f5a254153938)
Reviewed-on: https://git-master.nvidia.com/r/1928117
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Xianhui Wang <xianhuiw@nvidia.com>
Tested-by: Xianhui Wang <xianhuiw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Siddardha Naraharisetti <siddardhan@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
include/linux/extcon.h

index 395448192efb2411471ed2815319d2dddf74d40f..10957aaad5518cbf72591b7673b954ed649ad645 100644 (file)
@@ -95,8 +95,9 @@
 #define EXTCON_USB_ACA_RIDC    71
 #define EXTCON_USB_Y_CABLE     72
 #define EXTCON_USB_PD          73
+#define EXTCON_AC_ADAPTOR      74
 
-#define EXTCON_NUM             74
+#define EXTCON_NUM             75
 
 /*
  * Define the property of supported external connectors.