Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: misc: tmr-manager: Add device-tree binding for TMR Manager

Triple Modular Redundancy(TMR) subsystem contains three microblaze cores,
subsystem is fault-tolerant and continues to operate nominally after
encountering an error. Together with the capability to detect and recover
from errors, the implementation ensures the reliability of the entire
subsystem. TMR Manager is responsible for performing recovery of the
subsystem detects the fault via a break signal it invokes microblaze
software break handler which calls the tmr manager driver api to
update the error count and status.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221125054113.122833-2-appana.durga.kedareswara.rao@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Appana Durga Kedareswara rao and committed by
Greg Kroah-Hartman
fc4d041e c7109c72

+47
+47
Documentation/devicetree/bindings/misc/xlnx,tmr-manager.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/misc/xlnx,tmr-manager.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Xilinx Triple Modular Redundancy(TMR) Manager IP 8 + 9 + maintainers: 10 + - Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> 11 + 12 + description: | 13 + The Triple Modular Redundancy(TMR) Manager is responsible for handling the 14 + TMR subsystem state, including fault detection and error recovery. The core 15 + is triplicated in each of the sub-blocks in the TMR subsystem, and provides 16 + majority voting of its internal state. 17 + 18 + properties: 19 + compatible: 20 + enum: 21 + - xlnx,tmr-manager-1.0 22 + 23 + reg: 24 + maxItems: 1 25 + 26 + xlnx,magic1: 27 + minimum: 0 28 + maximum: 255 29 + description: 30 + Magic byte 1, When configured it allows the controller to perform 31 + recovery. 32 + $ref: /schemas/types.yaml#/definitions/uint32 33 + 34 + required: 35 + - compatible 36 + - reg 37 + - xlnx,magic1 38 + 39 + additionalProperties: false 40 + 41 + examples: 42 + - | 43 + tmr-manager@44a10000 { 44 + compatible = "xlnx,tmr-manager-1.0"; 45 + reg = <0x44a10000 0x10000>; 46 + xlnx,magic1 = <0x46>; 47 + };