From 30bca971157867f757ab4c457d9aa5f7c5864dc8 Mon Sep 17 00:00:00 2001 From: Elliot Berman Date: Mon, 5 Aug 2019 09:46:36 -0700 Subject: [PATCH] bindings: Add qcom,msm-rtb schema Add msm_rtb.yaml from a converted msm_rtb.txt from commit (Merge "ARM: dts: msm: Add multiple refresh rates for sw43404") to new yaml format. Change-Id: I79e61b02578c27048c406af6ee493fab1718a1d4 --- bindings/arm/msm/msm_rtb.yaml | 42 +++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 bindings/arm/msm/msm_rtb.yaml diff --git a/bindings/arm/msm/msm_rtb.yaml b/bindings/arm/msm/msm_rtb.yaml new file mode 100644 index 000000000000..c3809877726a --- /dev/null +++ b/bindings/arm/msm/msm_rtb.yaml @@ -0,0 +1,42 @@ +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/arm/msm/msm_rtb.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Register Trace Buffer (RTB) + +maintainers: + - Elliot Berman + +description: | + The RTB is used to log discrete events in the system in an uncached buffer that + can be post processed from RAM dumps. The RTB must reserve memory using + the msm specific memory reservation bindings. + +properties: + $nodename: + const: qcom,msm-rtb + + compatible: + items: + -const: qcom,msm-rtb + + qcom,rtb-size: + maxItems: 1 + description: size of the RTB buffer in bytes + + linux,contiguous-region: + $ref: '/schemas/types.yaml#/definitions/phandle' + maxItems: 1 + description: phandle reference to a CMA region + +required: + - compatible + - qcom,rtb-size + +examples: + - | + qcom,msm-rtb { + compatible = "qcom,msm-rtb"; + qcom,rtb-size = <0x100000>; + };