Skip to content

Remove clocks dependency from SCM driver

Sarangdhar Joshi linux-arm-kernel linux-arm-msm linux-devicetree lkml 3 versions – Applied

Status from this message: Applied to clk-fixes

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 6 repliesApplied
  2. v23 patches 8 repliesSuperseded
  3. v13 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- Use typecast of 'unsigned long' for pointer (Stephen)

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3dt-bindings: firmware: scm: Add MSM8996 DT bindingsDocumentation/devicetree/bindings/firmware/qcom,scm.txt+2 -02 replies
2/3firmware: qcom: scm: Remove core, iface and bus clocks dependencydrivers/firmware/qcom_scm.c+37 -122 replies
3/3firmware: qcom: scm: Return PTR_ERR when devm_clk_get failsdrivers/firmware/qcom_scm.c+4 -42 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchRob HerringStephen BoydBjorn Andersson
1/3A-b R-b A-b
2/3A-b
3/3R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/3] Remove clocks dependency from SCM driver

On earlier chiptsets (APQ8064, MSM8660, MSM8690, MSM8916, APQ8084, MSM8974) crypto operations of TZ were depends on crypto clocks controlled by users/clients. However on MSM8996 crypto clocks control is handled internally in TZ itself. The current series of patches handle this clock dependency in SCM driver.

Changes since v2:
- Use typecast of 'unsigned long' for pointer (Stephen)

Changes since v1:
- Added Rob's Acked-by
- Removed of_device_is_compatible check from probe (Stephen)
- Modified typecast to take care of 32-bit pointer

Sarangdhar Joshi (3):
dt-bindings: firmware: scm: Add MSM8996 DT bindings
firmware: qcom: scm: Remove core, iface and bus clocks dependency
firmware: qcom: scm: Return PTR_ERR when devm_clk_get fails

 .../devicetree/bindings/firmware/qcom,scm.txt      |  2 +
 drivers/firmware/qcom_scm.c                        | 49 ++++++++++++++++------
 2 files changed, 39 insertions(+), 12 deletions(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project