Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp209622rdh; Tue, 13 Feb 2024 14:32:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWS4yCrwl7OQvsHBilyXF5UBiCT7rB3AICSSqOQ4yLi8KNG9NT6xG7FOmPRWbxeN+jwj8LtR2FGM9g0yJaUCBCpkuZJgB+1Rkjyhm4x6Q== X-Google-Smtp-Source: AGHT+IEgBcfR7nc+Ne0aKid6YsEDuDpaWevfwgmF/STSHDhnOf6SZIYPT2THXus60n3rRlNQ9U+1 X-Received: by 2002:ac8:47c2:0:b0:42c:7b97:da16 with SMTP id d2-20020ac847c2000000b0042c7b97da16mr272480qtr.3.1707863551382; Tue, 13 Feb 2024 14:32:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707863551; cv=pass; d=google.com; s=arc-20160816; b=P/Eyuz6Stg/NloB0AUkTHaR45DpJAjK/ZUbmjNrUdv/G4effVuIQYXvdatUoKl83iH Qe67NAnE0zXP95k7NetoEjGaP2+F73INCb5S908xwSo3B0xcBEm05+C0yoIY0z3/Ixjt JicC2sIxi7rxt0B9SN+Qk1VskqQNwKKl4fZDFlBmIi37736HMRx/0qNspHFRuxUKG33W XnfKcar8sQTIBr5xOL2Kw8c11GDdE1A5D5A/G5Yuom6LuDOc4bX6wET+UyxYSQnnncOG 4ngrSyEOpAypN2mTjfpgCYM4W3zhQCBAk+9N5TWShrKglkp4HZyT/7k1OXcyKUoyywGF 7kWw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=HUNmUVcHfT6gPP8b+jycm2CbLeMj7bsxtOYsUJDCrdA=; fh=JZobc1pSXsJh3vwEHNlNrosphrwvRR7A1HBOIcj16Mw=; b=sXXEPyh/6xDmKUvVgTIgz4No6aWlipOZf9y6pz7zxSLLMeVYgX7vevQzz1Pcgyk94r rJv7ftkwmkcDqvZ6TvvKTdZqG+9QVT/tJ61WQDcYVVO+X86RTUjigRzlCytShwf7nRdF /3+CkMp5RstiBTjMAN3UUM8HLQkeBDgKTHKaBSz0xEYfSfG3wSxthhP3fZPjuzDArYJQ Den7R0YErjZ8ZWThq+Z7A15QsAVH61WOHdxI4ywVeaT131whkat90Ti6JHTOLVRH9Rr7 oe2uGU4sS9T5mBxem8FI8Sus1MjLMHRzmNitszD6MeJcwbwq40xfXOQ2zSxq5910tGAp nTUw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kj9Ww9VM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-64463-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64463-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCVapde5O5gE+8vorqcqlqt2lEwIZwgTVq4SCs+ddwjWiPraUVW6bDn5rjIw87DIK7cJtGd8a8ub9UlMyBZ80gVyByvIPEIGkF96rIuflg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f14-20020ac8464e000000b0042c6b5572ffsi3616843qto.105.2024.02.13.14.32.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 14:32:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64463-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kj9Ww9VM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-64463-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64463-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 757E61C26DF8 for ; Tue, 13 Feb 2024 22:31:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E74DE626BC; Tue, 13 Feb 2024 22:31:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kj9Ww9VM" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0FDE1433AB; Tue, 13 Feb 2024 22:31:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707863493; cv=none; b=MIuZZ56VZ/IyOCwlzLi9Fa7SU/383R8Hhot46u8bTLuZhR1Frlx4vEyqSmiFs4UzYVN83BmJ9kdcvkgZOB6GjtppeLy/gBITTUhVWlRHVE8c7jtc1EhA7uVfapDOVO0a601i77UfY7A/Y5hsi7MbpZ1sviiHyGL/kjac+90JIPg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707863493; c=relaxed/simple; bh=tUMsXY/XfFkqr7u0iiEPY04YFBGnHpoUhaqNlD4VLF4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fs0fNf3Hx5aO3O6560I7DJceLfJ6jq6eOZCWS8o3z/hZ5sxzxKpRwoHQ7rrW4Ea97NdAebLGN30NDBS7q3ZarBkCT754jAz6pSPtg36MdPMGf/ZnKJrkVHmbiRcdfFme3aQ4sCFJTwcshKogwWd5iTQV/xzCgGhi/oc0YeGr7wk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kj9Ww9VM; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4D7F7C433F1; Tue, 13 Feb 2024 22:31:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707863492; bh=tUMsXY/XfFkqr7u0iiEPY04YFBGnHpoUhaqNlD4VLF4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kj9Ww9VMf2s40wjwtHIk/4onEZen6N4x8brxw8zIQYpWt9ckJpLD0s1PsT1D7Ia4b rr2biX+69XirmVQ1ZHWV7XJ9mxseJb1hE58+/+s8cwIBW5dBHX+PexEUR3sGzke4rZ 5m5gzjxGgFtIZ5SssmS9sjsAjZDSIz77/F0zzHUbpK5uHdFlzlge/QvRan4fgWux6N gLyH70dAC1VOq5bTjKC60y4/PcpqjtK8rKpSz9hy3y67IEX7NhDqNy/GzlnJ3sXT2y J/1vuXMajieuCWoMVIgh7QSHrLpk+Kgbqc1Rpd0Z5dxLiCzoeCkFOgO3j0g76rHU5U 9W+cutZzWdbBw== Date: Tue, 13 Feb 2024 16:31:30 -0600 From: Rob Herring To: Tanmay Shah Cc: andersson@kernel.org, devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-remoteproc@vger.kernel.org, michal.simek@amd.com, Radhey Shyam Pandey , ben.levinsky@amd.com, linux-kernel@vger.kernel.org, mathieu.poirier@linaro.org, conor+dt@kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v10 2/4] dt-bindings: remoteproc: add Tightly Coupled Memory (TCM) bindings Message-ID: <20240213223130.GA2504650-robh@kernel.org> References: <20240213175450.3097308-1-tanmay.shah@amd.com> <20240213175450.3097308-3-tanmay.shah@amd.com> <170785205177.2155555.1311787541370066483.robh@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Tue, Feb 13, 2024 at 02:37:49PM -0600, Tanmay Shah wrote: > Hello, > > Thanks for reviews please find my comments below. > > On 2/13/24 1:20 PM, Rob Herring wrote: > > On Tue, 13 Feb 2024 09:54:48 -0800, Tanmay Shah wrote: > > > From: Radhey Shyam Pandey > > > > > > Introduce bindings for TCM memory address space on AMD-xilinx Zynq > > > UltraScale+ platform. It will help in defining TCM in device-tree > > > and make it's access platform agnostic and data-driven. > > > > > > Tightly-coupled memories(TCMs) are low-latency memory that provides > > > predictable instruction execution and predictable data load/store > > > timing. Each Cortex-R5F processor contains two 64-bit wide 64 KB memory > > > banks on the ATCM and BTCM ports, for a total of 128 KB of memory. > > > > > > The TCM resources(reg, reg-names and power-domain) are documented for > > > each TCM in the R5 node. The reg and reg-names are made as required > > > properties as we don't want to hardcode TCM addresses for future > > > platforms and for zu+ legacy implementation will ensure that the > > > old dts w/o reg/reg-names works and stable ABI is maintained. > > > > > > It also extends the examples for TCM split and lockstep modes. > > > > > > Signed-off-by: Radhey Shyam Pandey > > > Signed-off-by: Tanmay Shah > > > --- > > > > > > Changes in v10: > > > - modify number of "reg", "reg-names" and "power-domains" entries > > > based on cluster mode > > > - Add extra optional atcm and btcm in "reg" property for lockstep mode > > > - Add "reg-names" for extra optional atcm and btcm for lockstep mode > > > - Drop previous Ack as bindings has new change > > > > > > Changes in v9: > > > - None > > > Changes in v8: > > > - None > > > Changes in v7: > > > - None > > > Changes in v6: > > > - None > > > Changes in v5: > > > - None > > > > > > Changes in v4: > > > - Use address-cells and size-cells value 2 > > > - Modify ranges property as per new value of address-cells > > > and size-cells > > > - Modify child node "reg" property accordingly > > > - Remove previous ack for further review > > > > > > v4 link: https://lore.kernel.org/all/20230829181900.2561194-2-tanmay.shah@amd.com/ > > > > > > .../remoteproc/xlnx,zynqmp-r5fss.yaml | 192 ++++++++++++++++-- > > > 1 file changed, 170 insertions(+), 22 deletions(-) > > > > > > > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' > > on your patch (DT_CHECKER_FLAGS is new in v5.13): > > > > yamllint warnings/errors: > > ./Documentation/devicetree/bindings/remoteproc/xlnx,zynqmp-r5fss.yaml:118:13: [warning] wrong indentation: expected 10 but found 12 (indentation) > Ack. I will fix this. > > However, can I still get reviews on patch itself so if something else needs to be fixed I can fix in next revision as well. > > Also, I tried to run yamllint with following command: > > make DT_CHECKER_FLAGS=-m dt_binding_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/remoteproc/xlnx,zynqmp-r5fss.yaml O=../build/zynqmp/linux-next/ > > > However, I see following logs without any error on bindings: > > ? LINT??? Documentation/devicetree/bindings > invalid config: unknown option "required" for rule "quoted-strings" > *xargs: /usr/bin/yamllint: exited with status 255; aborting* > ? CHKDT?? Documentation/devicetree/bindings/processed-schema.json > ? SCHEMA? Documentation/devicetree/bindings/processed-schema.json > ? DTEX??? Documentation/devicetree/bindings/remoteproc/xlnx,zynqmp-r5fss.example.dts > ? DTC_CHK Documentation/devicetree/bindings/remoteproc/xlnx,zynqmp-r5fss.example.dtb > > I am not sure if my system is missing something but, yamllint tool is failing. "unknown option" means old version of yamllint. Rob