Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp46125lqb; Thu, 23 May 2024 10:18:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXdzRZ9pNLOKVF9RkQzXeeSbhO2KgZh98qWBeleKU1fRY8S8LV9ODvVMdMBIOg8LZbUTnYCxuO8egFJZDT4vmknxkkCILsKfflprLrxOw== X-Google-Smtp-Source: AGHT+IGlZ5enO7jVaZjquz2I2X07o64CMQn2PNhCB7z6RbjaysUmEqHj2fkIwlbNBEu7B138ILx1 X-Received: by 2002:a50:9e4d:0:b0:578:50af:94 with SMTP id 4fb4d7f45d1cf-57850af00c5mr71764a12.35.1716484695768; Thu, 23 May 2024 10:18:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716484695; cv=pass; d=google.com; s=arc-20160816; b=fXy8Smz6DoFl1V575W3vDksb6PCXnEKxfjK8PhUvAQxueR/u+KE/HXs20Y/9PcOkXg 3BFZ1Ok6Nnpk47LvpZPbiHaC4TtKD955FlO8BiUFbEPFE0UB4u7ZNxqAu0/hrmBJjpVF 9xmmoBKc72nurFcNM85J+x6VAkXnmswr1M8PdhfyMamStrw6PCECQ8IzN6eVfFR7jo0l czUtZ8CkARLDdw7rkfV1pYrTdYCn+4HGHzRM7qmIV0otR9fHR1ZkcoZ/iqkzl4UnnIYT +j9Ze5CbMf2rX+NVTtIP9VyXl1w/kB3tpc/ZtSrUDeXvKT6cBQ2rvypSBwBOU3LorCbp /kiQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=M+GjgVaYeOLQLuk8hlkRn9pnyHpOgesvWR3DzNg2egQ=; fh=7ze0J59QJHY+hhE279mYk1sIxCwejrjq8yuFOrTC/3s=; b=PnvAvOQX/RHIuAO4oWzH+jPwdweuEJVQtmG5bm+9MewgRDpj4/MFf4fTVoqnYm+0YC wmTxh5snIb2ZA4b/fxoN0kI/iwkC7GzxkKhCRaSDBIXr6VMgDURjzPn4KHvF+DYc9xzZ nftIPN8E8sJ33If8vMejpjopX8g1CwcDvmNTyT5olcbn3hR0vXxxI7dIRguiO3kKHVyQ joAskektKpSH3z4KVZahQo8gCPgzGRIY4iyNz9ZD1I2IU3pPKI2Kr7lkMtxEsoDAAWbC YlnV6260x2UZJiyNHbqdVgC5WFQXVJi1sZC1lU6MpeBrxXcAfdJLy67zdY/kiJtX5XOO PdRg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZvTDjx95; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-187828-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187828-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57521979532si6861298a12.275.2024.05.23.10.18.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 10:18:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187828-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZvTDjx95; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-187828-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187828-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7BB541F21D61 for ; Thu, 23 May 2024 17:18:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7D35A7F486; Thu, 23 May 2024 17:17:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZvTDjx95" 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 9ADBA7F481; Thu, 23 May 2024 17:17:57 +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=1716484677; cv=none; b=kkrXJCUV9Msan2Ta+zb4faRczctsAcDBdofWwLseKF/oWK3knJK65sLYlNny2ZHYjQg8n4Aq/x+evGDK8qR451OJwk6QJd1J7hi63Pqjz4LnuROMhfy/E1WJ1LcOMmxot8+lXZ43zJbjbKLSc6lFS2lb2gLj/DB4zdsc5YR9ZPw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716484677; c=relaxed/simple; bh=4DkinzDiJDJS1Ql5eStXQ4vQlwTn1UEISiw2ImwQHFw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cjioluwag0CAff2Y7HHx9eOX4WHDwqTKdnw27WlUZAoYBJNQ6tgg2P8PDfpmjauqfD4tfycjW8SonMdMNuuFBvfu8pv0NrvUrRT7pl4SjqEofGgUWEGi/V19prTCUbgCvll5I3fZ2DiwS6rx2wiKv5EEzgggqKi5I8E6CmsbrhU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZvTDjx95; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB8B4C2BD10; Thu, 23 May 2024 17:17:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716484677; bh=4DkinzDiJDJS1Ql5eStXQ4vQlwTn1UEISiw2ImwQHFw=; h=From:To:Cc:Subject:Date:From; b=ZvTDjx958B8uTjExsNmhgPDCNuwcQG2OpDZhgQwVTM1/S+B4wrNGa4IXWZBbg+2wB WWxl0zQOwIkFga4s0L1WTVEUdTylyEm4w/m27BH83Xjwxp2JssqzZrhQGnZWyAzaa1 tltXfTv8aetTMwKoO7FxrSbhA1wihnnPuh9PunAGV7T6hO4ryF16gxEgvtFGae6B6a YFIvyJr01uNCKrzspmfeSls976LzXscHcRTsig1UTs3E3Hi39dgNFEGg2AIxw5YmLX pwVTraf0ODLqmVM9ub28kdNccScbxQ8TeQdVcXQVz9RyqH51PDN0i4clbMQ7aYvLCb jQbovYUr+yJFA== From: "Rob Herring (Arm)" To: Oleksij Rempel , Kory Maincent , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Krzysztof Kozlowski , Conor Dooley , Andrew Lunn Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net] dt-bindings: net: pse-pd: ti,tps23881: Fix missing "additionalProperties" constraints Date: Thu, 23 May 2024 12:17:50 -0500 Message-ID: <20240523171750.2837331-1-robh@kernel.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The child nodes are missing "additionalProperties" constraints which means any undocumented properties or child nodes are allowed. Add the constraints and all the undocumented properties exposed by the fix. Fixes: f562202fedad ("dt-bindings: net: pse-pd: Add bindings for TPS23881 PSE controller") Signed-off-by: Rob Herring (Arm) --- .../bindings/net/pse-pd/ti,tps23881.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/net/pse-pd/ti,tps23881.yaml b/Documentation/devicetree/bindings/net/pse-pd/ti,tps23881.yaml index 4147adb11e10..6992d56832bf 100644 --- a/Documentation/devicetree/bindings/net/pse-pd/ti,tps23881.yaml +++ b/Documentation/devicetree/bindings/net/pse-pd/ti,tps23881.yaml @@ -29,13 +29,31 @@ properties: of the ports conversion matrix that establishes relationship between the logical ports and the physical channels. type: object + additionalProperties: false + + properties: + "#address-cells": + const: 1 + + "#size-cells": + const: 0 patternProperties: '^channel@[0-7]$': type: object + additionalProperties: false + + properties: + reg: + maxItems: 1 + required: - reg + required: + - "#address-cells" + - "#size-cells" + unevaluatedProperties: false required: -- 2.43.0