Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1261327rdb; Tue, 30 Jan 2024 12:54:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IHNUC75QhRZTDphKUWKi+RTAhjG+8nsgucKdVcJ/z1flrbqysrQJrAVQWZ6y7y5kZb1PxR4 X-Received: by 2002:a05:6a21:7885:b0:19e:341b:9153 with SMTP id bf5-20020a056a21788500b0019e341b9153mr52539pzc.50.1706648069262; Tue, 30 Jan 2024 12:54:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706648069; cv=pass; d=google.com; s=arc-20160816; b=B97Y2RIvtLNcc5wL/bzs/JU6OcdKLSezfv4Ze2JmmlRe4jZd2La306ioYbZlQya2BI y+ol2bf2DObKA13uQSXJEd5PtWVw64B7M/AoEFBeon8wuWGs429Jbreq4b6zvcX/O9PX sfHwUiLGiwLF+aAmTAEz8utG8iLgqCpHHl+h8tAQrj8DV6FC1DBFyXeWoZDXvvQmJTJH QS7Hk2itRM0BKsW1pPJ/nWh6EbpkA0+agAGpj+PHb3mWv7wW8TmQw3IL2zzIk4YEm/IL nBlQx8CJWhLPID+N4BT21tRKTZLIiDRAn6AIPzuNpO1AIaDgK+mqqauYY0hrJBQMYgE1 YtbA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=eF9HUDjF2FlzTiFfcEcGAaCIPZDD0TTCsaHmXIScsMg=; fh=fIVH6+SONHHnHtKt/G25QNbTt1QkkF3FXB2Yl2EZJP4=; b=SceX1afx6WCR1Dbj4hJPcedHMhKpDXmZU8DI5mQM2f0q3pF3msO291xnIhudeMeucO 7mxp44c6IQHRZBSALN8Ob7kF4OmolWpodO3l7PIVVrvq1Y2s8HzI/v3tTGrR5lOifBpP w1Zt7/MNi+JlaWBomCghPGcR2J6zVCtkYoFXsL6Umr4wpym5YEQZwfnlQeHHZlTpOmRp evYKAUGliCpDKPkZGNz5OLbtI4cbJkk1wh3anHD3b7XzFtXU3XTtHfJx3+k/tX0FYCW4 er91J76zNj7w1bUjhMoP/BX4ojR0Wq2WvwAqRrhFJhSyIVtIV8D8Y/nZlkmMMwP28gnc Y3MA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="fD8Ogbd/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-45301-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45301-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id y6-20020a633206000000b005c5e24d4364si7901498pgy.428.2024.01.30.12.54.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 12:54:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45301-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="fD8Ogbd/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-45301-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45301-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id F3BAEB21C19 for ; Tue, 30 Jan 2024 20:52:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 60660762C7; Tue, 30 Jan 2024 20:51:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fD8Ogbd/" 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 899DC433A7; Tue, 30 Jan 2024 20:51:05 +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=1706647865; cv=none; b=tkucTpnmH2IFDs+V9wewSKs1hhykyZqM7LQdsgo3qmlWck40Wb6FW1E6Lh6TKjH4+hyobV+NrDAo6sVFDRD9sO39DP5mEWcuhEMYiNAC2iTDaknMbWZtwc5RJ21/gtbxA1AF3OiO9juw6D3Ezxx3kCQsEPtLlyNorpCK4xQ/oqQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706647865; c=relaxed/simple; bh=C9rvW6LWitgM8gmxa7tcJla7N5UoHPV75P76TDTeC44=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=k7ZtGNRMure8llOwIe+vhU2A0ICLZve5ixq/beUSJXmThmgOkUA3/STChtDo0A0UiLx3BEGH8x3zdB4U7tJqvgt/0iHe4KWReXJ5Ku9R3XKjs86L6mmfmzPxhF4IpMG2YKXYOrdY+8ejWkqGhB80sKgHh2vvjDMHKs81OVNd61g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fD8Ogbd/; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C74A9C433C7; Tue, 30 Jan 2024 20:51:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706647865; bh=C9rvW6LWitgM8gmxa7tcJla7N5UoHPV75P76TDTeC44=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fD8Ogbd/w3TT8xMUfOvbZ5gQKDBD+9ZbaS8tqn7N75GVnBs/OaiwhmjrfdByCotn5 /pjKv5VIbzyQjIAZXYT9XbrK8AGIyz1q9BQeB4Vp2+DRuenSYo4A3TSFZHdHm/lN3U TEmbaxPASHj7Bwprbd4KP7SN/JGCWChBylsnfk1WkRZ2r8pfI/2yhDCtdhkIExjVGp wP8getl5js0a3f8ID8OFGf3Ms5dRDGkEm92UDXjC9qQrZMDQRctU9l9GWhlAsw4lHB CslI/MNvwAmU7uOpD9kU0oe7qgqR07zGC3afefyjZsfyOlDugtbqE09tVmud7O6Ctc EyLQZWBjOzvog== Date: Tue, 30 Jan 2024 14:51:02 -0600 From: Rob Herring To: Michal Simek Cc: michal.simek@xilinx.com, Krzysztof Kozlowski , Conor Dooley , git@xilinx.com, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Rob Herring , monstr@monstr.eu, "moderated list:ARM/ZYNQ ARCHITECTURE" , linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: soc: xilinx: Add support for KV260 CC Message-ID: <170664786216.2319402.12093555371732757149.robh@kernel.org> References: <14c184225cc4f0a61da5f8c98bc0767f8deba0df.1706019781.git.michal.simek@amd.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <14c184225cc4f0a61da5f8c98bc0767f8deba0df.1706019781.git.michal.simek@amd.com> On Tue, 23 Jan 2024 15:23:08 +0100, Michal Simek wrote: > When DT overlay is applied at run time compatible string or model AFAIK is > not updated. But when fdtoverlay tool is used it actually creates full > description for used SOM and carrier card(CC). That's why there is no > reason to use generic SOM name and its compatible strings because they are > not properly reflected in newly created DT. > Composing dt overlays together was introduced by commit 7a4c31ee877a > ("arm64: zynqmp: Add support for Xilinx Kria SOM board") and later renamed > by commit 45fe0dc4ea2e ("arm64: xilinx: Use zynqmp prefix for SOM dt > overlays"). > DTB selection is done prior booting OS that's why there is no need to do > run time composition for SOM and CC combination. And user space can use > compatible string and all listed revisions to figured it out which SOM and > CC combinations OS is running at. > > Signed-off-by: Michal Simek > --- > > We are using U-Boot DTB reselection feature to identify SOM + CC > combination. > > This patch depends on > https://lore.kernel.org/r/90e1a393154c3d87e8ee7dc9eef07fc937c1eaf7.1706019397.git.michal.simek@amd.com > > --- > .../bindings/soc/xilinx/xilinx.yaml | 34 +++++++++++++++++++ > 1 file changed, 34 insertions(+) > Reviewed-by: Rob Herring