typec: introduce bm92txx driver
TODO: fix commit
This commit is contained in:
@@ -110,6 +110,15 @@ config TYPEC_WUSB3801
|
||||
If you choose to build this driver as a dynamically linked module, the
|
||||
module will be called wusb3801.ko.
|
||||
|
||||
config TYPEC_BM92TXX
|
||||
tristate "Rohm Semiconductor BM92TXX USB Type-C Support"
|
||||
depends on I2C
|
||||
depends on USB_ROLE_SWITCH
|
||||
help
|
||||
Say yes here to support for Rohm Semiconductor BM92TXX. This is a USB
|
||||
Type-C connection IC. This driver provies common support for power
|
||||
negotiation, USB ID detection and Hot-plug-detection on Display Port.
|
||||
|
||||
source "drivers/usb/typec/mux/Kconfig"
|
||||
|
||||
source "drivers/usb/typec/altmodes/Kconfig"
|
||||
|
||||
@@ -11,4 +11,5 @@ obj-$(CONFIG_TYPEC_HD3SS3220) += hd3ss3220.o
|
||||
obj-$(CONFIG_TYPEC_STUSB160X) += stusb160x.o
|
||||
obj-$(CONFIG_TYPEC_RT1719) += rt1719.o
|
||||
obj-$(CONFIG_TYPEC_WUSB3801) += wusb3801.o
|
||||
obj-$(CONFIG_TYPEC_BM92TXX) += bm92txx.o
|
||||
obj-$(CONFIG_TYPEC) += mux/
|
||||
|
||||
2631
drivers/usb/typec/bm92txx.c
Normal file
2631
drivers/usb/typec/bm92txx.c
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1187,6 +1187,7 @@
|
||||
up_read
|
||||
up_write
|
||||
usb_control_msg
|
||||
usb_role_switch_get_role
|
||||
usb_role_switch_put
|
||||
usb_role_switch_set_role
|
||||
__usecs_to_jiffies
|
||||
@@ -1247,6 +1248,14 @@
|
||||
report_iommu_fault
|
||||
tegra_mc_probe_device
|
||||
|
||||
# required by bm92txx.ko
|
||||
devm_gpio_request
|
||||
extcon_get_state
|
||||
extcon_set_state
|
||||
fwnode_graph_get_endpoint_by_id
|
||||
fwnode_graph_get_remote_endpoint
|
||||
regulator_set_current_limit
|
||||
|
||||
# required by bq24190_charger.ko
|
||||
kstrtou8
|
||||
power_supply_get_property_from_supplier
|
||||
@@ -2129,7 +2138,6 @@
|
||||
usb_phy_set_event
|
||||
usb_remove_phy
|
||||
usb_role_switch_get_drvdata
|
||||
usb_role_switch_get_role
|
||||
usb_role_switch_register
|
||||
usb_role_switch_set_drvdata
|
||||
usb_role_switch_unregister
|
||||
|
||||
Reference in New Issue
Block a user