Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1489717rdh; Mon, 25 Sep 2023 14:37:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG/0UHtUa7iHBhdcF/GVlv8B/sG6Sgy9+EVijqipJAwt4QlIyrMrcO3rZZGTi359odH1lEs X-Received: by 2002:a17:902:da8e:b0:1bd:e258:a256 with SMTP id j14-20020a170902da8e00b001bde258a256mr1409581plx.32.1695677834433; Mon, 25 Sep 2023 14:37:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695677834; cv=none; d=google.com; s=arc-20160816; b=GjhRdOVD0sc6GQGgGlopvmyVbDh8Xc0UOXlr34tZTR2TDndX4FUeMieKdL/xK8Roop 0I+ruqCY8glowsifbfaGGwehYtekoI7YuMJZP+p1jx+iip6GMDqRCQ8U4MTWKjWa/DL3 Otk0YYQNUEFkUDHQKRHfhUd3jpk7XWCq60/1x/gcJCu8I6uJJZ3gR6MU89o883Qpmj5i qdmWEUp37dHpnkaizr3fV1mHyERqnY2muDljhTbSNn4A16iQmtUX1imvnAkhoQF+7uq5 XcKJLuFw0zGZWjvsqxQsp4av5Uccyfh3qq6IlgGf6gH+pimRa18xR5zVmK4m/i00kQea zvZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=EKvMMIbcX4bcbXB69ayTwUxZarLiY69fGDgD17J9HOg=; fh=3UFyX80docyU0gLQIRgT8LTZCOVIY2wntQgJ/ieh2uA=; b=JG+iV+E9DsxFoBGaUGlsks9GKoUYM7zPSQiw6mENzfUxc69h9+0GI2XK7iX2+u50vb MeXYtimKzT/TkgfuEY5rKmFWgJlyl338o7zeWFeOBpUwehswOzzu7D7EpIIgj3lLTS1q YdgYXjwnOyTUhr508xIk/D+d8Sj7hjf5V4aBACgnxAnyxDJm4jB47O0Sa4FjvG2IMlCX 01CRvW2imZ+EFpbtkGP6kHuCmI7JJpS2Q2K5ZHNSUT3vs0w+ogjcAZ946W3/uKU7CJjP cF1K2MinBY6rU0bySxmwOe5cqnCsgMBdjIrzLcvwru2ykiTo76I7XlzISd7KpGl5lfbw gtGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aWOVKf74; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id h14-20020a170902f54e00b001c62ce41077si544627plf.492.2023.09.25.14.37.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 14:37:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aWOVKf74; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 2806980B26FD; Mon, 25 Sep 2023 14:26:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233157AbjIYV0b (ORCPT + 99 others); Mon, 25 Sep 2023 17:26:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229513AbjIYV0a (ORCPT ); Mon, 25 Sep 2023 17:26:30 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37879109; Mon, 25 Sep 2023 14:26:24 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 955D5C433C7; Mon, 25 Sep 2023 21:26:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695677183; bh=1PB/pYP1liA58pkSr90IN5P1R7dQ0eEBwcs0MZq2wKI=; h=From:To:Cc:Subject:Date:From; b=aWOVKf74D/+9i6FAzCEu4Ko/aqpoIRb5K2HZCEc+9dbhXlMfAWCAxvkvWdcvCCUvt okgUSr6sC1B9XgQ6HMREHhFNnNhxaZLdcWV2EtlMBswYnUMK1jjSGAev2l8hi5tW5q ApUuxPb+2NSqs2Eg7Ky7yQG6NbDu4/Tnhb40QeBZxxkEhsq2dbibhctiqYgv6LmbX4 7mUqnZSOC/TgIR6TVollDXugCNm0fa1Qw2rkEf1UuEkv+xBpIAXG7dQLwWf7WH3lUe f4oBOqFFBv7CYZBtjbNCPte72Nm0Wk/LE+Ri9aHyYL8I4LRB0O2Nb5DxhJIpkmfgSR rIW2a/dVvX0Iw== Received: (nullmailer pid 1974640 invoked by uid 1000); Mon, 25 Sep 2023 21:26:18 -0000 From: Rob Herring To: Mark Brown , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Thierry Reding , Jonathan Hunter , Heiko Stuebner , Serge Semin , Maxime Ripard , Chris Morgan Cc: linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-rockchip@lists.infradead.org Subject: [PATCH] spi: dt-bindings: Make "additionalProperties: true" explicit Date: Mon, 25 Sep 2023 16:26:00 -0500 Message-Id: <20230925212614.1974243-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 25 Sep 2023 14:26:30 -0700 (PDT) Make it explicit that child nodes have additional properties and the child node schema is not complete. The complete schemas are applied separately based the compatible strings. Signed-off-by: Rob Herring --- .../devicetree/bindings/spi/allwinner,sun4i-a10-spi.yaml | 2 ++ .../devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml | 2 ++ Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml | 1 + Documentation/devicetree/bindings/spi/rockchip-sfc.yaml | 2 ++ Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml | 2 ++ 5 files changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/allwinner,sun4i-a10-spi.yaml b/Documentation/devicetree/bindings/spi/allwinner,sun4i-a10-spi.yaml index a6f34bdd1d3c..e1ab3f523ad6 100644 --- a/Documentation/devicetree/bindings/spi/allwinner,sun4i-a10-spi.yaml +++ b/Documentation/devicetree/bindings/spi/allwinner,sun4i-a10-spi.yaml @@ -46,6 +46,8 @@ properties: patternProperties: "^.*@[0-9a-f]+": type: object + additionalProperties: true + properties: reg: items: diff --git a/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml b/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml index 28b8ace63044..3b47b68b92cb 100644 --- a/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml +++ b/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml @@ -68,6 +68,8 @@ properties: patternProperties: "^.*@[0-9a-f]+": type: object + additionalProperties: true + properties: reg: items: diff --git a/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml b/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml index 9ae1611175f2..48e97e240265 100644 --- a/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml +++ b/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml @@ -50,6 +50,7 @@ properties: patternProperties: "@[0-9a-f]+$": type: object + additionalProperties: true properties: spi-rx-bus-width: diff --git a/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml b/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml index 339fb39529f3..ac1503de0478 100644 --- a/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml +++ b/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml @@ -47,6 +47,8 @@ properties: patternProperties: "^flash@[0-3]$": type: object + additionalProperties: true + properties: reg: minimum: 0 diff --git a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml index a47cb144b09f..6348a387a21c 100644 --- a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml +++ b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml @@ -160,6 +160,8 @@ properties: patternProperties: "^.*@[0-9a-f]+$": type: object + additionalProperties: true + properties: reg: minimum: 0 -- 2.40.1