From 59527e7b0227c840f78531081a91c72b3b4048ba Mon Sep 17 00:00:00 2001 From: Khaja Hussain Shaik Khaji Date: Mon, 6 Jan 2025 23:43:51 +0530 Subject: [PATCH] ARM: dts: msm: Add snapshot of DT bindings for kryo edac Add snapshot of DT bindings for kryo edac as of qcom-6.1 commit bbed6bb2a474 ("Merge "ARM: dts: msm: Add support for EVACC/LSRCC/VIDEOCC nodes""). Changes: -Add missing SPDX licence. Change-Id: I0359dee838daa70bedc8156b36d3ed125e4195ed Signed-off-by: Khaja Hussain Shaik Khaji (cherry picked from commit 9aa68feb0b6e34cae6570cc27a01b6213243998b) --- bindings/edac/kryo-edac.yaml | 53 ++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 bindings/edac/kryo-edac.yaml diff --git a/bindings/edac/kryo-edac.yaml b/bindings/edac/kryo-edac.yaml new file mode 100644 index 00000000..ae648b43 --- /dev/null +++ b/bindings/edac/kryo-edac.yaml @@ -0,0 +1,53 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bindings/edac/kryo-edac.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Kryo EDAC(Error Detection and Correction) node binding + +maintainers: + - Murali Nalajala + +description: |+ + Kryo EDAC node is defined to describe on-chip error detection and correction + for the Kryo core. + + Kryo will report all SBE and DBE found in L1/L2/L3/SCU caches in two registers: + ERRXSTATUS - Error Record Primary Status Register + ERRXMISC0 - Error Record Miscellaneous Register + + Current implementation of Kryo ECC mechanism is based on interrupts. + The following section describes the DT node binding for kryo_cpu_erp. + +properties: + compatible: + const: arm,arm64-kryo-cpu-erp + description: + Implements cache error detection and correction for Kryo CPUs. + + interrupts: + description: Interrupt-specifier for L1/L2, L3/SCU error IRQ(s) + + interrupt-names: + description: Descriptive names of the interrupts + +required: + - compatible + - interrupts + - interrupt-names + +examples: + - | + kryo-erp { + compatible = "arm,arm64-kryo-cpu-erp"; + interrupts = , + , + , + ; + + interrupt-names = "l1-l2-faultirq", + "l1-l2-errirq", + "l3-scu-errirq", + "l3-scu-faultirq"; + };