diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index df375e2601da..4955a70fbaf4 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -1900,4 +1900,12 @@ config RAVE_SP_CORE device found on several devices in RAVE line of hardware. endmenu + +config FUSB_30X + tristate "Fairchild fusb302 Support" + depends on I2C + help + This option provides a driver for the Fairchild FUSB302. + It support typec-pd functionality by controlled using I2C. + endif diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile index 5856a9489cbd..efb661ebcc58 100644 --- a/drivers/mfd/Makefile +++ b/drivers/mfd/Makefile @@ -241,3 +241,4 @@ obj-$(CONFIG_MFD_SC27XX_PMIC) += sprd-sc27xx-spi.o obj-$(CONFIG_RAVE_SP_CORE) += rave-sp.o obj-$(CONFIG_MFD_ROHM_BD718XX) += rohm-bd718x7.o +obj-$(CONFIG_FUSB_30X) += fusb302.o diff --git a/drivers/mfd/fusb302.c b/drivers/mfd/fusb302.c index a627252d6710..bb87363af578 100644 --- a/drivers/mfd/fusb302.c +++ b/drivers/mfd/fusb302.c @@ -10,7 +10,7 @@ */ #include -#include +#include #include #include #include