All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea della Porta <andrea.porta@suse.com>
To: Peter Robinson <pbrobinson@gmail.com>
Cc: linux-mmc@vger.kernel.org,
	Andrea della Porta <andrea.porta@suse.com>,
	Stefan Wahren <wahrenst@gmx.net>,
	Adrian Hunter <adrian.hunter@intel.com>,
	Ulf Hansson <ulf.hansson@linaro.org>
Subject: Re: [PATCH] mmc: sdhci-brcmstb: Add ARCH_BCM2835 option
Date: Thu, 20 Jun 2024 14:08:55 +0200	[thread overview]
Message-ID: <ZnQb1_K1Ctvhtngy@apocalypse> (raw)
In-Reply-To: <20240620074248.152353-1-pbrobinson@gmail.com>

Hi Peter,

On 08:42 Thu 20 Jun     , Peter Robinson wrote:
> The Raspberry Pi devices have to date all used ARCH_BCM2835
> as their SoC arch dependency so configurations that use this
> and not BRCMSTB won't end up with this module in their config.

AFAIK the BCM2712 (RPi5) is the only SoC of the Raspberry family
that has an MMC host controller that is more or less like the one
present on the STB line silicon. Adding ARCH_BCM2835 to the dependency
will then allow RPi<=4 to use this driver for which they do not
have the relevant hw.
If I'm correct about the aforementioned point, I'd be inclined to
avoid this change, then.

Many thanks,
Andrea

> 
> Cc: Andrea della Porta <andrea.porta@suse.com>
> Cc: Stefan Wahren <wahrenst@gmx.net>
> Cc: Adrian Hunter <adrian.hunter@intel.com>
> Cc: Ulf Hansson <ulf.hansson@linaro.org>
> Fixes: 40f22df5269e6 ("mmc: sdhci-brcmstb: Add BCM2712 support")
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
> ---
>  drivers/mmc/host/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
> index bb0d4fb0892ae..eb3ecfe055910 100644
> --- a/drivers/mmc/host/Kconfig
> +++ b/drivers/mmc/host/Kconfig
> @@ -1016,7 +1016,7 @@ config MMC_SDHCI_MICROCHIP_PIC32
>  
>  config MMC_SDHCI_BRCMSTB
>  	tristate "Broadcom SDIO/SD/MMC support"
> -	depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
> +	depends on ARCH_BRCMSTB || ARCH_BCM2835 || BMIPS_GENERIC || COMPILE_TEST
>  	depends on MMC_SDHCI_PLTFM
>  	select MMC_CQHCI
>  	default ARCH_BRCMSTB || BMIPS_GENERIC
> -- 
> 2.45.2
> 

  reply	other threads:[~2024-06-20 12:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-20  7:42 [PATCH] mmc: sdhci-brcmstb: Add ARCH_BCM2835 option Peter Robinson
2024-06-20 12:08 ` Andrea della Porta [this message]
2024-06-20 12:22   ` Peter Robinson
2024-06-20 12:29     ` Andrea della Porta
2024-06-20 13:03       ` Peter Robinson
2024-06-20 13:51         ` Andrea della Porta
2024-06-20 15:14 ` Ulf Hansson

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=ZnQb1_K1Ctvhtngy@apocalypse \
    --to=andrea.porta@suse.com \
    --cc=adrian.hunter@intel.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=pbrobinson@gmail.com \
    --cc=ulf.hansson@linaro.org \
    --cc=wahrenst@gmx.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.