OSDN Git Service

drivers: qcom: add command DB driver
authorMahesh Sivasubramanian <msivasub@codeaurora.org>
Tue, 10 Apr 2018 17:57:23 +0000 (11:57 -0600)
committerAndy Gross <andy.gross@linaro.org>
Fri, 25 May 2018 20:53:52 +0000 (15:53 -0500)
commit312416d9171a1460b7ed8d182b5b540c910ce80d
tree4c8d0c8e04bceb4a34af121b4c05a344321698a8
parenteddac5af06546d2e7a0730e3dc02dde3dc91098a
drivers: qcom: add command DB driver

Command DB is a simple database in the shared memory of QCOM SoCs, that
provides information regarding shared resources. Some shared resources
in the SoC have properties that are probed dynamically at boot by the
remote processor. The information pertaining to the SoC and the platform
are made available in the shared memory. Drivers can query this
information using predefined strings.

Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/of/platform.c
drivers/soc/qcom/Kconfig
drivers/soc/qcom/Makefile
drivers/soc/qcom/cmd-db.c [new file with mode: 0644]
include/soc/qcom/cmd-db.h [new file with mode: 0644]