From patchwork Wed Apr 19 09:25:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neha Malcom Francis X-Patchwork-Id: 13216551 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1A401C6FD18 for ; Wed, 19 Apr 2023 09:27:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lj+NhKztqoccyUaKFzuhvBfpvXtXKyPU2zFnDtmdI8s=; b=v+XfuTtCSgycF5 3Xm4pd2b3mjs1Tt7GRZn3+ahY8iLQ/Gf1X/qs78wnKhXZk/7Z8Czs+C8qjCOetSglHDI6AoQDfzZ8 x84wh4WtRm6JDzUPsQbkLGpU6IbRR6bTKcmhXIILdmg4BzotQ/f1WFf8tZp4D9Lj1sckuhHvEmwp+ /kqJJHtB0Yh3xEiCHX3Oltsl36tm2xxV8bPM42Ay8R8MC3rZviQYYCqXNi9NVicGqXHVXZm3dQmIk 6kmayaD8UnKwJUC7nhD9WKhUmh8TVD6NxACAl0ABHyG0q56bUOgU1Vu1c32Wr4EUrwLbFpLD1GtDl ZtF2NS4Kh1LJSY2DmWcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pp44w-004jJ7-1H; Wed, 19 Apr 2023 09:26:18 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pp44q-004jH8-1i for linux-arm-kernel@lists.infradead.org; Wed, 19 Apr 2023 09:26:14 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33J9Q6YP071096; Wed, 19 Apr 2023 04:26:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1681896366; bh=OE6isOxwACqnkPpdmJsY1U2qyVXgwLkbhOi8+TI5Qps=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=aOPWHUmeAPRfYR/FbbB+GSHBOvTBaqVUsDM6xserzqby1CnJCwAVUV/VTaHEI4rcW xduIUgZgt/NOWMjlL8Gmqew05nqeC8TLkRW7Bu12BtLK2wrmEQRgPhPK5wjicSfQxI eQ6WmiRgO0LR/J5ix3ai1s/VTCbWcnT4qRyrQ7oI= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33J9Q6xH110879 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 19 Apr 2023 04:26:06 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Wed, 19 Apr 2023 04:26:06 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Wed, 19 Apr 2023 04:26:06 -0500 Received: from ula0497641.dhcp.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33J9Pxnc086968; Wed, 19 Apr 2023 04:26:03 -0500 From: Neha Malcom Francis To: , , , , CC: , , , Subject: [PATCH v2 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices Date: Wed, 19 Apr 2023 14:55:57 +0530 Message-ID: <20230419092559.673869-2-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230419092559.673869-1-n-francis@ti.com> References: <20230419092559.673869-1-n-francis@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230419_022612_647254_03E610BF X-CRM114-Status: GOOD ( 15.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Document the binding for TI K3 ESM (Error Signaling Module) block. Signed-off-by: Neha Malcom Francis --- .../bindings/hwmon/ti,j721e-esm.yaml | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/ti,j721e-esm.yaml diff --git a/Documentation/devicetree/bindings/hwmon/ti,j721e-esm.yaml b/Documentation/devicetree/bindings/hwmon/ti,j721e-esm.yaml new file mode 100644 index 000000000000..7b23ac7cb3ba --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/ti,j721e-esm.yaml @@ -0,0 +1,55 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2022 Texas Instruments Incorporated +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/ti,j721e-esm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments K3 ESM + +maintainers: + - Neha Malcom Francis + +description: + The ESM (Error Signaling Module) is an IP block on TI K3 devices + that allows handling of safety events somewhat similar to what interrupt + controller would do. The safety signals have their separate paths within + the SoC, and they are handled by the ESM, which routes them to the proper + destination, which can be system reset, interrupt controller, etc. In the + simplest configuration the signals are just routed to reset the SoC. + +properties: + compatible: + const: ti,j721e-esm + + reg: + items: + - description: the ESM register set + + ti,esm-pins: + $ref: /schemas/types.yaml#/definitions/uint32-array + description: + integer array of ESM interrupt pins to route to external event pin + which can be used to reset the SoC. + minItems: 1 + maxItems: 255 + +additionalProperties: false + +required: + - compatible + - reg + - ti,esm-pins + +examples: + - | + cbass_main { + #address-cells = <2>; + #size-cells = <2>; + + esm@700000 { + compatible = "ti,j721e-esm"; + reg = <0x0 0x700000 0x0 0x1000>; + ti,esm-pins = <344>, <345>; + }; + };