linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] drivers/qcom: add Command DB support
@ 2018-01-18 22:08 Lina Iyer
  2018-01-18 22:08 ` [PATCH 1/2] drivers: qcom: add command DB driver Lina Iyer
  2018-01-18 22:08 ` [PATCH 2/2] dt-bindings: introduce Command DB for QCOM SoCs Lina Iyer
  0 siblings, 2 replies; 17+ messages in thread
From: Lina Iyer @ 2018-01-18 22:08 UTC (permalink / raw)
  To: andy.gross, david.brown; +Cc: sboyd, rnayak, linux-arm-msm, linux-soc, msivasub

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2018-02-07 22:15 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-18 22:08 [PATCH 0/2] drivers/qcom: add Command DB support Lina Iyer
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).