Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1887970rdb; Wed, 31 Jan 2024 12:09:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IGPXn5E05rric0em9zyljeicDFpCGlyP+KyNbfBWQPmjYLsYiG6ZDBWu/lzXF4wVdYQvcVg X-Received: by 2002:a17:903:24f:b0:1d8:ead1:897a with SMTP id j15-20020a170903024f00b001d8ead1897amr2792715plh.64.1706731785519; Wed, 31 Jan 2024 12:09:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706731785; cv=pass; d=google.com; s=arc-20160816; b=03JMDHmHZQKkd21oftwz31VWZBOqkXylsJvzgb5X0qXzkyMhqhIwl1J3pej2YjDGAk lqt6rDBpOCAZFRDLkSaoGmoOZZo+K5O2rFLnXKiwTRcAxBOzrPYldAPksNINyi1PC0eq FEZlqiU4ANe+YFetMKLuXCk9/pE/JPOnZn4gwadZBytCEsYK0OvHhDmoBUzHz2Em7Hak LW+7PhcARaVzo0g92ngSxbDKP+9rLc2cT1RLaNV/OghS/VGOQnMPTYuEPTSV/STpvsnC ChczuhUmEJy4idYJ+TIwApcXHhXH+uOfFXgynSYYsC4keyFmPqrcI41e92dj3GMxzlu/ 4owQ== 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=kayVijoRTzqvrDK6/5iP/8901fyIy5eVzrRRNUr8BJ8=; fh=0zWk2R5Iz8Z0UOMT+7FVJM4TejpKNani5WjiaT9jExk=; b=hDtcetqAQxvQ1FZfF4lVCJVRWgDstv9G2gJ8hsuceMnrpSxHMAtf5bT/0qz0KWypnc uwLxzitTBUcP7AqkOaoLR2fRYU5D2d/u7nOqOwvUFE5eU1qFMlR9ZaMDHfH5TdkcvA7L 4uQKfStruykrz07fq0Rh035q1t/HjxSSI/+shnGIAyw2au9pDc7Q/ddeaQ0FOKVJ4ETm V8MUofgBBu40V7aEJP2WR2F9Zz/8Bt/jb9NtfPT7OlrVfR3kp4qseCF2NzU52rHwxjjK qu4bV3YI1WIs4jnV77E+v98dGKgUSHgOICMK9cMNfX5hwsHlvoiLvaEidU7xFZ6VBXKC kM9w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kmQOhVug; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-47046-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47046-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCVJ5jrDysLBl0J+CO2zqrFeNIlcnXmi4xjNmTWZmWj9E3gR/IPN69ob0TKixB8afDwxyHVxUw2nmSKoHLCIedS6Qv0wylOOhPnHTqRDpg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id f3-20020a170902ce8300b001d7690fa960si9023747plg.362.2024.01.31.12.09.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 12:09:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47046-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kmQOhVug; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-47046-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47046-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 4DEF628E445 for ; Wed, 31 Jan 2024 20:09:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 274273F8C0; Wed, 31 Jan 2024 20:09:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kmQOhVug" 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 371493EA76; Wed, 31 Jan 2024 20:09:17 +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=1706731758; cv=none; b=cW5gcQPunCrm2NEeDTZO7YPjCw1ugqhT0Bq+9uxR09Keqns+T/k4gzkWIT3iDjrak4vEEl2AFA66pwM5CIOxppdfK06NfxhIWfmxFS6g05ABKkCEvQw0PXEJmARiS9ccMwOooRer54NAWhFGNfncYpXeR26Gk5fSF8DdvksnjqY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706731758; c=relaxed/simple; bh=iwCzJJpR5ei5UHsd7esL/VrKFPOdfTAP5MDzAArWRNA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tpBaXTIyTyxvvp/d3RGaanWEJBUY2DkuCopjFLm7CjJQMEWaXbvW2L/66+dW7DrRwmPf/A9NusJdXItkc23tc/yrxRQ79v6CJblKc4Y1XcIU0eHfUUgPvOtSwV4kQgTy6OzTsgD1DCkKED915Hz4IRUE0itewuLYdSo5H/hn0hc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kmQOhVug; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C893C433F1; Wed, 31 Jan 2024 20:09:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706731757; bh=iwCzJJpR5ei5UHsd7esL/VrKFPOdfTAP5MDzAArWRNA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kmQOhVugMUw9TR2k2kay4pVZfPaf1Ocn7V9d3OZzHBriRaUvREKZHclk0j1oYrXVC kQABLihhuPnqItT2NLn4b/a4CopARHyt9EqyuCicY3fDuPfxq9cGp9x4sl3uHOv938 bRC3QkQPd/cWfuyURMQI8+y3jjaNrFtd98qQeAuaxFpN9Esp8p5eqBg+12AiEy1CeN F3RQYz2va/J6vxfgNag6ahMJWnO020EQxLnlq+FSsdr31U8xMgECghO+qTc7Tn96uP 71zVGHsavZGcXFBKdvVWREogJjtyF1S0nnP7mJg0bySkbJDpH+lEUup/SjPLjivfsY H51I2JRNMd67g== Date: Wed, 31 Jan 2024 14:09:15 -0600 From: Rob Herring To: Michal Simek Cc: michal.simek@xilinx.com, linux-kernel@vger.kernel.org, Wu Hao , Tom Rix , git@xilinx.com, Moritz Fischer , Rob Herring , monstr@monstr.eu, Xu Yilun , "open list:FPGA MANAGER FRAMEWORK" , Conor Dooley , Krzysztof Kozlowski , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Subject: Re: [PATCH v4] dt-bindings: fpga: Convert fpga-region binding to yaml Message-ID: <170673175226.2219463.1221634595095812617.robh@kernel.org> References: <37b107d86b39ef4bc9c482b57b27de8b92c3fa43.1706530726.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: <37b107d86b39ef4bc9c482b57b27de8b92c3fa43.1706530726.git.michal.simek@amd.com> On Mon, 29 Jan 2024 13:18:53 +0100, Michal Simek wrote: > Convert the generic fpga region DT binding to json-schema. > There are some differences compare to txt version. > 1. DT overlay can't be described in example that's why directly include > information from overlay to node which was referenced. It is visible in > example with /* DT Overlay contains: &... */ > > 2. All example have been rewritten to be simpler and describe only full > reconfiguration and partial reconfiguration with one bridge. > Completely drop the case where fpga region can inside partial > reconfiguration region which is already described in description > > 3. Fixed some typos in descriptions compare to txt version but most of it > is just c&p from txt file. > > Signed-off-by: Michal Simek > --- > > Changes in v4: > - permit only object type as additionalProperties > - describe also optional reg/ranges properties and remove required > #address/size-cells properties > > Changes in v3: > - drop fpga bridge and mgr descriptions in example > - use additionalProperties: true > - use fixed-factor-clock instead > - fixed matching pattern > > Changes in v2: > - Fix typo in subject > - Fix comment in bridge example > - Change license back to gpl-2.0 only > - Do not define firware-name type and add maxItems 1 > - Make fpga-bridge phandle-array > - Drop ranges property because of missing reg property of fpga-region > - Also describe case with fixed clock node and axi bus > - Fix fpga-region names in example > > Please let me know if there is a way to describe overlays to dt root to be > able to reference fpga region back. > > fpga-region without MMIO access is also permitted that's why there is no > need to describe reg/ranges and #.*cells properties for these cases. > > --- > .../devicetree/bindings/fpga/fpga-region.txt | 479 ------------------ > .../devicetree/bindings/fpga/fpga-region.yaml | 358 +++++++++++++ > 2 files changed, 358 insertions(+), 479 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/fpga/fpga-region.txt > create mode 100644 Documentation/devicetree/bindings/fpga/fpga-region.yaml > Applied, thanks!