Merge 7a4a7daa18 on remote branch

Change-Id: I7b21227d4873291012f8ad7badc61e48e44a7dc8
This commit is contained in:
Linux Build Service Account
2024-06-05 13:02:20 -07:00
90 changed files with 689 additions and 336 deletions

View File

@@ -9,33 +9,36 @@ coordinates.
Required properties:
- compatible : must be "st,stmfts" OR "st,fts" OR "st,fts2"
- reg : I2C slave address, (e.g. 0x49)
- reg : I2C slave address, (e.g. 0x49). Or 0 for SPI interface
- interrupts : interrupt specification
- avdd-supply : analogic power supply
- vdd-supply : power supply
- touchscreen-size-x : see touchscreen.txt
- touchscreen-size-y : see touchscreen.txt
Optional properties:
- touch-key-connected : specifies whether the touchkey feature is connected
- ledvdd-supply : power supply to the touch key leds
- st,irq-gpio : interrupt gpio.
- st,irq-flags : irq trigger type config, , value should be:
1 - rising edge,
2 - falling edge,
4 - high level,
8 - low level.
- st,reset-gpio : reset gpio
- st,regulator_dvdd : dvdd regulator name
- st,regulator_avdd : avdd regulator name
Example:
i2c@00000000 {
/* ... */
touchscreen@49 {
compatible = "st,stmfts";
&i2c_6 {
status = "ok";
st_fts@49 {
compatible = "st,fts";
reg = <0x49>;
interrupt-parent = <&gpa1>;
interrupts = <1 IRQ_TYPE_NONE>;
touchscreen-size-x = <1599>;
touchscreen-size-y = <2559>;
touch-key-connected;
avdd-supply = <&ldo30_reg>;
vdd-supply = <&ldo31_reg>;
ledvdd-supply = <&ldo33_reg>;
interrupt-parent = <&tlmm>;
interrupts = <162 0x2008>;
vdd-supply = <&L4B>;
avdd-supply = <&L14B>;
st,irq-gpio = <&tlmm 162 0x2008>;
st,irq-flags = <8>;
st,reset-gpio = <&tlmm 161 0x00>;
st,regulator_dvdd = "vdd";
st,regulator_avdd = "avdd";
};
};

View File

@@ -0,0 +1,36 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: "http://devicetree.org/schemas/soc/qcom/qcom,mem-buf-msgq.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
title: Qualcomm Technologies, Inc. Memory Buffer Sharing Msgq driver
maintainers:
- Chris Goldsworthy
description: |
Provides inter-VM message transfer services to the qcom,mem-buf driver
properties:
compatible:
items:
- const: qcom,mem-buf-msgq
qcom,msgq-names:
$ref: /schemas/types.yaml#/definitions/string-array
description:
A list of msgqs this device is able to communicate over.
additionalProperties: false
required:
- compatible
- qcom,msgq-names
examples:
- |
qcom,mem-buf-msgq {
compatible = "qcom,mem-buf-msgq";
qcom,msgq-names = "trusted_vm", "oem_vm";
};

View File

@@ -4,7 +4,7 @@
$id: "http://devicetree.org/schemas/soc/qcom/qcom,mem-buf.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
title: Qualcomm Technologies, Inc. Memory Buffer Sharing binding
title: Qualcomm Technologies, Inc. Memory Buffer Sharing Driver
maintainers:
- Chris Goldsworthy
@@ -18,9 +18,12 @@ properties:
items:
- const: qcom,mem-buf
qcom,vmid:
$ref: '/schemas/types.yaml#/definitions/uint32'
description: integer ID of the current virtual machine.
qcom,mem-buf-capabilities:
$ref: '/schemas/types.yaml#/definitions/string'
description: One of supplier, consumer, or dual.
oneOf:
- const: supplier
description:
@@ -39,6 +42,8 @@ properties:
remote allocation requests, as well as request and accept memory
from other VMs
additionalProperties: false
required:
- compatible
- qcom,mem-buf-capabilities
@@ -49,14 +54,3 @@ examples:
compatible = "qcom,mem-buf";
qcom,mem-buf-capabilities = "supplier";
};
description: |
Provides inter-VM message transfer services to the qcom,mem-buf driver
properties:
compatible:
items:
- const: qcom,mem-buf-msgq
required:
- compatible

View File

@@ -4,6 +4,7 @@
*/
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/soc/qcom,ipcc.h>
/ {
model = "Qualcomm Technologies, Inc. Kera";
@@ -283,6 +284,15 @@
interrupt-controller;
#interrupt-cells = <2>;
};
ipcc_mproc: qcom,ipcc@406000 {
compatible = "qcom,ipcc";
reg = <0x406000 0x1000>;
interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller;
#interrupt-cells = <3>;
#mbox-cells = <2>;
};
};
#include "kera-pinctrl.dtsi"

View File

@@ -6,13 +6,13 @@
/dts-v1/;
/plugin/;
#include "parrot-wcn3990.dtsi"
#include "parrot-atp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Parrot ATP";
compatible = "qcom,parrot-atp", "qcom,parrot", "qcom,atp";
qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>,
<633 0x10000>, <634 0x10000>, <638 0x10000>;
<633 0x10000>, <634 0x10000>, <638 0x10000>,
<663 0x10000>;
qcom,board-id = <33 0>;
};

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrot-atp.dtsi"
/ {

View File

@@ -6,13 +6,12 @@
/dts-v1/;
/plugin/;
#include "parrot-wcn6750.dtsi"
#include "parrot-idp-4gb.dtsi"
#include "parrot-idp-pm7250b.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Parrot IDP 4GB DDR";
compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp";
qcom,msm-id = <537 0x10000>;
qcom,msm-id = <537 0x10000>, <663 0x10000>;
qcom,board-id = <34 0x600>;
};

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot-4gb.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrot-idp-4gb.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,14 +6,14 @@
/dts-v1/;
/plugin/;
#include "parrot-wcn6750.dtsi"
#include "parrot-idp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Parrot IDP";
compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp";
qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>,
<633 0x10000>, <634 0x10000>, <638 0x10000>;
<633 0x10000>, <634 0x10000>, <638 0x10000>,
<663 0x10000>;
qcom,board-id = <34 0>;
qcom,pmic-id-size = <9>;
qcom,pmic-id = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0>;

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrot-idp.dtsi"
/ {

View File

@@ -6,7 +6,6 @@
/dts-v1/;
/plugin/;
#include "parrot-wcn6750.dtsi"
#include "parrot-idp.dtsi"
#include "parrot-idp-pm7250b.dtsi"
@@ -14,6 +13,7 @@
model = "Qualcomm Technologies, Inc. Parrot IDP";
compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp";
qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>,
<633 0x10000>, <634 0x10000>, <638 0x10000>;
<633 0x10000>, <634 0x10000>, <638 0x10000>,
<663 0x10000>;
qcom,board-id = <34 0>;
};

View File

@@ -6,7 +6,6 @@
/dts-v1/;
/plugin/;
#include "parrot-wcn6750.dtsi"
#include "parrot-idp.dtsi"
#include "parrot-idp-pm8350b.dtsi"
@@ -14,6 +13,7 @@
model = "Qualcomm Technologies, Inc. Parrot IDP";
compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp";
qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>,
<633 0x10000>, <634 0x10000>, <638 0x10000>;
<633 0x10000>, <634 0x10000>, <638 0x10000>,
<663 0x10000>;
qcom,board-id = <34 0>;
};

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrot-idp.dtsi"
#include "parrot-idp-pm8350b.dtsi"

View File

@@ -6,13 +6,12 @@
/dts-v1/;
/plugin/;
#include "parrot-wcn3990.dtsi"
#include "parrot-idp-wcn3990-4gb.dtsi"
#include "parrot-idp-pm7250b.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Parrot IDP 4GB DDR + WCN3990";
compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp";
qcom,msm-id = <537 0x10000>;
qcom,msm-id = <537 0x10000>, <663 0x10000>;
qcom,board-id = <34 0x601>;
};

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot-4gb.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrot-idp-wcn3990-4gb.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,13 +6,12 @@
/dts-v1/;
/plugin/;
#include "parrot-wcn3990.dtsi"
#include "parrot-idp-wcn3990-amoled-rcm-4gb.dtsi"
#include "parrot-idp-pm7250b.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Parrot WCN3990 IDP 4GB DDR + AMOLED + RCM";
compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp";
qcom,msm-id = <537 0x10000>;
qcom,msm-id = <537 0x10000>, <663 0x10000>;
qcom,board-id = <34 0x603>;
};

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot-4gb.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrot-idp-wcn3990-amoled-rcm-4gb.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
/plugin/;
#include "parrot-wcn3990.dtsi"
#include "parrot-idp-wcn3990-amoled-rcm.dtsi"
#include "parrot-idp-pm7250b.dtsi"
@@ -14,6 +13,7 @@
model = "Qualcomm Technologies, Inc. Parrot WCN3990 IDP + AMOLED + RCM";
compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp";
qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>,
<633 0x10000>, <634 0x10000>, <638 0x10000>;
<633 0x10000>, <634 0x10000>, <638 0x10000>,
<663 0x10000>;
qcom,board-id = <34 3>;
};

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrot-idp-wcn3990-amoled-rcm.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -5,7 +5,6 @@
/dts-v1/;
/plugin/;
#include "parrot-wcn3990.dtsi"
#include "parrot-idp-wcn3990.dtsi"
#include "parrot-idp-pm7250b.dtsi"
@@ -13,6 +12,7 @@
model = "Qualcomm Technologies, Inc. Parrot IDP + WCN3990";
compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp";
qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>,
<633 0x10000>, <634 0x10000>, <638 0x10000>;
<633 0x10000>, <634 0x10000>, <638 0x10000>,
<663 0x10000>;
qcom,board-id = <34 1>;
};

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrot-idp-wcn3990.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,13 +6,12 @@
/dts-v1/;
/plugin/;
#include "parrot-wcn6750.dtsi"
#include "parrot-idp-wcn6750-amoled-4gb.dtsi"
#include "parrot-idp-pm7250b.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Parrot WCN6750 IDP 4GB DDR + AMOLED";
compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp";
qcom,msm-id = <537 0x10000>;
qcom,msm-id = <537 0x10000>, <663 0x10000>;
qcom,board-id = <34 0x604>;
};

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot-4gb.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrot-idp-wcn6750-amoled-4gb.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
/plugin/;
#include "parrot-wcn6750.dtsi"
#include "parrot-idp-wcn6750-amoled.dtsi"
#include "parrot-idp-pm7250b.dtsi"
@@ -14,6 +13,6 @@
model = "Qualcomm Technologies, Inc. Parrot WCN6750 IDP + AMOLED";
compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp";
qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>,
<633 0x10000>, <634 0x10000>, <638 0x10000>;
<633 0x10000>, <634 0x10000>, <638 0x10000>, <663 0x10000>;
qcom,board-id = <34 4>;
};

View File

@@ -6,13 +6,12 @@
/dts-v1/;
/plugin/;
#include "parrot-wcn6750.dtsi"
#include "parrot-idp-wcn6750-amoled-rcm-4gb.dtsi"
#include "parrot-idp-pm7250b.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Parrot WCN6750 IDP 4GB DDR + AMOLED + RCM";
compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp";
qcom,msm-id = <537 0x10000>;
qcom,msm-id = <537 0x10000>, <663 0x10000>;
qcom,board-id = <34 0x602>;
};

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot-4gb.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrot-idp-wcn6750-amoled-rcm-4gb.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
/plugin/;
#include "parrot-wcn6750.dtsi"
#include "parrot-idp-wcn6750-amoled-rcm.dtsi"
#include "parrot-idp-pm7250b.dtsi"
@@ -14,6 +13,7 @@
model = "Qualcomm Technologies, Inc. Parrot WCN6750 IDP + AMOLED + RCM";
compatible = "qcom,parrot-idp", "qcom,parrot", "qcom,idp";
qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>,
<633 0x10000>, <634 0x10000>, <638 0x10000>;
<633 0x10000>, <634 0x10000>, <638 0x10000>,
<663 0x10000>;
qcom,board-id = <34 2>;
};

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrot-idp-wcn6750-amoled-rcm.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrot-idp-wcn6750-amoled.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrot-idp.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,13 +6,12 @@
/dts-v1/;
/plugin/;
#include "parrot-wcn3990.dtsi"
#include "parrot-qrd-4gb.dtsi"
#include "parrot-qrd-pm7250b.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Parrot QRD 4GB DDR";
compatible = "qcom,parrot-qrd", "qcom,parrot", "qcom,qrd";
qcom,msm-id = <537 0x10000>;
qcom,msm-id = <537 0x10000>, <663 0x10000>;
qcom,board-id = <0x1000B 0x600>;
};

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot-4gb.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrot-qrd-4gb.dtsi"
#include "parrot-qrd-pm7250b.dtsi"

View File

@@ -6,14 +6,14 @@
/dts-v1/;
/plugin/;
#include "parrot-wcn3990.dtsi"
#include "parrot-qrd.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Parrot QRD";
compatible = "qcom,parrot-qrd", "qcom,parrot", "qcom,qrd";
qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>,
<633 0x10000>, <634 0x10000>, <638 0x10000>;
<633 0x10000>, <634 0x10000>, <638 0x10000>,
<663 0x10000>;
qcom,board-id = <0x1000B 0>;
qcom,pmic-id-size = <9>;
qcom,pmic-id = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0>;

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrot-qrd.dtsi"
/ {

View File

@@ -6,7 +6,6 @@
/dts-v1/;
/plugin/;
#include "parrot-wcn3990.dtsi"
#include "parrot-qrd.dtsi"
#include "parrot-qrd-pm7250b.dtsi"
@@ -14,6 +13,7 @@
model = "Qualcomm Technologies, Inc. Parrot QRD";
compatible = "qcom,parrot-qrd", "qcom,parrot", "qcom,qrd";
qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>,
<633 0x10000>, <634 0x10000>, <638 0x10000>;
<633 0x10000>, <634 0x10000>, <638 0x10000>,
<663 0x10000>;
qcom,board-id = <0x1000B 0>;
};

View File

@@ -6,7 +6,6 @@
/dts-v1/;
/plugin/;
#include "parrot-wcn3990.dtsi"
#include "parrot-qrd.dtsi"
#include "parrot-qrd-pm8350b.dtsi"
@@ -14,6 +13,7 @@
model = "Qualcomm Technologies, Inc. Parrot QRD";
compatible = "qcom,parrot-qrd", "qcom,parrot", "qcom,qrd";
qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>,
<633 0x10000>, <634 0x10000>, <638 0x10000>;
<633 0x10000>, <634 0x10000>, <638 0x10000>,
<663 0x10000>;
qcom,board-id = <0x1000B 0>;
};

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrot-qrd.dtsi"
#include "parrot-qrd-pm8350b.dtsi"

View File

@@ -6,13 +6,12 @@
/dts-v1/;
/plugin/;
#include "parrot-wcn6750.dtsi"
#include "parrot-qrd-wcn6750-4gb.dtsi"
#include "parrot-qrd-pm7250b.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Parrot WCN6750 QRD 4GB DDR";
compatible = "qcom,parrot-qrd", "qcom,parrot", "qcom,qrd";
qcom,msm-id = <537 0x10000>;
qcom,msm-id = <537 0x10000>, <663 0x10000>;
qcom,board-id = <0x1000B 0x601>;
};

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot-4gb.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrot-qrd-wcn6750-4gb.dtsi"
#include "parrot-qrd-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
/plugin/;
#include "parrot-wcn6750.dtsi"
#include "parrot-qrd-wcn6750.dtsi"
#include "parrot-qrd-pm7250b.dtsi"
@@ -14,6 +13,7 @@
model = "Qualcomm Technologies, Inc. Parrot WCN6750 QRD";
compatible = "qcom,parrot-qrd", "qcom,parrot", "qcom,qrd";
qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>,
<633 0x10000>, <634 0x10000>, <638 0x10000>;
<633 0x10000>, <634 0x10000>, <638 0x10000>,
<663 0x10000>;
qcom,board-id = <0x1000B 1>;
};

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrot-qrd-wcn6750.dtsi"
#include "parrot-qrd-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrot-qrd.dtsi"
#include "parrot-qrd-pm7250b.dtsi"

View File

@@ -6,12 +6,11 @@
/dts-v1/;
/plugin/;
#include "parrot-wcn3990.dtsi"
#include "parrot-rumi.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Parrot RUMI";
compatible = "qcom,parrot-rumi", "qcom,parrot", "qcom,rumi";
qcom,msm-id = <537 0x10000>;
qcom,msm-id = <537 0x10000>, <663 0x10000>;
qcom,board-id = <0x1000F 0>;
};

View File

@@ -7,7 +7,6 @@
/memreserve/ 0x90000000 0x00010000;
#include "parrot.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrot-rumi.dtsi"
/ {

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot-sg.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrot-sg-atp.dtsi"
/ {

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot-sg.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrot-sg-idp.dtsi"
/ {

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot-sg.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrot-sg-idp.dtsi"
#include "parrot-idp-pm8350b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot-sg.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrot-sg-idp-wcn3990-amoled-rcm.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot-sg.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrot-sg-idp-wcn3990.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot-sg.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrot-sg-idp-wcn6750-amoled-rcm.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot-sg.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrot-sg-idp-wcn6750-amoled.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot-sg.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrot-sg-idp.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot-sg.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrot-sg-qrd.dtsi"
/ {

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot-sg.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrot-sg-qrd.dtsi"
#include "parrot-qrd-pm8350b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot-sg.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrot-sg-qrd-wcn6750.dtsi"
#include "parrot-qrd-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrot-sg.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrot-sg-qrd.dtsi"
#include "parrot-qrd-pm7250b.dtsi"

20
qcom/parrot-walt.dtsi Normal file
View File

@@ -0,0 +1,20 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&soc {
walt {
#address-cells = <1>;
#size-cells = <1>;
ranges;
qcom,cycle-cntr {
compatible = "qcom,epss";
reg = <0x17D91000 0x1000>,
<0x17D92000 0x1000>;
reg-names = "freq-domain0",
"freq-domain1";
};
};
};

View File

@@ -1,34 +0,0 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/gpio/gpio.h>
&reserved_memory {
wlan_fw_mem: wlan_fw_region@82a00000 {
no-map;
reg = <0x0 0x82a00000 0x0 0x300000>;
};
};
&soc {
wpss_pas: remoteproc-wpss@8a00000 {
firmware-name = "adrastea/wpss.mdt";
};
bluetooth: bt_wcn3990 {
compatible = "qcom,wcn3990";
qcom,bt-sw-ctrl-gpio = <&tlmm 61 GPIO_ACTIVE_HIGH>;
qcom,bt-vdd-io-supply = <&L22B>; /* IO */
qcom,bt-vdd-core-supply = <&L14B>; /* RFA */
qcom,bt-vdd-pa-supply = <&L10E>; /* CH0 */
qcom,bt-vdd-xtal-supply = <&L1E>; /* XO */
qcom,bt-vdd-io-config = <1700000 1900000 1 0>;
qcom,bt-vdd-core-config = <1304000 1304000 1 0>;
qcom,bt-vdd-pa-config = <3000000 3312000 1 0>;
qcom,bt-vdd-xtal-config = <1700000 1900000 1 0>;
};
};

View File

@@ -1,152 +0,0 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include <dt-bindings/interrupt-controller/arm-gic.h>
&soc {
bluetooth: bt_wcn6750 {
compatible = "qcom,wcn6750-bt";
pinctrl-names = "default";
pinctrl-0 = <&bt_en_sleep>;
qcom,bt-reset-gpio = <&tlmm 35 0>; /* BT_EN */
qcom,bt-sw-ctrl-gpio = <&tlmm 61 0>; /* SW_CTRL */
qcom,wl-reset-gpio = <&tlmm 36 0>; /* WL_EN */
tsens = "quiet-therm";
qcom,bt-vdd-io-supply = <&L22B>; /* IO */
qcom,bt-vdd-aon-supply = <&S7B>;
qcom,bt-vdd-dig-supply = <&S7B>; /* BT_CX_MX */
qcom,bt-vdd-rfacmn-supply = <&S7B>;
qcom,bt-vdd-rfa-0p8-supply = <&S7B>;
qcom,bt-vdd-rfa1-supply = <&S8E>; /*RFA 1p7*/
qcom,bt-vdd-rfa2-supply = <&S8B>; /*RFA 1p2*/
qcom,bt-vdd-ipa-2p2-supply = <&S9B>; /*IPA 2p2*/
//qcom,bt-vdd-asd-supply = <&L11C>;
/* max voltage are set to regulator max voltage supported */
qcom,bt-vdd-io-config = <1800000 2000000 0 1>;
qcom,bt-vdd-aon-config = <824000 1174000 0 1>;
qcom,bt-vdd-dig-config = <824000 1174000 0 1>;
qcom,bt-vdd-rfacmn-config = <824000 1174000 0 1>;
qcom,bt-vdd-rfa-0p8-config = <824000 1174000 0 1>;
qcom,bt-vdd-rfa1-config = <1872000 2040000 0 1>;
qcom,bt-vdd-rfa2-config = <1256000 1654000 0 1>;
qcom,bt-vdd-ipa-2p2-config = <2200000 2208000 0 1>;
//qcom,bt-vdd-asd-config = <2800000 3544000 0 1>;
};
qcom,smp2p-wpss {
smp2p_wlan_2_in: qcom,smp2p-wlan-2-in {
qcom,entry-name = "wlan_soc_wake";
interrupt-controller;
#interrupt-cells = <2>;
};
smp2p_wlan_2_out: qcom,smp2p-wlan-2-out {
qcom,entry-name = "wlan_soc_wake";
#qcom,smem-state-cells = <1>;
};
smp2p_wlan_3_out: qcom,smp2p-wlan-3-out {
qcom,entry-name = "wlan_ep_power_save";
#qcom,smem-state-cells = <1>;
};
};
wpss_pas: remoteproc-wpss@8a00000 {
firmware-name = "qca6750/wpss.mdt";
};
icnss2: qcom,wcn6750 {
compatible = "qcom,wcn6750";
reg = <0x17210040 0x0>,
<0xb0000000 0x10000>;
reg-names = "msi_addr", "smmu_iova_ipa";
qcom,rproc-handle = <&wpss_pas>;
iommus = <&apps_smmu 0x1c00 0x1>;
interrupts = <GIC_SPI 768 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 769 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 770 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 771 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 772 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 773 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 774 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 775 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 776 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 777 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 778 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 779 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 780 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 781 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 782 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 783 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 784 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 785 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 786 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 787 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 788 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 789 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 790 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 791 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 792 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 793 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 794 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 795 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 796 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 797 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 798 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 799 IRQ_TYPE_EDGE_RISING>;
qcom,iommu-dma = "fastmap";
qcom,iommu-faults = "stall-disable", "HUPCF", "non-fatal";
qcom,iommu-dma-addr-pool = <0xa0000000 0x10000000>;
qcom,iommu-geometry = <0xa0000000 0x10010000>;
dma-coherent;
qcom,fw-prefix;
qcom,wlan;
tsens = "quiet-therm";
qcom,wlan-msa-fixed-region = <&wlan_fw_mem>;
vdd-cx-mx-supply = <&S7B>;
qcom,vdd-cx-mx-config = <880000 1120000 0 0 1>;
vdd-1.8-xo-supply = <&S8E>;
qcom,vdd-1.8-xo-config = <1872000 2040000 0 0 0>;
vdd-1.3-rfa-supply = <&S8B>;
qcom,vdd-1.3-rfa-config = <1256000 1500000 0 0 0>;
qcom,smem-states = <&smp2p_wlan_1_out 0>,
<&smp2p_wlan_2_out 0>,
<&smp2p_wlan_3_out 0>;
qcom,smem-state-names = "wlan-smp2p-out",
"wlan-soc-wake-smp2p-out",
"wlan-ep-powersave-smp2p-out";
mboxes = <&qmp_aop 0>;
qcom,vreg_ol_cpr ="s7b";
icnss_cdev_apss: qcom,icnss_cdev1 {
#cooling-cells = <2>;
};
icnss_cdev_wpss: qcom,icnss_cdev2 {
#cooling-cells = <2>;
};
qcom,smp2p_map_wlan_1_in {
interrupts-extended = <&smp2p_wlan_1_in 0 0>,
<&smp2p_wlan_1_in 1 0>;
interrupt-names = "qcom,smp2p-force-fatal-error",
"qcom,smp2p-early-crash-ind";
};
qcom,smp2p_map_wlan_2_in {
interrupts-extended = <&smp2p_wlan_2_in 0 0>;
interrupt-names = "qcom,smp2p-soc-wake-ack";
};
};
};
&qupv3_se2_i2c {
status = "ok";
};

View File

@@ -21,7 +21,7 @@
/ {
model = "Qualcomm Technologies, Inc. Parrot";
compatible = "qcom,parrot";
qcom,msm-id = <537 0x10000>, <613 0x10000>;
qcom,msm-id = <537 0x10000>, <613 0x10000>, <663 0x10000>;
interrupt-parent = <&intc>;
#address-cells = <2>;
@@ -2530,6 +2530,8 @@
};
qfprom_sys: qfprom@0 {
compatible = "qcom,qfprom-sys";
nvmem-cells = <&adsp_variant>,
<&feat_conf12>,
<&feat_conf13>,
@@ -2839,6 +2841,7 @@
#include "parrot-qupv3.dtsi"
#include "parrot-dma-heaps.dtsi"
#include "msm-arm-smmu-parrot.dtsi"
#include "parrot-walt.dtsi"
&qupv3_se3_2uart {
status = "ok";

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrotp-atp.dtsi"
/ {

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrotp-idp.dtsi"
/ {

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrotp-idp.dtsi"
#include "parrot-idp-pm8350b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrotp-idp-wcn3990-amoled-rcm.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrotp-idp-wcn3990.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrotp-idp-wcn6750-amoled-rcm.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrotp-idp-wcn6750-amoled.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrotp-idp.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrotp-qrd.dtsi"
/ {

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrotp-qrd.dtsi"
#include "parrot-qrd-pm8350b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrotp-qrd-wcn6750.dtsi"
#include "parrot-qrd-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrotp-qrd.dtsi"
#include "parrot-qrd-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp-sg.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrotp-sg-atp.dtsi"
/ {

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp-sg.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrotp-sg-idp.dtsi"
/ {

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp-sg.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrotp-sg-idp.dtsi"
#include "parrot-idp-pm8350b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp-sg.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrotp-sg-idp-wcn3990-amoled-rcm.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp-sg.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrotp-sg-idp-wcn3990.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp-sg.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrotp-sg-idp-wcn6750-amoled-rcm.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp-sg.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrotp-sg-idp-wcn6750-amoled.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp-sg.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrotp-sg-idp.dtsi"
#include "parrot-idp-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp-sg.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrotp-sg-qrd.dtsi"
/ {

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp-sg.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrotp-sg-qrd.dtsi"
#include "parrot-qrd-pm8350b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp-sg.dtsi"
#include "parrot-wcn6750.dtsi"
#include "parrotp-sg-qrd-wcn6750.dtsi"
#include "parrot-qrd-pm7250b.dtsi"

View File

@@ -6,7 +6,6 @@
/dts-v1/;
#include "parrotp-sg.dtsi"
#include "parrot-wcn3990.dtsi"
#include "parrotp-sg-qrd.dtsi"
#include "parrot-qrd-pm7250b.dtsi"

View File

@@ -1482,14 +1482,14 @@
ufshc_mem: ufshc@1d84000 {
compatible = "qcom,ufshc";
reg = <0x1d84000 0x3000>,
<0x1d88000 0x8000>,
<0x1d90000 0x9000>;
reg-names = "ufs_mem", "ufs_ice", "ufs_ice_hwkm";
<0x1d88000 0x18000>;
reg-names = "ufs_mem", "ice";
interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
phys = <&ufsphy_mem>;
phy-names = "ufsphy";
#reset-cells = <1>;
qcom,ice-use-hwkm;
qcom,prime-mask = <0x80>;
qcom,silver-mask = <0x0f>;
qcom,esi-affinity-mask = <0xf0>;
@@ -3245,6 +3245,11 @@
reg = <0x0 0x9b09a000 0x0 0x2000>;
};
lost_reg_mem {
no-map;
reg = <0x0 0x9b09c000 0x0 0x4000>;
};
spss_region_mem: spss_region_region@9b0a0000 {
no-map;
reg = <0x0 0x9b0a0000 0x0 0x1e0000>;

View File

@@ -131,22 +131,37 @@
dma-coherent;
dma_base = <0x0 0x0>;
memory {
qcom,label = <0x13>;
qcom,label = <0x16>; //for persist.img
#address-cells = <0x2>;
base = <0x0 0xFFEFC000>;
};
};
virtio-mmio@1 {
vdevice-type = "virtio-mmio";
generate = "/virtio-mmio";
peer-default;
vqs-num = <0x2>;
push-compatible = "virtio,mmio";
dma-coherent;
dma_base = <0x0 0x4000>;
memory {
qcom,label = <0x13>; //for system.img
#address-cells = <0x2>;
base = <0x0 0xFFF00000>;
};
};
swiotlb-shm {
vdevice-type = "shm";
generate = "/swiotlb";
push-compatible = "swiotlb";
peer-default;
dma_base = <0x0 0x4000>;
dma_base = <0x0 0x8000>;
memory {
qcom,label = <0x14>;
#address-cells = <0x2>;
base = <0x0 0xFFF00000>;
base = <0x0 0xFFF04000>;
};
};
@@ -182,6 +197,15 @@
qcom,label = <0x3>;
};
mem-buf-message-queue-pair {
vdevice-type = "message-queue-pair";
generate = "/hypervisor/membuf-msgq-pair";
message-size = <0x000000f0>;
queue-depth = <0x00000008>;
peer-default;
qcom,label = <0x000000C>;
};
qrtr-shm {
vdevice-type = "shm-doorbell";
generate = "/hypervisor/qrtr-shm";
@@ -196,7 +220,7 @@
};
firmware: firmware {
scm {
qcom_scm: scm {
compatible = "qcom,scm";
};
};
@@ -237,11 +261,23 @@
qcom,mem-buf {
compatible = "qcom,mem-buf";
qcom,mem-buf-capabilities = "consumer";
qcom,ipa-range = <0x0 0x0 0xf 0xffffffff>;
qcom,dmabuf-ipa-size = <0x1 0x00000000>; /* 4GB IPA space for dmabuf */
qcom,vmid = <49>;
};
qcom,mem-buf-msgq {
compatible = "qcom,mem-buf-msgq";
qcom,msgq-names = "oem_vm";
};
virtio_mem_device {
compatible = "qcom,virtio-mem";
/* Must be memory_block_size_bytes() aligned */
qcom,max-size = <0x0 0x10000000>;
qcom,ipa-range = <0x0 0x0 0xf 0xffffffff>;
qcom,block-size = <0x400000>;
};
qcom,test-dbl-oemvm {
@@ -289,3 +325,4 @@
msgq-label = <3>;
};
};
#include "sun-vm-dma-heaps.dtsi"

View File

@@ -692,6 +692,7 @@
qcom,mem-buf-msgq {
compatible = "qcom,mem-buf-msgq";
qcom,msgq-names = "trusted_vm";
};
virtio_mem_device {

View File

@@ -904,15 +904,16 @@
qcom,vmid = <3>;
};
qcom,mem-buf-msgq {
compatible = "qcom,mem-buf-msgq";
qcom,msgq-names = "trusted_vm", "oem_vm";
};
qcom,hdcp {
compatible = "qcom,hdcp";
qcom,use-smcinvoke = <1>;
};
qcom,mem-buf-msgq {
compatible = "qcom,mem-buf-msgq";
};
qti,smmu-proxy {
compatible = "smmu-proxy-sender";
};
@@ -1940,6 +1941,8 @@
compatible = "qcom,gdsc";
reg = <0xadf134c 0x4>;
clocks = <&gcc GCC_CAMERA_AHB_CLK>;
interconnects = <&mmss_noc MASTER_CAMNOC_HF &mmss_noc SLAVE_MNOC_HF_MEM_NOC>;
interconnect-names = "mmnoc";
regulator-name = "cam_cc_titan_top_gdsc";
parent-supply = <&VDD_MM_MXC_VOTER_LEVEL>;
qcom,retain-regs;
@@ -2123,11 +2126,6 @@
status = "disabled";
};
psci {
compatible = "arm,psci-1.0";
method = "smc";
};
google,debug-kinfo {
compatible = "google,debug-kinfo";
memory-region = <&kinfo_mem>;
@@ -2225,6 +2223,11 @@
};
oem_vm_vblk0_ring: oem_vm_vblk0_ring {
size = <0x4000>;
gunyah-label = <0x16>;
};
oem_vm_vblk1_ring: oem_vm_vblk1_ring {
size = <0x4000>;
gunyah-label = <0x13>;
};
@@ -2236,11 +2239,16 @@
oem_vm: qcom,oem_vm {
vm_name = "oemvm";
shared-buffers-size = <0x104000>;
shared-buffers = <&oem_vm_vblk0_ring &oem_vm_swiotlb>;
shared-buffers-size = <0x108000>;
shared-buffers = <&oem_vm_vblk0_ring &oem_vm_vblk1_ring &oem_vm_swiotlb>;
};
oem_vm_virt_be0: oem_vm_virt_be0@13 {
oem_vm_virt_be0: oem_vm_virt_be0@16 {
qcom,vm = <&oem_vm>;
qcom,label = <0x16>;
};
oem_vm_virt_be1: oem_vm_virt_be1@13 {
qcom,vm = <&oem_vm>;
qcom,label = <0x13>;
};
@@ -2251,7 +2259,7 @@
qcom,vmid = <49>;
qcom,firmware-name = "oemvm";
memory-region = <&oem_vm_mem &vm_comm_mem>;
virtio-backends = <&oem_vm_virt_be0>;
virtio-backends = <&oem_vm_virt_be0 &oem_vm_virt_be1>;
};
ufsphy_mem: ufsphy_mem@1d80000 {
@@ -2418,6 +2426,7 @@
dma-coherent;
qcom,bypass-pbl-rst-wa;
qcom,max-cpus = <8>;
msi-parent = <&gic_its 0x60>;
@@ -3143,6 +3152,16 @@
compatible = "qcom,mpam";
reg = <0x17b6f000 0x1000>;
reg-names = "mon-base";
L2_0 {
qcom,msc-id = <0>;
qcom,msc-name = "L2_0";
};
L2_1 {
qcom,msc-id = <1>;
qcom,msc-name = "L2_1";
};
};
llcc_pmu: llcc-pmu@24095000 {
@@ -3672,6 +3691,11 @@
reg = <0x0 0x9b09a000 0x0 0x2000>;
};
lost_reg_mem {
no-map;
reg = <0x0 0x9b09c000 0x0 0x4000>;
};
spss_region_mem: spss_region_region@9b0a0000 {
no-map;
reg = <0x0 0x9b0a0000 0x0 0x1e0000>;

235
qcom/tuna-gdsc.dtsi Normal file
View File

@@ -0,0 +1,235 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&soc {
/* CAM_CC GDSCs */
cam_cc_ipe_0_gdsc: qcom,gdsc@adf017c {
compatible = "qcom,gdsc";
reg = <0xadf017c 0x4>;
regulator-name = "cam_cc_ipe_0_gdsc";
parent-supply = <&cam_cc_titan_top_gdsc>;
qcom,retain-regs;
qcom,support-hw-trigger;
qcom,support-cfg-gdscr;
status = "disabled";
};
cam_cc_ofe_gdsc: qcom,gdsc@adf00c8 {
compatible = "qcom,gdsc";
reg = <0xadf00c8 0x4>;
regulator-name = "cam_cc_ofe_gdsc";
parent-supply = <&cam_cc_titan_top_gdsc>;
qcom,retain-regs;
qcom,support-hw-trigger;
qcom,support-cfg-gdscr;
status = "disabled";
};
cam_cc_tfe_0_gdsc: qcom,gdsc@adf1004 {
compatible = "qcom,gdsc";
reg = <0xadf1004 0x4>;
regulator-name = "cam_cc_tfe_0_gdsc";
parent-supply = <&cam_cc_titan_top_gdsc>;
qcom,retain-regs;
qcom,support-cfg-gdscr;
status = "disabled";
};
cam_cc_tfe_1_gdsc: qcom,gdsc@adf1084 {
compatible = "qcom,gdsc";
reg = <0xadf1084 0x4>;
regulator-name = "cam_cc_tfe_1_gdsc";
parent-supply = <&cam_cc_titan_top_gdsc>;
qcom,retain-regs;
qcom,support-cfg-gdscr;
status = "disabled";
};
cam_cc_tfe_2_gdsc: qcom,gdsc@adf10ec {
compatible = "qcom,gdsc";
reg = <0xadf10ec 0x4>;
regulator-name = "cam_cc_tfe_2_gdsc";
parent-supply = <&cam_cc_titan_top_gdsc>;
qcom,retain-regs;
qcom,support-cfg-gdscr;
status = "disabled";
};
cam_cc_titan_top_gdsc: qcom,gdsc@adf134c {
compatible = "qcom,gdsc";
reg = <0xadf134c 0x4>;
regulator-name = "cam_cc_titan_top_gdsc";
qcom,retain-regs;
qcom,support-cfg-gdscr;
status = "disabled";
};
/* DISP_CC GDSCs */
disp_cc_mdss_core_gdsc: qcom,gdsc@af09000 {
compatible = "qcom,gdsc";
reg = <0xaf09000 0x4>;
regulator-name = "disp_cc_mdss_core_gdsc";
proxy-supply = <&disp_cc_mdss_core_gdsc>;
qcom,proxy-consumer-enable;
qcom,retain-regs;
qcom,support-hw-trigger;
qcom,support-cfg-gdscr;
status = "disabled";
};
disp_cc_mdss_core_int2_gdsc: qcom,gdsc@af0b000 {
compatible = "qcom,gdsc";
reg = <0xaf0b000 0x4>;
regulator-name = "disp_cc_mdss_core_int2_gdsc";
qcom,retain-regs;
qcom,support-hw-trigger;
qcom,support-cfg-gdscr;
status = "disabled";
};
/* EVA_CC GDSCs */
eva_cc_mvs0_gdsc: qcom,gdsc@abf8068 {
compatible = "qcom,gdsc";
reg = <0xabf8068 0x4>;
regulator-name = "eva_cc_mvs0_gdsc";
parent-supply = <&eva_cc_mvs0c_gdsc>;
qcom,retain-regs;
qcom,support-hw-trigger;
qcom,support-cfg-gdscr;
status = "disabled";
};
eva_cc_mvs0c_gdsc: qcom,gdsc@abf8034 {
compatible = "qcom,gdsc";
reg = <0xabf8034 0x4>;
regulator-name = "eva_cc_mvs0c_gdsc";
qcom,retain-regs;
qcom,support-cfg-gdscr;
status = "disabled";
};
gcc_apcs_gdsc_vote_ctrl: syscon@15214c {
compatible = "syscon";
reg = <0x15214c 0x4>;
};
/* GCC GDSCs */
gcc_pcie_0_gdsc: qcom,gdsc@16b004 {
compatible = "qcom,gdsc";
reg = <0x16b004 0x4>;
regulator-name = "gcc_pcie_0_gdsc";
qcom,retain-regs;
qcom,no-status-check-on-disable;
qcom,collapse-vote = <&gcc_apcs_gdsc_vote_ctrl 0>;
qcom,support-cfg-gdscr;
status = "disabled";
};
gcc_pcie_0_phy_gdsc: qcom,gdsc@16c000 {
compatible = "qcom,gdsc";
reg = <0x16c000 0x4>;
regulator-name = "gcc_pcie_0_phy_gdsc";
qcom,retain-regs;
qcom,no-status-check-on-disable;
qcom,collapse-vote = <&gcc_apcs_gdsc_vote_ctrl 2>;
qcom,support-cfg-gdscr;
status = "disabled";
};
gcc_ufs_mem_phy_gdsc: qcom,gdsc@19e000 {
compatible = "qcom,gdsc";
reg = <0x19e000 0x4>;
regulator-name = "gcc_ufs_mem_phy_gdsc";
proxy-supply = <&gcc_ufs_mem_phy_gdsc>;
qcom,proxy-consumer-enable;
qcom,retain-regs;
qcom,support-cfg-gdscr;
status = "disabled";
};
gcc_ufs_phy_gdsc: qcom,gdsc@177004 {
compatible = "qcom,gdsc";
reg = <0x177004 0x4>;
regulator-name = "gcc_ufs_phy_gdsc";
proxy-supply = <&gcc_ufs_phy_gdsc>;
qcom,proxy-consumer-enable;
qcom,retain-regs;
qcom,support-cfg-gdscr;
status = "disabled";
};
gcc_usb30_prim_gdsc: qcom,gdsc@139004 {
compatible = "qcom,gdsc";
reg = <0x139004 0x4>;
regulator-name = "gcc_usb30_prim_gdsc";
proxy-supply = <&gcc_usb30_prim_gdsc>;
qcom,proxy-consumer-enable;
qcom,retain-regs;
qcom,support-cfg-gdscr;
status = "disabled";
};
gcc_usb3_phy_gdsc: qcom,gdsc@150018 {
compatible = "qcom,gdsc";
reg = <0x150018 0x4>;
regulator-name = "gcc_usb3_phy_gdsc";
proxy-supply = <&gcc_usb3_phy_gdsc>;
qcom,proxy-consumer-enable;
qcom,retain-regs;
qcom,support-cfg-gdscr;
status = "disabled";
};
/* GPU_CC GDSCs */
gpu_cc_cx_gdsc_hw_ctrl: syscon@3d99094 {
compatible = "syscon";
reg = <0x3d99094 0x4>;
};
gpu_cc_cx_gdsc: qcom,gdsc@3d99080 {
compatible = "qcom,gdsc";
reg = <0x3d99080 0x4>;
regulator-name = "gpu_cc_cx_gdsc";
hw-ctrl-addr = <&gpu_cc_cx_gdsc_hw_ctrl>;
proxy-supply = <&gpu_cc_cx_gdsc>;
qcom,proxy-consumer-enable;
qcom,retain-regs;
qcom,support-cfg-gdscr;
qcom,no-status-check-on-disable;
status = "disabled";
};
/* GX_CLKCTL GDSCs */
gx_clkctl_gx_gdsc: qcom,gdsc@3d68024 {
compatible = "qcom,gdsc";
reg = <0x3d68024 0x4>;
regulator-name = "gx_clkctl_gx_gdsc";
reg-supply = <&gpu_cc_cx_gdsc>;
qcom,retain-regs;
qcom,support-cfg-gdscr;
status = "disabled";
};
/* VIDEO_CC GDSCs */
video_cc_mvs0_gdsc: qcom,gdsc@aaf808c {
compatible = "qcom,gdsc";
reg = <0xaaf808c 0x4>;
regulator-name = "video_cc_mvs0_gdsc";
parent-supply = <&video_cc_mvs0c_gdsc>;
qcom,retain-regs;
qcom,support-hw-trigger;
qcom,support-cfg-gdscr;
status = "disabled";
};
video_cc_mvs0c_gdsc: qcom,gdsc@aaf8034 {
compatible = "qcom,gdsc";
reg = <0xaaf8034 0x4>;
regulator-name = "video_cc_mvs0c_gdsc";
qcom,retain-regs;
qcom,support-cfg-gdscr;
status = "disabled";
};
};

View File

@@ -3,7 +3,17 @@
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include <dt-bindings/clock/qcom,cambistmclkcc-sun.h>
#include <dt-bindings/clock/qcom,camcc-sun.h>
#include <dt-bindings/clock/qcom,dispcc-tuna.h>
#include <dt-bindings/clock/qcom,evacc-tuna.h>
#include <dt-bindings/clock/qcom,gcc-tuna.h>
#include <dt-bindings/clock/qcom,gpucc-tuna.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,tcsrcc-sun.h>
#include <dt-bindings/clock/qcom,videocc-tuna.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/soc/qcom,ipcc.h>
/ {
model = "Qualcomm Technologies, Inc. Tuna";
@@ -291,6 +301,232 @@
interrupt-controller;
#interrupt-cells = <2>;
};
ipcc_mproc: qcom,ipcc@406000 {
compatible = "qcom,ipcc";
reg = <0x406000 0x1000>;
interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller;
#interrupt-cells = <3>;
#mbox-cells = <2>;
};
clocks {
xo_board: xo_board {
compatible = "fixed-clock";
clock-frequency = <76800000>;
clock-output-names = "xo_board";
#clock-cells = <0>;
};
sleep_clk: sleep_clk {
compatible = "fixed-clock";
clock-frequency = <32000>;
clock-output-names = "sleep_clk";
#clock-cells = <0>;
};
pcie_0_pipe_clk: pcie_0_pipe_clk {
compatible = "fixed-clock";
clock-frequency = <1000>;
clock-output-names = "pcie_0_pipe_clk";
#clock-cells = <0>;
};
ufs_phy_rx_symbol_0_clk: ufs_phy_rx_symbol_0_clk {
compatible = "fixed-clock";
clock-frequency = <1000>;
clock-output-names = "ufs_phy_rx_symbol_0_clk";
#clock-cells = <0>;
};
ufs_phy_rx_symbol_1_clk: ufs_phy_rx_symbol_1_clk {
compatible = "fixed-clock";
clock-frequency = <1000>;
clock-output-names = "ufs_phy_rx_symbol_1_clk";
#clock-cells = <0>;
};
ufs_phy_tx_symbol_0_clk: ufs_phy_tx_symbol_0_clk {
compatible = "fixed-clock";
clock-frequency = <1000>;
clock-output-names = "ufs_phy_tx_symbol_0_clk";
#clock-cells = <0>;
};
usb3_phy_wrapper_gcc_usb30_pipe_clk: usb3_phy_wrapper_gcc_usb30_pipe_clk {
compatible = "fixed-clock";
clock-frequency = <1000>;
clock-output-names = "usb3_phy_wrapper_gcc_usb30_pipe_clk";
#clock-cells = <0>;
};
};
rpmhcc: clock-controller {
compatible = "fixed-clock";
clock-output-names = "rpmh_clocks";
clock-frequency = <19200000>;
#clock-cells = <1>;
};
cambistmclkcc: clock-controller@1760000 {
compatible = "qcom,dummycc";
clock-output-names = "cambistmclkcc_clocks";
#clock-cells = <1>;
#reset-cells = <1>;
};
camcc: clock-controller@ade0000 {
compatible = "qcom,dummycc";
clock-output-names = "camcc_clocks";
#clock-cells = <1>;
#reset-cells = <1>;
};
dispcc: clock-controller@af00000 {
compatible = "qcom,dummycc";
clock-output-names = "dispcc_clocks";
#clock-cells = <1>;
#reset-cells = <1>;
};
evacc: clock-controller@abf0000 {
compatible = "qcom,dummycc";
clock-output-names = "evacc_clocks";
#clock-cells = <1>;
#reset-cells = <1>;
};
gcc: clock-controller@100000 {
compatible = "qcom,dummycc";
clock-output-names = "gcc_clocks";
#clock-cells = <1>;
#reset-cells = <1>;
};
gpucc: clock-controller@3d90000 {
compatible = "qcom,dummycc";
clock-output-names = "gpucc_clocks";
#clock-cells = <1>;
#reset-cells = <1>;
};
tcsrcc: clock-controller@f100000 {
compatible = "qcom,dummycc";
clock-output-names = "tcsrcc_clocks";
#clock-cells = <1>;
#reset-cells = <1>;
};
videocc: clock-controller@aaf0000 {
compatible = "qcom,dummycc";
clock-output-names = "videocc_clocks";
#clock-cells = <1>;
#reset-cells = <1>;
};
};
#include "tuna-gdsc.dtsi"
&cam_cc_ipe_0_gdsc {
compatible = "regulator-fixed";
status = "ok";
};
&cam_cc_ofe_gdsc {
compatible = "regulator-fixed";
status = "ok";
};
&cam_cc_tfe_0_gdsc {
compatible = "regulator-fixed";
status = "ok";
};
&cam_cc_tfe_1_gdsc {
compatible = "regulator-fixed";
status = "ok";
};
&cam_cc_tfe_2_gdsc {
compatible = "regulator-fixed";
status = "ok";
};
&cam_cc_titan_top_gdsc {
compatible = "regulator-fixed";
status = "ok";
};
&disp_cc_mdss_core_gdsc {
compatible = "regulator-fixed";
status = "ok";
};
&disp_cc_mdss_core_int2_gdsc {
compatible = "regulator-fixed";
status = "ok";
};
&eva_cc_mvs0_gdsc {
compatible = "regulator-fixed";
status = "ok";
};
&eva_cc_mvs0c_gdsc {
compatible = "regulator-fixed";
status = "ok";
};
&gcc_pcie_0_gdsc {
compatible = "regulator-fixed";
status = "ok";
};
&gcc_pcie_0_phy_gdsc {
compatible = "regulator-fixed";
status = "ok";
};
&gcc_ufs_mem_phy_gdsc {
compatible = "regulator-fixed";
status = "ok";
};
&gcc_ufs_phy_gdsc {
compatible = "regulator-fixed";
status = "ok";
};
&gcc_usb30_prim_gdsc {
compatible = "regulator-fixed";
status = "ok";
};
&gcc_usb3_phy_gdsc {
compatible = "regulator-fixed";
status = "ok";
};
&gpu_cc_cx_gdsc {
compatible = "regulator-fixed";
status = "ok";
};
&gx_clkctl_gx_gdsc {
compatible = "regulator-fixed";
status = "ok";
};
&video_cc_mvs0_gdsc {
compatible = "regulator-fixed";
status = "ok";
};
&video_cc_mvs0c_gdsc {
compatible = "regulator-fixed";
status = "ok";
};
#include "tuna-pinctrl.dtsi"