From: Lina Iyer <ilina@codeaurora.org>
To: andy.gross@linaro.org, david.brown@linaro.org
Cc: sboyd@codeaurora.org, rnayak@codeaurora.org,
linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org,
msivasub@codeaurora.org
Subject: [PATCH 0/2] drivers/qcom: add Command DB support
Date: Thu, 18 Jan 2018 15:08:31 -0700 [thread overview]
Message-ID: <20180118220833.16616-1-ilina@codeaurora.org> (raw)
Hi,
These patches add support for reading a shared memory database in the newer
QCOM SoCs called Command DB. With the new architecture on SDM845, shared
resources like clocks, regulators etc have dynamic properties. These properties
may change based on external components, board configurations or available
feature set. A remote processor detects these parameters and fills up the
database with the resource and available state information. Platform drivers
that need these shared resources will need to query this database to get the
address and properties and vote for the state. The information in the database
is static.
The database is read-only memory location that is availble for Linux. A
pre-defined string is used as a key into an entry in the database. Generally,
platform drivers query the database only at init to get the information they
need.
Thanks,
Lina
Lina Iyer (2):
drivers: qcom: add command DB driver
dt-bindings: introduce Command DB for QCOM SoCs
.../devicetree/bindings/arm/msm/cmd-db.txt | 37 +++
drivers/soc/qcom/Kconfig | 7 +
drivers/soc/qcom/Makefile | 1 +
drivers/soc/qcom/cmd-db.c | 306 +++++++++++++++++++++
include/soc/qcom/cmd-db.h | 119 ++++++++
5 files changed, 470 insertions(+)
create mode 100644 Documentation/devicetree/bindings/arm/msm/cmd-db.txt
create mode 100644 drivers/soc/qcom/cmd-db.c
create mode 100644 include/soc/qcom/cmd-db.h
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
next reply other threads:[~2018-01-18 22:08 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-18 22:08 Lina Iyer [this message]
2018-01-18 22:08 ` [PATCH 1/2] drivers: qcom: add command DB driver Lina Iyer
2018-01-25 20:46 ` Stephen Boyd
2018-02-07 16:47 ` Lina Iyer
2018-02-07 17:00 ` Bjorn Andersson
2018-02-05 23:18 ` Bjorn Andersson
2018-02-07 18:29 ` Lina Iyer
2018-02-07 21:06 ` Bjorn Andersson
2018-02-07 21:43 ` Lina Iyer
2018-02-07 22:15 ` Bjorn Andersson
2018-01-18 22:08 ` [PATCH 2/2] dt-bindings: introduce Command DB for QCOM SoCs Lina Iyer
2018-01-18 22:28 ` Lina Iyer
2018-01-29 19:08 ` Rob Herring
2018-01-30 16:17 ` Lina Iyer
2018-02-05 22:11 ` Bjorn Andersson
2018-02-06 20:05 ` Lina Iyer
[not found] ` <20180206200507.GA13360-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-02-06 20:15 ` Bjorn Andersson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180118220833.16616-1-ilina@codeaurora.org \
--to=ilina@codeaurora.org \
--cc=andy.gross@linaro.org \
--cc=david.brown@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-soc@vger.kernel.org \
--cc=msivasub@codeaurora.org \
--cc=rnayak@codeaurora.org \
--cc=sboyd@codeaurora.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.