On Intel Merrifield platforms the Basin Cove PMIC responsible for USB DR detection among other things.
Here is the extcon driver to support USB DR and charger detection. Since v2: - rebase on top of extcon-next - update copyright year - address most of Chanwoo's comments (rest is left in similarity with other Intel extcon drivers) Andy Shevchenko (2): extcon: intel: Split out some definitions to a common header extcon: mrfld: Introduce extcon driver for Basin Cove PMIC drivers/extcon/Kconfig | 7 + drivers/extcon/Makefile | 1 + drivers/extcon/extcon-intel-cht-wc.c | 21 +- drivers/extcon/extcon-intel-mrfld.c | 284 +++++++++++++++++++++++++++ drivers/extcon/extcon-intel.h | 20 ++ 5 files changed, 319 insertions(+), 14 deletions(-) create mode 100644 drivers/extcon/extcon-intel-mrfld.c create mode 100644 drivers/extcon/extcon-intel.h -- 2.20.1