Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b996006 authored by Zhen Kong's avatar Zhen Kong
Browse files

dt-bindings: tzlogdriver : add DT binding entry for tzlogdriver



Add DT binding entry for tzlogdriver for Kona.

Change-Id: Ide12421ba15a33c040f01d97e4b790935c6156f7
Signed-off-by: default avatarZhen Kong <zkong@codeaurora.org>
parent a3d9530a
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
* TZLOG (Trust Zone Log)

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).

Required properties:
- compatible : Should be "qcom,tz-log"
- reg        : Offset and size of the register set for the device

Optional properties:
- qcom,hyplog-enabled   : (boolean) indicates if driver supports HYP logger service.
- hyplog-address-offset : Register offset to get the HYP log base address.
- hyplog-size-offset    : Register offset to get the HYP log size parameter.

Example:

	qcom,tz-log@fe805720 {
		compatible = "qcom,tz-log";
                reg = <0xfe805720 0x1000>;
		qcom,hyplog-enabled;
		hyplog-address-offset = 0x410;
		hyplog-size-offset = 0x414;
	};