mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 04:59:05 +00:00
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
This commit is contained in:
25
bindings/firmware/qcom/tz-log.txt
Normal file
25
bindings/firmware/qcom/tz-log.txt
Normal file
@@ -0,0 +1,25 @@
|
||||
* 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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user