* [PATCH v2 0/8] qcom audio clock control drivers
@ 2014-11-26 1:35 Stephen Boyd
2014-11-26 1:35 ` [PATCH v2 8/8] devicetree: bindings: Document qcom,lcc Stephen Boyd
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Boyd @ 2014-11-26 1:35 UTC (permalink / raw)
To: Mike Turquette
Cc: linux-kernel, linux-arm-msm, linux-arm-kernel, Kenneth Westfield,
Josh Cartwright, Rajendra Nayak, devicetree, Kumar Gala
This patchset adds support for the low power audio subsystem (LPASS)
clock controller hardware. I split out the #define patch for IPQ so that
it can go through the clock tree and the arm-soc tree in parallel
if desired. New in this version is the msm8960/apq8064 support.
Change since v1:
* Renamed clk-cdiv to clk-regmap-divider
* Added msm8960/apq8064 support
* Split out dividers and branches to check for halt bits
Josh Cartwright (1):
clk: qcom: Add support for regmap divider clocks
Rajendra Nayak (3):
dt-bindings: Add #defines for IPQ806x lpass clock control
clk: qcom: Add IPQ806X LPASS clock controller (LCC) driver
devicetree: bindings: Document qcom,lcc
Stephen Boyd (4):
clk: Add __clk_mux_determine_rate_closest
clk: divider: Make generic for usage elsewhere
clk: qcom: Add simple regmap based muxes
clk: qcom: Add MSM8960/APQ8064 LPASS clock controller (LCC) driver
.../devicetree/bindings/clock/qcom,lcc.txt | 21 +
drivers/clk/clk-divider.c | 195 ++++---
drivers/clk/clk.c | 47 +-
drivers/clk/qcom/Kconfig | 18 +
drivers/clk/qcom/Makefile | 4 +
drivers/clk/qcom/clk-regmap-divider.c | 70 +++
drivers/clk/qcom/clk-regmap-divider.h | 29 +
drivers/clk/qcom/clk-regmap-mux.c | 59 +++
drivers/clk/qcom/clk-regmap-mux.h | 29 +
drivers/clk/qcom/gcc-ipq806x.c | 12 +
drivers/clk/qcom/lcc-ipq806x.c | 473 +++++++++++++++++
drivers/clk/qcom/lcc-msm8960.c | 585 +++++++++++++++++++++
include/dt-bindings/clock/qcom,gcc-ipq806x.h | 1 -
include/dt-bindings/clock/qcom,lcc-ipq806x.h | 30 ++
include/dt-bindings/clock/qcom,lcc-msm8960.h | 50 ++
include/linux/clk-provider.h | 20 +-
16 files changed, 1555 insertions(+), 88 deletions(-)
create mode 100644 Documentation/devicetree/bindings/clock/qcom,lcc.txt
create mode 100644 drivers/clk/qcom/clk-regmap-divider.c
create mode 100644 drivers/clk/qcom/clk-regmap-divider.h
create mode 100644 drivers/clk/qcom/clk-regmap-mux.c
create mode 100644 drivers/clk/qcom/clk-regmap-mux.h
create mode 100644 drivers/clk/qcom/lcc-ipq806x.c
create mode 100644 drivers/clk/qcom/lcc-msm8960.c
create mode 100644 include/dt-bindings/clock/qcom,lcc-ipq806x.h
create mode 100644 include/dt-bindings/clock/qcom,lcc-msm8960.h
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH v2 8/8] devicetree: bindings: Document qcom,lcc
2014-11-26 1:35 [PATCH v2 0/8] qcom audio clock control drivers Stephen Boyd
@ 2014-11-26 1:35 ` Stephen Boyd
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2014-11-26 1:35 UTC (permalink / raw)
To: Mike Turquette
Cc: Rajendra Nayak, linux-kernel, linux-arm-msm, linux-arm-kernel,
Kenneth Westfield, Josh Cartwright, Kumar Gala, devicetree
From: Rajendra Nayak <rnayak@codeaurora.org>
Document the LPASS (low power audio subsystem) clock controller
found on Qualcomm devices.
Cc: <devicetree@vger.kernel.org>
Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Signed-off-by: Kumar Gala <galak@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---
.../devicetree/bindings/clock/qcom,lcc.txt | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 Documentation/devicetree/bindings/clock/qcom,lcc.txt
diff --git a/Documentation/devicetree/bindings/clock/qcom,lcc.txt b/Documentation/devicetree/bindings/clock/qcom,lcc.txt
new file mode 100644
index 000000000000..dd755be63a01
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/qcom,lcc.txt
@@ -0,0 +1,21 @@
+Qualcomm LPASS Clock & Reset Controller Binding
+------------------------------------------------
+
+Required properties :
+- compatible : shall contain only one of the following:
+
+ "qcom,lcc-msm8960"
+ "qcom,lcc-apq8064"
+ "qcom,lcc-ipq8064"
+
+- reg : shall contain base register location and length
+- #clock-cells : shall contain 1
+- #reset-cells : shall contain 1
+
+Example:
+ clock-controller@28000000 {
+ compatible = "qcom,lcc-ipq8064";
+ reg = <0x28000000 0x1000>;
+ #clock-cells = <1>;
+ #reset-cells = <1>;
+ };
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-26 1:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-26 1:35 [PATCH v2 0/8] qcom audio clock control drivers Stephen Boyd
2014-11-26 1:35 ` [PATCH v2 8/8] devicetree: bindings: Document qcom,lcc 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).