* [PATCH net-next] dt-bindings: net: wireless: brcm,bcm4329-fmac: allow local-mac-address
@ 2023-12-09 16:05 Krzysztof Kozlowski
2023-12-11 13:19 ` Kalle Valo
2023-12-13 18:59 ` Rob Herring
0 siblings, 2 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-12-09 16:05 UTC (permalink / raw)
To: Kalle Valo, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
van Spriel, linux-wireless, netdev, devicetree, linux-kernel
Cc: Krzysztof Kozlowski
Some boards come with local-mac-address property. Allow it, and
mac-address as well, to fix dtbs_check warnings like:
apple/t8103-j456.dtb: network@0,0: Unevaluated properties are not allowed ('local-mac-address' was unexpected)
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml
index 4aa521f1be8c..4c8a7950c83e 100644
--- a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml
@@ -67,6 +67,9 @@ properties:
description: Name for the OOB IRQ, this must be set to "host-wake".
const: host-wake
+ local-mac-address: true
+ mac-address: true
+
brcm,drive-strength:
$ref: /schemas/types.yaml#/definitions/uint32
description: Drive strength used for the SDIO pins on the device in mA.
@@ -148,6 +151,8 @@ examples:
interrupt-parent = <&gpio>;
interrupts = <24 IRQ_TYPE_EDGE_FALLING>;
interrupt-names = "host-wake";
+ /* To be filled by the bootloader */
+ local-mac-address = [00 00 00 00 00 00];
reset-gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
brcm,ccode-map = "JP-JP-78", "US-Q2-86";
};
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] dt-bindings: net: wireless: brcm,bcm4329-fmac: allow local-mac-address
2023-12-09 16:05 [PATCH net-next] dt-bindings: net: wireless: brcm,bcm4329-fmac: allow local-mac-address Krzysztof Kozlowski
@ 2023-12-11 13:19 ` Kalle Valo
2023-12-11 13:43 ` Krzysztof Kozlowski
2023-12-13 18:59 ` Rob Herring
1 sibling, 1 reply; 4+ messages in thread
From: Kalle Valo @ 2023-12-11 13:19 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, van Spriel,
linux-wireless, netdev, devicetree, linux-kernel
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> writes:
> Some boards come with local-mac-address property. Allow it, and
> mac-address as well, to fix dtbs_check warnings like:
>
> apple/t8103-j456.dtb: network@0,0: Unevaluated properties are not allowed ('local-mac-address' was unexpected)
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> .../devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml | 5 +++++
> 1 file changed, 5 insertions(+)
Wireless patches go to wireless-next, not net-next. But no need to
resend because of this.
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] dt-bindings: net: wireless: brcm,bcm4329-fmac: allow local-mac-address
2023-12-11 13:19 ` Kalle Valo
@ 2023-12-11 13:43 ` Krzysztof Kozlowski
0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-12-11 13:43 UTC (permalink / raw)
To: Kalle Valo
Cc: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, van Spriel,
linux-wireless, netdev, devicetree, linux-kernel
On 11/12/2023 14:19, Kalle Valo wrote:
> Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> writes:
>
>> Some boards come with local-mac-address property. Allow it, and
>> mac-address as well, to fix dtbs_check warnings like:
>>
>> apple/t8103-j456.dtb: network@0,0: Unevaluated properties are not allowed ('local-mac-address' was unexpected)
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>> ---
>> .../devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml | 5 +++++
>> 1 file changed, 5 insertions(+)
>
> Wireless patches go to wireless-next, not net-next. But no need to
> resend because of this.
I keep forgetting this... I'll write a note for myself.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] dt-bindings: net: wireless: brcm,bcm4329-fmac: allow local-mac-address
2023-12-09 16:05 [PATCH net-next] dt-bindings: net: wireless: brcm,bcm4329-fmac: allow local-mac-address Krzysztof Kozlowski
2023-12-11 13:19 ` Kalle Valo
@ 2023-12-13 18:59 ` Rob Herring
1 sibling, 0 replies; 4+ messages in thread
From: Rob Herring @ 2023-12-13 18:59 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Kalle Valo, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Krzysztof Kozlowski, Conor Dooley, van Spriel,
linux-wireless, netdev, devicetree, linux-kernel
On Sat, Dec 09, 2023 at 05:05:05PM +0100, Krzysztof Kozlowski wrote:
> Some boards come with local-mac-address property. Allow it, and
> mac-address as well, to fix dtbs_check warnings like:
>
> apple/t8103-j456.dtb: network@0,0: Unevaluated properties are not allowed ('local-mac-address' was unexpected)
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> .../devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml
> index 4aa521f1be8c..4c8a7950c83e 100644
> --- a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml
> +++ b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml
> @@ -67,6 +67,9 @@ properties:
> description: Name for the OOB IRQ, this must be set to "host-wake".
> const: host-wake
>
> + local-mac-address: true
> + mac-address: true
This doesn't work because the schema for these properties are never
applied. There was some work to split them out from
ethernet-controller.yaml to a network device schema[1]. Perhaps you can
revive that.
Rob
[1] https://lore.kernel.org/all/20230203-dt-bindings-network-class-v2-0-499686795073@jannau.net/#t
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-12-13 18:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-09 16:05 [PATCH net-next] dt-bindings: net: wireless: brcm,bcm4329-fmac: allow local-mac-address Krzysztof Kozlowski
2023-12-11 13:19 ` Kalle Valo
2023-12-11 13:43 ` Krzysztof Kozlowski
2023-12-13 18:59 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).