[PATCH 16/22] dt-bindings: qcom: geni-se: document support for SA8255P
From: Nikunj Kela
Date: Wed Aug 28 2024 - 16:43:04 EST
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@xxxxxxxxxxx>
Signed-off-by: Nikunj Kela <quic_nkela@xxxxxxxxxxx>
---
.../bindings/soc/qcom/qcom,geni-se.yaml | 47 +++++++++++++++++--
1 file changed, 43 insertions(+), 4 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..40e3a3e045da 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
@@ -22,17 +22,16 @@ 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.
maxItems: 1
clock-names:
- minItems: 1
maxItems: 2
clocks:
- minItems: 1
maxItems: 2
"#address-cells":
@@ -57,8 +56,6 @@ properties:
required:
- compatible
- reg
- - clock-names
- - clocks
- "#address-cells"
- "#size-cells"
- ranges
@@ -83,6 +80,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 +170,35 @@ examples:
};
};
+ - |
+
+ soc {
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ geniqup@9c0000 {
+ compatible = "qcom,sa8255p-geni-se-qup";
+ reg = <0 0x9c0000 0 0x6000>;
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ i2c1: i2c@984000 {
+ 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@990000 {
+ 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