summaryrefslogtreecommitdiffstats
path: root/drivers/soc/qcom/Kconfig
diff options
context:
space:
mode:
authorImran Khan <kimran@codeaurora.org>2019-07-24 04:05:13 +0530
committerBjorn Andersson <bjorn.andersson@linaro.org>2019-08-05 14:56:31 -0700
commitefb448d0a3fca01bb987dd70963da6185b81751e (patch)
tree01f1c02c2f17817ccb09da4e929c1a53000836b9 /drivers/soc/qcom/Kconfig
parentf7ccc7a397cf2ef64aebb2f726970b93203858d2 (diff)
downloadlinux-efb448d0a3fca01bb987dd70963da6185b81751e.tar.bz2
soc: qcom: Add socinfo driver
The Qualcomm socinfo driver exposes information about the SoC, its version and its serial number to user space. Tested-by: Vinod Koul <vkoul@kernel.org> Reviewed-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Imran Khan <kimran@codeaurora.org> [Bjorn: Extract code to platform_driver, split patch in multiple] Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> [Vaishali: Simplify declarations, introduce qcom_socinfo struct, Fix memory leak, Remove extra code and Misc code refactoring] Signed-off-by: Vaishali Thakkar <vaishali.thakkar@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/soc/qcom/Kconfig')
-rw-r--r--drivers/soc/qcom/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig
index a6d1bfb17279..661e47acc354 100644
--- a/drivers/soc/qcom/Kconfig
+++ b/drivers/soc/qcom/Kconfig
@@ -175,6 +175,14 @@ config QCOM_SMSM
Say yes here to support the Qualcomm Shared Memory State Machine.
The state machine is represented by bits in shared memory.
+config QCOM_SOCINFO
+ tristate "Qualcomm socinfo driver"
+ depends on QCOM_SMEM
+ select SOC_BUS
+ help
+ Say yes here to support the Qualcomm socinfo driver, providing
+ information about the SoC to user space.
+
config QCOM_WCNSS_CTRL
tristate "Qualcomm WCNSS control driver"
depends on ARCH_QCOM || COMPILE_TEST