Skip to content

msm: dummy no-op clock support

Stephen Boyd linux-arm-kernel linux-arm-msm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2msm: clock: Support dummy clocksarch/arm/mach-msm/Makefile arch/arm/mach-msm/clock-dummy.c arch/arm/mach-msm/clock.h+93 -01 reply
2/2msm: 8960: Add dummy clocks for 8960arch/arm/mach-msm/board-msm8960.c arch/arm/mach-msm/devices-msm8960.c arch/arm/mach-msm/devices.h+170 -00 replies

Reviews trailers per patch

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

PatchSaravana Kannan
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] msm: dummy no-op clock support

This patchset adds support for dummy no-op clocks. Some older MSM targets combined the AHB clock (what we call pclk) with the core clk and newer targets split the clocks out. Since we don't want to clutter drivers with ifdefs or add checks for IS_ERR clocks add support for a dummy clock. This simplifies drivers because they can always assume a clock is present and error out if it isn't.

On top of this, add dummy clocks for 8960 to ease driver development.

Stephen Boyd (2):
msm: clock: Support dummy clocks
msm: 8960: Add dummy clocks for 8960

 arch/arm/mach-msm/Makefile          |    1 +
 arch/arm/mach-msm/board-msm8960.c   |    7 ++
 arch/arm/mach-msm/clock-dummy.c     |   81 ++++++++++++++++++
 arch/arm/mach-msm/clock.h           |   11 +++
 arch/arm/mach-msm/devices-msm8960.c |  160 +++++++++++++++++++++++++++++++++++
 arch/arm/mach-msm/devices.h         |    3 +
 6 files changed, 263 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-msm/clock-dummy.c
Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.