* [PATCH v3 0/8] qcom audio clock control drivers
@ 2015-01-20 2:05 Stephen Boyd
[not found] ` <1421719535-28398-1-git-send-email-sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2015-01-22 21:41 ` [PATCH v3 0/8] qcom audio clock control drivers Ken Westfield
0 siblings, 2 replies; 4+ messages in thread
From: Stephen Boyd @ 2015-01-20 2:05 UTC (permalink / raw)
To: Mike Turquette, Stephen Boyd
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.
Changes since v2:
* Rebased onto v3.19-rc2
* One fix to a clock parent name
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 | 212 +++++---
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 | 19 +-
16 files changed, 1564 insertions(+), 95 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] 4+ messages in thread
[parent not found: <1421719535-28398-1-git-send-email-sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>]
* [PATCH v3 8/8] devicetree: bindings: Document qcom,lcc
[not found] ` <1421719535-28398-1-git-send-email-sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
@ 2015-01-20 2:05 ` Stephen Boyd
0 siblings, 0 replies; 4+ messages in thread
From: Stephen Boyd @ 2015-01-20 2:05 UTC (permalink / raw)
To: Mike Turquette, Stephen Boyd
Cc: Rajendra Nayak, linux-kernel-u79uwXL29TY76Z2rM5mHXA,
linux-arm-msm-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA, Kumar Gala
From: Rajendra Nayak <rnayak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
Document the LPASS (low power audio subsystem) clock controller
found on Qualcomm devices.
Cc: <devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Signed-off-by: Rajendra Nayak <rnayak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
Signed-off-by: Kumar Gala <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
Signed-off-by: Stephen Boyd <sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v3 0/8] qcom audio clock control drivers
2015-01-20 2:05 [PATCH v3 0/8] qcom audio clock control drivers Stephen Boyd
[not found] ` <1421719535-28398-1-git-send-email-sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
@ 2015-01-22 21:41 ` Ken Westfield
2015-01-27 19:52 ` Mike Turquette
1 sibling, 1 reply; 4+ messages in thread
From: Ken Westfield @ 2015-01-22 21:41 UTC (permalink / raw)
To: Stephen Boyd
Cc: Mike Turquette, linux-kernel, linux-arm-msm, linux-arm-kernel,
Josh Cartwright, Rajendra Nayak, devicetree, Kumar Gala
On Mon, Jan 19, 2015 at 06:05:27PM -0800, Stephen Boyd wrote:
> 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.
Verified all supported bit clock frequencies for audio playback work on
the ipq806x SOC with max98357a codec.
Tested-by: Kenneth Westfield <kwestfie@codeaurora.org>
--
Kenneth Westfield
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v3 0/8] qcom audio clock control drivers
2015-01-22 21:41 ` [PATCH v3 0/8] qcom audio clock control drivers Ken Westfield
@ 2015-01-27 19:52 ` Mike Turquette
0 siblings, 0 replies; 4+ messages in thread
From: Mike Turquette @ 2015-01-27 19:52 UTC (permalink / raw)
To: Ken Westfield, Stephen Boyd
Cc: linux-kernel, linux-arm-msm, linux-arm-kernel, Josh Cartwright,
Rajendra Nayak, devicetree, Kumar Gala
Quoting Ken Westfield (2015-01-22 13:41:22)
> On Mon, Jan 19, 2015 at 06:05:27PM -0800, Stephen Boyd wrote:
> > 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.
>
> Verified all supported bit clock frequencies for audio playback work on
> the ipq806x SOC with max98357a codec.
>
> Tested-by: Kenneth Westfield <kwestfie@codeaurora.org>
Applied to clk-next.
Regards,
Mike
>
> --
> Kenneth Westfield
> Qualcomm Innovation Center, Inc.
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-01-27 19:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-20 2:05 [PATCH v3 0/8] qcom audio clock control drivers Stephen Boyd
[not found] ` <1421719535-28398-1-git-send-email-sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2015-01-20 2:05 ` [PATCH v3 8/8] devicetree: bindings: Document qcom,lcc Stephen Boyd
2015-01-22 21:41 ` [PATCH v3 0/8] qcom audio clock control drivers Ken Westfield
2015-01-27 19:52 ` Mike Turquette
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).