From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
To: mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org,
jassisinghbrar@gmail.com
Cc: viresh.kumar@linaro.org, ulf.hansson@linaro.org,
bjorn.andersson@linaro.org, agross@kernel.org,
linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Subject: [PATCH 1/5] dt-bindings: mailbox: Add binding for SDX55 APCS
Date: Mon, 4 Jan 2021 13:41:21 +0530 [thread overview]
Message-ID: <20210104081125.147300-2-manivannan.sadhasivam@linaro.org> (raw)
In-Reply-To: <20210104081125.147300-1-manivannan.sadhasivam@linaro.org>
Add devicetree YAML binding for SDX55 APCS GCC block. The APCS block
acts as the mailbox controller and also provides a clock output and
takes 3 clock sources (pll, aux, ref) as input.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
.../mailbox/qcom,apcs-kpss-global.yaml | 59 ++++++++++++++++---
1 file changed, 50 insertions(+), 9 deletions(-)
diff --git a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml
index ffd09b664ff5..3c75ea0b6040 100644
--- a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml
+++ b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml
@@ -27,26 +27,24 @@ properties:
- qcom,sdm660-apcs-hmss-global
- qcom,sdm845-apss-shared
- qcom,sm8150-apss-shared
+ - qcom,sdx55-apcs-gcc
reg:
maxItems: 1
- clocks:
- description: phandles to the parent clocks of the clock driver
- items:
- - description: primary pll parent of the clock driver
- - description: auxiliary parent
-
'#mbox-cells':
const: 1
'#clock-cells':
const: 0
+ clocks:
+ minItems: 2
+ maxItems: 3
+
clock-names:
- items:
- - const: pll
- - const: aux
+ minItems: 2
+ maxItems: 3
required:
- compatible
@@ -55,6 +53,49 @@ required:
additionalProperties: false
+allOf:
+ - if:
+ properties:
+ compatible:
+ enum:
+ - qcom,ipq6018-apcs-apps-global
+ - qcom,ipq8074-apcs-apps-global
+ - qcom,msm8916-apcs-kpss-global
+ - qcom,msm8994-apcs-kpss-global
+ - qcom,msm8996-apcs-hmss-global
+ - qcom,msm8998-apcs-hmss-global
+ - qcom,qcs404-apcs-apps-global
+ - qcom,sc7180-apss-shared
+ - qcom,sdm660-apcs-hmss-global
+ - qcom,sdm845-apss-shared
+ - qcom,sm8150-apss-shared
+ then:
+ properties:
+ clocks:
+ items:
+ - description: Primary PLL parent of the clock driver
+ - description: Auxiliary parent
+ clock-names:
+ items:
+ - const: pll
+ - const: aux
+ - if:
+ properties:
+ compatible:
+ enum:
+ - qcom,sdx55-apcs-gcc
+ then:
+ properties:
+ clocks:
+ items:
+ - description: Primary PLL parent of the clock driver
+ - description: Auxiliary parent
+ - description: Reference clock
+ clock-names:
+ items:
+ - const: pll
+ - const: aux
+ - const: ref
examples:
# Example apcs with msm8996
--
2.25.1
next prev parent reply other threads:[~2021-01-04 8:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-04 8:11 [PATCH 0/5] Add APCS support for SDX55 Manivannan Sadhasivam
2021-01-04 8:11 ` Manivannan Sadhasivam [this message]
2021-01-04 8:11 ` [PATCH 2/5] mailbox: qcom: Add support for SDX55 APCS IPC Manivannan Sadhasivam
2021-01-04 8:11 ` [PATCH 3/5] dt-bindings: clock: Add Qualcomm A7 PLL binding Manivannan Sadhasivam
2021-01-04 8:11 ` [PATCH 4/5] clk: qcom: Add A7 PLL support Manivannan Sadhasivam
2021-01-04 15:30 ` Konrad Dybcio
2021-01-08 11:14 ` Manivannan Sadhasivam
2021-01-04 8:11 ` [PATCH 5/5] clk: qcom: Add SDX55 APCS clock controller support Manivannan Sadhasivam
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=20210104081125.147300-2-manivannan.sadhasivam@linaro.org \
--to=manivannan.sadhasivam@linaro.org \
--cc=agross@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=jassisinghbrar@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@kernel.org \
--cc=ulf.hansson@linaro.org \
--cc=viresh.kumar@linaro.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).