From patchwork Tue Mar 18 19:56:44 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Heidelberg via B4 Relay X-Patchwork-Id: 874470 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 F352A21149C; Tue, 18 Mar 2025 19:56:48 +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=1742327809; cv=none; b=gWERnFOdGyX+xUtKIgZYFIgkczQLbzr3WRo7SIjp3NAx4f/w7kFjVOhIozhfDraNwvqUQZVDLTHr2YCyQd5UxVJS8i4HdWhhe/orF6gNaNUwfxaQEq0sqqbkjsVeLKwyBYmiCY3zjJaq2QuFP9Zbg9R/uL4Wxqfxwv7S66ivvGg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742327809; c=relaxed/simple; bh=CzFbm+7L5Vyy9jjivohc2P9KYcboe4VapFvp3hF1W2s=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VG/b2N5W7Qg0R595AF076p2SiAf1LeNdmplVJUso7yy4KyF/k1zxIBYvZ1YCHeyFHwoWYTpdhrsEmeVOvoy5sEU13OsET4Iqnr02vQFPhL2O2a1L7+hN33StGuQY8Us6QkmB6NjtjerNao6utbZgsa6yGLH9s/tuRZPxOXwQChU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HhLvWKjr; 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="HhLvWKjr" Received: by smtp.kernel.org (Postfix) with ESMTPS id 70BC5C4CEEF; Tue, 18 Mar 2025 19:56:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1742327808; bh=CzFbm+7L5Vyy9jjivohc2P9KYcboe4VapFvp3hF1W2s=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=HhLvWKjrxOJRYDW6Lb7AHm3LQtBf4RD+3oVEf4Qq5ROCRFIFY5lOIPyzvGLkpwYU6 3U44AGoqxn+eGPstA7W32Lq3f2KKr6OR0aQaVeUMWpOkd9X4D85eFf9YsehRZl2Se7 z07rX/8LmAfMWzYfa1+QgrbfLNvbu8aSwDFBxzhdAzavKAoJG6M/sRcBqskyZy2G2H d3iI8QWv+5PMZUHQr4uYkxoLqgDNeNsi3XrxECBz+n2oBFYfvLCaT2ISg2uJ+UjgKw v0lbo19rAi0KP0dRpET18ZdLIBSkiWifddIwdS7kH9cAYjtiJfcgZuoZV1qCni7p9a XHBoVOuXtiCBA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59397C35FF3; Tue, 18 Mar 2025 19:56:48 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Tue, 18 Mar 2025 20:56:44 +0100 Subject: [PATCH v3 1/5] dt-bindings: net: Add network-class schema for mac-address properties Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250318-dt-bindings-network-class-v3-1-4d8d04ddfb61@ixit.cz> References: <20250318-dt-bindings-network-class-v3-0-4d8d04ddfb61@ixit.cz> In-Reply-To: <20250318-dt-bindings-network-class-v3-0-4d8d04ddfb61@ixit.cz> To: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mailing List , Johannes Berg , Lorenzo Bianconi , van Spriel , =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= , Bjorn Andersson , Konrad Dybcio , Andy Gross Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, linux-arm-msm@vger.kernel.org, Janne Grunau , David Heidelberg X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=4464; i=david@ixit.cz; h=from:subject:message-id; bh=orfTbHEU99ipurv+cUYrmAsUPSP1cgMsKS/OBxtUqXo=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBn2c/+OZbKTMaBm68C09wuzyn1cQ7Jd/cnvVyQ8 q0EzqxwxB+JAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCZ9nP/gAKCRBgAj/E00kg ciwkD/9oq3Fz55PhkT6XXV7ZTfSWqzbrPJ4Enc+egCqkmqzYMB7GNFF6BX/JGwZBllIMjxYxxYS nkOtgziO6N2bDTtbkWhgc9YZDlZew0Qj29rbCfszfi6gu6D4wKGYrZumtbXrRygifVPQxZXNgPT L9Z0Binr28R58HOig7MinWLJV6m+rxbO2ome0QVGjGINh0LhpeoYbkY9rW1DCk6J/JTVKbZCrxb 5ulZ3UPkO53JxbLP9o5zcjiJvpR9gcBpA7pXqwXLJySTmlsgHJhYABkcheJYu4cYO+/O5fgN0Rz 6eDBOfe7qJG+kN6pxwvFkqzFZPmZ/xaWPFL5Ayz9Zg60YNobAwzIxjwzm/pRZURwcw9ajvCyNgv kV4AxkeulikyGRhKuvK0mFvPKsnd4YrqX46SuwbbBroGXGgndlDO8ZXr1NmgaINpULDXha1ElM6 8aKFc5AD7Xm4cUK+fnRK+9+Lt0h6nKu67dbvkqYHjIY+Z1l5XXZPP2QDwVPhqMhn4+FaEwumovN ZmnA1Q3MbJ7SuIuDj3K86jH1BH5NOWZ5imAOsa5OYwatDjXxShAn64GGS/6DUi34h51LvEwu9eA cr63pjXNBrTe5aCf9l2luRkdQ7rJUydlBCv3ay6iTNuKy4ajxVH6UVioWF8pt9F08V2SadtPLRA uv425CORS2Y8YuA== X-Developer-Key: i=david@ixit.cz; a=openpgp; fpr=D77A09CFEEDC2BBD53A7047460023FC4D3492072 X-Endpoint-Received: by B4 Relay for david@ixit.cz/default with auth_id=355 X-Original-From: David Heidelberg Reply-To: david@ixit.cz From: Janne Grunau The ethernet-controller schema specifies "mac-address" and "local-mac-address" but other network devices such as wireless network adapters use mac addresses as well. The Devicetree Specification, Release v0.3 specifies in section 4.3.1 a generic "Network Class Binding" with "address-bits", "mac-address", "local-mac-address" and "max-frame-size". This schema specifies the "address-bits" property and moves the remaining properties over from the ethernet-controller.yaml schema. The "max-frame-size" property is used to describe the maximal payload size despite its name. Keep the description from ethernet-controller specifying this property as MTU. The contradictory description in the Devicetree Specification is ignored. Signed-off-by: Janne Grunau --- .../bindings/net/ethernet-controller.yaml | 25 +----------- .../devicetree/bindings/net/network-class.yaml | 44 ++++++++++++++++++++++ 2 files changed, 45 insertions(+), 24 deletions(-) diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml index 45819b2358002bc75e876eddb4b2ca18017c04bd..c91b41b83d1dc1294e99ec72c7cdcc16550cb33e 100644 --- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml +++ b/Documentation/devicetree/bindings/net/ethernet-controller.yaml @@ -16,30 +16,6 @@ properties: label: description: Human readable label on a port of a box. - local-mac-address: - description: - Specifies the MAC address that was assigned to the network device. - $ref: /schemas/types.yaml#/definitions/uint8-array - minItems: 6 - maxItems: 6 - - mac-address: - description: - Specifies the MAC address that was last used by the boot - program; should be used in cases where the MAC address assigned - to the device by the boot program is different from the - local-mac-address property. - $ref: /schemas/types.yaml#/definitions/uint8-array - minItems: 6 - maxItems: 6 - - max-frame-size: - $ref: /schemas/types.yaml#/definitions/uint32 - description: - Maximum transfer unit (IEEE defined MTU), rather than the - maximum frame size (there\'s contradiction in the Devicetree - Specification). - max-speed: $ref: /schemas/types.yaml#/definitions/uint32 description: @@ -262,6 +238,7 @@ dependencies: pcs-handle-names: [pcs-handle] allOf: + - $ref: /schemas/net/network-class.yaml# - if: properties: phy-mode: diff --git a/Documentation/devicetree/bindings/net/network-class.yaml b/Documentation/devicetree/bindings/net/network-class.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e126a02193e8cfba24215d3c850fde1e1b26480e --- /dev/null +++ b/Documentation/devicetree/bindings/net/network-class.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/network-class.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Network Class Common Properties + +maintainers: + - Devicetree Specification Mailing List + +properties: + address-bits: + description: + Specifies number of address bits required to address the device described + by this node. This property specifies number of bits in MAC address. + default: 48 + const: 48 + + local-mac-address: + description: + Specifies MAC address that was assigned to the network device described by + the node containing this property. + $ref: /schemas/types.yaml#/definitions/uint8-array + minItems: 6 + maxItems: 6 + + mac-address: + description: + Specifies the MAC address that was last used by the boot program. This + property should be used in cases where the MAC address assigned to the + device by the boot program is different from the + local-mac-address property. This property shall be used only if the value + differs from local-mac-address property value. + $ref: /schemas/types.yaml#/definitions/uint8-array + minItems: 6 + maxItems: 6 + + max-frame-size: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Maximum transfer unit (IEEE defined MTU). + +additionalProperties: true From patchwork Tue Mar 18 19:56:46 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Heidelberg via B4 Relay X-Patchwork-Id: 874471 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 F346E210F5A; Tue, 18 Mar 2025 19:56:48 +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=1742327809; cv=none; b=Bbfq1Y16Zo3neSrc3YqbIyE0oG2tIED3M5BpLPejBT1x4Ivx7xbOh2lkPnvFmNJA6zQH8dfRhZWMj3vE1O/vUt2itDjaRPATHaBXvEkVqTbBjOvDVqXyFrsgf0VQ/xesdtLAexXihL6xc07QgKJX1KzYURY699x0STFftr4IBAc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742327809; c=relaxed/simple; bh=W2KVWNPN3q1oCOVjls1zYysH5RMEzPFQGAawQFKsj54=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iLRRn12iVcitmR6Jl4qNw3CxM940zX90hbRpkqXSmC5d9EIRS9bAtpeGYR9Ces2HRyCyxKzV9e2VMtaqHRztXv38RXuhcKixRWkn//qAMVi/D/jMrShIS6Tuu44qyxhSbZHPKbC/Y6VDhy286PBVWwL5PCcywACaEmyKSJEJug0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lfwrWsRX; 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="lfwrWsRX" Received: by smtp.kernel.org (Postfix) with ESMTPS id 97237C4CEF0; Tue, 18 Mar 2025 19:56:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1742327808; bh=W2KVWNPN3q1oCOVjls1zYysH5RMEzPFQGAawQFKsj54=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=lfwrWsRXpZ9nG4pwbXwDJbVV1H/6SUjBAFpSE8xSgNITA2FihQU3gUvUwrkVqLZ/K 30Iz0M1jnAbxi3k75HVk/239syDOtUrJrQYPqKaXPzGY2Tz0n3OeY6vfnvQ027cpyW iwWDdBcE2771gEccZ1uXFcN5BVC+KDOqhkH2YdvgQrOlpOLv63saGUZ1kVS2hRtrjV WoUMk9WKARD1movpZyZi8yVps+trgR/QQYZ62C+jGNlDtzU4PMX2gjnwB3yGiVNA7D Ha1c/Jeps8Yr3Ezuni6vSazp3V4RDEHf2yuTSKSGWMQMtruWskQRBz6xICAx9OBg2X 5n25ux9uTZVgQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87B61C282EC; Tue, 18 Mar 2025 19:56:48 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Tue, 18 Mar 2025 20:56:46 +0100 Subject: [PATCH v3 3/5] dt-bindings: wireless: bcm4329-fmac: Use wireless-controller.yaml schema Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250318-dt-bindings-network-class-v3-3-4d8d04ddfb61@ixit.cz> References: <20250318-dt-bindings-network-class-v3-0-4d8d04ddfb61@ixit.cz> In-Reply-To: <20250318-dt-bindings-network-class-v3-0-4d8d04ddfb61@ixit.cz> To: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mailing List , Johannes Berg , Lorenzo Bianconi , van Spriel , =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= , Bjorn Andersson , Konrad Dybcio , Andy Gross Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, linux-arm-msm@vger.kernel.org, Janne Grunau , David Heidelberg X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1032; i=david@ixit.cz; h=from:subject:message-id; bh=F26gMFvM4q7wCneWHdYAidCttNYCdnepTJdhqq9kBJw=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBn2c/+OJVW2gz+HIjuFQflSTYGI/7N6UB8moiin ztWD5x6yGCJAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCZ9nP/gAKCRBgAj/E00kg cgFHD/0dU/17AixTsOgnPu4cKlfCEEd0CcnNB1Mg9Dle+Jsju0Fn6pATDufALx/RqVto5IR5apa yJlkm6EcEOXq6SwfySNCHAIypSfgoZp/Y5fMuaHLdq69tD96PXvPfbCRtd1gPGr1Bq51yvSngcV 9NmwDF4gewdP+XFavYO5EhkfnpK6ejlQtVbiVXb2hRR1+nunPgCxwYQl+XlIYeE+yplOF5ko2ty EEq+DuxxiqIZ6qcOzmSQjjYXtbKjw1bAqXb0ZZK9iV9BuJ5REGQACGppWwuJ/l30DexB3dCUuN6 Uv2E0zElwxNfHZQKxSzrNrIm0hzVRm0q8x7/0lQMugp2UnSdxqhVFcDxluyf0NzUeVqlY7z5Ayq Fzz63WAk1F9V7rzhG3XA1+d+PN+HH8l3xLnEcKpg6mMK3AKxedZ6uihtqVfM14NbY0Q91gL1xUc f551PAqOX1AJp42ADBauvsnjAN1GWoEApk0NG1ll6vqBL9AUA0PPJiDHe69jYVVOMYS9Yg1FNij aPdCX1iLsnEGt5YVGo2FrbC0L5ZxEmNeMod7m3uGZxsZFJGyFL6dHl0nlamFrp2bt+uYrNGYzPh Sl0O+pfTJVmP5NdC0N0ylZsbju7vVSxIy3Dtox5X7HSqnVIbfMispYBHP/shsBF2U391Xtbk7cB Zx6JPLVs4Ikwyvg== X-Developer-Key: i=david@ixit.cz; a=openpgp; fpr=D77A09CFEEDC2BBD53A7047460023FC4D3492072 X-Endpoint-Received: by B4 Relay for david@ixit.cz/default with auth_id=355 X-Original-From: David Heidelberg Reply-To: david@ixit.cz From: Janne Grunau The wireless-controller schema specifies local-mac-address as used in the bcm4329-fmac device nodes of Apple silicon devices (arch/arm64/boot/dts/apple). Fixes `make dtbs_check` for those devices. Signed-off-by: Janne Grunau Signed-off-by: David Heidelberg --- Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml index a3607d55ef3671514cdf2c884cf5bd0ccaadb162..7c8100e59a6cd045837a2f602e367f3f79ced5ba 100644 --- a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml +++ b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml @@ -16,7 +16,7 @@ description: binding. allOf: - - $ref: ieee80211.yaml# + - $ref: /schemas/net/wireless/wireless-controller.yaml# properties: compatible: From patchwork Tue Mar 18 19:56:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Heidelberg via B4 Relay X-Patchwork-Id: 874469 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 864542139C1; Tue, 18 Mar 2025 19:56:49 +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=1742327809; cv=none; b=nUyFbn61ax+I/5IWSMDGmyG3eLVlTqNJkJlA3WnYelZOt4O3dfpI1oj+/rSsftYT4KECkFF2OPm0A0Gl+8aSi/q7YlXnACah8ygQQAo+C6ZBYgSe/ujrKdL/STVQ6NyQrg7DvW1xvzuHRBv47tu33duKzUBYGmiZ4lpNZp5HLm4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742327809; c=relaxed/simple; bh=brPpw9Upi2pphbjic3XdO4/cXehcdzvhX6hXEGsW1PI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=kfOdA4YgYbtS47g6ys/Q8rtvSDqawKx36Nn087Nw7VtaePv2pOJy2qyzjYrQibBHmxz54Xs2aKI0pBE/4yqUati0zfnCC/6EAJ/j16kHeX8teSEaTGcqjt4+/SPqLSTYGEjF4MhX5Hw6ej+wcxH9aZqlVcrUabCgg9Gh4LQ88hQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=murbe5Fp; 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="murbe5Fp" Received: by smtp.kernel.org (Postfix) with ESMTPS id C4D6DC4CEFC; Tue, 18 Mar 2025 19:56:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1742327808; bh=brPpw9Upi2pphbjic3XdO4/cXehcdzvhX6hXEGsW1PI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=murbe5Fp4DfgdyT0waCSisCnPNhHOnQI/lv9QrNvky5W/QEO7B960DB1hexjjxuTS vbfWgAtANDVahWQ+k6G9P0nYGUkUvyQDx4Lg65yvuK6r2ecGNukph3wTXKWJlqCM60 uvrG6HiGbu75f6s7fqOL56INdpO2tDnYJtjoGzf4seCy8zj8Ea3/56zd8MJzljHER8 paWuWEXvTqJR7k6jh+IrMz7efaKnm8x/YYthmIA6Pzo+E2RfwZ6ZcVlfetKZDUWcAM 5kb4OCy1Dp7v2bdNX2m8rrtbrUu9FtYBkLVWPHehNIhFg2LXG7pJ/GE2RxnHX73kOb BDEl/NUyDCPzA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id BA339C35FF8; Tue, 18 Mar 2025 19:56:48 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Tue, 18 Mar 2025 20:56:48 +0100 Subject: [PATCH v3 5/5] dt-bindings: wireless: qcom,wcnss: Use wireless-controller.yaml Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250318-dt-bindings-network-class-v3-5-4d8d04ddfb61@ixit.cz> References: <20250318-dt-bindings-network-class-v3-0-4d8d04ddfb61@ixit.cz> In-Reply-To: <20250318-dt-bindings-network-class-v3-0-4d8d04ddfb61@ixit.cz> To: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mailing List , Johannes Berg , Lorenzo Bianconi , van Spriel , =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= , Bjorn Andersson , Konrad Dybcio , Andy Gross Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, linux-arm-msm@vger.kernel.org, Janne Grunau , David Heidelberg X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1072; i=david@ixit.cz; h=from:subject:message-id; bh=gmn5ThPDUPmISVwNn4Be9D1nVjSGuTMMZ+wDLTHXKfs=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBn2c/+fSLSvOOP/1NrHIs5zBZKCZkCM9H07z63p +w64xSd1mSJAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCZ9nP/gAKCRBgAj/E00kg crnBD/wKnlKViZa7j9xXS4zIroJ+mYGOGFXAK8GCBybRxkEyKbEGnWWJaeZ4bxNl+bTIr1dKClS G2FRnubcXBSk/w0JWDQOSw4SKJk4vvWgroqj5Nv5oaCQOxbxORBuUoOzRZMgkxxcA9w1v/g9Di7 EQmvmzRuRxbTSfVCCHTSl4fl7zsiimAUsAzgry6WO3teaoRTlwM803VC6rNg8bnvPXtThU4w4xg UZ+GbUFC+FJShhA6XEWuT243WnOrlnz/9Po+usChnz+tbDy/fd3F+FyuHPOh6kwCDtZFNZSRRp5 J36Xe2Q6Q1mzXZvJpnrI1gHsPRhWpVSV/vRyOdpcytb4XIV+L4vVIuE3cYjmI1xptluh1F9cfI9 lg/YlbxrhwydDGSlP7PmUhk0l9fCr1/4/iEkrkVRZpLbdIAD9gbCIYza3uFBGhhCK3wPjNp2/G/ oRDz6sTt084KYiPopdK6AMaIOXftTbnv8vvJAt/puaLkfFnTP1kf6ahdP2DUz5S4rrLXmuI+d+T oyDrfMmoH9Pb9MuyWcotYHxqZGToxIO+1V7WWyAHkeEhERajbFsRTTOCQALg27tCA1lYl//p9zC AgiOOblZW6Z17xyVVHfrhDxXs13zIz2vtAR897ISRaQhgMEZQLh09eg46bmLM9Pwlb3bqmXGHbV bbrM2205srJAXsw== X-Developer-Key: i=david@ixit.cz; a=openpgp; fpr=D77A09CFEEDC2BBD53A7047460023FC4D3492072 X-Endpoint-Received: by B4 Relay for david@ixit.cz/default with auth_id=355 X-Original-From: David Heidelberg Reply-To: david@ixit.cz From: David Heidelberg Reference wireless-controller.yaml schema, so we can use properties as local-mac-address or mac-address. Signed-off-by: David Heidelberg --- Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml index fd6db0ca98eb7e56d7399f55c408844d5e782805..4fcae6bedfffa845ad61c776ee0b70768e9a38a5 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml @@ -54,7 +54,7 @@ properties: - compatible wifi: - additionalProperties: false + unevaluatedProperties: false type: object properties: compatible: @@ -88,6 +88,9 @@ properties: - qcom,smem-states - qcom,smem-state-names + allOf: + - $ref: /schemas/net/wireless/wireless-controller.yaml# + required: - compatible - qcom,mmio