From patchwork Wed Mar 19 07:42: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: 14022219 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 5933C16E863; Wed, 19 Mar 2025 07:42:58 +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=1742370178; cv=none; b=HqYR+9zmJCZQv7kiK4A5N+IZxI8+X1bzrIQcHgvYJIY5LE7niqarXnAUXYDqVjL4B7Ue6MvL2+hGdCDeknVeMYbQQB9LZhzSrltmYEwuIyrRkuGyQG5f4J4je/G+f6epVeHeHli+fKaB+585ms03pBeDzhRyCy/wCB+i2qBHWTQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742370178; c=relaxed/simple; bh=y6AwICu+KnCoslrMZrU1Jw3LN91sB/Dq5A7R2CbF414=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ARA5GAJ8Zj7zcI8uO1EAdJa9neRKyLbaVTMlNQowafgXnewctDY9NhIfeDFeeo6252GSE217fOr6U5m5SxzbvPVUtOSU1LFDhisKkoTUFQTzd58bv7+TP14Vv3UF92jzVMLyIRIVpxlqrvkxFeINyDiTzoNOiSBny2BEu0eVfzk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pONK8WM0; 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="pONK8WM0" Received: by smtp.kernel.org (Postfix) with ESMTPS id 27B4AC4CEEA; Wed, 19 Mar 2025 07:42:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1742370178; bh=y6AwICu+KnCoslrMZrU1Jw3LN91sB/Dq5A7R2CbF414=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=pONK8WM0I4MlCSPBUoMwh+nprIYj7PsBjujfLE8/DfHIfvsZ8Et0JHH/L4TKDI7eC bARezvNEHQ4l7jmQSaZ+roTaBdTG4ejlfg4aIPU4zD0WccNjUzJYbYhDoZvYVo9W2/ 9sqQBNhmtSDt9xvvXQTa2L//6a4LYz6/5aT1g9xNjBRmCcpxS9dkNnkURmuCV6Ea47 k8K6qCH+UrpL5FJxbhupaJ1RbPjs6RxGOJqCyJFXgidRUpmEHgmQL7dzhQ/lErNJfq l7Ay5mqn/SdZ9pr3MHMfjcHz9Md3e5emcsoYCEqyNWJ4/c64NOSBSMotIvsXRdkZzm kEXA06XmU4CTA== 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 12FCDC28B28; Wed, 19 Mar 2025 07:42:58 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Wed, 19 Mar 2025 08:42:46 +0100 Subject: [PATCH v4 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: <20250319-dt-bindings-network-class-v4-1-2329336802b4@ixit.cz> References: <20250319-dt-bindings-network-class-v4-0-2329336802b4@ixit.cz> In-Reply-To: <20250319-dt-bindings-network-class-v4-0-2329336802b4@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 , Mailing List 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=4552; i=david@ixit.cz; h=from:subject:message-id; bh=BKNeFwL3FQz2qg0ubOyl0m0TjIVlXMOiIVHwC04dGGA=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBn2nV+VWCI3EUkh2oTdBKoTBm/gUSMo17TBRfM7 cSoswg19jWJAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCZ9p1fgAKCRBgAj/E00kg cpMVEACY6xWeHma4WkkyZ3nLUE7pYdlk+YItmt+9Dh9SU3H62pnERgAtP5ZNLus8ai5BZGXKDya W3gRuMAvvwaUjpWit4hV6OPT3Krzb/677m24NwSz5T4yVZoeYfYGQyuIExmwiFTjCJB2glaH6li xLhG+54mPcJim5u9jT/TRIQfj6d6j3vd/BunxQerZNrR/6UCTNUrI6r8TNJaV3i5YqfwIEbUOll 1KlMEQf66Vp41h54FWqfCxE0cCfpouF/9NUHESm6CaTmkTCBx/RNsD2Qg2ESddQCcs7anlYZfqs fRFuS2ojJWWeJkTDa+nnHZ79lJkNstuNDg5Xpam/fpj6ue27W0aPoxirKUL5sgMCw1/TQjV2Fpo MkP2HKug/ryO40YAE11GuNvh5AmS3bCKqkP1nh/xvP7kLd05ljPDXUIxarDcB89MK2itc1x2yCb ftSBmlLZfGnANS3oAC9bMF97P+x+qxCCvbB8fBdgpZNCFg/OaRq6OsEoaElGobmYhbegVMP3/XM CudfFiOIplbgYBP5yPb0OVrNg2SvXpTH/1fSCt9zb+FRQq+UqOI1WV8/OZV+LoGA2EodjDaxsVe SodNI9Ot9Sujr97PSS8RuaszWRDZjT48gSXPb5Aa9ILlXlbX8ReJ0I4ijXOn1r92Y4tLEefUFMW lyNFW4Ge0gBJJhg== 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 | 47 ++++++++++++++++++++++ 2 files changed, 48 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..e0b3ed3fd3f13d94a214cf9a4bb474d1abcca2b1 --- /dev/null +++ b/Documentation/devicetree/bindings/net/network-class.yaml @@ -0,0 +1,47 @@ +# 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), rather than the + maximum frame size (there\'s contradiction in the Devicetree + Specification). + + +additionalProperties: true From patchwork Wed Mar 19 07:42: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: 14022221 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 BAEB72505C9; Wed, 19 Mar 2025 07:42:58 +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=1742370178; cv=none; b=S5Kv0/gWfXoRcUXoEdefNXcvYHp0bt4cJrd13n+zX+DAWaNn4Zs0oVZ608vqaFZty2kQPKVxNUkbj7i6D+m/Z2mvomgQ7px1p3jfcS1eBET10KF0XkZqwohRZSb5e2i9Xx4SUWEi4NlWUPNDU8w1e+HSpKib698F4kkaoD0Pa5o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742370178; c=relaxed/simple; bh=8PFrtxpnJpLFkdaeNeF+Kojf2rI5Gt9WPBc0gGLSfzc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RAk0k3BApY4EfLZeBoTAmpXx8NxmsMk3kgW1fNUO28FXcz8d98BIbLAgJlTMe6W5FfcEfKUE7yKzuJ8IVTfv+vSSoLIePek0b7gcON/eHqex8mhzEBd9ezu6easNs2uzaPPCnRkexd889hkQzX0rBy8gx/nuSm9BbFkPB67ho7I= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=iiKoPFKD; 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="iiKoPFKD" Received: by smtp.kernel.org (Postfix) with ESMTPS id 3D52CC4CEF3; Wed, 19 Mar 2025 07:42:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1742370178; bh=8PFrtxpnJpLFkdaeNeF+Kojf2rI5Gt9WPBc0gGLSfzc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=iiKoPFKDTc33xyKDhIHbKi5oNeIAReF9v27f2A/TwDGMlqH55f0okfelLEKFi7Ryr ALAk1Ojri4s0xRIXxikE0jXhdh0r3vhuV6FUm/3L54FA7CXkj50YCaYp/1wQkbjqmS xT4A+HSqiBsRyFlwnbF2GhJ/D94no0z9n7ptwYdmjS0K6g0MnYqXOMcgWtKlyNpmMC 57/wCXho8RgNkZfA4WFzJfDnL0K8jR90UE4umDeBLKBpeSUP38E5J+0bfMOo60YaCF i1FBATmQOHwqazh8fxnnuLFzGghq3pLqH4V2ArXAW/D9azzzPN7g3I7OXbRXaIres5 Utmmpvj5OWmBA== 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 2D625C36000; Wed, 19 Mar 2025 07:42:58 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Wed, 19 Mar 2025 08:42:47 +0100 Subject: [PATCH v4 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: <20250319-dt-bindings-network-class-v4-2-2329336802b4@ixit.cz> References: <20250319-dt-bindings-network-class-v4-0-2329336802b4@ixit.cz> In-Reply-To: <20250319-dt-bindings-network-class-v4-0-2329336802b4@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 , Mailing List 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=1188; i=david@ixit.cz; h=from:subject:message-id; bh=s4h8B9gNJQ6JIaRS+FZDFjTYjzD5y6gNzE0ffwMuDco=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBn2nV/6rsk3oZ7Zyx3BHMSxD/3T7AS4K6Ut8/Ix lXZHWCc56KJAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCZ9p1fwAKCRBgAj/E00kg crwXEADFNSgiKo48SYtQuekFHAo+4fG9ATvPU7eD5a5aQHSz43A2DGLbx1N0t0m5x+UamLuzAYR IMl7W1JI+To73ZgOCDkbdHrt9gOlO7OtyQtcIUENMFEba252GuCIeTbneN3qBnxdB33x5AufHx1 S70mveR8HrembIKmCEtHpf8+GSNkZ+bD3NzxB945vapzCjoF8uKY0EsUEovQ62pRee+D1k8tQn8 shug/+iZDVDBrCT7vopf6ENjZPzY+tqqCS+AxHq68frOCCEpro+2vZJEgV47dQ8Glve69kXQ/aD DGZ+zh610NGjdnMaJYlAub3CB1AkvwpIAO9ovR55JIZm3wNaZwSMMfLXexOsGZ1C40L2o6DVqXR ZNNCGhTGL7wt41wBzlCfSDyQAaWiJY30mpOb9ky6mR91exDXT1jHGLlRkOtPSsEiP+iENDCCgwd 4FAgcm/1INX6D4ny0yaF0ird6L3ius/ZRotszDiViVYiKOWztVRx3xSBUUBzH6FCfZOtQI6p3+D fIfCbd7Le45LQMXKKIh4MWOut9jogpciD+QexzNn+4OtJ+rIhVgCUlRFf2aONo8SS0HzQ5Fj5J6 usYDTtjvhRDLtmqpDueELxfxaW3TKoYXB5Zn187clI6x3cW8dK7Lg+001d76FLMVG2sMHHtf7qc /BGK5UaVHz9dP1Q== 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. Reviewed-by: Rob Herring (Arm) Signed-off-by: David Heidelberg --- .../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 Wed Mar 19 07:42: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: 14022222 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 E39CE250BE8; Wed, 19 Mar 2025 07:42:58 +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=1742370179; cv=none; b=Z9vcA120djxXKNDSwIEtHLdbwdklnpFJNFRSPO7beuL7TZM1FYnRboeM6wdE8wq/9cOxe4+6rviagjXY3xv1t0KnuUuIFpJVEjV73KIKQUyzLAPDqTeZMucYlHPaaZiw1/SEpz7t9CqTV46arCfenluPcsRwFvZtonn6Ewzlw9s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742370179; c=relaxed/simple; bh=WsQ0u5tUFXCTjiL5eblOj9asrKR1vH8dhgSLDWTqT24=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=oW60KxV6YuCWxD8LRf2XPjRrg0LwFAH8axuX2HY6nzUbqxWNB/uAgthTCKDR8Lt6kqj6WkqKaXtQ0gUpQbSCvU8jWBR6gQWS34z/pUaGNKbKU2IwO7Qq25wQkBku0IVGqLpJLyz3/ts3lpsjV46I3UKoQZ14gnzBIQr5+2vtDOU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Bv9/trWW; 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="Bv9/trWW" Received: by smtp.kernel.org (Postfix) with ESMTPS id 63055C4CEFC; Wed, 19 Mar 2025 07:42:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1742370178; bh=WsQ0u5tUFXCTjiL5eblOj9asrKR1vH8dhgSLDWTqT24=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Bv9/trWWiqz3CrIUHj91hAZkDVipJTOLrHKJ7y9XyYh34fxnkDa4kxqs3d+VL/C0d /S9YI+qqcm0f79OjaF9WNaFFyd5y8fS4x+/1wDldlUNEC0zOEjvZot5Zqa/Ftac/sZ u/Vz9A1nCH9ku88ZAW7zNJyx85I6o/Hlxo5/HnnJ4NcCkpn6r+dQc6SQi/KNeaz+rR ybHGD+T2ihKhXj1Hiqf10vFftlQNMrCKiOa6QWw56BqVFwyiotXjk5EVHHjuON1JBN xWzEivgCPlJJVM+xigdIPNjVzHBlKGm1fr7LPUCWAGZ1xX/VU45tT8QTOeoIRV+TSv /yN5YhSJpV/zQ== 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 4AA06C35FFA; Wed, 19 Mar 2025 07:42:58 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Wed, 19 Mar 2025 08:42:48 +0100 Subject: [PATCH v4 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: <20250319-dt-bindings-network-class-v4-3-2329336802b4@ixit.cz> References: <20250319-dt-bindings-network-class-v4-0-2329336802b4@ixit.cz> In-Reply-To: <20250319-dt-bindings-network-class-v4-0-2329336802b4@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 , Mailing List 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=1082; i=david@ixit.cz; h=from:subject:message-id; bh=Ykanx8wzDbyUa/ls65ZFTHRGPUtwaqJKAXv1MSG0rDU=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBn2nV/qIBBtD+92YGrTaZ6GD9reQMC2Inj3zs73 N+8JLdqnNCJAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCZ9p1fwAKCRBgAj/E00kg ct3SD/4jAIh8CmZO81HMcbQ37zZZgxfpTo6ov/fnVOOHd8MeKz5r5T8PvXv/fu60t0ou3WTXroy lt2hSsnu13cX0uvqfKCaTffSJUGlE5kog1XKkcePDd9bdse3Eh07yNdaVAQSK9McZuvWi8Cw/gW 7RM5rccSuFGlCwxZrNj26vAKtfDRjMjMrSOqoiibo2wuFJyu8gtzLm4f1H969QIFnR43TTsKRzo wkops2UoeJR+DPBK+4fT5lwxRLtTVtLS1p8nTLFyN0gHdhNcKtZjPoX/tKiG+hD7dl8ErnxvyaI l7uoKnO9Sqe6wDGAd6wTk3xMSMbl97JvPhx2a0Ox89vjDWvOCnwCZv4QEkyDCPueBd8oXt7mEtE Lq6P7om+cW++205M2Oij7pwsPTWoUJLQuikRBoR4tlaN3WgV/s236zfu2BS0FS3I3ps2UDRjGSg 4b6ItRoim5Kaln5vH1V2aFB7QNx9lSD9f25oFdudmktgcnaRmtw6GArJXiMEWAsCspNyIjJRix0 s3oGIiA+sKJ3+7UbvYgGCxk7re0aIavOrDBsZeY90mCrBAi8Zy2rgXnisMYPLMQ86OhLms1G7TE 5wmTvgiNnKruWcP7MkCZFzc97zoMVq/Xf6g1Hx/UibkIQUkDmrd/twYyA0BsrfSDmjaAp1HhWhE k96mQxvVC9Q+neA== 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 Reviewed-by: Rob Herring (Arm) 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 Wed Mar 19 07:42:49 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: 14022223 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 000F0250BF3; Wed, 19 Mar 2025 07:42:58 +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=1742370179; cv=none; b=LN6UtUYsGTg6fQxSIlUlXKpjn0tjXzZDvb8UnThgpH5vwI4GM73njQVL5kXT+4e5Gtd3bjDfhN5JS15iAaAYzFKLKdAqCbcGhivVnVEw/SNAGYKR5FCvb2RehPl+IyBcqYLyCN3jGYxRKl5lWvfh3ImerPOTqjoQ9j1ptPZc7I8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742370179; c=relaxed/simple; bh=uPUDwmK0g4Vh1dFePnVTJtquk72HlpJiUb5fITlcanQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jDMTPF5Gk5r7ZR+m3Uas5oqe8ZwPxwtxxo1vYV2EcD3fTcPF1AbU9GfINkiSZKuZxKi1kkv7vSQtHS1avn7tn1Jrac+nwXmlzR6b+frtA7SGCvZQO3OKiDtXg2n9+LrJ9TdJczMTaIxwLV8zAJXe5DfSpvcSNaC+uPAoaXrobt8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=uxyomQA8; 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="uxyomQA8" Received: by smtp.kernel.org (Postfix) with ESMTPS id 80D30C113CF; Wed, 19 Mar 2025 07:42:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1742370178; bh=uPUDwmK0g4Vh1dFePnVTJtquk72HlpJiUb5fITlcanQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=uxyomQA8RUYnswlcxPhpjTy0IoBmAw7IN2db3zCQj7loOiIDPUBnGC4+Ebj7aMmk1 mPs4d/7vZ30FG+/NH9MA1UIxfFixC+4E8Tl58WFxCYDe3zI47G/QiWFG64YxP2EPBO VTWAHZ3zZKfjZKobesGsY8Ah7jP14PTWMD9FwHTiNQ4pCejWuzidHRTkF9hBq1+iq5 LVyLb3dwMfk1EK/13PQmp9zau9fVRXQVnZMQ5x6k7QZWM5ghdibDmJzulXx3KJlBrp QR9LEFNRVUKpAJS5PubI5fw5NFZ1gy7N6s7l4sPSp1NxkSqAoenQI33d+Pm00lnCzJ 765GCI1Dm4qJg== 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 7086FC28B28; Wed, 19 Mar 2025 07:42:58 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Wed, 19 Mar 2025 08:42:49 +0100 Subject: [PATCH v4 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: <20250319-dt-bindings-network-class-v4-4-2329336802b4@ixit.cz> References: <20250319-dt-bindings-network-class-v4-0-2329336802b4@ixit.cz> In-Reply-To: <20250319-dt-bindings-network-class-v4-0-2329336802b4@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 , Mailing List 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=1294; i=david@ixit.cz; h=from:subject:message-id; bh=l57H1RfHi2nyRkEMHSpfv1DPteDzmkI0cH0ZxcD39cU=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBn2nV/GJXqP46+RluuNNyMAQKN75PZKl4HCTx7x wSys6q/NTaJAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCZ9p1fwAKCRBgAj/E00kg clWMD/0fWsWzN0SOl0+waxtXKViVHMwA9Gx4s7s80akUelEhYGg3J6k9IjJRD5dZuA7ob/mPhCw 5awtfV37JzaaGzG/2/NpO2ce0NFK8EzZ08UATgh3DIocukcOaGA9ma8KI8ZYCK41K2QMh2n3eEa Ft+0IsXVu+DbVqLHZjq10lsTqjB8o4hL6TI+M3vSbPtr5WkajIwE/6YR06eI9Z5Ie4e46kGLJda GVEgTeW1fCtYj9QJRbtFRJlMUhQZChWZFP1lan2tDTIqvSdd1Sv5ApIXaHlh2JnF3/Fvg013D+c 9WYHyT82B4PmMl4U3ZEW64+KemjRhf1MjIBPc/vj2JYEzagLETQ3rm5LMOaP5ZjlX27eSzaA6Dz Yg2ZIjONDWzp159N6AEYlXQL4oZLH34k9bm5k7UwumWwFDXQlDgcBvHwgWEeEunb0Zu6Z7x88oJ yaurc3PGvCwLcXRuVcc7bbmDzubWN1zY4vGIlDDFzZrCucQjdeYYI8QV9QErFpRNQZovLuA0L++ IVhy88Cqwpy8mjlNlkl3PTYW0jmpdRUASqTCQv/BspwsPnNIHrZOAygUdYMUHAJBOTY5bY1/ksU KoSxQrF+bEfwJY6w2hRkg3HBLwQzPGmi1qOWEsXz8mNvSiteozBapvOWUOxd/tROsj+1ZnJbtjO gD5+G9Met9QwmQw== 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 Reviewed-by: Rob Herring (Arm) Signed-off-by: David Heidelberg --- 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 Wed Mar 19 07:42:50 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: 14022224 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 2FBB8250C1E; Wed, 19 Mar 2025 07:42:58 +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=1742370179; cv=none; b=XhzLsAy3tBnPQPRtCOdA8e5K46AA64PUYoA9JizuUmmmbAXeqR+0RrC/HQt50EnX6tR25WuuXGMf8TmIA7CJHWz8CMyMaNKsNF1S9kZKgvQxQAcHgB/snyrgDFTbz3lWIIl+MkbUSeG+9F6DTcWVwh7yfDIrt6tcCPpdnJxN3l8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742370179; c=relaxed/simple; bh=eUFaq+yugIuksyG03BYSR72DIzc5mCrpziXwrV7Qk88=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rAYK8OSNlK83iAwiiCM8VRNEqBICzl++kvfMHvsNowwOeM5nxtC6YOwRyHGKhFSh++2CtK9kzC9zCYyITCiJKBqfLgrvft0tKf4UhFkorV4BgSToQzlYki3tSe1jJTUDuZ3YRkrM5JFjPOFDSnAMQjGueMyg0I8ievwJnMEWKvY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Iw/oyxKl; 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="Iw/oyxKl" Received: by smtp.kernel.org (Postfix) with ESMTPS id A973DC19423; Wed, 19 Mar 2025 07:42:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1742370178; bh=eUFaq+yugIuksyG03BYSR72DIzc5mCrpziXwrV7Qk88=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Iw/oyxKlws1yVmd2DHhyikObyRB0XV42JQrCHI7pEx7GMPGYWhT9UvZSgG1A7RIIg K5hEoKEzwNT2aydxSWxOz9cy3z8Qyg7dmckL9cPX1+6B7ucRXGsKIpi9dB9GyyQPJl rZ47jLZ6uck2NKVBKkwCSebFT3BcF9EPUnEKNP61w1pQCo40q5bW2S2is0CMISGXeE RUXV/8cRGphO7efxW3O71nDE6YtC9wfbJQyg0JVsf7wGzxveHgnIlL+WKF4PwNO3/o e023M190/37raBssA1ZzelYzwEKkOTlI3I5UGjfNjx4PGP1n7j8znkfOaEIgwxTT+Q 6qeU+c1eggajQ== 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 97B23C35FFA; Wed, 19 Mar 2025 07:42:58 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Wed, 19 Mar 2025 08:42:50 +0100 Subject: [PATCH v4 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: <20250319-dt-bindings-network-class-v4-5-2329336802b4@ixit.cz> References: <20250319-dt-bindings-network-class-v4-0-2329336802b4@ixit.cz> In-Reply-To: <20250319-dt-bindings-network-class-v4-0-2329336802b4@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 , Mailing List 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=1122; i=david@ixit.cz; h=from:subject:message-id; bh=8m+TP7dhDaz8he9N9bMiZ3ZhzlbMMMqDKwJGp281Vxg=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBn2nV/BlN6S2VBiO/H/JLDX9kUOJ7EEhXpItnbg zzJrbNHsx+JAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCZ9p1fwAKCRBgAj/E00kg cgLDD/9LvfI9zTcWOn4Qin6qT0LBWSbGHrBABqoX5Cr7vQ9qld/bLsXSBsehlJik+HdtJD2KiJY SfTNFtoPYKiY1LQ2ozg9aoHo6Mn52fvz26J54KQwSILEoONum+Jnoq1SHiD+jNaHbkSBOx/P05P rebiMzprJ9tHL6us7qW3pQo4Znx75ZiBmesBz7wlHhVk1e0GbzSHuN3nJsXrTWaAMUS+jjwZUZB nwcEINBaPSE3ufSjuRBbQWXrGYBG08HYHp25Y2Q05cmfpqAvhXc+sIFtgD/etQTgtI9Bh9ZjHJN 5OSeQCoZ+2j4WEovbTfGBbJfdfP/eWXbD4GShnKVCGZYZGlT0khJXgyFLTJtCZifTMNiCWmrsdE nU0xWUf9Nu4lkO3sJXvhVvIYy+hlJiGyxlJp4ug/yZ2yWN7Q07nwjJYw65+vMZPs+j/h9dpV7EC oZhhexHCOk8RYnfdY6kZJk3sI+rhMj6lSH4sodiZQS+fpbO0uoNka+4BHL+Q+BJxXjdgrglPRIw OAVeaKoj1kz5FBmtAbRWOXQggoXCNSmX6ofWT0wQ6eC6jtZdSJdcFyIcrjijnwpG8qkylrbIFQJ qJ6aLHmu0rMbTKEM0Brx8ob17dZEToD3GrPIahWf9O/sBkfmgfi8yMERRIqOPEUrh87B0uLKduE qp84mMbuGPTrcjw== 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. Reviewed-by: Rob Herring (Arm) 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