usb: typec: fusb302: Move out of staging

The driver is in good enough shape to be moved out of staging.
Do it.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Guenter Roeck 2017-09-11 20:32:08 -07:00 committed by Greg Kroah-Hartman
parent 4b4e02c831
commit 76f0c53d08
9 changed files with 7 additions and 13 deletions

View File

@ -9,8 +9,6 @@ config TYPEC_TCPCI
help
Type-C Port Controller driver for TCPCI-compliant controller.
source "drivers/staging/typec/fusb302/Kconfig"
endif
endmenu

View File

@ -1,2 +1 @@
obj-$(CONFIG_TYPEC_TCPCI) += tcpci.o
obj-y += fusb302/

View File

@ -1,10 +0,0 @@
fusb302:
- Find a better logging scheme, at least not having the same debugging/logging
code replicated here and in tcpm
- Find a non-hacky way to coordinate between PM and I2C access
- Documentation? The FUSB302 datasheet provides information on the chip to help
understand the code. But it may still be helpful to have a documentation.
- We may want to replace the "fcs,max-snk-microvolt", "fcs,max-snk-microamp",
"fcs,max-snk-microwatt" and "fcs,operating-snk-microwatt" device(tree)
properties with properties which are part of a generic type-c controller
devicetree binding.

View File

@ -12,6 +12,12 @@ config TYPEC_TCPM
The Type-C Port Controller Manager provides a USB PD and USB Type-C
state machine for use with Type-C Port Controllers.
if TYPEC_TCPM
source "drivers/usb/typec/fusb302/Kconfig"
endif
config TYPEC_WCOVE
tristate "Intel WhiskeyCove PMIC USB Type-C PHY driver"
depends on ACPI

View File

@ -1,4 +1,5 @@
obj-$(CONFIG_TYPEC) += typec.o
obj-$(CONFIG_TYPEC_TCPM) += tcpm.o
obj-y += fusb302/
obj-$(CONFIG_TYPEC_WCOVE) += typec_wcove.o
obj-$(CONFIG_TYPEC_UCSI) += ucsi/