From patchwork Thu May 4 08:05:24 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: 89964 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp137593vqo; Thu, 4 May 2023 01:13:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6RI19g2aNBgvRNDTLrWCd81mQFoiRPZXMLStaNCVLaWkjHTNO9QYcnPOwHeZgd9Ynyr3Sq X-Received: by 2002:a05:6a21:6da9:b0:f2:fd1e:efc9 with SMTP id wl41-20020a056a216da900b000f2fd1eefc9mr1898367pzb.5.1683187980750; Thu, 04 May 2023 01:13:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683187980; cv=none; d=google.com; s=arc-20160816; b=cHgJ8GEpGuE+PkKjrgoXMrW+rdL7uNE83AhT8tafpYn8Mmot7exGIiRN7+1PIwN9p6 lfhCGzVpw/u/hXaBaJhz/NAThwrEYqVqo6EfNkXu4D07wn5pRfYIkfBLqMfHwr8+ZShm 5bSl9ihZLw5boC+gegQ2UrOfdAyrZOFGHGnrFMrRfKG+47g1HPohNFN5SK5rYxL7KO5q 29W79PvDCrYtcMq0qKz/FjSb5uv4J6TXMgrjhIG5Lm7coj9mMq3YZx+EmR4RUzwO5ISd HU4SbTH0HFoYKoFL4URlZLnb+CkAjfgbqhSnSkNceuZLrX1HV9uQSFEnuhQ13U1h8Qsy VJxQ== 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=4EBtpAG5F3Ym7EmSZz91biGLB+dh0uAAY7RS7+0C628=; b=Ls+suu9W7WW7RBw1esJX+kxhsQPNLOxVr2ZwZjE52r8pNxWS4/mD3TIzWqmnfblFcK T06N0a0COadCFSsKzUmkdfs31m3tmE4cGoVbE29lbsd9fJF0d8mNaJ4XN5w6l7wBCt0G FxjTOoRisWlgjc6vla202TVQMAS37oxzAGZFz9lCiPUVBpHqQYuawVtp0Z+I4W/6DZYS bZCK2Cah+bWU81JShCmP6IGu/nvoY+xcCLfgRmO4u5bQwShT6J6Kr0KWE9CRo3/JvHOW FwbdvXsli2rW7NEZE4LJlJfbuW9aoUZd4J1JyP/1iFT79sloony7TmLQhIs37fWTJsb8 luAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=sWe2lTU0; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f16-20020a63f110000000b00524db291facsi31899354pgi.504.2023.05.04.01.12.45; Thu, 04 May 2023 01:13:00 -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=sWe2lTU0; 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 S230039AbjEDIHa (ORCPT + 99 others); Thu, 4 May 2023 04:07:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230186AbjEDIGt (ORCPT ); Thu, 4 May 2023 04:06:49 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D70246A0; Thu, 4 May 2023 01:06:16 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 34485XDI087733; Thu, 4 May 2023 03:05:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683187533; bh=4EBtpAG5F3Ym7EmSZz91biGLB+dh0uAAY7RS7+0C628=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=sWe2lTU0nQvzLqazu9/wSJ6dpEFBKG5y7IVeXA8mPasQi1jlkG5EbM9utb1VKmrE5 LaTC+3ZjFKP1eT8I5CY2b86q4qRXPqPf046G20cgrf435FO9MmtLUF33fMAeUeHRPr N5N0aVmCV5HasOMKOp3LWRO8+embyaF0GXNOI3ds= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 34485Xvu109292 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 4 May 2023 03:05:33 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 4 May 2023 03:05:33 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE109.ent.ti.com (10.64.6.30) 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; Thu, 4 May 2023 03:05:33 -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 34485R1P090093; Thu, 4 May 2023 03:05:31 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , Subject: [PATCH v6 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices Date: Thu, 4 May 2023 13:35:24 +0530 Message-ID: <20230504080526.133149-2-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230504080526.133149-1-n-francis@ti.com> References: <20230504080526.133149-1-n-francis@ti.com> MIME-Version: 1.0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764950519924313837?= X-GMAIL-MSGID: =?utf-8?q?1764950519924313837?= 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..0c9a8444844c --- /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 + +required: + - compatible + - reg + - ti,esm-pins + +additionalProperties: false + +examples: + - | + bus { + #address-cells = <2>; + #size-cells = <2>; + esm@700000 { + compatible = "ti,j721e-esm"; + reg = <0x0 0x700000 0x0 0x1000>; + ti,esm-pins = <344>, <345>; + }; + };