From: Linus Walleij <linus.walleij@linaro.org>
To: Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@codeaurora.org>
Cc: linux-clk@vger.kernel.org, linux-arm-msm@vger.kernel.org,
Linus Walleij <linus.walleij@linaro.org>,
devicetree@vger.kernel.org
Subject: [PATCH 4/5 v2] clk: qcom: Update DT bindings for MSM8660 LCC
Date: Wed, 19 Apr 2017 11:13:25 +0200 [thread overview]
Message-ID: <20170419091326.11226-4-linus.walleij@linaro.org> (raw)
In-Reply-To: <20170419091326.11226-1-linus.walleij@linaro.org>
This adds the right compatible string and header for the
MSM8660 LCC and some new defines to the dt-bindings header.
Take this opportunity to spell out the acronym LPASS for
Low-power Audio Subsystem.
Cc: devicetree@vger.kernel.org
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
ChangeLog v1->v2:
- Add Rob's ACK.
---
.../devicetree/bindings/clock/qcom,lcc.txt | 5 +--
include/dt-bindings/clock/qcom,lcc-msm8660.h | 40 ++++++++++++++++++++++
2 files changed, 43 insertions(+), 2 deletions(-)
create mode 100644 include/dt-bindings/clock/qcom,lcc-msm8660.h
diff --git a/Documentation/devicetree/bindings/clock/qcom,lcc.txt b/Documentation/devicetree/bindings/clock/qcom,lcc.txt
index a3c78aa88038..4de51df37f1a 100644
--- a/Documentation/devicetree/bindings/clock/qcom,lcc.txt
+++ b/Documentation/devicetree/bindings/clock/qcom,lcc.txt
@@ -1,10 +1,11 @@
-Qualcomm LPASS Clock & Reset Controller Binding
-------------------------------------------------
+Qualcomm Low-power Audio Subsystem (LPASS) Clock & Reset Controller Binding
+---------------------------------------------------------------------------
Required properties :
- compatible : shall contain only one of the following:
"qcom,lcc-msm8960"
+ "qcom,lcc-msm8660"
"qcom,lcc-apq8064"
"qcom,lcc-ipq8064"
"qcom,lcc-mdm9615"
diff --git a/include/dt-bindings/clock/qcom,lcc-msm8660.h b/include/dt-bindings/clock/qcom,lcc-msm8660.h
new file mode 100644
index 000000000000..7cddcbd6b1ee
--- /dev/null
+++ b/include/dt-bindings/clock/qcom,lcc-msm8660.h
@@ -0,0 +1,40 @@
+/*
+ * Copyright (c) 2017 Linus Walleij <linus.walleij@linaro.org>
+ * Qualcomm MSM8660 Low-power Audio Subsystem (LPASS) Clock Controller
+ * devicetree definitions
+ */
+
+#ifndef _DT_BINDINGS_CLK_LCC_MSM8660_H
+#define _DT_BINDINGS_CLK_LCC_MSM8660_H
+
+#define LPA_PLL0 0
+#define MI2S_OSR_SRC 1
+#define MI2S_OSR_CLK 2
+#define MI2S_DIV_CLK 3
+#define MI2S_BIT_DIV_CLK 4
+#define MI2S_BIT_CLK 5
+#define CODEC_I2S_MIC_OSR_SRC 6
+#define CODEC_I2S_MIC_OSR_CLK 7
+#define CODEC_I2S_MIC_DIV_CLK 8
+#define CODEC_I2S_MIC_BIT_DIV_CLK 9
+#define CODEC_I2S_MIC_BIT_CLK 10
+#define SPARE_I2S_MIC_OSR_SRC 11
+#define SPARE_I2S_MIC_OSR_CLK 12
+#define SPARE_I2S_MIC_DIV_CLK 13
+#define SPARE_I2S_MIC_BIT_DIV_CLK 14
+#define SPARE_I2S_MIC_BIT_CLK 15
+#define CODEC_I2S_SPKR_OSR_SRC 16
+#define CODEC_I2S_SPKR_OSR_CLK 17
+#define CODEC_I2S_SPKR_DIV_CLK 18
+#define CODEC_I2S_SPKR_BIT_DIV_CLK 19
+#define CODEC_I2S_SPKR_BIT_CLK 20
+#define SPARE_I2S_SPKR_OSR_SRC 21
+#define SPARE_I2S_SPKR_OSR_CLK 22
+#define SPARE_I2S_SPKR_DIV_CLK 23
+#define SPARE_I2S_SPKR_BIT_DIV_CLK 24
+#define SPARE_I2S_SPKR_BIT_CLK 25
+#define PCM_SRC 26
+#define PCM_CLK_OUT 27
+#define PCM_CLK 28
+
+#endif
--
2.9.3
next prev parent reply other threads:[~2017-04-19 9:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-19 9:13 [PATCH 1/5 v2] clk: qcom: Update DT bindings for the MSM8660/APQ8060 RPMCC Linus Walleij
2017-04-19 9:13 ` [PATCH 2/5 v2] clk: qcom: Elaborate on "active" clocks in the RPM clock bindings Linus Walleij
[not found] ` <20170419091326.11226-2-linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-04-28 13:35 ` Rob Herring
2017-06-01 7:39 ` Stephen Boyd
2017-04-19 9:13 ` Linus Walleij [this message]
2017-05-17 7:23 ` [PATCH 1/5 v2] clk: qcom: Update DT bindings for the MSM8660/APQ8060 RPMCC Linus Walleij
[not found] ` <CACRpkdbXEFeVkD8rETyrnuoAxUvnFt2BL07UsXuXfSnq3Qdyfw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-24 9:16 ` Linus Walleij
[not found] ` <CACRpkdYvwwJcxKPtKUyZBLWsmjXji7pHDKNz9NRTETqj2P3drQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-26 11:57 ` Peter De Schrijver
2017-06-01 7:38 ` Stephen Boyd
2017-06-09 8:48 ` Linus Walleij
[not found] ` <20170419091326.11226-1-linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-06-01 7:48 ` Stephen Boyd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170419091326.11226-4-linus.walleij@linaro.org \
--to=linus.walleij@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=sboyd@codeaurora.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).