blob: 7a8808d40df24eb0b64ae348d491db698384dff2 [file] [log] [blame]
menu "Diag Support"
config DIAG_CHAR
tristate "DIAG CHAR Interface Core"
default n
depends on USB_CONFIGFS_F_DIAG || USB_FUNCTION_DIAG || USB_QCOM_MAEMO
depends on ARCH_QCOM
select CRC_CCITT
help
Char driver interface for SoC Diagnostic information. The DIAG Char
driver provides diag forwarding to user space and SoC Peripherals.
This enables diagchar for maemo usb gadget or android usb gadget
based on config selected.
config DIAG_OVER_USB
bool "Enable DIAG traffic to go over USB"
depends on DIAG_CHAR
depends on ARCH_QCOM
default y
help
Diag over USB enables sending DIAG traffic over a USB transport. When
the USB endpoints become available, the DIAG driver will enable Diag
traffic over USB. This allows for host side tools to parse and display
Diag traffic from the USB endpoint.
config DIAGFWD_BRIDGE_CODE
bool "Enable remote DIAG traffic over MHI/HSIC"
depends on DIAG_CHAR
depends on USB_QTI_DIAG_BRIDGE || DIAG_OVER_PCIE || DIAG_MHI
default y
help
MHI/HSIC Transport Layer for DIAG Router. When the MHI/HSIC endpoints
become available, this bridge driver enables DIAG traffic over MHI
and HSIC.
config DIAG_OVER_PCIE
bool "Enable Diag traffic to go over PCIE"
depends on DIAG_CHAR
depends on MHI_BUS
help
Diag over PCIE enables sending diag traffic over PCIE endpoint when
pcie is available. Diag PCIE channels should be configured
and connected to use the transport. If PCIE is not configured
diag will switch to usb mode and diag traffic will be routed
over USB.
config DIAG_MHI
bool "Enable receiving diag packets through MHI"
depends on MHI_BUS
help
Enable MHI clients to send data to diag.
endmenu