From: Arend van Spriel <arend.vanspriel-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
To: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Antony Antony <antony-AVhj06Q78b5AfugRpC6u6w@public.gmane.org>
Cc: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>,
Kalle Valo <kvalo-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
Icenowy Zheng <icenowy-h8G6r0blFSE@public.gmane.org>,
devicetree <devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
linux-wireless
<linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Maxime Ripard
<maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
Subject: Re: [PATCH] Documentation: dt-binding: net: wireless: add bcm43430-fmac
Date: Fri, 1 Sep 2017 21:10:41 +0200 [thread overview]
Message-ID: <bb53a79e-8045-3c9b-8c98-8d4815c3b57a@broadcom.com> (raw)
In-Reply-To: <20170901164911.aiu5ej5u546z5kow@rob-hp-laptop>
On 01-09-17 18:49, Rob Herring wrote:
> On Wed, Aug 30, 2017 at 02:02:18PM +0200, Antony Antony wrote:
>> hi,
>>
>> On Wed, Aug 30, 2017 at 10:28:20AM +0800, Chen-Yu Tsai wrote:
>>> On Wed, Aug 30, 2017 at 5:43 AM, Antony Antony <antony-AVhj06Q78b5AfugRpC6u6w@public.gmane.org> wrote:
>>
>>>> a/Documentation/devicetree/bindings/net/wireless/brcm,bcm43xx-fmac.txt
>>>> +++ b/Documentation/devicetree/bindings/net/wireless/brcm,bcm43xx-fmac.txt
>>>> @@ -6,7 +6,9 @@ connects the device to the system.
>>>>
>>>> Required properties:
>>>>
>>>> - - compatible : Should be "brcm,bcm4329-fmac".
>>>> + - compatible : should be one of the following:
>>>> + * "brcm,bcm4329-fmac"
>>>> + * "brcm,bcm43430-fmac"
>>>
>>> You updated the bindings, but not the driver. So it's not actually
>>> going to work. More specifically, OOB interrupts won't work.
>>>
>>
>> understood, ignore this patch for now. Thanks Chen-Yu.
>>
>>> IIRC, The compatible string for this particular case, as it was
>>> originally proposed, only serves as a placeholder for the driver
>>> to check against. None of the instances in sunxi device trees
>>> match the actual chip model. Actual model matching is done
>>> through SDIO, as you've already seen.
>>
>> yes it seems SDIO driveer code is smarter, once it initialize
>> brcm,bcm4329-fmac it ignore the DT info and read the chip details to locate
>> firmware file.
>>
>> I also noticed other boards using bcm4329-fmac in similar situations.
>> https://patchwork.kernel.org/patch/9739181/
>>
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts?h=v4.13-rc7
>>
>> I will resend "NanoPi NEO Plus2" dts with "brcm,bcm4329-fmac" and see where
>> it goes.
>
> Adding the compatible or instead of? The former would be better. You
> should still have the actual chip in case you do have some difference to
> handle.
Hi Rob,
Actually the Broadcom wifi chips themselves are discoverable. So once
the driver has access to the register space of the device it can
determine the actual chip, its revision, and exactly what cores (and
their revision) are present in the chip. Hence there is a single
compatible string as there is no need to convey the same information
through device tree data.
Regards,
Arend
next prev parent reply other threads:[~2017-09-01 19:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-29 21:43 [PATCH] Documentation: dt-binding: net: wireless: add bcm43430-fmac Antony Antony
[not found] ` <20170829214309.34466-1-antony-AVhj06Q78b5AfugRpC6u6w@public.gmane.org>
2017-08-30 2:28 ` Chen-Yu Tsai
[not found] ` <CAGb2v66=JvS9wHkUNBwd+vHwx4NAQsaWyhx1OyEokSZizo+7-g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-30 12:02 ` Antony Antony
[not found] ` <20170830120218.ms3xuhp4qsibistv-sIi4olfLYEDaK4aX9S0K76zUEOm+Xw19@public.gmane.org>
2017-09-01 16:49 ` Rob Herring
2017-09-01 19:10 ` Arend van Spriel [this message]
[not found] ` <bb53a79e-8045-3c9b-8c98-8d4815c3b57a-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2017-09-01 20:40 ` Antony Antony
[not found] ` <20170901204030.2zpsoa4i53tdegs3-sIi4olfLYEDaK4aX9S0K76zUEOm+Xw19@public.gmane.org>
2017-09-01 21:30 ` Arend van Spriel
[not found] ` <8af0e096-f4b1-213f-d543-fa711e1961ad-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2017-09-04 14:42 ` Antony Antony
[not found] ` <20170904144230.yuadvqiruj73q5t3-sIi4olfLYEDaK4aX9S0K76zUEOm+Xw19@public.gmane.org>
2017-09-04 17:37 ` Arend van Spriel
2017-09-01 21:38 ` Rob Herring
[not found] ` <CAL_JsqLsnXYfyix3KLkEYguWAe-Wqcb9Nd22jM8HM2dnw4Frog-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-09-01 22:01 ` Arend van Spriel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bb53a79e-8045-3c9b-8c98-8d4815c3b57a@broadcom.com \
--to=arend.vanspriel-dy08kvg/lbpwk0htik3j/w@public.gmane.org \
--cc=antony-AVhj06Q78b5AfugRpC6u6w@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=icenowy-h8G6r0blFSE@public.gmane.org \
--cc=kvalo-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org \
--cc=robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=wens-jdAy2FN1RRM@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).