From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dGb8DE/H" Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52D14D9 for ; Sun, 3 Dec 2023 13:31:54 -0800 (PST) Received: by mail-qv1-xf2a.google.com with SMTP id 6a1803df08f44-67a91751ba8so18255646d6.3 for ; Sun, 03 Dec 2023 13:31:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701639113; x=1702243913; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=G02u0sdxnFAEWbNN9nRUil1ZtXJaIE05IGNFhr9iJSA=; b=dGb8DE/Ha8y2tMZKwY7e55pB2iCbFw6dKq1sGjeeyTxWnjOt6BEfH8I4g9JbOLrPL8 ENLnaHInyTQiEFGPyIAd3PFkC5HgzVzscJ0X7epy+NW4beYxO5LwaictflB/ipOWZD+H MDcsU15rDyA7WAke96kbhUoWzqRSvkCLgspQyFHC4vAIxizQc2k4ANgxjflwvtQ+V3kQ FWOj9fWlUZztxf0EiZrQFK8DyzdX3n4Z4n6YAfWdruGbimif1N30TcqPuQ+h4rlCk7YG r3qc17C9GcXp9Z9w3ux34NJkLUjuR861mAyRJKIvp8pjGlSwqnZ2fr68ktIW4uSqR3N3 c66Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701639113; x=1702243913; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=G02u0sdxnFAEWbNN9nRUil1ZtXJaIE05IGNFhr9iJSA=; b=t01tI+djpWfp5Q5OHmkkr1iRf+73UU3lDGOiBLHbE8lFOXopflmG2YD3SYhZWUT8ia mO5RXYxiCzLdDN6aUAzl/UXModJ3uiA7HniPqP6POB0tbicTDDqigAOMswDSS/SkQxtj vKy46mOlNhDWdj+qcxVTdORbUoxP8uZPYi1m2TNvPIqLxdGFq7qkH/QHCpcmNVxIadID qGT0EnNf64kYT+PjeqPO+fSXln8DNgPpRKL+f4F8QU3poJCRAN8cbTJcPDVp46D5XhXo Y6S+z7e/hos87Hvnw34nq7XTpeZWMQKo1XuK0Ag4LA/B8I8/x2B+qmKQUn7AhiYqBlrI zy2g== X-Gm-Message-State: AOJu0YwFm1EeTlGUfrnlCnSKSISVusINEsl+kDlfaqONFvsbFNw7sgJ8 RndkZd0tBhqt7dwDPFrzalKdZM7mFfyK8haBfnmyiQ== X-Google-Smtp-Source: AGHT+IGNohdhuUx6qw41RjMk55NiBYO1sgpsNCtd4DXi5RmzCel7FKuFM65wkoSHPpohcTc4yi+ZokTYRVrg0YEEWT8= X-Received: by 2002:a0c:f7d0:0:b0:67a:bb7f:ebd7 with SMTP id f16-20020a0cf7d0000000b0067abb7febd7mr1547835qvo.61.1701639113122; Sun, 03 Dec 2023 13:31:53 -0800 (PST) Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231201160925.3136868-1-peter.griffin@linaro.org> <20231201160925.3136868-10-peter.griffin@linaro.org> <59b949a0-5aeb-4f01-8789-cb305513b626@app.fastmail.com> In-Reply-To: <59b949a0-5aeb-4f01-8789-cb305513b626@app.fastmail.com> From: Peter Griffin Date: Sun, 3 Dec 2023 21:31:41 +0000 Message-ID: Subject: Re: [PATCH v5 09/20] dt-bindings: serial: samsung: Make samsung,uart-fifosize required property To: Arnd Bergmann Cc: Rob Herring , krzysztof.kozlowski+dt@linaro.org, Michael Turquette , Conor Dooley , Stephen Boyd , Tomasz Figa , Sylwester Nawrocki , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Olof Johansson , Greg Kroah-Hartman , Jiri Slaby , Chanwoo Choi , Alim Akhtar , Tudor Ambarus , =?UTF-8?Q?Andr=C3=A9_Draszik?= , Sam Protsenko , saravanak@google.com, William McVicker , soc@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, "open list:GPIO SUBSYSTEM" , linux-watchdog@vger.kernel.org, kernel-team@android.com, linux-serial@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Hi Arnd, On Fri, 1 Dec 2023 at 16:39, Arnd Bergmann wrote: > > On Fri, Dec 1, 2023, at 17:09, Peter Griffin wrote: > > > > + - if: > > + properties: > > + compatible: > > + contains: > > + enum: > > + - google,gs101-uart > > + then: > > + required: > > + - samsung,uart-fifosize > > + > > Is there a way to reverse the list and make the property > required for anything that is not explicitly enumerated? I'm not aware of a way to do that, but I'm by no means an expert with json schema. Krzysztof or Rob may know of a way. I presume your rationale is any newly added platform would get a DTC warning if they didn't add the samsung,uart-fifosize property? Krzysztof and Rob also had concerns in the previous series about ABI breakage on existing platforms, which is why this was only made required for google,gs101-uart. regards, Peter From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 44D77C4167B for ; Sun, 3 Dec 2023 21:32:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=NyzuzefNedgaT3prEjUzLYIVRUyaV4KhhbNb7eP1AMk=; b=kF/bCEbpz0/qko VuuX+FL3tsG9zACNDZHUl1lYlkVaaqt8A4e71MkBd1bNHbS8xdX38oeALKeFmad/Lw483paQ9D42q E/2jgiYPmPsHbzcSNjMtXYazQjYhzvlBtntlipKTDN2h65o6J46sqkBpy/ibapskO8RkgAMlJMTJX FF0LELVfHpmXyeF9/HOsWzXMBG0O0xiLlnoBxpC67bNIwdjcn7qDocpO4qnD1lVPh09OhJXd3qzjb LYTYmRF4o3cNYrq/E/QiD2lw/jgAm1FKZeHm3etb76kTLu/9VmibfH8cGVjyGVUc6e9JL1oP02a2q 46N2xJiKiaQK38hubCOQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r9u4G-002cAV-2Y; Sun, 03 Dec 2023 21:32:00 +0000 Received: from mail-qt1-x830.google.com ([2607:f8b0:4864:20::830]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r9u4D-002cA3-2u for linux-arm-kernel@lists.infradead.org; Sun, 03 Dec 2023 21:31:59 +0000 Received: by mail-qt1-x830.google.com with SMTP id d75a77b69052e-423f2d0c8baso28107091cf.2 for ; Sun, 03 Dec 2023 13:31:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701639113; x=1702243913; darn=lists.infradead.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=G02u0sdxnFAEWbNN9nRUil1ZtXJaIE05IGNFhr9iJSA=; b=SwWlKMJk880RPZVAnm9wWV/D3+m6mOvpATo7tp/zLYibvORZB8glxVUAsaN33hiSyD 0+W4voSiayKHEfxZf5o6NzhfFYhX9wOgNhNKKa6WMEEkYJvJ++/wM2x40kTmbibsJqEk WlXoxJNrTzjRUW+UoaSDrg3UFq/LFI90wR1hKHd94Lc5uHdgnkgZxlZw6fxKXkQXWccE 9qKX42VBr9LmLVo7wyTrMcrB5UzbvVC4gTj3ClB4oKxYD22d7CO/QJETMh2l5auH039Y 00GBElii1K07coVVYKHaoLgNInOTNhIcZ41/OAnIkof3uCBQI5gN+h4W6FguWaq5n1/i 3EPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701639113; x=1702243913; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=G02u0sdxnFAEWbNN9nRUil1ZtXJaIE05IGNFhr9iJSA=; b=p4+6nOTC2TCc+GTc50Gn9BHdHyje0IpF0kF+ZvowtmitUJ/SF6WctFh3KJak9666Mg TU7anJPRigE/z7XOEFZbcJUCfhMIt3WxTIAwKseU7DCtYmUilbRMr1RIOvrt1z7GtWOB w8EgwDir8NVWhg1RwqT4Mkx6nnt51ua7V/eznSYNNjvn2IsScr7KwbnVDzhbc5OxoeNs 6u1R6A+2yGAeyuLUGMA+4WIfWg1l+dcyNdXaNAPkedkla1WyLlMMGZZNnliEPaJtEAXZ eT6lwz6mHsw98NXBG4fGGE9X10buuKMSI5AbshK6NSwXARm3ug6DoZo5maaceNWkfXWv DtFQ== X-Gm-Message-State: AOJu0YzKpRGjiJbr9WP2LRsiJm9oFuqsgkYzjA4wMivNAr3k6DcpDX9v w1TtVWjxTUrECdmOof7E0wxDXprdKOzaJMPK/OMCQA== X-Google-Smtp-Source: AGHT+IGNohdhuUx6qw41RjMk55NiBYO1sgpsNCtd4DXi5RmzCel7FKuFM65wkoSHPpohcTc4yi+ZokTYRVrg0YEEWT8= X-Received: by 2002:a0c:f7d0:0:b0:67a:bb7f:ebd7 with SMTP id f16-20020a0cf7d0000000b0067abb7febd7mr1547835qvo.61.1701639113122; Sun, 03 Dec 2023 13:31:53 -0800 (PST) MIME-Version: 1.0 References: <20231201160925.3136868-1-peter.griffin@linaro.org> <20231201160925.3136868-10-peter.griffin@linaro.org> <59b949a0-5aeb-4f01-8789-cb305513b626@app.fastmail.com> In-Reply-To: <59b949a0-5aeb-4f01-8789-cb305513b626@app.fastmail.com> From: Peter Griffin Date: Sun, 3 Dec 2023 21:31:41 +0000 Message-ID: Subject: Re: [PATCH v5 09/20] dt-bindings: serial: samsung: Make samsung,uart-fifosize required property To: Arnd Bergmann Cc: Rob Herring , krzysztof.kozlowski+dt@linaro.org, Michael Turquette , Conor Dooley , Stephen Boyd , Tomasz Figa , Sylwester Nawrocki , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Olof Johansson , Greg Kroah-Hartman , Jiri Slaby , Chanwoo Choi , Alim Akhtar , Tudor Ambarus , =?UTF-8?Q?Andr=C3=A9_Draszik?= , Sam Protsenko , saravanak@google.com, William McVicker , soc@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, "open list:GPIO SUBSYSTEM" , linux-watchdog@vger.kernel.org, kernel-team@android.com, linux-serial@vger.kernel.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231203_133157_981975_F20B1039 X-CRM114-Status: GOOD ( 14.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Arnd, On Fri, 1 Dec 2023 at 16:39, Arnd Bergmann wrote: > > On Fri, Dec 1, 2023, at 17:09, Peter Griffin wrote: > > > > + - if: > > + properties: > > + compatible: > > + contains: > > + enum: > > + - google,gs101-uart > > + then: > > + required: > > + - samsung,uart-fifosize > > + > > Is there a way to reverse the list and make the property > required for anything that is not explicitly enumerated? I'm not aware of a way to do that, but I'm by no means an expert with json schema. Krzysztof or Rob may know of a way. I presume your rationale is any newly added platform would get a DTC warning if they didn't add the samsung,uart-fifosize property? Krzysztof and Rob also had concerns in the previous series about ABI breakage on existing platforms, which is why this was only made required for google,gs101-uart. regards, Peter _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel