dt-bindings: soc: qcom: Add child node of TLMM VM mem access

Add child node for vm instance to specify VMID, label and gpio list for
each VM.

Change-Id: I4834623b176e997553aab462c60b3d6913840d9b
Signed-off-by: Cong Zhang <quic_congzhan@quicinc.com>
This commit is contained in:
Cong Zhang
2024-03-13 18:35:42 +08:00
parent 22d4c28ce7
commit d2d9ed22b6

View File

@@ -1,12 +1,14 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2 %YAML 1.2
-- ---
$id: http://devicetree.org/schemas/pinctrl/qcom,tlmm-vm-mem-access.yaml# $id: http://devicetree.org/schemas/pinctrl/qcom,tlmm-vm-mem-access.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm Technologies, Inc. TLMM VM memory access driver binding title: Qualcomm Technologies, Inc. TLMM VM memory access driver
maintainers: maintainers:
- Murali Nalajala <quic_mnalajal@quicinc.com>
- Cong Zhang <quic_congzhan@quicinc.com>
description: |+ description: |+
The driver facilitates initial memory access to TLMM VM driver. The driver facilitates initial memory access to TLMM VM driver.
@@ -17,15 +19,36 @@ properties:
qcom,master: qcom,master:
description: Specify if this device is on the primary virtual machine. description: Specify if this device is on the primary virtual machine.
type: boolean
tlmm-vm-gpio-list: patternProperties:
description: List of shared gpios. "^.*$":
type: object
description: child node representing a VM instance
example: properties:
tlmm-vm-gpio-list:
description: List of shared gpios.
qcom,vmid:
description: VMID for the VM instance
$ref: /schemas/types.yaml#/definitions/uint32
qcom,label:
description: Unique label for the VM instance
$ref: /schemas/types.yaml#/definitions/uint32
additionalProperties: false
examples:
- | - |
tlmm-vm-mem-access { tlmm-vm-mem-access {
compatible = "qcom,tlmm-vm-mem-access"; compatible = "qcom,tlmm-vm-mem-access";
qcom,master; qcom,master;
tlmm-vm-gpio-list = <&tlmm 0 0 &tlmm 1 0>; tuivm {
qcom,label = <0x01>;
qcom,vmid = <45>;
tlmm-vm-gpio-list = <&tlmm 1 0 &tlmm 2 0>;
};
}; };
... ...