Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp545897rwr; Wed, 3 May 2023 02:34:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5bXDWvh/sOPkQjK+zz0nEmIYzURXUCMeXN3HoHq4pVrrODKNF69IS2BaZabBIeRF81E0tz X-Received: by 2002:a05:6a20:a11c:b0:d9:adc3:6a71 with SMTP id q28-20020a056a20a11c00b000d9adc36a71mr2071644pzk.1.1683106453093; Wed, 03 May 2023 02:34:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683106453; cv=none; d=google.com; s=arc-20160816; b=hyhx9lcxLVXk9waSASULs6LtIRZWquFA021AXJnSqcw9SgeDRGuiFxnoA6VVMd7P6B hMGETXVD+zgLV2YAlaS/sE7K82OWdGkJHjuuNeaa2Ms96wzprXnxGnJ798riTr3JjD/A NQGKrzTZQwk2Mlx2BCauN4Q9jY0qyWfSX2LKXkayltZyRJZSLEp3UvLIUVgfMl2FPQjL Jw1vIK8mrO5vlhb6raMEYb5s/R6XG9M8YdUr41FdMeoebHTavcok4I6yMik+KMVeWnd4 uXieRBBxcbj07/ciP6L5rvyMqhRhSchu3H4xnbGDVoUxTNzGAQIvQP88d6vrSWRW4Cxj Okdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pRJHfhRAzhk8bFQEaVn1idhe/D6js0UAlwCDoXfBQFk=; b=e1B1Q7+u9ol1Cf9Rgg+LVWKKfV7Qg7sX9MqkdjSCZtEYPC463ZA+vpCzrg1DFUb+Vh 0xakyDLcFfHliWfK7JMF2yK1BXcDFS+AjkNT1BUsKGE3cdBbhfgFviYCscLevVjHYefG iZLmEFhI+oqUrcIHdBiSkmZhJotqo4fh3nGGTu8W1GaSXb9n8jfGe6cFMSgLuZmXNQoN sq0riuoqBoaIP45GqufRDkrCMAvzZ5RfjKFKCkjNGdC0vRd2RJ84mLMqy8GYB8ALlRoK /fG/orUMogXNikPpztOr8c+xeo2Csrpa7wK6w+yNMOSRup14cYRWZBIBzlbEgt2PiOnR gCcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Gd+oIbBl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q24-20020aa78438000000b0063d2aa67a8esi32524450pfn.325.2023.05.03.02.33.58; Wed, 03 May 2023 02:34:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Gd+oIbBl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229839AbjECJdg (ORCPT + 99 others); Wed, 3 May 2023 05:33:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229714AbjECJdb (ORCPT ); Wed, 3 May 2023 05:33:31 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 373DA3C3F; Wed, 3 May 2023 02:33:24 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3439XHAh050539; Wed, 3 May 2023 04:33:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683106397; bh=pRJHfhRAzhk8bFQEaVn1idhe/D6js0UAlwCDoXfBQFk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Gd+oIbBlhvHWZlEKEmMzboA9bp3WMrPFbE3ksy2YS19vogCfDpoBEOLoE3KNZZxVn YHhhdcoB7PaJSxV1v6G7uL3xUpIOf4GPQ1V5tRDKcBpK1EHGCqT58WBSIkWahId3mV 66ijsgo7t2sEeXpU0bVaggiZRe5tPcdZ5J4/ISZM= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3439XHrp006927 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 3 May 2023 04:33:17 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 3 May 2023 04:33:16 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 3 May 2023 04:33:16 -0500 Received: from ula0497641.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3439XAIm084380; Wed, 3 May 2023 04:33:14 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , Subject: [PATCH v4 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices Date: Wed, 3 May 2023 15:03:08 +0530 Message-ID: <20230503093310.85779-2-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230503093310.85779-1-n-francis@ti.com> References: <20230503093310.85779-1-n-francis@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the binding for TI K3 ESM (Error Signaling Module) block. Signed-off-by: Neha Malcom Francis Reviewed-by: Krzysztof Kozlowski --- .../bindings/misc/ti,j721e-esm.yaml | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/ti,j721e-esm.yaml diff --git a/Documentation/devicetree/bindings/misc/ti,j721e-esm.yaml b/Documentation/devicetree/bindings/misc/ti,j721e-esm.yaml new file mode 100644 index 000000000000..408296157576 --- /dev/null +++ b/Documentation/devicetree/bindings/misc/ti,j721e-esm.yaml @@ -0,0 +1,53 @@ +# 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/misc/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: + maxItems: 1 + + 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: + - | + bus { + #address-cells = <2>; + #size-cells = <2>; + esm@700000 { + compatible = "ti,j721e-esm"; + reg = <0x0 0x700000 0x0 0x1000>; + ti,esm-pins = <344>, <345>; + }; + }; -- 2.34.1