From: Arend van Spriel <arend.vanspriel@broadcom.com>
To: Antony Antony <antony@phenome.org>
Cc: Rob Herring <robh@kernel.org>, Chen-Yu Tsai <wens@csie.org>,
Kalle Valo <kvalo@codeaurora.org>,
Mark Rutland <mark.rutland@arm.com>,
Icenowy Zheng <icenowy@aosc.io>,
devicetree <devicetree@vger.kernel.org>,
Hans de Goede <hdegoede@redhat.com>,
linux-wireless <linux-wireless@vger.kernel.org>,
Maxime Ripard <maxime.ripard@free-electrons.com>
Subject: Re: [PATCH] Documentation: dt-binding: net: wireless: add bcm43430-fmac
Date: Mon, 4 Sep 2017 19:37:15 +0200 [thread overview]
Message-ID: <7f07455d-88b6-3ab5-4cdd-dc38e019ac2a@broadcom.com> (raw)
In-Reply-To: <20170904144230.yuadvqiruj73q5t3@AntonyAntony.local>
On 04-09-17 16:42, Antony Antony wrote:
> Hi Arend,
>
> On Fri, Sep 01, 2017 at 11:30:59PM +0200, Arend van Spriel wrote:
>>>> 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.
>>>
>>> In my expereince this how it seems to work.
>>>
>>> I jsut discovered s/brcm,bcm4329-fmac/brcm/ can load the broadcom driver.
>>>
>>> brcmf: wifi@1 {
>>> reg = <1>;
>>> compatible = "brcm";
>>> };
>>>
>>> This looks better to me. Maxime, Would this work?
>>
>> I have no idea what you are saying here. To what exactly do you apply that
>> substitute. In brcmfmac I have:
>
> Thanks for pointing me to the relevent code. I was asking about DT support I
> submitted.
>
>>
>> if (!np || bus_type != BRCMF_BUSTYPE_SDIO ||
>> !of_device_is_compatible(np, "brcm,bcm4329-fmac"))
>> return;
>>
>> In my perception using "brcm" goes against DT compatible naming convention.
>
> It seems the driver has a special place holder, bcm4329-fmac.
> I am still wondering what is acceptable in the DT.
>
> compatible = ""brcm,bcm4329-fmac";
> or
> compatible = "brcm";
>
> The last one does not generate any warnings.
Ok. So what warning do you get when using "brcm,bcm4329-fmac"? Or did
you really try ""brcm,bcm4329-fmac" as mentioned above?
Regards,
Arend
next prev parent reply other threads:[~2017-09-04 17:37 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
2017-08-30 2:28 ` Chen-Yu Tsai
2017-08-30 12:02 ` Antony Antony
2017-09-01 16:49 ` Rob Herring
2017-09-01 19:10 ` Arend van Spriel
2017-09-01 20:40 ` Antony Antony
2017-09-01 21:30 ` Arend van Spriel
2017-09-04 14:42 ` Antony Antony
2017-09-04 17:37 ` Arend van Spriel [this message]
2017-09-01 21:38 ` Rob Herring
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=7f07455d-88b6-3ab5-4cdd-dc38e019ac2a@broadcom.com \
--to=arend.vanspriel@broadcom.com \
--cc=antony@phenome.org \
--cc=devicetree@vger.kernel.org \
--cc=hdegoede@redhat.com \
--cc=icenowy@aosc.io \
--cc=kvalo@codeaurora.org \
--cc=linux-wireless@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=maxime.ripard@free-electrons.com \
--cc=robh@kernel.org \
--cc=wens@csie.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