2015-04-30 18:14:45 +03:00
|
|
|
/*
|
|
|
|
* extcon-axp288.c - X-Power AXP288 PMIC extcon cable detection driver
|
|
|
|
*
|
2017-12-22 15:36:15 +03:00
|
|
|
* Copyright (C) 2016-2017 Hans de Goede <hdegoede@redhat.com>
|
2015-04-30 18:14:45 +03:00
|
|
|
* Copyright (C) 2015 Intel Corporation
|
|
|
|
* Author: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/module.h>
|
|
|
|
#include <linux/kernel.h>
|
|
|
|
#include <linux/io.h>
|
|
|
|
#include <linux/slab.h>
|
|
|
|
#include <linux/interrupt.h>
|
|
|
|
#include <linux/platform_device.h>
|
|
|
|
#include <linux/property.h>
|
|
|
|
#include <linux/notifier.h>
|
2017-09-21 06:11:24 +03:00
|
|
|
#include <linux/extcon-provider.h>
|
2015-04-30 18:14:45 +03:00
|
|
|
#include <linux/regmap.h>
|
|
|
|
#include <linux/mfd/axp20x.h>
|
|
|
|
|
|
|
|
/* Power source status register */
|
|
|
|
#define PS_STAT_VBUS_TRIGGER BIT(0)
|
|
|
|
#define PS_STAT_BAT_CHRG_DIR BIT(2)
|
|
|
|
#define PS_STAT_VBUS_ABOVE_VHOLD BIT(3)
|
|
|
|
#define PS_STAT_VBUS_VALID BIT(4)
|
|
|
|
#define PS_STAT_VBUS_PRESENT BIT(5)
|
|
|
|
|
|
|
|
/* BC module global register */
|
|
|
|
#define BC_GLOBAL_RUN BIT(0)
|
|
|
|
#define BC_GLOBAL_DET_STAT BIT(2)
|
|
|
|
#define BC_GLOBAL_DBP_TOUT BIT(3)
|
|
|
|
#define BC_GLOBAL_VLGC_COM_SEL BIT(4)
|
|
|
|
#define BC_GLOBAL_DCD_TOUT_MASK (BIT(6)|BIT(5))
|
|
|
|
#define BC_GLOBAL_DCD_TOUT_300MS 0
|
|
|
|
#define BC_GLOBAL_DCD_TOUT_100MS 1
|
|
|
|
#define BC_GLOBAL_DCD_TOUT_500MS 2
|
|
|
|
#define BC_GLOBAL_DCD_TOUT_900MS 3
|
|
|
|
#define BC_GLOBAL_DCD_DET_SEL BIT(7)
|
|
|
|
|
|
|
|
/* BC module vbus control and status register */
|
|
|
|
#define VBUS_CNTL_DPDM_PD_EN BIT(4)
|
|
|
|
#define VBUS_CNTL_DPDM_FD_EN BIT(5)
|
|
|
|
#define VBUS_CNTL_FIRST_PO_STAT BIT(6)
|
|
|
|
|
|
|
|
/* BC USB status register */
|
|
|
|
#define USB_STAT_BUS_STAT_MASK (BIT(3)|BIT(2)|BIT(1)|BIT(0))
|
|
|
|
#define USB_STAT_BUS_STAT_SHIFT 0
|
|
|
|
#define USB_STAT_BUS_STAT_ATHD 0
|
|
|
|
#define USB_STAT_BUS_STAT_CONN 1
|
|
|
|
#define USB_STAT_BUS_STAT_SUSP 2
|
|
|
|
#define USB_STAT_BUS_STAT_CONF 3
|
|
|
|
#define USB_STAT_USB_SS_MODE BIT(4)
|
|
|
|
#define USB_STAT_DEAD_BAT_DET BIT(6)
|
|
|
|
#define USB_STAT_DBP_UNCFG BIT(7)
|
|
|
|
|
|
|
|
/* BC detect status register */
|
|
|
|
#define DET_STAT_MASK (BIT(7)|BIT(6)|BIT(5))
|
|
|
|
#define DET_STAT_SHIFT 5
|
|
|
|
#define DET_STAT_SDP 1
|
|
|
|
#define DET_STAT_CDP 2
|
|
|
|
#define DET_STAT_DCP 3
|
|
|
|
|
|
|
|
enum axp288_extcon_reg {
|
|
|
|
AXP288_PS_STAT_REG = 0x00,
|
|
|
|
AXP288_PS_BOOT_REASON_REG = 0x02,
|
|
|
|
AXP288_BC_GLOBAL_REG = 0x2c,
|
|
|
|
AXP288_BC_VBUS_CNTL_REG = 0x2d,
|
|
|
|
AXP288_BC_USB_STAT_REG = 0x2e,
|
|
|
|
AXP288_BC_DET_STAT_REG = 0x2f,
|
|
|
|
};
|
|
|
|
|
|
|
|
enum axp288_extcon_irq {
|
|
|
|
VBUS_FALLING_IRQ = 0,
|
|
|
|
VBUS_RISING_IRQ,
|
|
|
|
MV_CHNG_IRQ,
|
|
|
|
BC_USB_CHNG_IRQ,
|
|
|
|
EXTCON_IRQ_END,
|
|
|
|
};
|
|
|
|
|
2015-06-12 05:10:06 +03:00
|
|
|
static const unsigned int axp288_extcon_cables[] = {
|
2015-10-03 08:15:13 +03:00
|
|
|
EXTCON_CHG_USB_SDP,
|
|
|
|
EXTCON_CHG_USB_CDP,
|
|
|
|
EXTCON_CHG_USB_DCP,
|
2016-12-21 09:51:26 +03:00
|
|
|
EXTCON_USB,
|
extcon: Use the unique id for external connector instead of string
This patch uses the unique id to identify the type of external connector instead
of string name. The string name have the many potential issues. So, this patch
defines the 'extcon' enumeration which includes all supported external connector
on EXTCON subsystem. If new external connector is necessary, the unique id of
new connector have to be added in 'extcon' enumeration. There are current
supported external connector in 'enum extcon' as following:
enum extcon {
EXTCON_NONE = 0x0,
/* USB external connector */
EXTCON_USB = 0x1,
EXTCON_USB_HOST = 0x2,
/* Charger external connector */
EXTCON_TA = 0x10,
EXTCON_FAST_CHARGER = 0x11,
EXTCON_SLOW_CHARGER = 0x12,
EXTCON_CHARGE_DOWNSTREAM = 0x13,
/* Audio and video external connector */
EXTCON_LINE_IN = 0x20,
EXTCON_LINE_OUT = 0x21,
EXTCON_MICROPHONE = 0x22,
EXTCON_HEADPHONE = 0x23,
EXTCON_HDMI = 0x30,
EXTCON_MHL = 0x31,
EXTCON_DVI = 0x32,
EXTCON_VGA = 0x33,
EXTCON_SPDIF_IN = 0x34,
EXTCON_SPDIF_OUT = 0x35,
EXTCON_VIDEO_IN = 0x36,
EXTCON_VIDEO_OUT = 0x37,
/* Miscellaneous external connector */
EXTCON_DOCK = 0x50,
EXTCON_JIG = 0x51,
EXTCON_MECHANICAL = 0x52,
EXTCON_END,
};
For example in extcon-arizona.c:
To use unique id removes the potential issue about handling
the inconsistent name of external connector with string.
- Previously, use the string to register the type of arizona jack connector
static const char *arizona_cable[] = {
"Mechanical",
"Microphone",
"Headphone",
"Line-out",
};
- Newly, use the unique id to register the type of arizona jack connector
static const enum extcon arizona_cable[] = {
EXTCON_MECHANICAL,
EXTCON_MICROPHONE,
EXTCON_HEADPHONE,
EXTCON_LINE_OUT,
EXTCON_NONE,
};
And this patch modify the prototype of extcon_{get|set}_cable_state_() which
uses the 'enum extcon id' instead of 'cable_index'. Because although one more
extcon drivers support USB cable, each extcon driver might has the differnt
'cable_index' for USB cable. All extcon drivers can use the unique id number
for same external connector with modified extcon_{get|set}_cable_state_().
- Previously, use 'cable_index' on these functions:
extcon_get_cable_state_(struct extcon_dev*, int cable_index)
extcon_set_cable_state_(struct extcon_dev*, int cable_index, bool state)
-Newly, use 'enum extcon id' on these functions:
extcon_get_cable_state_(struct extcon_dev*, enum extcon id)
extcon_set_cable_state_(struct extcon_dev*, enum extcon id, bool state)
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Roger Quadros <rogerq@ti.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
[arnd: Report the build break about drivers/usb/phy/phy-tahvo.c after using the
unique id for external connector insteadf of string]
Reported-by: Arnd Bergmann <arnd@arndb.de>
[dan.carpenter: Report the build warning of extcon_{set|get}_cable_state_()]
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
2015-04-24 13:16:05 +03:00
|
|
|
EXTCON_NONE,
|
2015-04-30 18:14:45 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
struct axp288_extcon_info {
|
|
|
|
struct device *dev;
|
|
|
|
struct regmap *regmap;
|
|
|
|
struct regmap_irq_chip_data *regmap_irqc;
|
2017-12-22 15:36:15 +03:00
|
|
|
struct delayed_work det_work;
|
2015-04-30 18:14:45 +03:00
|
|
|
int irq[EXTCON_IRQ_END];
|
|
|
|
struct extcon_dev *edev;
|
2016-12-19 03:13:09 +03:00
|
|
|
unsigned int previous_cable;
|
2017-12-22 15:36:15 +03:00
|
|
|
bool first_detect_done;
|
2015-04-30 18:14:45 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
/* Power up/down reason string array */
|
|
|
|
static char *axp288_pwr_up_down_info[] = {
|
|
|
|
"Last wake caused by user pressing the power button",
|
|
|
|
"Last wake caused by a charger insertion",
|
|
|
|
"Last wake caused by a battery insertion",
|
|
|
|
"Last wake caused by SOC initiated global reset",
|
|
|
|
"Last wake caused by cold reset",
|
|
|
|
"Last shutdown caused by PMIC UVLO threshold",
|
|
|
|
"Last shutdown caused by SOC initiated cold off",
|
|
|
|
"Last shutdown caused by user pressing the power button",
|
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Decode and log the given "reset source indicator" (rsi)
|
|
|
|
* register and then clear it.
|
|
|
|
*/
|
|
|
|
static void axp288_extcon_log_rsi(struct axp288_extcon_info *info)
|
|
|
|
{
|
|
|
|
char **rsi;
|
|
|
|
unsigned int val, i, clear_mask = 0;
|
|
|
|
int ret;
|
|
|
|
|
|
|
|
ret = regmap_read(info->regmap, AXP288_PS_BOOT_REASON_REG, &val);
|
|
|
|
for (i = 0, rsi = axp288_pwr_up_down_info; *rsi; rsi++, i++) {
|
|
|
|
if (val & BIT(i)) {
|
|
|
|
dev_dbg(info->dev, "%s\n", *rsi);
|
|
|
|
clear_mask |= BIT(i);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Clear the register value for next reboot (write 1 to clear bit) */
|
|
|
|
regmap_write(info->regmap, AXP288_PS_BOOT_REASON_REG, clear_mask);
|
|
|
|
}
|
|
|
|
|
2017-12-22 15:36:15 +03:00
|
|
|
static void axp288_chrg_detect_complete(struct axp288_extcon_info *info)
|
|
|
|
{
|
|
|
|
/*
|
|
|
|
* We depend on other drivers to do things like mux the data lines,
|
|
|
|
* enable/disable vbus based on the id-pin, etc. Sometimes the BIOS has
|
|
|
|
* not set these things up correctly resulting in the initial charger
|
|
|
|
* cable type detection giving a wrong result and we end up not charging
|
|
|
|
* or charging at only 0.5A.
|
|
|
|
*
|
|
|
|
* So we schedule a second cable type detection after 2 seconds to
|
|
|
|
* give the other drivers time to load and do their thing.
|
|
|
|
*/
|
|
|
|
if (!info->first_detect_done) {
|
|
|
|
queue_delayed_work(system_wq, &info->det_work,
|
|
|
|
msecs_to_jiffies(2000));
|
|
|
|
info->first_detect_done = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-04-30 18:14:45 +03:00
|
|
|
static int axp288_handle_chrg_det_event(struct axp288_extcon_info *info)
|
|
|
|
{
|
|
|
|
int ret, stat, cfg, pwr_stat;
|
|
|
|
u8 chrg_type;
|
2016-12-19 03:13:09 +03:00
|
|
|
unsigned int cable = info->previous_cable;
|
2015-04-30 18:14:45 +03:00
|
|
|
bool vbus_attach = false;
|
|
|
|
|
|
|
|
ret = regmap_read(info->regmap, AXP288_PS_STAT_REG, &pwr_stat);
|
|
|
|
if (ret < 0) {
|
|
|
|
dev_err(info->dev, "failed to read vbus status\n");
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
2016-12-19 03:13:11 +03:00
|
|
|
vbus_attach = (pwr_stat & PS_STAT_VBUS_VALID);
|
2015-04-30 18:14:45 +03:00
|
|
|
if (!vbus_attach)
|
2016-12-19 03:13:08 +03:00
|
|
|
goto no_vbus;
|
2015-04-30 18:14:45 +03:00
|
|
|
|
|
|
|
/* Check charger detection completion status */
|
|
|
|
ret = regmap_read(info->regmap, AXP288_BC_GLOBAL_REG, &cfg);
|
|
|
|
if (ret < 0)
|
|
|
|
goto dev_det_ret;
|
|
|
|
if (cfg & BC_GLOBAL_DET_STAT) {
|
|
|
|
dev_dbg(info->dev, "can't complete the charger detection\n");
|
|
|
|
goto dev_det_ret;
|
|
|
|
}
|
|
|
|
|
|
|
|
ret = regmap_read(info->regmap, AXP288_BC_DET_STAT_REG, &stat);
|
|
|
|
if (ret < 0)
|
|
|
|
goto dev_det_ret;
|
|
|
|
|
|
|
|
chrg_type = (stat & DET_STAT_MASK) >> DET_STAT_SHIFT;
|
|
|
|
|
|
|
|
switch (chrg_type) {
|
|
|
|
case DET_STAT_SDP:
|
2016-08-17 21:02:35 +03:00
|
|
|
dev_dbg(info->dev, "sdp cable is connected\n");
|
2015-10-03 08:15:13 +03:00
|
|
|
cable = EXTCON_CHG_USB_SDP;
|
2015-04-30 18:14:45 +03:00
|
|
|
break;
|
|
|
|
case DET_STAT_CDP:
|
2016-08-17 21:02:35 +03:00
|
|
|
dev_dbg(info->dev, "cdp cable is connected\n");
|
2015-10-03 08:15:13 +03:00
|
|
|
cable = EXTCON_CHG_USB_CDP;
|
2015-04-30 18:14:45 +03:00
|
|
|
break;
|
|
|
|
case DET_STAT_DCP:
|
2016-08-17 21:02:35 +03:00
|
|
|
dev_dbg(info->dev, "dcp cable is connected\n");
|
2015-10-03 08:15:13 +03:00
|
|
|
cable = EXTCON_CHG_USB_DCP;
|
2015-04-30 18:14:45 +03:00
|
|
|
break;
|
|
|
|
default:
|
|
|
|
dev_warn(info->dev,
|
|
|
|
"disconnect or unknown or ID event\n");
|
|
|
|
}
|
|
|
|
|
2016-12-19 03:13:08 +03:00
|
|
|
no_vbus:
|
2016-12-19 03:13:09 +03:00
|
|
|
extcon_set_state_sync(info->edev, info->previous_cable, false);
|
2016-12-21 09:51:26 +03:00
|
|
|
if (info->previous_cable == EXTCON_CHG_USB_SDP)
|
|
|
|
extcon_set_state_sync(info->edev, EXTCON_USB, false);
|
|
|
|
|
2016-12-19 03:13:09 +03:00
|
|
|
if (vbus_attach) {
|
|
|
|
extcon_set_state_sync(info->edev, cable, vbus_attach);
|
2016-12-21 09:51:26 +03:00
|
|
|
if (cable == EXTCON_CHG_USB_SDP)
|
|
|
|
extcon_set_state_sync(info->edev, EXTCON_USB,
|
|
|
|
vbus_attach);
|
|
|
|
|
2016-12-19 03:13:09 +03:00
|
|
|
info->previous_cable = cable;
|
|
|
|
}
|
2015-04-30 18:14:45 +03:00
|
|
|
|
2017-12-22 15:36:15 +03:00
|
|
|
axp288_chrg_detect_complete(info);
|
|
|
|
|
2015-04-30 18:14:45 +03:00
|
|
|
return 0;
|
|
|
|
|
|
|
|
dev_det_ret:
|
|
|
|
if (ret < 0)
|
|
|
|
dev_err(info->dev, "failed to detect BC Mod\n");
|
|
|
|
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
|
|
|
static irqreturn_t axp288_extcon_isr(int irq, void *data)
|
|
|
|
{
|
|
|
|
struct axp288_extcon_info *info = data;
|
|
|
|
int ret;
|
|
|
|
|
|
|
|
ret = axp288_handle_chrg_det_event(info);
|
|
|
|
if (ret < 0)
|
|
|
|
dev_err(info->dev, "failed to handle the interrupt\n");
|
|
|
|
|
|
|
|
return IRQ_HANDLED;
|
|
|
|
}
|
|
|
|
|
2017-12-22 15:36:15 +03:00
|
|
|
static void axp288_extcon_det_work(struct work_struct *work)
|
2015-04-30 18:14:45 +03:00
|
|
|
{
|
2017-12-22 15:36:15 +03:00
|
|
|
struct axp288_extcon_info *info =
|
|
|
|
container_of(work, struct axp288_extcon_info, det_work.work);
|
|
|
|
|
2015-04-30 18:14:45 +03:00
|
|
|
regmap_update_bits(info->regmap, AXP288_BC_GLOBAL_REG,
|
|
|
|
BC_GLOBAL_RUN, 0);
|
|
|
|
/* Enable the charger detection logic */
|
|
|
|
regmap_update_bits(info->regmap, AXP288_BC_GLOBAL_REG,
|
|
|
|
BC_GLOBAL_RUN, BC_GLOBAL_RUN);
|
|
|
|
}
|
|
|
|
|
|
|
|
static int axp288_extcon_probe(struct platform_device *pdev)
|
|
|
|
{
|
|
|
|
struct axp288_extcon_info *info;
|
|
|
|
struct axp20x_dev *axp20x = dev_get_drvdata(pdev->dev.parent);
|
2017-12-30 19:04:13 +03:00
|
|
|
int ret, i, pirq;
|
2015-04-30 18:14:45 +03:00
|
|
|
|
|
|
|
info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL);
|
|
|
|
if (!info)
|
|
|
|
return -ENOMEM;
|
|
|
|
|
|
|
|
info->dev = &pdev->dev;
|
|
|
|
info->regmap = axp20x->regmap;
|
|
|
|
info->regmap_irqc = axp20x->regmap_irqc;
|
2016-12-19 03:13:09 +03:00
|
|
|
info->previous_cable = EXTCON_NONE;
|
2017-12-22 15:36:15 +03:00
|
|
|
INIT_DELAYED_WORK(&info->det_work, axp288_extcon_det_work);
|
2016-12-19 03:13:06 +03:00
|
|
|
|
2015-04-30 18:14:45 +03:00
|
|
|
platform_set_drvdata(pdev, info);
|
|
|
|
|
|
|
|
axp288_extcon_log_rsi(info);
|
|
|
|
|
|
|
|
/* Initialize extcon device */
|
|
|
|
info->edev = devm_extcon_dev_allocate(&pdev->dev,
|
|
|
|
axp288_extcon_cables);
|
|
|
|
if (IS_ERR(info->edev)) {
|
|
|
|
dev_err(&pdev->dev, "failed to allocate memory for extcon\n");
|
|
|
|
return PTR_ERR(info->edev);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Register extcon device */
|
|
|
|
ret = devm_extcon_dev_register(&pdev->dev, info->edev);
|
|
|
|
if (ret) {
|
|
|
|
dev_err(&pdev->dev, "failed to register extcon device\n");
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
|
|
|
for (i = 0; i < EXTCON_IRQ_END; i++) {
|
|
|
|
pirq = platform_get_irq(pdev, i);
|
2017-11-23 18:55:30 +03:00
|
|
|
if (pirq < 0)
|
|
|
|
return pirq;
|
|
|
|
|
2015-04-30 18:14:45 +03:00
|
|
|
info->irq[i] = regmap_irq_get_virq(info->regmap_irqc, pirq);
|
|
|
|
if (info->irq[i] < 0) {
|
|
|
|
dev_err(&pdev->dev,
|
|
|
|
"failed to get virtual interrupt=%d\n", pirq);
|
|
|
|
ret = info->irq[i];
|
2015-09-14 20:49:35 +03:00
|
|
|
return ret;
|
2015-04-30 18:14:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
ret = devm_request_threaded_irq(&pdev->dev, info->irq[i],
|
|
|
|
NULL, axp288_extcon_isr,
|
|
|
|
IRQF_ONESHOT | IRQF_NO_SUSPEND,
|
|
|
|
pdev->name, info);
|
|
|
|
if (ret) {
|
|
|
|
dev_err(&pdev->dev, "failed to request interrupt=%d\n",
|
|
|
|
info->irq[i]);
|
2015-09-14 20:49:35 +03:00
|
|
|
return ret;
|
2015-04-30 18:14:45 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-19 03:13:12 +03:00
|
|
|
/* Start charger cable type detection */
|
2017-12-22 15:36:15 +03:00
|
|
|
queue_delayed_work(system_wq, &info->det_work, 0);
|
2015-04-30 18:14:45 +03:00
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2016-12-19 03:13:13 +03:00
|
|
|
static const struct platform_device_id axp288_extcon_table[] = {
|
|
|
|
{ .name = "axp288_extcon" },
|
|
|
|
{},
|
|
|
|
};
|
|
|
|
MODULE_DEVICE_TABLE(platform, axp288_extcon_table);
|
|
|
|
|
2015-04-30 18:14:45 +03:00
|
|
|
static struct platform_driver axp288_extcon_driver = {
|
|
|
|
.probe = axp288_extcon_probe,
|
2016-12-19 03:13:13 +03:00
|
|
|
.id_table = axp288_extcon_table,
|
2015-04-30 18:14:45 +03:00
|
|
|
.driver = {
|
|
|
|
.name = "axp288_extcon",
|
|
|
|
},
|
|
|
|
};
|
|
|
|
module_platform_driver(axp288_extcon_driver);
|
|
|
|
|
|
|
|
MODULE_AUTHOR("Ramakrishna Pallala <ramakrishna.pallala@intel.com>");
|
|
|
|
MODULE_DESCRIPTION("X-Powers AXP288 extcon driver");
|
|
|
|
MODULE_LICENSE("GPL v2");
|