Files
2025-08-12 22:16:57 +02:00

208 lines
5.7 KiB
Plaintext
Executable File

config USB_VENDOR_HOOK_RECEIVER
tristate "USB vendor hook receiver"
default n
depends on USB_NOTIFY_LAYER
help
Say Y here to include support for USB vendor receiver.
To compile this driver as a module, choose M here: the module
will be called usb-vendor-hook-receiver.
#
# USB notify configuration
#
comment "USB Notify features"
config USB_HOST_NOTIFY
bool "USB Host notify Driver"
depends on USB_NOTIFY_LAYER
help
Android framework needs uevents for usb host operation.
Host notify Driver serves uevent format
that is used by usb host or otg.
The uevent include host connect, disconnect, source, sink.
config USB_NOTIFY_LAYER
tristate "USB notify layer"
depends on USB
help
Added usb notify layer on gadget,host,otg drivers.
The usb notify layer controls otg mode and vbus draw
and vbus detect irq.
It is made by samsung.
config USB_NOTIFIER
tristate "USB notifier"
depends on USB_NOTIFY_LAYER
help
Added platform driver to call usb notify.
The usb_notifier.c can be fixed for each models.
It is not common code.
It may be different for each ap vendor.
config USB_DEBUG_DETAILED_LOG
bool "USB detailed log for debugging"
depends on USB
help
Add detailed log for debugging.
It is made by samsung.
It is feature for usb host class drivers.
..
config USB_STORAGE_DETECT
bool "USB storage detect function"
depends on USB && SCSI
depends on USB_STORAGE
help
This feature enables to detect inserting or removing
sd card in sd reader device.
This must to be defined in /usb/storage/Kconfig
directory originally. But this feature is defined
in this Kconfig to gather samsung feature about usb host.
config USB_HMT_SAMSUNG_INPUT
bool "USB HMT inputs for samsung hmt devices"
depends on HID
help
Some samsung smart phones support gear vr.
The samsung gear vr need some special hid input codes.
This feature enables special hid input codes.
..
config USB_EXTERNAL_NOTIFY
bool "USB external notify"
depends on USB_NOTIFY_LAYER
help
Added usb external notify.
The usb external notify broadcast special situation
to muic and charger.
And broadcasting to out of usb notify layer.
config USB_NOTIFY_PROC_LOG
bool "USB proc log"
depends on USB_NOTIFY_LAYER
depends on USB_HOST_NOTIFY
help
Added proc usblog.
The USB STATE, The USB MODE, Cable event
are saved in usblog heap.
It is remained in dumpdate.
config USB_HOST_SAMSUNG_FEATURE
bool "USB Host Samsung Feature"
depends on USB
help
USB Host Samsung Feature.
It is different from LSI BSP code.
If samsung engineer changes kernel code,
use this feature,
config USB_HW_PARAM
bool "USB H/W Parameter"
depends on USB_NOTIFY_LAYER
help
Added USB H/W Parameter for DQA Agent.
You need more works for USB PDIC driver.
It is made by samsung.
..
config USB_INTERFACE_LPM_LIST
bool "USB interface class lpm Feature"
depends on USB
help
The device needs to support L1 for audio class devices
But L1 mode has some issues.
So we will apply L1 mode to the device that has specific interface classes
Now, It is only enabled for audio class.
config USB_CCIC_NOTIFIER_USING_QC
bool "USB CCIC Notifier using QC PMIC"
depends on USB_NOTIFY_LAYER
help
When USB type C model uses QC PMIC without IFPMIC,
add to get notification from QC PMIC.
..
..
config USB_AUDIO_ENHANCED_DETECT_TIME
bool "USB audio enhanced detect time"
depends on USB_NOTIFY_LAYER
default y
help
Added uevent for usb audio device(bundle)
uevent includes path, card number, vid, pid
The usb framework gets this uevent.
It is made by samsung.
config USB_HOST_CERTI
bool "USB Embedded host certification"
depends on USB_NOTIFY_LAYER
depends on !SEC_FACTORY
help
Added uevent for usb embedded host certification
uevent includes information of notification
The usb framework gets this uevent.
It is made by samsung.
config USB_AUDIO_POWER_SAVING
bool "Use function saving power with VBUS provided to USB audio"
default n
help
If you want to use functionality to save power
for specific USB earphone,
enable this feature.
It is made by samsung.
config USB_USING_ADVANCED_USBLOG
bool "Use advanced usb log logic"
default n
help
If you want to use advanced usb log, enable this feature.
you can use printk_usb saved specific buffer.
and can use store_tcpc_name
This is new feature by usb notify layer v4.0
config USB_LPM_CHARGING_SYNC
bool "LPM charging type sync"
depends on USB_NOTIFY_LAYER
help
There is a requirement that LPM animation confirm
the final charging method and show it only once.
It is a function that syncs with the driver stage through sysfs
to let the LPM know the final charging type.
config DISABLE_LOCKSCREEN_USB_RESTRICTION
bool "disable usb restriction during lockscreen"
depends on USB_NOTIFY_LAYER
help
Restricting the usb function on the lock screen is a concept applied for usb security
it has been applied since v os (oneui 7.0) or higher
This feature is to avoid applying the concept.
Enable this feature to enable usb communication on the lock screen.
config USE_USB_COMMUNICATIONS_CAPABLE
bool "use usb communications capable in source capability"
depends on USB_NOTIFY_LAYER
default y
help
usb_notify can receive usb communications capable event.
it can be used for various processing using event.
You can check if the device that supports PD is the actual usb port.
If this function is implemented, this feature will be default y
#
# USB notifier configuration
#
comment "USB Notifier features"
config USB_NOTIFIER
tristate "USB notifier"
depends on USB_NOTIFY_LAYER
help
Added platform driver to call usb notify.
The usb_notifier.c can be fixed for each models.
It is not common code.
It may be different for each ap vendor.