dt-bindings: Add dt binding file for tzlog

tz-log dt binding added for tzlog dtsi node.


Change-Id: Ic8c0143ca6894f3c78960c03870517f6edff6318
Signed-off-by: Nitin LNU <quic_nlakra@quicinc.com>
This commit is contained in:
Nitin LNU
2023-09-11 23:44:28 +05:30
parent 4a74690a02
commit 1a2b08bb0a

View File

@@ -0,0 +1,52 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/soc/qcom/sleepstate-smp2p.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: TZLOG (Trust Zone log)
maintainers:
- Vikas Kumar Sharma <quic_vksharma@quicinc.com>
description: |
The tz_log driver is a platform device driver that exposes a debugfs
interface for accessing and displaying diagnostic information
related to secure code (Trustzone/QSEE).
properties:
compatible:
const: qcom,tz-log
reg:
description: |
Offset and size of the register set for the device
qcom,hyplog-enabled:
description: |
Indicates(boolean) if driver supports HYP logger service.
hyplog-address-offset:
description: |
Register offset to get the HYP log base address.
$ref: /schemas/types.yaml#/definitions/uint32
hyplog-size-offset:
description: |
Register offset to get the HYP log size parameter.
$ref: /schemas/types.yaml#/definitions/uint32
required:
- compatible
additionalProperties: false
examples:
- |
qcom,tz-log@146bf720 {
compatible = "qcom,tz-log";
reg = <0x146bf720, 0x3000>;
qcom,hyplog-enabled;
hyplog-address-offset = 0x410;
hyplog-size-offset = 0x414;
};