Linux wireless drivers development
 help / color / mirror / Atom feed
From: Arend van Spriel <arend.vanspriel@broadcom.com>
To: "Alessio Ferri" <alessio.ferri@mythread.it>,
	"Rafał Miłecki" <zajec5@gmail.com>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Philipp Zabel" <p.zabel@pengutronix.de>,
	"Florian Fainelli" <florian.fainelli@broadcom.com>
Cc: linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org,
	devicetree@vger.kernel.org
Subject: Re: [PATCH 0/4] bcma: support SHIM-attached big-endian SoC backplanes (BCM6362)
Date: Mon, 6 Jul 2026 14:22:31 +0200	[thread overview]
Message-ID: <a860b1ca-ca5e-4ac6-b9b8-dc1d35e18aa7@broadcom.com> (raw)
In-Reply-To: <20260529-add-bcm6362-wlan-v1-0-722242777f58@gmail.com>

On 29/05/2026 02:05, Alessio Ferri wrote:
> Some BMIPS xDSL SoCs (BCM6362) integrate a Broadcom 802.11 backplane that is reachable
> through bcma but differs from the BCM47xx SoCs host_soc was written for:
> the AXI backplane is big-endian on a big-endian CPU, and the cores bcma must gate
> (ChipCommon, the 802.11 core, the SHIM core) expose no per-core DMP wrappers — clock
> and reset live in a small SoC-level SHIM Control register instead.
> 
> Rather than describe these quirks as DT properties on the bcma node, the SoC-specific
> configuration is delivered to host_soc via platform_data from a parent bridge driver. The
> bcma DT node stays a plain "brcm,bus-axi" and all the 6362-specific knowledge lives in the
> bridge driver. The standard brcm,bus-axi path is unchanged.
> 
> The series is:
>    1/4  bcma: support driver specific quirks from soc pdata
>    2/4  bcma: allow SHIM-style mini-EROM wrapper-less cores in scan
>    3/4  dt-bindings: bus: add brcm,bcm6362-wlan
>    4/4  bus: add BCM6362 on-chip WLAN SHIM bridge driver
> 
> Patches 1-2 touch drivers/bcma (wireless tree); patch 3 is a new drivers/bus driver; patch 4 is
> the binding. The patches are sent together to keep the whole context intact.
> 
> The original Broadcom driver materialized a fake PCI device, i don't think that would be allowed
> in the kernel.
> 
> Tested on a D-Link DSL-3580L (BCM6362, d11 corerev 22, N-PHY):
> - SHIM brings the backplane up,
> - bcma enumerates ChipCommon + the 802.11 core,
> - b43 binds.
> 
> b43 patches are necessary for the last point, but those has
> already been sent in linux-wireless.

Hi Alessio,

This patch series ended up on my patchwork plate for the linux-wireless 
project. However, there is not much wifi specifics going on in these 
patches that I can comment on. So this probably needs the attention of 
Rafał and Florian who are already listed. Added linux-mips mailing list 
here. Hopefully it showed up on the review list in other subsystems.

Regarding this hardware I suspect the rest of the SoC used the Broadcom 
UBUS interconnect so the SHIM bridge would actually be a UBUS-AXI bridge 
of sorts which hooks up the WLAN cores.

Regards,
Arend

> Assisted-by: Claude:claude-4.8-opus
> Signed-off-by: Alessio Ferri <alessio.ferri@mythread.it>
> 
> ---
> Alessio Ferri (4):
>        bcma: support driver specific quirks from soc pdata
>        bcma: allow SHIM-style mini-EROM wrapper-less cores in scan
>        dt-bindings: bus: add brcm,bcm6362-wlan
>        bus: add BCM6362 on-chip WLAN SHIM bridge driver

      parent reply	other threads:[~2026-07-06 12:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-29  0:05 [PATCH 0/4] bcma: support SHIM-attached big-endian SoC backplanes (BCM6362) Alessio Ferri
2026-05-29  0:05 ` [PATCH 1/4] bcma: support driver specific quirks from soc pdata Alessio Ferri
2026-05-29  0:06 ` [PATCH 2/4] bcma: allow SHIM-style mini-EROM wrapper-less cores in scan Alessio Ferri
2026-05-29  0:06 ` [PATCH 3/4] dt-bindings: bus: add brcm,bcm6362-wlan Alessio Ferri
2026-05-30 11:50   ` Krzysztof Kozlowski
2026-06-02 22:18     ` Alessio Ferri
2026-06-03  9:29   ` Philipp Zabel
2026-05-29  0:06 ` [PATCH 4/4] bus: add BCM6362 on-chip WLAN SHIM bridge driver Alessio Ferri
2026-06-03  9:28   ` Philipp Zabel
2026-07-06 12:22 ` Arend van Spriel [this message]

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=a860b1ca-ca5e-4ac6-b9b8-dc1d35e18aa7@broadcom.com \
    --to=arend.vanspriel@broadcom.com \
    --cc=alessio.ferri@mythread.it \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=florian.fainelli@broadcom.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=robh@kernel.org \
    --cc=zajec5@gmail.com \
    /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