summaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
authorQC Publisher <qcpublisher@qti.qualcomm.com>2021-10-17 10:01:10 -0700
committerAndrew Evans <andrewevans@google.com>2022-02-15 14:56:20 -0800
commitae3d046330003c3bea902480d8f0b523970a9b9a (patch)
tree6ade780a7bca111628744879314db9be03b2d8be /bindings
parent3b7ddf8debeeba4acdcabcbb4f42510d55341621 (diff)
downloaddevicetree-ae3d046330003c3bea902480d8f0b523970a9b9a.tar.gz
Commit label r00088.2 - ES2 0.0.088.2
TRACKING-ID:db40d318-f9e4-4d1e-8ac6-41266717b2b8
Diffstat (limited to 'bindings')
-rwxr-xr-xbindings/arm/msm/msm.txt6
-rwxr-xr-xbindings/arm/msm/sleepstate-hlos.txt12
-rwxr-xr-xbindings/arm/msm/subsystem-sleep-stats.yaml3
-rwxr-xr-xbindings/clock/qcom,gpucc.txt1
-rwxr-xr-xbindings/clock/qcom,videocc.txt1
-rwxr-xr-xbindings/interconnect/qcom,scuba.txt45
-rwxr-xr-xbindings/net/qcom,ethqos-thin.txt55
-rwxr-xr-xbindings/power/supply/qcom/qpnp-smblite.txt16
-rwxr-xr-xbindings/regulator/max20411-regulator.txt49
-rwxr-xr-xbindings/soc/qcom/qcom,glink-slatecom-xprt.txt13
-rwxr-xr-xbindings/sound/qcom-audio-dev.txt1
-rwxr-xr-xbindings/usb/dwc3.txt1
12 files changed, 203 insertions, 0 deletions
diff --git a/bindings/arm/msm/msm.txt b/bindings/arm/msm/msm.txt
index 42134d39..d359053a 100755
--- a/bindings/arm/msm/msm.txt
+++ b/bindings/arm/msm/msm.txt
@@ -116,6 +116,9 @@ SoCs:
- DIREWOLF
compatible = "qcom,direwolf"
+- LEMANS
+ compatible = "qcom,lemans"
+
Generic board variants:
- CDP device:
@@ -314,3 +317,6 @@ compatible = "qcom,direwolf-ivi-adp-star"
compatible = "qcom,direwolf-adas"
compatible = "qcom,direwolf-adas-rumi"
compatible = "qcom,direwolf-adas-adp-star"
+compatible = "qcom,lemans-rumi"
+compatible = "qcom,lemans-adp-air"
+compatible = "qcom,lemans-adp-star"
diff --git a/bindings/arm/msm/sleepstate-hlos.txt b/bindings/arm/msm/sleepstate-hlos.txt
new file mode 100755
index 00000000..38965153
--- /dev/null
+++ b/bindings/arm/msm/sleepstate-hlos.txt
@@ -0,0 +1,12 @@
+Qualcomm Technologies, Inc. hlos_sleep_state driver using SMSM framework.
+
+Required properties:
+-compatible : should be one of the following:
+- "qcom,smp2p-hlos_sleep_state"
+-qcom,smem-states : the relevant outgoing smp2p entry
+
+Example:
+qcom,hlos_sleep_state {
+ compatible = "qcom,smp2p-hlos_sleep_state";
+ qcom,smem-states = <&hlos_sleep_state_out 0>;
+};
diff --git a/bindings/arm/msm/subsystem-sleep-stats.yaml b/bindings/arm/msm/subsystem-sleep-stats.yaml
index 53e03871..3e7c8e5f 100755
--- a/bindings/arm/msm/subsystem-sleep-stats.yaml
+++ b/bindings/arm/msm/subsystem-sleep-stats.yaml
@@ -23,9 +23,12 @@ properties:
Value type: <string>
Definition: Should be "qcom,subsystem-sleep-stats".
+ reg:
+ maxItems: 1
example:
- |
subsystem-sleep-stats {
compatible = "qcom,subsystem-sleep-stats";
+ reg = <0xc3f0000 0 0x400>;
};
diff --git a/bindings/clock/qcom,gpucc.txt b/bindings/clock/qcom,gpucc.txt
index 6180b44c..3c2a4e69 100755
--- a/bindings/clock/qcom,gpucc.txt
+++ b/bindings/clock/qcom,gpucc.txt
@@ -17,6 +17,7 @@ Required properties :
"qcom,scuba-gpucc"
"qcom,bengal-gpucc"
"qcom,direwolf-gpucc"
+ "qcom,direwolf-gpucc-v2"
- reg: shall contain base register offset and size.
- reg-names: names of registers listed in the same order as in the reg property.
diff --git a/bindings/clock/qcom,videocc.txt b/bindings/clock/qcom,videocc.txt
index ea3973b0..6cfab423 100755
--- a/bindings/clock/qcom,videocc.txt
+++ b/bindings/clock/qcom,videocc.txt
@@ -15,6 +15,7 @@ Required properties :
"qcom,sm6150-videocc"
"qcom,sa6155-videocc"
"qcom,direwolf-videocc"
+ "qcom,direwolf-videocc-v2"
- reg : shall contain base register location and length
- #clock-cells : from common clock binding, shall contain 1.
diff --git a/bindings/interconnect/qcom,scuba.txt b/bindings/interconnect/qcom,scuba.txt
new file mode 100755
index 00000000..4ae84f1b
--- /dev/null
+++ b/bindings/interconnect/qcom,scuba.txt
@@ -0,0 +1,45 @@
+QTI SCUBA Network-On-Chip interconnect driver binding
+-----------------------------------------------------------
+
+Required properties :
+- compatible : shall contain only one of the following:
+ "qcom,scuba-bimc",
+ "qcom,scuba-sys_noc",
+ "qcom,scuba-config_noc",
+ "qcom,scuba-clk_virt",
+ "qcom,scuba-mmnrt_virt",
+ "qcom,scuba-mmrt_virt",
+- #interconnect-cells : should contain 1
+
+reg : specifies the physical base address and size of registers
+clocks : list of phandles and specifiers to all interconnect bus clocks
+clock-names : clock names should include both "bus" and "bus_a"
+
+The following are optional properties:
+
+qcom,util-factor : Parameter that represents the DDR utilization factor
+ to be used in aggregation scheme. It is represented as
+ actual util-factor * 100.
+
+Examples:
+
+soc {
+ ...
+ system_noc: interconnect@1880000 {
+ reg = <0x1880000 0x60200>;
+ compatible = "qcom,scuba-sys_noc";
+ #interconnect-cells = <1>;
+ clock-names = "bus", "bus_a";
+ clocks = <&rpmcc RPM_SMD_SNOC_CLK>,
+ <&rpmcc RPM_SMD_SNOC_A_CLK>;
+ };
+
+ config_noc: interconnect@1900000 {
+ reg = <0x1900000 0x8200>;
+ compatible = "qcom,scuba-config_noc";
+ #interconnect-cells = <1>;
+ clock-names = "bus", "bus_a";
+ clocks = <&rpmcc RPM_SMD_CNOC_CLK>,
+ <&rpmcc RPM_SMD_CNOC_A_CLK>;
+ };
+};
diff --git a/bindings/net/qcom,ethqos-thin.txt b/bindings/net/qcom,ethqos-thin.txt
new file mode 100755
index 00000000..f9a6b98d
--- /dev/null
+++ b/bindings/net/qcom,ethqos-thin.txt
@@ -0,0 +1,55 @@
+* Qualcomm Technologies, Inc. Ethernet thin driver (GMAC)
+
+This documents dwmmac based ethernet device which supports Gigabit
+ethernet for single TX and RX DMA channel pair.
+There are 2 emac instances with DWMMAC HW version 0x30000000.
+Either emac0 or emac1 instance is supported.
+For emac0 instance, comaptible should be "qcom,stmmac-ethqos-emac0"
+
+Required properties:
+- compatible: Should be "qcom,stmmac-ethqos-emac1",
+
+- reg: Address and length of the register set for the device
+
+- reg-names: Should contain register name "stmmaceth"
+
+- interrupts: Should contain the per channel interrupts
+
+- interrupt-names: Should contain per channel interrupt names
+
+- queue: queue index in MTL for this driver
+
+Rest of the properties are defined in stmmac.txt file in same directory
+
+Examples:
+
+ mtl_rx_setup: rx-queues-config {
+ snps,rx-queues-to-use = <1>;
+ snps,rx-sched-sp;
+ queue {
+ snps,dcb-algorithm;
+ snps,priority = <0x1>;
+ };
+ };
+
+ mtl_tx_setup: tx-queues-config {
+ snps,tx-queues-to-use = <1>;
+ snps,tx-sched-sp;
+ queue {
+ snps,dcb-algorithm;
+ };
+ };
+
+ emacthin_hw: ethernet@00020000 {
+ compatible = "qcom,stmmac-ethqos-emac1";
+ reg = <0x20000 0x10000>;
+ interrupts-extended = <&intc 0 945 1>;
+ interrupt-names = "tx_rx_ch1_intr";
+ mac-address = [000000000000]; /* Filled in by U-Boot */
+
+ rx-fifo-depth = <16384>;
+ tx-fifo-depth = <16384>;
+ snps,mtl-rx-config = <&mtl_rx_setup>;
+ snps,mtl-tx-config = <&mtl_tx_setup>;
+ queue = <2>
+ };
diff --git a/bindings/power/supply/qcom/qpnp-smblite.txt b/bindings/power/supply/qcom/qpnp-smblite.txt
index 370957dc..35c7ad4a 100755
--- a/bindings/power/supply/qcom/qpnp-smblite.txt
+++ b/bindings/power/supply/qcom/qpnp-smblite.txt
@@ -197,6 +197,12 @@ Charger specific properties:
Definition: Specifies the step size of each step of FCC stepper algorithm.
If left unspecified, the default value is 100mA.
+- qcom,fc-step-start-ua
+ Usage: optional
+ Value type: <u32>
+ Definition: Specifies the initial current of FCC stepper algorithm.
+ If left unspecified, the default value is 500mA.
+
- qcom,concurrency-mode-enable
Usage: optional
Value type: bool
@@ -209,6 +215,16 @@ Charger specific properties:
Definition: Boolean flag to determine if FG is running on different processor.
Its supported only on PM5100, By default this feature is disabled.
+- qcom,float-option
+ Usage: optional
+ Value type: <u32>
+ Definition: Configures how the charger behaves when a float charger is
+ detected by APSD.
+ 1 - Treat as a DCP.
+ 2 - Treat as a SDP.
+ 3 - Disable charging.
+ 4 - Suspend USB input.
+
=================================================
Second Level Nodes - SMBLITE Charger Peripherals
=================================================
diff --git a/bindings/regulator/max20411-regulator.txt b/bindings/regulator/max20411-regulator.txt
new file mode 100755
index 00000000..76168d2a
--- /dev/null
+++ b/bindings/regulator/max20411-regulator.txt
@@ -0,0 +1,49 @@
+Maxim MAX20411 voltage regulator
+
+MAX20411 regulator is a high-efficiency, synchronous step-down converter
+that operates with a 3.0V to 5.5V input voltage range and provideds
+a 0.05V to 1.275V output range.
+
+Properties:
+- compatible
+ Usage: required
+ Value type: <string>
+ Definition: Must be "maxim,max20411".
+
+- reg
+ Usage: required
+ Value type: <u32>
+ Definition: I2C slave address.
+
+- enable-gpio:
+ Usage: required
+ Value type: <phandle>
+ Definition: Phandle to GPIO used to control enable status of regulator.
+
+- regulator-name
+ Usage: required
+ Value type: <string>
+ Definition: Specifies the name for this regulator.
+
+- regulator-min-microvolt
+ Usage: required
+ Value type: <u32>
+ Definition: This is the minimum supported voltage in microvolts.
+
+- regulator-max-microvolt
+ Usage: required
+ Value type: <u32>
+ Definition: This is the maximum supported voltage in microvolts.
+
+
+Example:
+&qupv3_se12_i2c {
+ VDD_GFX_LEVEL: max20411-regulator@39 {
+ reg = <0x39>;
+ compatible = "maxim,max20411";
+ enable-gpio = <&pm8540_1_gpios 2 GPIO_ACTIVE_HIGH>;
+ regulator-name = "max20411-vout";
+ regulator-min-microvolt = <500000>;
+ regulator-max-microvolt = <968750>;
+ };
+};
diff --git a/bindings/soc/qcom/qcom,glink-slatecom-xprt.txt b/bindings/soc/qcom/qcom,glink-slatecom-xprt.txt
index 769317af..b49bc3c7 100755
--- a/bindings/soc/qcom/qcom,glink-slatecom-xprt.txt
+++ b/bindings/soc/qcom/qcom,glink-slatecom-xprt.txt
@@ -23,6 +23,19 @@ The following example reprsents a glink_slatecom node.
label = "slate";
};
+= AUDIO_CC_IPC_PLATFORM
+This node is defined as the platform driver with cc codec as the child device.
+- compatible:
+ Usage: required
+ Value type: <stringlist>
+ Definition: must be "qcom,audio-cc-ipc-platform"
+
+= EXAMPLE
+
+ qcom,audio-cc-ipc-platform {
+ compatible = "qcom,audio-cc-ipc-platform";
+ };
+
= AUDIO_CC_IPC_NODE
Each subnode of the glink_slatecom_xprt is a device node exposed to user space
by the audio-cc-ipc driver for sending ipc packets between the ipc clients.
diff --git a/bindings/sound/qcom-audio-dev.txt b/bindings/sound/qcom-audio-dev.txt
index 5c4fd50a..c581cdb3 100755
--- a/bindings/sound/qcom-audio-dev.txt
+++ b/bindings/sound/qcom-audio-dev.txt
@@ -1978,6 +1978,7 @@ Optional properties:
- qcom,rxtx-bolero-codec: Property to specify RX-TX macros supported.
- qcom,wsa-bolero-codec: Property to specify WSA macro supported.
- qcom,visense-enable: Property to specify VISense need to enable or not.
+- qcom,rx-wsa-enable: Property to specify wsa need to enable or not.
Example:
monaco_snd: sound {
diff --git a/bindings/usb/dwc3.txt b/bindings/usb/dwc3.txt
index d9963a22..06b78e11 100755
--- a/bindings/usb/dwc3.txt
+++ b/bindings/usb/dwc3.txt
@@ -123,6 +123,7 @@ Optional properties:
compliance mode, pattern 14.
- snps,gen2-tx-de-emph3: This register is for setting TX deemphasis used in
compliance mode, pattern 16.
+ - snps,force-gen1: If present, limit the speed of Gen2 link to Gen1.
- in addition all properties from usb-xhci.txt from the current directory are
supported as well