diff options
Diffstat (limited to 'dts/upstream/Bindings/soc/qcom')
| -rw-r--r-- | dts/upstream/Bindings/soc/qcom/qcom,aoss-qmp.yaml | 2 | ||||
| -rw-r--r-- | dts/upstream/Bindings/soc/qcom/qcom,dcc.yaml | 1 | ||||
| -rw-r--r-- | dts/upstream/Bindings/soc/qcom/qcom,eud.yaml | 38 | ||||
| -rw-r--r-- | dts/upstream/Bindings/soc/qcom/qcom,pmic-glink.yaml | 1 | ||||
| -rw-r--r-- | dts/upstream/Bindings/soc/qcom/qcom,rpm.yaml | 15 | ||||
| -rw-r--r-- | dts/upstream/Bindings/soc/qcom/qcom,rpmh-rsc.yaml | 24 | ||||
| -rw-r--r-- | dts/upstream/Bindings/soc/qcom/qcom,sa8255p-geni-se-qup.yaml | 107 | ||||
| -rw-r--r-- | dts/upstream/Bindings/soc/qcom/qcom,saw2.yaml | 3 | ||||
| -rw-r--r-- | dts/upstream/Bindings/soc/qcom/qcom,wcnss.yaml | 5 |
9 files changed, 173 insertions, 23 deletions
diff --git a/dts/upstream/Bindings/soc/qcom/qcom,aoss-qmp.yaml b/dts/upstream/Bindings/soc/qcom/qcom,aoss-qmp.yaml index 41fbbe059d8..851a1260f8d 100644 --- a/dts/upstream/Bindings/soc/qcom/qcom,aoss-qmp.yaml +++ b/dts/upstream/Bindings/soc/qcom/qcom,aoss-qmp.yaml @@ -25,6 +25,7 @@ properties: compatible: items: - enum: + - qcom,milos-aoss-qmp - qcom,qcs615-aoss-qmp - qcom,qcs8300-aoss-qmp - qcom,qdu1000-aoss-qmp @@ -38,6 +39,7 @@ properties: - qcom,sdx75-aoss-qmp - qcom,sdm845-aoss-qmp - qcom,sm6350-aoss-qmp + - qcom,sm7150-aoss-qmp - qcom,sm8150-aoss-qmp - qcom,sm8250-aoss-qmp - qcom,sm8350-aoss-qmp diff --git a/dts/upstream/Bindings/soc/qcom/qcom,dcc.yaml b/dts/upstream/Bindings/soc/qcom/qcom,dcc.yaml index ce7e20dd22c..fdc6fc17ed7 100644 --- a/dts/upstream/Bindings/soc/qcom/qcom,dcc.yaml +++ b/dts/upstream/Bindings/soc/qcom/qcom,dcc.yaml @@ -18,6 +18,7 @@ properties: compatible: items: - enum: + - qcom,sm7150-dcc - qcom,sm8150-dcc - qcom,sc7280-dcc - qcom,sc7180-dcc diff --git a/dts/upstream/Bindings/soc/qcom/qcom,eud.yaml b/dts/upstream/Bindings/soc/qcom/qcom,eud.yaml index f2c5ec7e643..84218636c0d 100644 --- a/dts/upstream/Bindings/soc/qcom/qcom,eud.yaml +++ b/dts/upstream/Bindings/soc/qcom/qcom,eud.yaml @@ -55,25 +55,25 @@ additionalProperties: false examples: - | eud@88e0000 { - compatible = "qcom,sc7280-eud", "qcom,eud"; - reg = <0x88e0000 0x2000>, - <0x88e2000 0x1000>; + compatible = "qcom,sc7280-eud", "qcom,eud"; + reg = <0x88e0000 0x2000>, + <0x88e2000 0x1000>; - ports { - #address-cells = <1>; - #size-cells = <0>; - port@0 { - reg = <0>; - eud_ep: endpoint { - remote-endpoint = <&usb2_role_switch>; - }; - }; + ports { + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + eud_ep: endpoint { + remote-endpoint = <&usb2_role_switch>; + }; + }; - port@1 { - reg = <1>; - eud_con: endpoint { - remote-endpoint = <&con_eud>; - }; - }; - }; + port@1 { + reg = <1>; + eud_con: endpoint { + remote-endpoint = <&con_eud>; + }; + }; + }; }; diff --git a/dts/upstream/Bindings/soc/qcom/qcom,pmic-glink.yaml b/dts/upstream/Bindings/soc/qcom/qcom,pmic-glink.yaml index 4c9e78f2952..48114bb0c92 100644 --- a/dts/upstream/Bindings/soc/qcom/qcom,pmic-glink.yaml +++ b/dts/upstream/Bindings/soc/qcom/qcom,pmic-glink.yaml @@ -37,6 +37,7 @@ properties: - const: qcom,pmic-glink - items: - enum: + - qcom,milos-pmic-glink - qcom,sm8650-pmic-glink - qcom,sm8750-pmic-glink - qcom,x1e80100-pmic-glink diff --git a/dts/upstream/Bindings/soc/qcom/qcom,rpm.yaml b/dts/upstream/Bindings/soc/qcom/qcom,rpm.yaml index b00be9e0120..3e8d99cb4dc 100644 --- a/dts/upstream/Bindings/soc/qcom/qcom,rpm.yaml +++ b/dts/upstream/Bindings/soc/qcom/qcom,rpm.yaml @@ -36,6 +36,13 @@ properties: - const: err - const: wakeup + clocks: + maxItems: 1 + + clock-names: + items: + - const: ram + qcom,ipc: $ref: /schemas/types.yaml#/definitions/phandle-array items: @@ -46,6 +53,14 @@ properties: description: Three entries specifying the outgoing ipc bit used for signaling the RPM. + clock-controller: + type: object + additionalProperties: true + properties: + compatible: + contains: + const: qcom,rpmcc + patternProperties: "^regulators(-[01])?$": type: object diff --git a/dts/upstream/Bindings/soc/qcom/qcom,rpmh-rsc.yaml b/dts/upstream/Bindings/soc/qcom/qcom,rpmh-rsc.yaml index af632d0e035..036562eb514 100644 --- a/dts/upstream/Bindings/soc/qcom/qcom,rpmh-rsc.yaml +++ b/dts/upstream/Bindings/soc/qcom/qcom,rpmh-rsc.yaml @@ -44,7 +44,13 @@ description: | properties: compatible: - const: qcom,rpmh-rsc + oneOf: + - items: + - enum: + - qcom,sc7180-rpmh-apps-rsc + - qcom,sdm845-rpmh-apps-rsc + - const: qcom,rpmh-rsc + - const: qcom,rpmh-rsc interrupts: minItems: 1 @@ -124,7 +130,21 @@ required: - qcom,tcs-offset - reg - reg-names - - power-domains + +allOf: + # Some platforms may lack a OSI-mode PSCI implementation, which implies the + # system power domain can't provide feedback about entering power collapse + - if: + not: + properties: + compatible: + contains: + enum: + - qcom,sc7180-rpmh-apps-rsc + - qcom,sdm845-rpmh-apps-rsc + then: + required: + - power-domains additionalProperties: false diff --git a/dts/upstream/Bindings/soc/qcom/qcom,sa8255p-geni-se-qup.yaml b/dts/upstream/Bindings/soc/qcom/qcom,sa8255p-geni-se-qup.yaml new file mode 100644 index 00000000000..352af3426d3 --- /dev/null +++ b/dts/upstream/Bindings/soc/qcom/qcom,sa8255p-geni-se-qup.yaml @@ -0,0 +1,107 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/qcom/qcom,sa8255p-geni-se-qup.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: GENI Serial Engine QUP Wrapper Controller + +maintainers: + - Praveen Talari <quic_ptalari@quicinc.com> + +description: + Generic Interface (GENI) based Qualcomm Universal Peripheral (QUP) wrapper + is a programmable module for supporting a wide range of serial interfaces + like UART, SPI, I2C, I3C, etc. A single QUP module can provide up to 8 Serial + Interfaces, using its internal Serial Engines. The GENI Serial Engine QUP + Wrapper controller is modeled as a node with zero or more child nodes each + representing a serial engine. + +properties: + compatible: + const: qcom,sa8255p-geni-se-qup + + reg: + description: QUP wrapper common register address and length. + maxItems: 1 + + "#address-cells": + const: 2 + + "#size-cells": + const: 2 + + ranges: true + + iommus: + maxItems: 1 + + dma-coherent: true + +patternProperties: + "spi@[0-9a-f]+$": + type: object + description: GENI serial engine based SPI controller. SPI in master mode + supports up to 50MHz, up to four chip selects, programmable + data path from 4 bits to 32 bits and numerous protocol + variants. + additionalProperties: true + + properties: + compatible: + const: qcom,sa8255p-geni-spi + + "i2c@[0-9a-f]+$": + type: object + description: GENI serial engine based I2C controller. + additionalProperties: true + + properties: + compatible: + const: qcom,sa8255p-geni-i2c + + "serial@[0-9a-f]+$": + type: object + description: GENI Serial Engine based UART Controller. + additionalProperties: true + + properties: + compatible: + enum: + - qcom,sa8255p-geni-uart + - qcom,sa8255p-geni-debug-uart + +required: + - compatible + - reg + - "#address-cells" + - "#size-cells" + - ranges + +additionalProperties: false + +examples: + - | + #include <dt-bindings/interrupt-controller/arm-gic.h> + + 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; + + serial@990000 { + compatible = "qcom,sa8255p-geni-uart"; + reg = <0 0x990000 0 0x4000>; + interrupts = <GIC_SPI 531 IRQ_TYPE_LEVEL_HIGH>; + power-domains = <&scmi0_pd 0>, <&scmi0_dvfs 0>; + power-domain-names = "power", "perf"; + }; + }; + }; +... diff --git a/dts/upstream/Bindings/soc/qcom/qcom,saw2.yaml b/dts/upstream/Bindings/soc/qcom/qcom,saw2.yaml index ca4bce81727..c2f1f5946cf 100644 --- a/dts/upstream/Bindings/soc/qcom/qcom,saw2.yaml +++ b/dts/upstream/Bindings/soc/qcom/qcom,saw2.yaml @@ -73,9 +73,10 @@ examples: #size-cells = <0>; cpu@0 { - compatible = "qcom,kryo"; + compatible = "arm,cortex-a53"; device_type = "cpu"; enable-method = "qcom,kpss-acc-v2"; + qcom,acc = <&acc0>; qcom,saw = <&saw0>; reg = <0x0>; operating-points-v2 = <&cpu_opp_table>; diff --git a/dts/upstream/Bindings/soc/qcom/qcom,wcnss.yaml b/dts/upstream/Bindings/soc/qcom/qcom,wcnss.yaml index fd6db0ca98e..4fcae6bedff 100644 --- a/dts/upstream/Bindings/soc/qcom/qcom,wcnss.yaml +++ b/dts/upstream/Bindings/soc/qcom/qcom,wcnss.yaml @@ -54,7 +54,7 @@ properties: - compatible wifi: - additionalProperties: false + unevaluatedProperties: false type: object properties: compatible: @@ -88,6 +88,9 @@ properties: - qcom,smem-states - qcom,smem-state-names + allOf: + - $ref: /schemas/net/wireless/wireless-controller.yaml# + required: - compatible - qcom,mmio |
