devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Patch v6 00/10] Qualcomm SCM Rework
@ 2016-06-03 23:25 Andy Gross
  2016-06-03 23:25 ` [Patch v6 01/10] dt/bindings: firmware: Add Qualcomm SCM binding Andy Gross
                   ` (8 more replies)
  0 siblings, 9 replies; 16+ messages in thread
From: Andy Gross @ 2016-06-03 23:25 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: linux-kernel, linux-arm-kernel, Bjorn Andersson, Stephen Boyd,
	devicetree, jilai wang, Andy Gross

The following set of patches does a bit of rework on the existing
Qualcomm SCM firmware.  The first couple of patches deals with turning
the current SCM into a platform driver.  The next couple are cleanups
that make adding the 64 support a little easier.  I added in a patch to
convert the scm-32 to use DMA streaming APIs.

I took Kumar's 64 bit support patch and modified it to use the arm_smccc
calls.  This simplified things quite a bit.

Lastly, there are a few DT patches to add the firmware node for a couple of the
supported platforms.

Changes from v5:
  * Added SCM DT nodes for APQ8064 and MSM8974
  * Make core clk optional in probe
  * Update commit messages to describe some of the changes in more detail
  * Put back some of the SCM64 helper functions
  * Fix other miscellaneous review comments

Changes from v4:
  * Fix Documentation error
  * Fix misc review comments

Changes from v3:
  * Added compatibles for the specific platforms requiring one clock.
  * All other platforms will use the generic binding that requires 3 clocks.

Changes from v2:
  * Added use of streaming DMA APIs for scm-32.
  * Changed DT binding to simplify compats.
  * Removed Kconfig.platform change that selected QCOM_SCM for ARM64
  * Fixed misc comments
  * Changed init function to populate the device differently.
  * Fixed missing of_node_put

Changes from v1:
  * Changed binding to reflect proper firmware node usage
  * Added arch_initcall to populate the firmware device, if present
  * Fixed various review comments
  * Removed extraneous includes from SCM 64 file.

Andy Gross (9):
  dt/bindings: firmware: Add Qualcomm SCM binding
  firmware: qcom: scm: Convert SCM to platform driver
  firmware: qcom: scm: Use atomic SCM for cold boot
  firmware: qcom: scm: Generalize shared error map
  firmware: qcom: scm: Convert to streaming DMA APIS
  dts: qcom: apq8084: Add SCM firmware node
  arm64: dts: msm8916: Add SCM firmware node
  dts: qcom: msm8974: Add SCM firmware node
  dts: qcom: apq8064: Add SCM firmware node

Kumar Gala (1):
  firmware: qcom: scm: Add support for ARM64 SoCs

 .../devicetree/bindings/firmware/qcom,scm.txt      |  28 +++
 arch/arm/boot/dts/qcom-apq8064.dtsi                |   6 +
 arch/arm/boot/dts/qcom-apq8084.dtsi                |   8 +
 arch/arm/boot/dts/qcom-msm8974.dtsi                |   8 +
 arch/arm64/boot/dts/qcom/msm8916.dtsi              |   8 +
 drivers/firmware/qcom_scm-32.c                     | 225 +++++++++------------
 drivers/firmware/qcom_scm-64.c                     | 202 +++++++++++++++++-
 drivers/firmware/qcom_scm.c                        | 180 ++++++++++++++++-
 drivers/firmware/qcom_scm.h                        |  31 ++-
 9 files changed, 543 insertions(+), 153 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/firmware/qcom,scm.txt

-- 
1.9.1

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

end of thread, other threads:[~2016-06-04  0:04 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-03 23:25 [Patch v6 00/10] Qualcomm SCM Rework Andy Gross
2016-06-03 23:25 ` [Patch v6 01/10] dt/bindings: firmware: Add Qualcomm SCM binding Andy Gross
2016-06-03 23:25 ` [Patch v6 02/10] firmware: qcom: scm: Convert SCM to platform driver Andy Gross
2016-06-04  0:03   ` Stephen Boyd
2016-06-03 23:25 ` [Patch v6 03/10] firmware: qcom: scm: Use atomic SCM for cold boot Andy Gross
2016-06-03 23:25 ` [Patch v6 04/10] firmware: qcom: scm: Generalize shared error map Andy Gross
     [not found] ` <1464996330-16952-1-git-send-email-andy.gross-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-06-03 23:25   ` [Patch v6 05/10] firmware: qcom: scm: Convert to streaming DMA APIS Andy Gross
2016-06-04  0:04     ` Stephen Boyd
2016-06-03 23:25   ` [Patch v6 07/10] dts: qcom: apq8084: Add SCM firmware node Andy Gross
2016-06-03 23:25 ` [Patch v6 06/10] firmware: qcom: scm: Add support for ARM64 SoCs Andy Gross
2016-06-04  0:01   ` Stephen Boyd
2016-06-03 23:25 ` [Patch v6 08/10] arm64: dts: msm8916: Add SCM firmware node Andy Gross
2016-06-03 23:25 ` [Patch v6 09/10] dts: qcom: msm8974: " Andy Gross
2016-06-04  0:01   ` Stephen Boyd
2016-06-03 23:25 ` [Patch v6 10/10] dts: qcom: apq8064: " Andy Gross
2016-06-04  0:01   ` Stephen Boyd

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).