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: 14021505 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 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: netdev@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 X-Patchwork-Delegate: kuba@kernel.org 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:45 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: 14021502 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 F340A20E6F9; 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=YPgA1jrMsTGzk0Zcoe70KeimjFx1PHGt4LO17Jm8TA8do4wQdXA26i42GJSC7EYD02LF6VgbOa07Z2AS5adlNEzxmdfH3ZOCdCxZ+fbCXk1hG4FRKY1mM0Ku1YWYvastJHUdRqp/XbDmX26hj4ij1YMJpL+figF5wJXiwbDzEGk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742327809; c=relaxed/simple; bh=D64G++OxdU2DtleL7cRnKQfbgQpbcoG0wweacSalwo0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=emawV8Wx29CiD5BRC5gC7mYbcFa5xT0RwFrChpuvUGy6FdXtE/BE9MAXhoFCLtf5QWjGl3Kgxag/YnWPnwchprZRgHfpbQnGvHG4yXr25KKFZ19w6T7f2S58CcCM7fI92cNBcWpKvdzBY2bAlAXr7cxWlZEm8a7iR158ysJipfo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fxwFl0g5; 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="fxwFl0g5" Received: by smtp.kernel.org (Postfix) with ESMTPS id 805F6C4AF10; 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=D64G++OxdU2DtleL7cRnKQfbgQpbcoG0wweacSalwo0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=fxwFl0g59S5c7rs6lYMe5VpzvG8JStxpTI/JIlJg6wkdkQbJ4t0t5C8l+Iw+vELnp q4SIJupmDsua/7ZHUumJzew1yJHg08gH4TQnArt/AtUXeszfghsHuA4oRvd6Bv+n9O qjE4xScdKqDMhk69G8CfsccuwElHvtz3JpIcR9ft/6qlIRJuaZDiLnIl2Qy3p3LXdr lMyj2vLfeidbj0Oe3cXhl+eaYnZ6pin7AibdSDkLUSV4F9+6zBicMqvCcn3i+2lQVI JsH0xzkQi75y+8JBTvObeqrzKxdJooF46bBN5u8Na8en/vS3BW8BcHebiOWXSOWeK0 754yp0JXbbyIQ== 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 73319C35FFA; Tue, 18 Mar 2025 19:56:48 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Tue, 18 Mar 2025 20:56:45 +0100 Subject: [PATCH v3 2/5] dt-bindings: net: Add generic wireless controller Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250318-dt-bindings-network-class-v3-2-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=1138; i=david@ixit.cz; h=from:subject:message-id; bh=P3wxtxq+fD4LWVRBZ1MpaWJgE1IIo4CuIxn7yG+ZET0=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBn2c/+2Izef9m3kj/hpAUM3U5cGidvjC+W0Vt2D fwwdoXVqJGJAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCZ9nP/gAKCRBgAj/E00kg cgbvD/4xduajTZBRFlLvfYA2TDr5D6etA3CjLCwejbi5IHfaMb+e7iyJFcqgn9kmvgmfmQKFDmh 6jVcmN3/PnX0B2uaY0Iwy83/MxSp0RZnkmkIhg07Y0H1sHWIkJIjkegw6OUpaOmsSEcRaOjDw/J ODUY7ddiwIryzizg3reyHVx7zrr7UQIxhQhLnQ48bchp2ZZXdpsQB+wXaHOxAyJ58B5Q8qbndgA V3dIKt8YBYYM/Q2uBi7dtwJqgc0gtiRU22mgFS84m5zzWO7f+P9ZpVUCY0xufD3S69nNRXIpfsK KMLvjJgK5Afiyjbp8BeWD46wKgRaSt2AckKoyjRwrlLtfXR7ELY0DLg4YJO5i7lf7vZgv4Zpmhq AorV6Z0g85Ac66o979xe0VlWZWfmnYDln14Qxj1CVT44Ms0S57ghFqbCTh8lijbIk9aNcd+6Vbs YmCy8YVGvgnofDxTNOCE6WNBj0R8AA4cpdZnlYeA76MNvBc1qyrOVHvsZYZl3LUf0rR93e0FZ/X ViVwrr+3CJeFUa2hlCj69Lj5o4Xt1XRoeLQsmUrXSzvrNOnwloMvEr//0RhVQmIE1wLJ9NGFcVj TiuIzCXNpL4Ebt2+JYbdDkyBHzX6ph2/9jkcAiGN+shX0UwProNDkv4z3Y9YPVOIrY9/wkQCFfb vlJJC/Y2yKS8t7w== 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 X-Patchwork-Delegate: kuba@kernel.org From: David Heidelberg Wireless controllers share the common properties. Signed-off-by: David Heidelberg Reviewed-by: Rob Herring (Arm) --- .../bindings/net/wireless/wireless-controller.yaml | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/Documentation/devicetree/bindings/net/wireless/wireless-controller.yaml b/Documentation/devicetree/bindings/net/wireless/wireless-controller.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7379f6c1aa05c15a5bc7b34df6502cc174af9a90 --- /dev/null +++ b/Documentation/devicetree/bindings/net/wireless/wireless-controller.yaml @@ -0,0 +1,23 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/wireless/wireless-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Wireless Controller Common Properties + +maintainers: + - Lorenzo Bianconi + +properties: + $nodename: + pattern: "^wifi(@.*)?$" + +allOf: + - $ref: ieee80211.yaml# + - $ref: /schemas/net/network-class.yaml# + +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: 14021503 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 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: netdev@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 X-Patchwork-Delegate: kuba@kernel.org 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 Reviewed-by: Rob Herring (Arm) --- 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:47 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: 14021506 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 3574A212B3E; 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=H1K/Mge31i44RW+ToE6+OaeRy0aXKIzas+Y0sa6O0tiL4oaj/gHZATNB2z016aINAq1HYJz6S0J21mVEiLQzxxV1V+vxWcuw5s3eKLaWXy1f7x5RjN0b3xhQaqg5mg2YDPqb6TH9fnoDomE/b0nPjEZtWovGax781uL2rBG+S5k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742327809; c=relaxed/simple; bh=pF99SzA09p9xmzoaSb+iJYmTcMB0v9cqEecf6PPgRP0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RW9f0bAuSSEQwssp44oBhTADpuu1GrL7nfwD4NNJtmQVWsGMDHVhBf77/YYjuifjaabqOUm0sUaT7A+DrhVpoFJxRP6Hh25mZvn5zQNmSIA13kjYKfFm/c4dPbp0jzOWJPqP0RCqo8mkgOOWl7h4HVueyoF58Iwx6SwueR2Zny0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FLIQ58N2; 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="FLIQ58N2" Received: by smtp.kernel.org (Postfix) with ESMTPS id AB2FCC4CEF7; 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=pF99SzA09p9xmzoaSb+iJYmTcMB0v9cqEecf6PPgRP0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=FLIQ58N2RehNdlBAz6WS9AxT2Pe1LweFM9kixV1OFClO+fC9Ff8IvvwEKILoag4et BH5sGIAD2g/vSyh5OVQISN1fdSVAs4UoYwnalLa+BPYJCKzVeCj3B0DOsjscJx5CxL 4IIu2t/ottE30TpjV3zgB1KOoRkzZtyhCUBmSffJM/aPznyzJJwxfXEdH3UdxjInsv IFYwTZbLl7fUG5+byZvwKWhuRK+zbuolNd8H0O3f13KdMR7R63xRG8nx9PVtmPY//Q KJtoLGW1xYxHKZP1bhO3GBbKWVBjIrSjmTgp006LXGA+Dm20M2/58Yn3f1bPPYcdTx 7RdDQ2QEKe3yQ== 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 A0A50C35FF3; Tue, 18 Mar 2025 19:56:48 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Tue, 18 Mar 2025 20:56:47 +0100 Subject: [PATCH v3 4/5] dt-bindings: wireless: silabs,wfx: Use wireless-controller.yaml Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250318-dt-bindings-network-class-v3-4-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=1244; i=david@ixit.cz; h=from:subject:message-id; bh=HBoY5S1k0e2zUg4tv3n60rntaTQrtnXEYSlk57YEgBo=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBn2c/+rXtH32FEFx87hHOghZXRVsarHOwhHZ93V X6wuntamLSJAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCZ9nP/gAKCRBgAj/E00kg cqjXD/0YxeBL0pOWKsiQgODzLmJj+LanjSBr4ifes0h6NEu2JaO5oIVRs23VCKcl15XHUsKzmBC Vk3wkMYWzA7zy3l/dQI5nffjhlcz3Nnkp8zllSYqph3R/xGq1KJwxJOmLove5mSCTRrEy+INte/ z1vY/6+9I1DoEY3Cf2wXITLUPepUiU4sHCebIcwMhVVhnarQjDKkthed8SjG02eHZjjDjksZWil +lUNoYU1FGo2qOT8ea1xSKmTmRrEsktp7gVfBeSqcLQIa61p+qgBzFIzcRyRV9eBfn3s7uyKQyX nr9bwzBkBpVgK0gZmDua5sxmHAwmbxFIerCyvkCExkSLlUAjMPWO+a2EXy4dkFj+f5R0A6HU2Dl TO7qCPASb4wIiS90Hbz56SGLwLrIIufRRV/QOGBxmOYjxkaF6lcsWAxmfgQCj6FmQIxqPNV2a1e cplZdiHmWVVKU/JEKOhtnyaRjSJKYn0b6Hae78/60dTPNqF+HGVjzYgtNv+5PsR3Uqvf1lSxF4u 5n5XTEWOnCoz8UBWpx3iOtzG3TdWJH/J0BWZyn6z6cSpuEuWmXyFzVuIVXeLI7QVm3Bz0e/jyjN FNPv1Odopp6ol8tPcbxJPDvQ2Wvapit8RuDny1ffYUxqYUFC78SBjlXmHvwl5R7OTi5dELLRsDL nItlsfj1qR7bRjw== 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 X-Patchwork-Delegate: kuba@kernel.org From: Janne Grunau Instead listing local-mac-address and mac-address properties, reference wireless-controller.yaml schema. The schema brings in constraints for the property checked during `make dtbs_check`. Signed-off-by: Janne Grunau Signed-off-by: David Heidelberg Reviewed-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/net/wireless/silabs,wfx.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/net/wireless/silabs,wfx.yaml b/Documentation/devicetree/bindings/net/wireless/silabs,wfx.yaml index 84e5659e50ef3125b5063fbebcaf1d2b2bdb7398..6c0888ae4c4e172edf2a5f6249cb8aed5ed11681 100644 --- a/Documentation/devicetree/bindings/net/wireless/silabs,wfx.yaml +++ b/Documentation/devicetree/bindings/net/wireless/silabs,wfx.yaml @@ -71,15 +71,12 @@ properties: "Platform Data Set" in Silabs jargon). Default depends of "compatible" string. For "silabs,wf200", the default is 'wf200.pds'. - local-mac-address: true - - mac-address: true - required: - compatible - reg allOf: + - $ref: /schemas/net/wireless/wireless-controller.yaml# - $ref: /schemas/spi/spi-peripheral-props.yaml# unevaluatedProperties: false 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: 14021507 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: netdev@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 Reviewed-by: Rob Herring (Arm) --- 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