drivers: soc: qcom: Add snapshot of cpuss dump driver
Snapshot of cpuss dump driver taken from msm-4.4 commit
<c605e110ab18604> (Merge "usb: gadget: composite: Return bcdUSB 0x0310
for Superspeed and higher").
In addition fix coding style issues.
CRs-Fixed: 1058357
Change-Id: I533596276a97f0e1cbea7a2d5afe7a7f776acab4
Signed-off-by: Channagoud Kadabi <ckadabi@codeaurora.org>
diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig
index efbc5d2..a1232fc 100644
--- a/drivers/soc/qcom/Kconfig
+++ b/drivers/soc/qcom/Kconfig
@@ -1,6 +1,15 @@
#
# QCOM Soc drivers
#
+config QCOM_CPUSS_DUMP
+ bool "CPU Subsystem Dumping support"
+ help
+ Add support to dump various hardware entities such as the instruction
+ and data tlb's as well as the unified tlb, which are a part of the
+ cpu subsystem to an allocated buffer. This allows for analysis of the
+ the entities if corruption is suspected.
+ If unsure, say N
+
config QCOM_GSBI
tristate "QCOM General Serial Bus Interface"
depends on ARCH_QCOM