mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
mfd: add driver for fusb302 Type-C PD
New driver only support DRP mode without swap function. Swap function will be added in later. Change-Id: I7e0c2c424def069d4be78c3bc8f704c3f7e5be48 Signed-off-by: Zain Wang <wzz@rock-chips.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
*/
|
||||
|
||||
#include <linux/delay.h>
|
||||
#include <linux/extcon.h>
|
||||
#include <linux/extcon-provider.h>
|
||||
#include <linux/gpio.h>
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/module.h>
|
||||
|
||||
Reference in New Issue
Block a user