@@ -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"
new file mode 100644
@@ -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
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 Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- .../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 -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html