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

Commit b505c1c1 authored by Zhen Kong's avatar Zhen Kong
Browse files

bindings: Add device-tree bindings for tz_log driver

Add device-tree bindings documentation to describe the
properties for tz_log driver.

Change-Id: I01f484b9eed8d78bac74c56680e371e824967206
parent 3eab9b93
Loading
Loading
Loading
Loading
+25 −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@146bf720 {
		compatible = "qcom,tz-log";
                reg = <0x146bf720, 0x3000>;
		qcom,hyplog-enabled;
		hyplog-address-offset = 0x410;
		hyplog-size-offset = 0x414;
	};