Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3430884rwb; Tue, 16 Aug 2022 02:57:58 -0700 (PDT) X-Google-Smtp-Source: AA6agR6xKeCWWbprEiUmd+gwl9Q4c716oWUdeeA9qvhbwnHLIarYoGBmhEpR+kK3bu4Cw8wKUokO X-Received: by 2002:a17:90a:c58e:b0:1f3:1ab5:22ae with SMTP id l14-20020a17090ac58e00b001f31ab522aemr32505567pjt.45.1660643878056; Tue, 16 Aug 2022 02:57:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660643878; cv=none; d=google.com; s=arc-20160816; b=jJve9Xye6yrFrN7tN9NrY3puJBYq8AiabI2k/B72CwzwO6lTRoPe1/JRom6uSVs9+y eKt4o+WfvQpHNOovt0ajOT+VRsW7EkkURxdLVx1BTOtOS1kTvMDeaPzdNmd+ZTr7Ev/q straL5pkBZ8TxWJBEclNlfZe6Xx4b9pfd23J7MIeFs+8lfdHinv+2YN+LwRfNc2Z8DOh OEyezS7uSsHGLN6H/RLe52g1lkGPfv3UsF1l4Am5vghKPgXzs+nquDe9ImA+2Jb2CtBd bXikFX1+Lq8hSlpkCqPz/3iLq/ar7ZhoEqcx/YUfQKMTlsN1tonR4MIXor/bM0ve20Uu 6viA== 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=g9AVhSipbaf/eXJy1pQ1TuttjNQk/U+DsKSgY1pczUU=; b=SdLe+F/xRFdgAikxk4PCPTWbJNKZylyh9chDolVc8zr0It0WOrLH54pFRA2fcqyu7r toumpZ5O7lfl4w75vsJcwGjwrpB4/yTOV18y/VE8LTyBrOJYN4W7ggTUh2F18jnVdgkF MZXhnQpFAvnNIBfzVg1Agogurpa4hIJkwqB+t8pRHiCaXUsoqauK7JjGB3BSbT3wMp+7 asgh9fCKy62KTDUJsyVRV6PGIrIsAqzeKF3eMqpwkuaNOeJa3jggtJpPLGXutmPUSw41 oFMvrg68Y4BvEVJRuDfAfxZxBhZ0iv1kkmO9bYlgsJBQ9o8iAH36yA2MKHlmNZRxq9Pr K6UA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Uy6ZJgSK; 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 lr8-20020a17090b4b8800b001f4dd42e186si21027044pjb.6.2022.08.16.02.57.47; Tue, 16 Aug 2022 02:57:58 -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=Uy6ZJgSK; 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 S233744AbiHPJib (ORCPT + 99 others); Tue, 16 Aug 2022 05:38:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233738AbiHPJhw (ORCPT ); Tue, 16 Aug 2022 05:37:52 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AE349F1B4 for ; Tue, 16 Aug 2022 00:59:34 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id bx38so9844648ljb.10 for ; Tue, 16 Aug 2022 00:59:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=g9AVhSipbaf/eXJy1pQ1TuttjNQk/U+DsKSgY1pczUU=; b=Uy6ZJgSKHU3wkm4PXrWnNLDqhjscMTqd0Ux0IrKuwQlJzNcE1idKJ01LVbbz+DwEbp 0NaniCFs53GfwgdvFUL+EbwjEVdbeR7nuZph0C0MUk/EE9srqfIBGfJl+0s7m33T2ky3 rDMpTTO/0Vx+ZD1eh/ZupuG3PU0Ir75fFSPVUn9b1F0J6rv7cBJBQyzuapg1lHhxFcBT 3FtOb1TMEKgs9M8oWOwqhMPFzmojkygIdW0YwbgBVcT+i9RHURGWJQmWs5oecGT3cGSo ToFBbahVd1Hdr+pHXbUwBqiqDdKnUW6AWRKH415NRa6XxavubS5Q0WVCJXwc6CaJr6On I1EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=g9AVhSipbaf/eXJy1pQ1TuttjNQk/U+DsKSgY1pczUU=; b=tgYkUxn6gXPkl/Lw6NT9ixXaVol6IGC3hzzEVUktFRTguD89bSGzBTmw9XODcYbi9F gTTS2GX/7pjex0ew/1sDek9HyL2iIDEz2smSP7yXAQ72lhnvSB6VP8qwzgrsy1YNz1Pj NhsQ5U0O1bdgjZPMH7ONygltwyGjkfQBC8OLKLoI8eILJu2i3pSF8zB09rFkWBgcoBFU K9PoY4ti3B0FIcRolAJhqhKVJmLpterkS+tkHT/Wi76u02yB7Tow8nz6NMM3wf40UQBj Zvo2//cCgrzQUn4F8Y9Lndcdao0uwFSZS7oFf2WmfuypKygeQ4zTEoJ3o7m/yAMvFITv EShA== X-Gm-Message-State: ACgBeo3h8UjHIN8iroEgOvSSy+s0mEGe+vW/VTMZ1qYftCo+rAjfOGID W3WJMnwA+LnBFdJPhGYHpHGe3A== X-Received: by 2002:a2e:a78f:0:b0:25f:dedf:efb8 with SMTP id c15-20020a2ea78f000000b0025fdedfefb8mr6167930ljf.317.1660636771402; Tue, 16 Aug 2022 00:59:31 -0700 (PDT) Received: from ?IPV6:2001:14bb:ae:539c:1782:dd68:b0c1:c1a4? (d15l54g8c71znbtrbzt-4.rev.dnainternet.fi. [2001:14bb:ae:539c:1782:dd68:b0c1:c1a4]) by smtp.gmail.com with ESMTPSA id m23-20020a2e8717000000b0025e5631194dsm1695640lji.21.2022.08.16.00.59.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 16 Aug 2022 00:59:30 -0700 (PDT) Message-ID: Date: Tue, 16 Aug 2022 10:59:29 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH 1/2] dt-bindings: edac: Add bindings for Xilinx ZynqMP OCM Content-Language: en-US To: Sai Krishna Potthuri , Rob Herring , Krzysztof Kozlowski , Michal Simek , Borislav Petkov , Mauro Carvalho Chehab , Tony Luck , James Morse , Robert Richter Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-edac@vger.kernel.org, saikrishna12468@gmail.com, git@amd.com, Shubhrajyoti Datta References: <20220816073203.27314-1-sai.krishna.potthuri@amd.com> <20220816073203.27314-2-sai.krishna.potthuri@amd.com> From: Krzysztof Kozlowski In-Reply-To: <20220816073203.27314-2-sai.krishna.potthuri@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 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 16/08/2022 10:32, Sai Krishna Potthuri wrote: > From: Shubhrajyoti Datta > > Add bindings for Xilinx ZynqMP OCM controller. > > Signed-off-by: Shubhrajyoti Datta > Signed-off-by: Sai Krishna Potthuri > --- > .../bindings/edac/xlnx,zynqmp-ocmc.yaml | 41 +++++++++++++++++++ > 1 file changed, 41 insertions(+) > create mode 100644 Documentation/devicetree/bindings/edac/xlnx,zynqmp-ocmc.yaml > > diff --git a/Documentation/devicetree/bindings/edac/xlnx,zynqmp-ocmc.yaml b/Documentation/devicetree/bindings/edac/xlnx,zynqmp-ocmc.yaml > new file mode 100644 > index 000000000000..9bcecaccade2 > --- /dev/null > +++ b/Documentation/devicetree/bindings/edac/xlnx,zynqmp-ocmc.yaml > @@ -0,0 +1,41 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/edac/xlnx,zynqmp-ocmc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Xilinx Zynqmp OCM EDAC driver s/EDAC driver// Is it a memory controller? > + > +maintainers: > + - Shubhrajyoti Datta > + - Sai Krishna Potthuri > + > +description: | > + Xilinx ZynqMP OCM EDAC driver, it does reports the OCM ECC single bit errors The same. Describe the hardware, not the Linux driver or its subsystem. > + that are corrected and double bit ecc errors that are detected by the OCM s/ecc/ECC/ > + ECC controller. > + > +properties: > + compatible: > + const: xlnx,zynqmp-ocmc-1.0 > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + > +unevaluatedProperties: false > + > +examples: > + - | > + memory-controller@ff960000 { > + compatible = "xlnx,zynqmp-ocmc-1.0"; > + reg = <0xff960000 0x1000>; > + interrupts = <0 10 4>; Isn't the interrupt using common flags? If so, use proper defines. > + }; Best regards, Krzysztof