[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240903220240.2594102-19-quic_nkela@quicinc.com>
Date: Tue, 3 Sep 2024 15:02:37 -0700
From: Nikunj Kela <quic_nkela@...cinc.com>
To: <quic_nkela@...cinc.com>
CC: <andersson@...nel.org>, <konradybcio@...nel.org>, <robh@...nel.org>,
<krzk+dt@...nel.org>, <conor+dt@...nel.org>, <rafael@...nel.org>,
<viresh.kumar@...aro.org>, <herbert@...dor.apana.org.au>,
<davem@...emloft.net>, <sudeep.holla@....com>, <andi.shyti@...nel.org>,
<tglx@...utronix.de>, <will@...nel.org>, <robin.murphy@....com>,
<joro@...tes.org>, <jassisinghbrar@...il.com>, <lee@...nel.org>,
<linus.walleij@...aro.org>, <amitk@...nel.org>,
<thara.gopinath@...il.com>, <broonie@...nel.org>,
<cristian.marussi@....com>, <rui.zhang@...el.com>,
<lukasz.luba@....com>, <wim@...ux-watchdog.org>, <linux@...ck-us.net>,
<linux-arm-msm@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-pm@...r.kernel.org>,
<linux-crypto@...r.kernel.org>, <arm-scmi@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>, <linux-i2c@...r.kernel.org>,
<iommu@...ts.linux.dev>, <linux-gpio@...r.kernel.org>,
<linux-serial@...r.kernel.org>, <linux-spi@...r.kernel.org>,
<linux-watchdog@...r.kernel.org>, <kernel@...cinc.com>,
<quic_psodagud@...cinc.com>, Praveen Talari <quic_ptalari@...cinc.com>
Subject: [PATCH v2 18/21] dt-bindings: qcom: geni-se: document support for SA8255P
Add "qcom,sa8255p-geni-se-qup" compatible for representing QUP on
SA8255p.
Clocks are being managed by the firmware VM and not required on
SA8255p Linux VM hence removing it from required list.
CC: Praveen Talari <quic_ptalari@...cinc.com>
Signed-off-by: Nikunj Kela <quic_nkela@...cinc.com>
---
.../bindings/soc/qcom/qcom,geni-se.yaml | 45 ++++++++++++++++++-
1 file changed, 43 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
index 7b031ef09669..86eb2b3832cb 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
@@ -22,6 +22,7 @@ properties:
enum:
- qcom,geni-se-qup
- qcom,geni-se-i2c-master-hub
+ - qcom,sa8255p-geni-se-qup
reg:
description: QUP wrapper common register address and length.
@@ -57,8 +58,6 @@ properties:
required:
- compatible
- reg
- - clock-names
- - clocks
- "#address-cells"
- "#size-cells"
- ranges
@@ -83,6 +82,17 @@ patternProperties:
$ref: /schemas/serial/qcom,serial-geni-qcom.yaml#
allOf:
+ - if:
+ not:
+ properties:
+ compatible:
+ contains:
+ const: qcom,sa8255p-geni-se-qup
+ then:
+ required:
+ - clocks
+ - clock-names
+
- if:
properties:
compatible:
@@ -162,4 +172,35 @@ examples:
};
};
+ - |
+
+ soc {
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ geniqup@...000 {
+ compatible = "qcom,sa8255p-geni-se-qup";
+ reg = <0 0x9c0000 0 0x6000>;
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ i2c1: i2c@...000 {
+ compatible = "qcom,sa8255p-geni-i2c";
+ reg = <0 0x984000 0 0x4000>;
+ interrupts = <GIC_SPI 551 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ power-domains = <&scmi9_pd 1>;
+ };
+
+ uart4: serial@...000 {
+ compatible = "qcom,sa8255p-geni-uart";
+ reg = <0 0x990000 0 0x4000>;
+ interrupts = <GIC_SPI 531 IRQ_TYPE_LEVEL_HIGH>;
+ power-domains = <&scmi11_pd 4>, <&scmi11_dvfs 4>;
+ power-domain-names = "power", "perf";
+ };
+ };
+ };
...
--
2.34.1
Powered by blists - more mailing lists