Bhargav Gurappadi | 0084bbd | 2016-08-04 14:44:23 -0700 | [diff] [blame] | 1 | Register Trace Buffer (RTB) |
| 2 | |
| 3 | The RTB is used to log discrete events in the system in an uncached buffer that |
| 4 | can be post processed from RAM dumps. The RTB must reserve memory using |
| 5 | the msm specific memory reservation bindings (see |
| 6 | Documentation/devicetree/bindings/arm/msm/memory-reserve.txt). |
| 7 | |
| 8 | Required properties |
| 9 | |
| 10 | - compatible: "qcom,msm-rtb" |
| 11 | - qcom,rtb-size: size of the RTB buffer in bytes |
| 12 | |
| 13 | Optional properties: |
| 14 | |
| 15 | - linux,contiguous-region: phandle reference to a CMA region |
| 16 | |
| 17 | Example: |
| 18 | |
| 19 | qcom,msm-rtb { |
| 20 | compatible = "qcom,msm-rtb"; |
| 21 | qcom,rtb-size = <0x100000>; |
| 22 | }; |