Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5407485rwr; Mon, 24 Apr 2023 03:53:46 -0700 (PDT) X-Google-Smtp-Source: AKy350YUseVuv4FYfFYdCZanZwZEnhnWfKJle2RyTrtiGrrDbi9TT1ujsccWHA4LhRGuY0R17w1P X-Received: by 2002:a17:90a:e150:b0:237:ae7c:15be with SMTP id ez16-20020a17090ae15000b00237ae7c15bemr13844834pjb.30.1682333626613; Mon, 24 Apr 2023 03:53:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682333626; cv=none; d=google.com; s=arc-20160816; b=e33lZ8T8IqOUSuhkktkMHKcMZoJ4ELbq/xs7uODgOg3MO828yVBa37ucZ9w6FjSlbn gA6m+6ew6XjWK3oPVR+43xseix6pwRPUV5ZKOA0ZvhNeHpF+3puPsO+WVrfkUV2DVWpx HYjhwcfmydzhsN9eqsB2TseVpB5x4HrboPHoaU0s4JW9GhsAmxXQ+025SqzJzcloLVsH PmD1NgcG4YktqJvvKp4YFisoojFxUx25gpbOVZKqcaw6Eju0UeV1ktKpohxX1sCSbo5x H0dy9doLMLKWzWnrsQ2cnMC5xYU5EHc5Y3BR80IPCewLW/P+mxgcdcJ3Qkwkxa8tawMD 6I3Q== 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=Cl5M1/Sa57+bU+iBeDHEnYz6kWjr3RV+s1L4CQPjc5I=; b=DnSMZKDmFp8AESOvDckYl7+f0+2JkAzbAd8Ssey4jy5oMTmlJtoQU0Nyy5/bgNy6hE VwlFhVLUVxhop/N15JWTmjCOvqwv8OsJb1hXJIknNyNvetY2V/U86KU69RuBqjNIWnum hBhxJ5Zt/emvY7f0AE5Ek1MffWkd1SK6GX40FP19NKM2nGM0+BV9UqmQClAxL9P9dI/i jM0LSOwLatSvcUuDdFGSpTGBbGlITFkj1iyaj8tHlnwnHeS5FkvQ6SaZD32LV8V1c3FZ ossx/0TLSH1j8qD59O7hm1TgNSYTQclpYq7e2FRC3PKy8G9J8XRhM+YuFVMnHAUVv02e oOSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=lj4dmKkA; 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 w1-20020a170902904100b001a64476e1eesi10812506plz.185.2023.04.24.03.53.35; Mon, 24 Apr 2023 03:53:46 -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=lj4dmKkA; 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 S231540AbjDXKuw (ORCPT + 99 others); Mon, 24 Apr 2023 06:50:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231537AbjDXKup (ORCPT ); Mon, 24 Apr 2023 06:50:45 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3171B26BD; Mon, 24 Apr 2023 03:50:43 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33OAoKZY076554; Mon, 24 Apr 2023 05:50:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1682333420; bh=Cl5M1/Sa57+bU+iBeDHEnYz6kWjr3RV+s1L4CQPjc5I=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=lj4dmKkAHXTy04PIg7soM0ujhpDG9RENLn0LmQBZuSTfmIjBxn15yBujxy6ykkuxR sCyv0TEEnFDi3HFvPgEqvKl6YjghFQext5WueH7EyzB8Z2B9n2QHetBxmyhCtV3is1 XvlssOTjQ604G2e6GHet196OSNiYspqodGIeeSxk= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33OAoJQ8016627 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 24 Apr 2023 05:50:19 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 24 Apr 2023 05:50:19 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) 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.16 via Frontend Transport; Mon, 24 Apr 2023 05:50:19 -0500 Received: from ula0497641.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33OAoBPE004376; Mon, 24 Apr 2023 05:50:16 -0500 From: Neha Malcom Francis To: , , , , , , , CC: , , , , Subject: [PATCH RESEND v3 1/3] dt-bindings: hwmon: esm: Add ESM support for TI K3 devices Date: Mon, 24 Apr 2023 16:20:09 +0530 Message-ID: <20230424105011.70674-2-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230424105011.70674-1-n-francis@ti.com> References: <20230424105011.70674-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 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 --- .../bindings/hwmon/ti,j721e-esm.yaml | 53 +++++++++++++++++++ 1 file changed, 53 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..c5eb7f46cc46 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/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/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: + 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