Files
android_kernel_samsung_sm87…/bindings/arm/msm/qcom,gh-secure-vm-loader.yaml
Meena Pasumarthi 784b6afca3 bindings: Adding bindings to support vm on Sun
Adding bindings to support vm on Sun.

This is snapshot of bindings from 'commit 999a92cd8b38
("Merge "ARM: dts: qcom: Add platform support for VMs on
Cliffs"")' from device tree project msm-6.1 branch.

Change-Id: I47eda741b3451d38d215f7d95505a2bb4dd86565
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
Signed-off-by: Sahitya Tummala <quic_stummala@quicinc.com>
2023-09-25 09:44:11 +05:30

61 lines
1.6 KiB
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/arm/msm/qcom,gh-secure-vm-loader.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Gunyah Secure Virtual Machine Loader
maintainers:
- Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
- Sreenad Menon <quic_sreemeno@quicinc.com>
description: |+
Secure VM loader driver is used for loading the Secure Virtual Machine
images into memory and conveying the memory details to Resource Manager.
properties:
compatible:
const: qcom,gh-secure-vm-loader
qcom,vmid:
$ref: '/schemas/types.yaml#/definitions/uint32'
description: Virtual Machine ID of the current virtual machine.
qcom,pas-id:
$ref: '/schemas/types.yaml#/definitions/uint32'
description: Peripheral authentication ID of the subsystem.
qcom,firmware-name:
$ref: '/schemas/types.yaml#/definitions/string'
description: Virtual machine name.
memory-region:
$ref: '/schemas/types.yaml#/definitions/phandle'
description: Virtual machine memory region.
virtio-backends:
$ref: '/schemas/types.yaml#/definitions/phandle'
description: Virtio backend devices of VM.
required:
- compatible
- qcom,pas-id
- qcom,vmid
- qcom,firmware-name
- memory-region
- virtio-backends
additionalProperties: false
examples:
- |
gh-secure-vm-loader@0 {
compatible = "qcom,gh-secure-vm-loader";
qcom,pas-id = <28>;
qcom,vmid = <45>;
qcom,firmware-name = "trustedvm";
memory-region = <&trust_ui_vm_mem>;
virtio-backends = <&trust_ui_vm_virt_be0>;
};