From patchwork Mon Feb 3 21:29:16 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 13958258 X-Patchwork-Delegate: kuba@kernel.org 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 3EB77211A0E; Mon, 3 Feb 2025 21:29:39 +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=1738618180; cv=none; b=Cfch91IWsFD78g1Ez55kIkZMN3aO041CPdFMmCBJTRdnbDYflPGEDetO4cyB/wqQIFvqXglZEyn4s1rwoYgV6H0yuPRqMEMAMPPuRCj0i/asL4sGij7n91LhkesiXbbxMShnKxSyAmdfdlJJipwsnnlakya8UhkzcuslViooQzE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738618180; c=relaxed/simple; bh=gH86BnBn1M4iZA8c/LY0iT+xjsDYLG4Lpb3OpxlxBX0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=msVlyi3Uv6ogpETfkLMj2fylAghUKWgD0l8T4mCa3sNGNt6u83+cXfStv1DZEV90Bzc4b+WjDNQngBe9YXYTFYpHRYtTvRIIvs1+z0tTY1A/ofZrmwVZ5iEzUtW6DiPsigpb5KcnXo8kFSWqhhYHrS6KP8QpNbxGPpIjq5Uq/v4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ViNi5+at; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ViNi5+at" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86F8CC4CEE3; Mon, 3 Feb 2025 21:29:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1738618179; bh=gH86BnBn1M4iZA8c/LY0iT+xjsDYLG4Lpb3OpxlxBX0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=ViNi5+atd52ZE2v0na/nWMNohfRf5VMWshiKPTgLSEkgGjw1LZ7nzVD41O1hjsP4g njZTdAUeoQ9KSvJwqn2rqtqwiIIMUn0Mj7/nkCwHFGp3MgX1/8RNXBIC7VSthXIVtu t0m7MtdUlj1rgrDQXEUq60TeBAdjRrtYEZv8l8orFj0e25fY7bbCxkSltgrgJuUnOq uHF6tCE+OT/drh+aumnOFYdIZ2T/lErOxoMLacLt0uAk6n34Bvs/aH/azIEbyHvoRc 5iP6zFmUKURefAzd1p7NLHr2l/GpcOXan2C5aYCLCn1BJywy7C74sycMpegqE/cHo/ uQf5wqyD+9Myg== From: "Rob Herring (Arm)" Date: Mon, 03 Feb 2025 15:29:16 -0600 Subject: [PATCH 4/4] dt-bindings: net: smsc,lan9115: Ensure all properties are defined Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250203-dt-lan9115-fix-v1-4-eb35389a7365@kernel.org> References: <20250203-dt-lan9115-fix-v1-0-eb35389a7365@kernel.org> In-Reply-To: <20250203-dt-lan9115-fix-v1-0-eb35389a7365@kernel.org> To: Bjorn Andersson , Konrad Dybcio , Krzysztof Kozlowski , Conor Dooley , Krzysztof Kozlowski , Marek Vasut , Alim Akhtar , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Shawn Guo Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, netdev@vger.kernel.org X-Mailer: b4 0.15-dev X-Patchwork-Delegate: kuba@kernel.org Device specific schemas should not allow undefined properties which is what 'additionalProperties: true' allows. Add a reference to mc-peripheral-props.yaml which has the additional properties used, and fix this constraint. Signed-off-by: Rob Herring (Arm) Acked-by: Jakub Kicinski Reviewed-by: Krzysztof Kozlowski --- Please ack and I'll take the series. --- Documentation/devicetree/bindings/net/smsc,lan9115.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/net/smsc,lan9115.yaml b/Documentation/devicetree/bindings/net/smsc,lan9115.yaml index f86667cbcca8..42279ae8c2b9 100644 --- a/Documentation/devicetree/bindings/net/smsc,lan9115.yaml +++ b/Documentation/devicetree/bindings/net/smsc,lan9115.yaml @@ -11,6 +11,7 @@ maintainers: allOf: - $ref: ethernet-controller.yaml# + - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml# properties: compatible: @@ -89,10 +90,7 @@ required: - reg - interrupts -# There are lots of bus-specific properties ("qcom,*", "samsung,*", "fsl,*", -# "gpmc,*", ...) to be found, that actually depend on the compatible value of -# the parent node. -additionalProperties: true +unevaluatedProperties: false examples: - |