Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp411854rwe; Fri, 14 Apr 2023 05:00:38 -0700 (PDT) X-Google-Smtp-Source: AKy350bQrh6a9VTDQIlE7gmPw3a51iQdGyO4HYuTtEam5d8TXW+X8NCgvreESnEP4oSlxPvnwoSC X-Received: by 2002:a17:90b:eca:b0:247:1de8:8263 with SMTP id gz10-20020a17090b0eca00b002471de88263mr5164264pjb.4.1681473638472; Fri, 14 Apr 2023 05:00:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681473638; cv=none; d=google.com; s=arc-20160816; b=Ij+b1tNF/vps3u8nWG03EU+7lKDqVBlTi4VcDxiiv9ZwU7VH8WjkzXor9ZY7ZuR1r5 0tvTN3QwgCXM0uEfMh6pj2C4dy1hE1wEmWJRSr1m7rZ5MIxkon6dAOFB0rQU6h6Z4MNd UecDBeEeVbrgBRZHC6BerUTfImRwtLn7xLF5Ub45scETZyG0xXIP1syx5jqOFeJ9B4OL aaWz25Z4ZDUa0D8chQrY/LRribmqcBL90Cs2RX85yHzO7Cwdz6mOYLU35AS3lv/E8sIO hxJ2wUmTrCcjRXKGp0/pDnDSA3pJvx1xJ3tBP7Tp29FjNzGcOUT7eqSD+y/gjVw66JDT 4vwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=nwCnm0dqF6GO9rD40udc/VGMXwcnBrK2/hebHkxzkgU=; b=Hov753R2m+WD8IGPsUvWNcgCUwoVluuxw6pboRT5SMjzcgyA+OzXFwHgl5KUalV+zS /UZpX/+e7H+gPPZ9Zek/Qdbdcd4jDavMBXhQuKRf2doYbMosUfSBT92tdfRWhqUVbhnT optBcae2TSNVpDFmdJrL3fw7M6h0ztFJdDqVclilLvFECPfyN5iWQ1R4D/SJxDpPBTXX USfKr4fY85warTEm+ngpOQnRiB5qc4Q125I46lmeG8xPrWTVymvlLm59RIri0Zh9wJ6u 3GL7b4M/juwsYoXZsVLuj3+3CxhCoFtjOD6/wosE2wtQyN9DTHi4k4Ag7ihmnXeenYqf 6tqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SsI69cum; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qi2-20020a17090b274200b00246f856d676si7185594pjb.53.2023.04.14.05.00.23; Fri, 14 Apr 2023 05:00:38 -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=@linaro.org header.s=google header.b=SsI69cum; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229733AbjDNLk4 (ORCPT + 99 others); Fri, 14 Apr 2023 07:40:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229636AbjDNLky (ORCPT ); Fri, 14 Apr 2023 07:40:54 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21B214ED0 for ; Fri, 14 Apr 2023 04:40:53 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id dm2so44942626ejc.8 for ; Fri, 14 Apr 2023 04:40:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681472451; x=1684064451; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=nwCnm0dqF6GO9rD40udc/VGMXwcnBrK2/hebHkxzkgU=; b=SsI69cum9qeu0etn2SIPkAfRUOij/h8S6VFCMpuN1D3QWOUs+kky4qxmj1gsUPUc3d 7LF0CEaInESiQRJbEvNXw+LcqLZfaMPIw0jlutiq/yiR34XcvToBa/a/iP/npQGtciQ5 5tbD3L9TfW9gSpau207N/XLAEwr05CABrein9SHZ5VN1EkOgkhkIyylB7mWKDD/fCflQ OdaG7ikmby8gBpbkjPoF/V+nYVuRB6D/BmQSz5+ZXkJJgceHE0S03VncogZuQ5Gu6CkU lumPe64Ek7MkPNHYQJGEqrL/DWGHRZxE0LWWHWj1WibXDdrv3oVZygVHM+1MRb0pO9cR FdYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681472451; x=1684064451; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nwCnm0dqF6GO9rD40udc/VGMXwcnBrK2/hebHkxzkgU=; b=IR74H4Gx76KQA8icmTUjcePKo/rtNpxD2TI/MjSdVDXMAwr72qsc31VYh1Xeup6G/h Qikeuh+2/7VT7n+R8kbeO/AfrLM9fKywKJQZ4w4aTVLS/b52AhclyM5z7dKOdamoLXDq 7of6XIqPIfPWQkwqwTAaHXflF6ZjUyIfCrMQ9hIuEWd7xdQwB1vOTFuR4EXNXMw8/YRa t9nnAMXjD5SXDB2kJE7TZwH5RmqEH6OLof8l2LFb7bS40tNz2cAPIL509qinpzhRDIXz qqmhWJbcQA2RNRzaN6GQIK8Q6gS7efBV7ukd86tByJihLuDMdzP4ps+o/75U0P/4T8Wm 7KTQ== X-Gm-Message-State: AAQBX9eDvTu/7cZPGG2SxfFDhIihrqHqiZzuUmtA3TTc4gprRHq3o+T0 QyOk1ZSOqJutgilLm8DoHqF+IA== X-Received: by 2002:a17:907:6f17:b0:94e:dc3c:cca2 with SMTP id sy23-20020a1709076f1700b0094edc3ccca2mr2123702ejc.70.1681472451565; Fri, 14 Apr 2023 04:40:51 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:40b9:8c57:b112:651d? ([2a02:810d:15c0:828:40b9:8c57:b112:651d]) by smtp.gmail.com with ESMTPSA id dk8-20020a170906f0c800b0094a44aa90ddsm2279434ejb.216.2023.04.14.04.40.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Apr 2023 04:40:51 -0700 (PDT) Message-ID: <40498f71-d0cd-e7af-6515-c60a8d1edce8@linaro.org> Date: Fri, 14 Apr 2023 13:40:50 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices Content-Language: en-US To: Neha Malcom Francis , u-boot@lists.denx.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: nm@ti.com, vigneshr@ti.com, u-kumar1@ti.com References: <20230414105225.194195-1-n-francis@ti.com> <20230414105225.194195-2-n-francis@ti.com> From: Krzysztof Kozlowski In-Reply-To: <20230414105225.194195-2-n-francis@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,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 On 14/04/2023 12:52, Neha Malcom Francis wrote: > Document the binding for TI K3 ESM (Error Signaling Module) block. > > Signed-off-by: Neha Malcom Francis > --- > .../devicetree/bindings/misc/esm-k3.yaml | 54 +++++++++++++++++++ > 1 file changed, 54 insertions(+) > create mode 100644 Documentation/devicetree/bindings/misc/esm-k3.yaml > > diff --git a/Documentation/devicetree/bindings/misc/esm-k3.yaml b/Documentation/devicetree/bindings/misc/esm-k3.yaml > new file mode 100644 > index 000000000000..5e637add3b0e > --- /dev/null > +++ b/Documentation/devicetree/bindings/misc/esm-k3.yaml Filename matching compatible. Missing vendor prefix and device name. > @@ -0,0 +1,54 @@ > +# 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/esm-k3.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Texas Instruments K3 ESM Binding Drop: Binding > + > +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 handld by the ESM, which routes them to the proper typo: handled > + destination, which can be system reset, interrupt controller, etc. In the > + simplest configuration the signals are just routed to reset the SoC. There is no proper bindings directory for ESM? Misc is discouraged. > + > +properties: > + compatible: > + const: ti,j721e-esm > + > + reg: > + items: > + - description: physical address and length of the registers which > + contain revision and debug features Drop useless "physical address and length of the registers which". reg cannot be anything else. > + - description: physical address and length of the registers which > + indicate strapping options > + > + ti,esm-pins: > + $ref: /schemas/types.yaml#/definitions/uint32-array > + description: | Do not need '|' unless you need to preserve formatting. > + integer array of ESM event IDs to route to external event pin which can > + be used to reset the SoC. The array can have an arbitrary amount of event > + IDs listed on it. What is ESM event ID? The property name suggests pins... > + minItems: 1 > + maxItems: 255 > + > +additionalProperties: false > + > +required: > + - compatible > + - reg > + - ti,esm-pins > + > +examples: > + - | > + main_esm: esm@700000 { Drop label. > + compatible = "ti,j721e-esm"; > + reg = <0x0 0x700000 0x0 0x1000>; > + ti,esm-pins = <344>, <345>; > + }; Best regards, Krzysztof