From patchwork Sun Aug 11 18:17:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13759820 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 9783DC52D7B for ; Sun, 11 Aug 2024 18:18:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=IeggRLrefKS4NRHp55eXF+21fQVTmgaEKucAb/25uG8=; b=1C/tp+FJFp6O4jSdNCt003AfQ6 Iuqi9R1+2+9oOKTuO9uphInfakdmYtED7KycHXs3XH0x/x59WHDrUkR4ERaJGqObLuBRYFtCZLYJ+ 1KBkBwLv5kdOIMLrS28AA5DWRBIFdMBhyZPtiSlU0omiBM1KaOmnohMKSKcOuvgALrNecFPmS0zQ3 y4VVkbnYZmuzL7m4ViTp3cV8fexgGr5avQS7kK4nWeS2/ooL0ylZkmvZ6HFlXNYsQTMl1a0XIPVe9 pDbSWvaFrS9uHigbb6RBKYwE1T3Sm/xXKI9dGQ1QkrHZURj058dQwgpJQ4IxyM0iLy5sB8VkCGhO+ 4EEgIdIw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdD9G-0000000FvpR-497G; Sun, 11 Aug 2024 18:18:35 +0000 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdD86-0000000FvOr-23la for linux-arm-kernel@lists.infradead.org; Sun, 11 Aug 2024 18:17:24 +0000 Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-52f04c29588so4957185e87.3 for ; Sun, 11 Aug 2024 11:17:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723400240; x=1724005040; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=IeggRLrefKS4NRHp55eXF+21fQVTmgaEKucAb/25uG8=; b=ziHTBI2xuyZdq07RI4bMFKJ2Ugcx9g9H+kBmulHRrY7svDJJJ0AY0yZEt0qY8i2JGp G0WXLEsZySIvNkZ2C9mpxg5QgyiyJY+eJTQ0e0+s8UC8wHNd804zre/tvmB3Bq8T2G0h bEwsg6m5TQWGcDorzmGttFWmIAf2bU07cS73kghWPg/w4tNePo7uEWQBibSF6et2x28B B6VdOv56QNsUS10b4yaZw5LUFS4STl59zNNnCnDkjuQAbCbjml5c4vEvkQ8Nn7btwNnu aU/oTDGuI/QAsA1r974rijeqkR7KFW/Nd8bLlier2tLtZ3UBsNfCHG8Sc7fk9XRrzfo5 iU8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723400240; x=1724005040; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IeggRLrefKS4NRHp55eXF+21fQVTmgaEKucAb/25uG8=; b=igM2PjvwMSKmVPeoQxL7vEn5VImpHtztoNb7xTrsLGP0nC4HnhVTmqoH2Ii+s0NLGw 3qY1XrhpE8E8mU3qHS4cQFSwDRrOC1Xo+bdwwKf/uLFpsmLFq4nrYtFIALz0dDoeBRor DkdATScVGAOBiVRlLSDPQB9LUu8aYhytReUChCqTtnefqd7hJz60Re48AGCYXYib4fvd hygEREOA/jETg8XiViCbzLunUmWSU/eGhgu+ZvCCAuO4mmgxhGtT8e87e9a/64yqJdFq 8RJ2dRAxg+J1qo39pbbRw7EpInqgWjbkJcKzjGqp1W1b/5xlRw/5wmd61MebHi4FlY6P owJw== X-Forwarded-Encrypted: i=1; AJvYcCXTsjuI/6lb4RwFWMOXaiY3x7JVw7IjIfKBfF7ANO3mWyXd19mZmz4aheoHyhj/RY52yhPQ0odfM+TprNrUiGJgQ4RHO1JW5iR9pu97zH/v6ud8f/Y= X-Gm-Message-State: AOJu0YyxuxeTJ+AQ8N9jClmuLzXJZbA9NAVNAMWGxFTjHnR9UMklS/93 x8eLSf/vIO4DjxOwgRJPnabXAVQO3Uo2+AgBMvsRQqpBkAbqPFJP/qbVqX/ayhk= X-Google-Smtp-Source: AGHT+IGo96lPHtsUXjiRmEnFORtSb+OG6u30XA7cbQkXT2T8/BFuRGLG4MYUDVs7QheieToXGlwKTg== X-Received: by 2002:a05:6512:110d:b0:52e:f2a6:8e1a with SMTP id 2adb3069b0e04-530ee9d0b5bmr5672768e87.29.1723400240286; Sun, 11 Aug 2024 11:17:20 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5bd1a6032c1sm1610593a12.92.2024.08.11.11.17.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Aug 2024 11:17:19 -0700 (PDT) From: Krzysztof Kozlowski Date: Sun, 11 Aug 2024 20:17:04 +0200 Subject: [PATCH 1/6] dt-bindings: serial: add missing "additionalProperties" on child nodes MIME-Version: 1.0 Message-Id: <20240811-dt-bindings-serial-peripheral-props-v1-1-1dba258b7492@linaro.org> References: <20240811-dt-bindings-serial-peripheral-props-v1-0-1dba258b7492@linaro.org> In-Reply-To: <20240811-dt-bindings-serial-peripheral-props-v1-0-1dba258b7492@linaro.org> To: Rob Herring , Greg Kroah-Hartman , Jiri Slaby , Krzysztof Kozlowski , Conor Dooley , Marcel Holtmann , Luiz Augusto von Dentz , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Linus Walleij , Johan Hovold , Liam Girdwood , Mark Brown , Daniel Kaehn Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-sound@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1057; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=o1Pg+WYSU+1aP3K7rSMBYgVoWMnaQYMrTTQy4scWqrU=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmuQAnOXoFWzTi2CdjfGUgn4ZzAkWR4980rKV/3 sazBXuxtKyJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZrkAJwAKCRDBN2bmhouD 17SED/4rdw923+Og8fvQ6box0oI2553Pq0Sy01E56fmyMW37SSXn72uzCc9LccCaq9xWSZsUpHa fGKKaRzDCArQZlxv+37ArKnHQZudrzWpvF5hU+PvVS0BwhaFdmcnay3X8u4D7HjbtY1zPl74MYE 1vRbFIUvuomlKIgnkGtyqnS/qxhaKBSQhoo7QSy/c+1c7fYcBV1TWDfcN62O0mLPjfxxV2N3wMS IQsPCaUDtnDA4QxaORdzjUMrOVv0EsSdrlpn3cQBzG8GMyXM1bl9h5B5RU2lEa7dbiB1CdzuP5e Db1y2CN4fVQ77UFUoNz+YIfkmAKYkzLm6wcYRz9kxPiWu/ES6e0LhDOJl0EOQsixs4Yb3SF5oou MMemYJSH84VgCdaiQZNh/HpJq7awc5PDpD9NAxYNMvFE/UqWL70OGKBNNhuNRHtCQs96M2ibMNi IlmSDrBR6KXRWEnQJ8QJKXLoY0NL8wMR65VencMz1CZ5uV3N4PWs/UW0iPRJ4HTHYKn3HyJtsJb uY8ebPIDItug1xo4oUts4fmciO/Q4JKhli8C6ouFJvAfD2Fzc4RmphNm1Rc7jLwhUGtNfW4dbX7 IVTs0ibDN/ne8F1QHDvrBcwq/2d+TGFLdn6+20WnjvTwRKkHqlDRnIQrtUXpaRkrPQLKlA8kXpn meevMgUeFiHveug== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240811_111722_582398_9F5EBBC2 X-CRM114-Status: GOOD ( 13.07 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org All nodes need an explicit additionalProperties or unevaluatedProperties unless a $ref has one that's false. Add missing additionalProperties for serial-attached devices. Signed-off-by: Krzysztof Kozlowski --- This patch should probably go via Rob's Devicetree tree. The context of the next patch depends on this one. --- Documentation/devicetree/bindings/serial/serial.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/serial/serial.yaml b/Documentation/devicetree/bindings/serial/serial.yaml index ffc9198ae214..40e05dd37826 100644 --- a/Documentation/devicetree/bindings/serial/serial.yaml +++ b/Documentation/devicetree/bindings/serial/serial.yaml @@ -92,6 +92,7 @@ patternProperties: if: type: object then: + additionalProperties: true description: Serial attached devices shall be a child node of the host UART device the slave device is attached to. It is expected that the attached