linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: am5729-beagleboneai: drop unused Broadcom WiFi properties
@ 2021-05-05 14:00 Krzysztof Kozlowski
  2021-05-05 14:15 ` Robert Nelson
  0 siblings, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2021-05-05 14:00 UTC (permalink / raw)
  To: Benoît Cousson, Tony Lindgren, Rob Herring, linux-omap,
	devicetree, linux-kernel
  Cc: Krzysztof Kozlowski

The brcm,sd-head-align, brcm,sd_head_align and brcm,sd_sgentry_align are
not used by the driver and not present in dtschema:

  arch/arm/boot/dts/am5729-beagleboneai.dt.yaml: wifi@1:
    'brcm,sd-head-align', 'brcm,sd_head_align', 'brcm,sd_sgentry_align' do not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 arch/arm/boot/dts/am5729-beagleboneai.dts | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/arm/boot/dts/am5729-beagleboneai.dts b/arch/arm/boot/dts/am5729-beagleboneai.dts
index 149cfafb90bf..d3b2e87a6266 100644
--- a/arch/arm/boot/dts/am5729-beagleboneai.dts
+++ b/arch/arm/boot/dts/am5729-beagleboneai.dts
@@ -582,10 +582,6 @@ brcmf: wifi@1 {
 		reg = <1>;
 		compatible = "brcm,bcm4329-fmac";
 
-		brcm,sd-head-align = <4>;
-		brcm,sd_head_align = <4>;
-		brcm,sd_sgentry_align = <512>;
-
 		interrupt-parent = <&gpio3>;
 		interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
 		interrupt-names = "host-wake";
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] ARM: dts: am5729-beagleboneai: drop unused Broadcom WiFi properties
  2021-05-05 14:00 [PATCH] ARM: dts: am5729-beagleboneai: drop unused Broadcom WiFi properties Krzysztof Kozlowski
@ 2021-05-05 14:15 ` Robert Nelson
  2021-05-05 14:22   ` Krzysztof Kozlowski
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Nelson @ 2021-05-05 14:15 UTC (permalink / raw)
  To: Krzysztof Kozlowski, alexey.roslyakov, Drew Fustini, Jason Kridner
  Cc: Benoît Cousson, Tony Lindgren, Rob Herring, linux-omap,
	devicetree, linux kernel, linux-wireless, brcm80211-dev-list.pdl

On Wed, May 5, 2021 at 9:04 AM Krzysztof Kozlowski
<krzysztof.kozlowski@canonical.com> wrote:
>
> The brcm,sd-head-align, brcm,sd_head_align and brcm,sd_sgentry_align are
> not used by the driver and not present in dtschema:
>
>   arch/arm/boot/dts/am5729-beagleboneai.dt.yaml: wifi@1:
>     'brcm,sd-head-align', 'brcm,sd_head_align', 'brcm,sd_sgentry_align' do not match any of the regexes: 'pinctrl-[0-9]+'
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> ---
>  arch/arm/boot/dts/am5729-beagleboneai.dts | 4 ----
>  1 file changed, 4 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am5729-beagleboneai.dts b/arch/arm/boot/dts/am5729-beagleboneai.dts
> index 149cfafb90bf..d3b2e87a6266 100644
> --- a/arch/arm/boot/dts/am5729-beagleboneai.dts
> +++ b/arch/arm/boot/dts/am5729-beagleboneai.dts
> @@ -582,10 +582,6 @@ brcmf: wifi@1 {
>                 reg = <1>;
>                 compatible = "brcm,bcm4329-fmac";
>
> -               brcm,sd-head-align = <4>;
> -               brcm,sd_head_align = <4>;
> -               brcm,sd_sgentry_align = <512>;
> -
>                 interrupt-parent = <&gpio3>;
>                 interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
>                 interrupt-names = "host-wake";
> --
> 2.25.1
>

NAK, for what it is worth..

This is a plain old shitty situation, that everyone that mistakenly
chooses a BRCM based chipset in a design faces, then learns to NEVER
touch that chipset again..

These nodes have been posted before for mainline inclusion but always
get killed off:

https://lkml.org/lkml/2018/3/18/356

The TI AM57xx SDIO needs these flags for the brcmfmac driver to actually work.

I don't see the brcmfmac developers actually fixing it, as "out of
tree" work for brcmfmac is 100+ patches long:

https://www.cypress.com/documentation/software-and-drivers-archive/wifi-bt-linux-archive?source=search&cat=other

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] ARM: dts: am5729-beagleboneai: drop unused Broadcom WiFi properties
  2021-05-05 14:15 ` Robert Nelson
@ 2021-05-05 14:22   ` Krzysztof Kozlowski
  2021-05-05 15:10     ` Robert Nelson
  0 siblings, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2021-05-05 14:22 UTC (permalink / raw)
  To: Robert Nelson, alexey.roslyakov, Drew Fustini, Jason Kridner
  Cc: Benoît Cousson, Tony Lindgren, Rob Herring, linux-omap,
	devicetree, linux kernel, linux-wireless, brcm80211-dev-list.pdl

On 05/05/2021 10:15, Robert Nelson wrote:
> On Wed, May 5, 2021 at 9:04 AM Krzysztof Kozlowski
> <krzysztof.kozlowski@canonical.com> wrote:
>>
>> The brcm,sd-head-align, brcm,sd_head_align and brcm,sd_sgentry_align are
>> not used by the driver and not present in dtschema:
>>
>>   arch/arm/boot/dts/am5729-beagleboneai.dt.yaml: wifi@1:
>>     'brcm,sd-head-align', 'brcm,sd_head_align', 'brcm,sd_sgentry_align' do not match any of the regexes: 'pinctrl-[0-9]+'
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
>> ---
>>  arch/arm/boot/dts/am5729-beagleboneai.dts | 4 ----
>>  1 file changed, 4 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/am5729-beagleboneai.dts b/arch/arm/boot/dts/am5729-beagleboneai.dts
>> index 149cfafb90bf..d3b2e87a6266 100644
>> --- a/arch/arm/boot/dts/am5729-beagleboneai.dts
>> +++ b/arch/arm/boot/dts/am5729-beagleboneai.dts
>> @@ -582,10 +582,6 @@ brcmf: wifi@1 {
>>                 reg = <1>;
>>                 compatible = "brcm,bcm4329-fmac";
>>
>> -               brcm,sd-head-align = <4>;
>> -               brcm,sd_head_align = <4>;
>> -               brcm,sd_sgentry_align = <512>;
>> -
>>                 interrupt-parent = <&gpio3>;
>>                 interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
>>                 interrupt-names = "host-wake";
>> --
>> 2.25.1
>>
> 
> NAK, for what it is worth..
> 
> This is a plain old shitty situation, that everyone that mistakenly
> chooses a BRCM based chipset in a design faces, then learns to NEVER
> touch that chipset again..
> 
> These nodes have been posted before for mainline inclusion but always
> get killed off:
> 
> https://lkml.org/lkml/2018/3/18/356
> 
> The TI AM57xx SDIO needs these flags for the brcmfmac driver to actually work.
> 
> I don't see the brcmfmac developers actually fixing it, as "out of
> tree" work for brcmfmac is 100+ patches long:


Thanks for explanation. I understand these are actually used by
out-of-tree driver? That's a valid reason to add them to the binding then...

> 
> https://www.cypress.com/documentation/software-and-drivers-archive/wifi-bt-linux-archive?source=search&cat=other

Requires login - I am not able to get the sources.

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] ARM: dts: am5729-beagleboneai: drop unused Broadcom WiFi properties
  2021-05-05 14:22   ` Krzysztof Kozlowski
@ 2021-05-05 15:10     ` Robert Nelson
  2021-05-05 15:12       ` Krzysztof Kozlowski
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Nelson @ 2021-05-05 15:10 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: alexey.roslyakov, Drew Fustini, Jason Kridner,
	Benoît Cousson, Tony Lindgren, Rob Herring, linux-omap,
	devicetree, linux kernel, linux-wireless, brcm80211-dev-list.pdl

> > I don't see the brcmfmac developers actually fixing it, as "out of
> > tree" work for brcmfmac is 100+ patches long:
>
>
> Thanks for explanation. I understand these are actually used by
> out-of-tree driver? That's a valid reason to add them to the binding then...
>
> >
> > https://www.cypress.com/documentation/software-and-drivers-archive/wifi-bt-linux-archive?source=search&cat=other
>
> Requires login - I am not able to get the sources.

Sorry Krzysztof,

I forgot that a login is required, here is a quick mirror (with a
screenshot of the page.)

https://rcn-ee.net/workshops/cypress-fmac/

Screenshot: https://rcn-ee.net/workshops/cypress-fmac/brcm.png

There patch with that binding:

https://rcn-ee.net/workshops/cypress-fmac/cypress-fmac-v5.4.18-2021_0114/cypress-patch-v5.4.18-2021_0114/cypress-patch/0002-non-upstream-add-sg-parameters-dts-parsing.patch

Thank You!


Regards,

--
Robert Nelson
https://rcn-ee.com/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] ARM: dts: am5729-beagleboneai: drop unused Broadcom WiFi properties
  2021-05-05 15:10     ` Robert Nelson
@ 2021-05-05 15:12       ` Krzysztof Kozlowski
  0 siblings, 0 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2021-05-05 15:12 UTC (permalink / raw)
  To: Robert Nelson
  Cc: alexey.roslyakov, Drew Fustini, Jason Kridner,
	Benoît Cousson, Tony Lindgren, Rob Herring, linux-omap,
	devicetree, linux kernel, linux-wireless, brcm80211-dev-list.pdl

On 05/05/2021 11:10, Robert Nelson wrote:
>>> I don't see the brcmfmac developers actually fixing it, as "out of
>>> tree" work for brcmfmac is 100+ patches long:
>>
>>
>> Thanks for explanation. I understand these are actually used by
>> out-of-tree driver? That's a valid reason to add them to the binding then...
>>
>>>
>>> https://www.cypress.com/documentation/software-and-drivers-archive/wifi-bt-linux-archive?source=search&cat=other
>>
>> Requires login - I am not able to get the sources.
> 
> Sorry Krzysztof,
> 
> I forgot that a login is required, here is a quick mirror (with a
> screenshot of the page.)
> 
> https://rcn-ee.net/workshops/cypress-fmac/
> 
> Screenshot: https://rcn-ee.net/workshops/cypress-fmac/brcm.png
> 
> There patch with that binding:
> 
> https://rcn-ee.net/workshops/cypress-fmac/cypress-fmac-v5.4.18-2021_0114/cypress-patch-v5.4.18-2021_0114/cypress-patch/0002-non-upstream-add-sg-parameters-dts-parsing.patch

Thanks, I see it now!


Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-05 15:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-05 14:00 [PATCH] ARM: dts: am5729-beagleboneai: drop unused Broadcom WiFi properties Krzysztof Kozlowski
2021-05-05 14:15 ` Robert Nelson
2021-05-05 14:22   ` Krzysztof Kozlowski
2021-05-05 15:10     ` Robert Nelson
2021-05-05 15:12       ` Krzysztof Kozlowski

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).