X-Power AXP288 EXTCON support

modulename: extcon-axp288.ko

configname: CONFIG_EXTCON_AXP288

Linux Kernel Configuration
└─>Device Drivers
└─>External Connector Class (extcon) support
└─>X-Power AXP288 EXTCON support
In linux kernel since version 4.1 (release Date: 2015-06-21)  
Say Y here to enable support for USB peripheral detection
and USB MUX switching by X-Power AXP288 PMIC.

source code: