Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp183468rdd; Tue, 9 Jan 2024 00:11:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQMKr4SidmE2krezhXF4VL1GCEvNmLPvEBMIwVql7DaRpoZx8sk+/FQxxX/gAtwk4PLzf3 X-Received: by 2002:a05:6e02:1bed:b0:35f:df8a:2f60 with SMTP id y13-20020a056e021bed00b0035fdf8a2f60mr5428880ilv.86.1704787878343; Tue, 09 Jan 2024 00:11:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704787878; cv=none; d=google.com; s=arc-20160816; b=YQIfEq27WdKkv2TpPgZ/EJpQQr3hzzZ8Wd4hWSlFLoZI5xQwWWZjls7glM4u8YvqtO IpvXx5wAjMjACDv2kKbEogDECbpQ7xYfM0yVJ69r6kwNWPNkMxeMSttbKbTJ+zg3aggb Xj5OYMx4eHcHIBy6IV7GeZj4oATLKrHSxFwTbtwr9EZ08YUnq3ftHEJZfqTGYanN+TIU KrbCMZE8horiBs33sh/Qi0q+AVAcGXrgwxZD1/mv0c7UcYMSAhZnGRYKhwFgrZs+jKud 5dsmf/W0eIrmr7GdbPr86P4zSSCJsXnz4IqpMipFrc36hlWdXG8IDRwTzGF0BFcEa8Wm mGmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=i8hG9/xOVo1/DVSw1oYQcI6XP0EdXBlA7r2K4+2BAvE=; fh=4S8GghXNdDoSqDUKc8u1YtqDHB8znFDaKbYik0+lbPE=; b=xm5APb/JPqGawEGCn0uJIV1ycQElDbbWi0D0K5JDid2JSk7MScnBGTEoBrYQjgGw1f wWXTez9b09drqivjVoawjd1fwauWHinaqhif25icaBVpg0778K3qyQkVtmCydtn+dr5/ 8aOWMWZjTgHQZRBojOCWJmRgEJ2VgabZJGHPGx5So4G34rZdSdohxEXkGQQXR8zi2HgW UtqApMnk2EjyuFAxJLPa4WFUj1Su/LIqL7Yh8lJYeYTK2MykDj5jijjROlTpZ5DYu7Xq 1LOVMQpMeLBg9kJ/uLBT7caRow+UA6ZTNDuzihZrHyUVqjADILLzjNH0Jl/FGd/b5+6Y +tew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hzDBrMVN; spf=pass (google.com: domain of linux-kernel+bounces-20522-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20522-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 36-20020a631664000000b005a9fde46fa0si1077983pgw.130.2024.01.09.00.11.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 00:11:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20522-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=@linaro.org header.s=google header.b=hzDBrMVN; spf=pass (google.com: domain of linux-kernel+bounces-20522-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20522-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 8EB0E285FED for ; Tue, 9 Jan 2024 08:10:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B998211CB3; Tue, 9 Jan 2024 08:10:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="hzDBrMVN" Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 22C38C15B for ; Tue, 9 Jan 2024 08:10:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-555f581aed9so3043361a12.3 for ; Tue, 09 Jan 2024 00:10:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704787826; x=1705392626; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=i8hG9/xOVo1/DVSw1oYQcI6XP0EdXBlA7r2K4+2BAvE=; b=hzDBrMVNn88FxvbbeZlwAYHal7kf4Mi7FU9vBCyuHA6CTAvHsCZlgNbQwQ+njK83qq bhuXYXph1AQiWcofnHnPf5tNU74CctHMZRUfmCIZeJnQIyJoTNwKkvCry+XKoTQgjx3Z Yt3A00jFHboOkrK6d9DdN5fw7dHbGk35YDrYBHrku2e8KT2UlLN4hcf9xIHVSNdDD3dk QeM0kewsAqhLkOi6HIMzTFB6fdri2uoEMefifeJ6Gn5E7aKM2Zx3qT7wChCOORkvSyKq x3NU9nD7tP3NmziGVSt2Qsb5T0dSiHx/T2IqdISs5WpmQWzVzjzJWZelMA1OWj/hXXl7 rNAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704787826; x=1705392626; h=content-transfer-encoding:in-reply-to:autocrypt: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=i8hG9/xOVo1/DVSw1oYQcI6XP0EdXBlA7r2K4+2BAvE=; b=asUQh7TNFqhBo5YJ5A/7TPtA842tjgIvvgT4R5X96UVv9CHIoF9pMUo36rllOGFV2K eTjFQmoLwfkY0PyAiS2jb7oJb9b8Vwh13/3Kx9Tpgh2XNuU6Qs6b202snlobhrgoyBN8 7MrXttknw8WW+bOHc58Ycy6yZAjGyaGwbfLlriaVI8wTZZ7NW6G2WQcbaNT0cgcTFcv2 0FAw+12ceJkBbWtRF/9XtnPIXeDh9Lw1Cqd9V8Qz2LAYRay90Eegggv6S9FWCRbtOl/C Brjzncp3ZMHzLQepAHMuW7osPl8Oa4T8+ld6MJzeKdk1+aVh9uJFLBt+xQkLg9aEjH1/ 78FQ== X-Gm-Message-State: AOJu0Yy9ItNhyvSyhor9Q4lRSl/LAWM9dgfU12OPaWxxHWHkRosKaWNy VEV/TO6XDazkdif5O1notrV7ikV8YdUQ1g== X-Received: by 2002:a50:c30a:0:b0:557:416b:e99b with SMTP id a10-20020a50c30a000000b00557416be99bmr2515491edb.37.1704787826370; Tue, 09 Jan 2024 00:10:26 -0800 (PST) Received: from [192.168.1.20] ([178.197.223.112]) by smtp.gmail.com with ESMTPSA id dm3-20020a05640222c300b0054b53aacd86sm668956edb.65.2024.01.09.00.10.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Jan 2024 00:10:25 -0800 (PST) Message-ID: <6b2fcb18-640e-41d7-9b94-6a6c613ac391@linaro.org> Date: Tue, 9 Jan 2024 09:10:24 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/2] dt-bindings: fpga: Convert bridge binding to yaml Content-Language: en-US To: Michal Simek , linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Cc: Xu Yilun , Conor Dooley , Krzysztof Kozlowski , Moritz Fischer , Rob Herring , Tom Rix , Wu Hao , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , kishore Manne , "open list:FPGA MANAGER FRAMEWORK" References: <5740b48543a94b7e2cde04acfca06f4e5eb5d981.1704787119.git.michal.simek@amd.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5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jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <5740b48543a94b7e2cde04acfca06f4e5eb5d981.1704787119.git.michal.simek@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 09/01/2024 08:58, Michal Simek wrote: > Convert the generic fpga bridge DT binding to json-schema. > > Signed-off-by: Michal Simek > Reviewed-by: Xu Yilun > Reviewed-by: Krzysztof Kozlowski > --- > > (no changes since v1) > > .../devicetree/bindings/fpga/fpga-bridge.txt | 13 -------- > .../devicetree/bindings/fpga/fpga-bridge.yaml | 30 +++++++++++++++++++ > .../bindings/fpga/xlnx,pr-decoupler.yaml | 5 +++- > 3 files changed, 34 insertions(+), 14 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/fpga/fpga-bridge.txt > create mode 100644 Documentation/devicetree/bindings/fpga/fpga-bridge.yaml > > diff --git a/Documentation/devicetree/bindings/fpga/fpga-bridge.txt b/Documentation/devicetree/bindings/fpga/fpga-bridge.txt > deleted file mode 100644 > index 72e06917288a..000000000000 > --- a/Documentation/devicetree/bindings/fpga/fpga-bridge.txt > +++ /dev/null > @@ -1,13 +0,0 @@ > -FPGA Bridge Device Tree Binding > - > -Optional properties: > -- bridge-enable : 0 if driver should disable bridge at startup > - 1 if driver should enable bridge at startup > - Default is to leave bridge in current state. > - > -Example: > - fpga_bridge3: fpga-bridge@ffc25080 { > - compatible = "altr,socfpga-fpga2sdram-bridge"; > - reg = <0xffc25080 0x4>; > - bridge-enable = <0>; > - }; > diff --git a/Documentation/devicetree/bindings/fpga/fpga-bridge.yaml b/Documentation/devicetree/bindings/fpga/fpga-bridge.yaml > new file mode 100644 > index 000000000000..248639c6b560 > --- /dev/null > +++ b/Documentation/devicetree/bindings/fpga/fpga-bridge.yaml > @@ -0,0 +1,30 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/fpga/fpga-bridge.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: FPGA Bridge > + > +maintainers: > + - Michal Simek > + > +properties: > + $nodename: > + pattern: "^fpga-bridge(@.*)?$" Either I misunderstood previous messages or something is still wrong. One message said: always unit address, so there will be no fpga-bridge-1. This means "?" is not correct. Other message was saying "reg" is not required in one of the bindings, thus "fpga-bridge-1" is reasonable if there are more than one bridge (which was already said as possibility?). Best regards, Krzysztof