mbox series

[v2,0/4] mtd: rawnand: brcmnand: Add BCMBCA support

Message ID 20241011-bcmbca-nand-support-v2-0-1fe928e5b933@linaro.org
Headers show
Series mtd: rawnand: brcmnand: Add BCMBCA support | expand

Message

Linus Walleij Oct. 11, 2024, 2:49 p.m. UTC
This adds support for the NAND controller on the Broadcom
BCA (Broadband Access) platforms.

This requires the series with brcmnand fixes that I sent
separately to be merged first. See:
https://patchwork.ozlabs.org/project/uboot/list/?series=424109

The development was done on the Genexis XG6846B which is
a derivative of the BCM96846 reference design, but probably
has a different flash layout, be sure to check the last
patch in the series for a comment on that.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Changes in v2:
- Switch to using OF_UPSTREAM instead of syncing DTS files.
- Mention the Linux version the BCMBCA NAND driver is based on.
- Link to v1: https://lore.kernel.org/r/20240930-bcmbca-nand-support-v1-0-e637c65de947@linaro.org

---
Linus Walleij (4):
      mtd: rawnand: brcmnand: Add BCMBCA RAW NAND driver
      drivers: nand: bcmbca: Enable on BCM6846
      board: bcm96846: Enable NAND options
      board: bcm96846: Switch to using OF_UPSTREAM

 arch/arm/dts/bcm6846.dtsi                   | 103 -------------------
 arch/arm/dts/bcm96846.dts                   |  30 ------
 arch/arm/mach-bcmbca/bcm6846/Kconfig        |   4 +
 configs/bcm96846_defconfig                  |  15 ++-
 drivers/mtd/nand/raw/Kconfig                |   7 ++
 drivers/mtd/nand/raw/brcmnand/Makefile      |   1 +
 drivers/mtd/nand/raw/brcmnand/bcmbca_nand.c | 152 ++++++++++++++++++++++++++++
 7 files changed, 178 insertions(+), 134 deletions(-)
---
base-commit: a404065479be2c1fe1167c3c91367e8194a69d1b
change-id: 20240930-bcmbca-nand-support-4447e176bbbd

Best regards,

Comments

Michael Nazzareno Trimarchi Oct. 11, 2024, 7:54 p.m. UTC | #1
Hi

On Fri, Oct 11, 2024 at 4:49 PM Linus Walleij <linus.walleij@linaro.org> wrote:
>
> This adds support for the NAND controller on the Broadcom
> BCA (Broadband Access) platforms.
>
> This requires the series with brcmnand fixes that I sent
> separately to be merged first. See:
> https://patchwork.ozlabs.org/project/uboot/list/?series=424109
>
> The development was done on the Genexis XG6846B which is
> a derivative of the BCM96846 reference design, but probably
> has a different flash layout, be sure to check the last
> patch in the series for a comment on that.
>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> Changes in v2:
> - Switch to using OF_UPSTREAM instead of syncing DTS files.
> - Mention the Linux version the BCMBCA NAND driver is based on.
> - Link to v1: https://lore.kernel.org/r/20240930-bcmbca-nand-support-v1-0-e637c65de947@linaro.org
>

Acked-by: Michael Trimarchi <michael@amarulasolutions.com>

I will queue in weekend

Michael

> ---
> Linus Walleij (4):
>       mtd: rawnand: brcmnand: Add BCMBCA RAW NAND driver
>       drivers: nand: bcmbca: Enable on BCM6846
>       board: bcm96846: Enable NAND options
>       board: bcm96846: Switch to using OF_UPSTREAM
>
>  arch/arm/dts/bcm6846.dtsi                   | 103 -------------------
>  arch/arm/dts/bcm96846.dts                   |  30 ------
>  arch/arm/mach-bcmbca/bcm6846/Kconfig        |   4 +
>  configs/bcm96846_defconfig                  |  15 ++-
>  drivers/mtd/nand/raw/Kconfig                |   7 ++
>  drivers/mtd/nand/raw/brcmnand/Makefile      |   1 +
>  drivers/mtd/nand/raw/brcmnand/bcmbca_nand.c | 152 ++++++++++++++++++++++++++++
>  7 files changed, 178 insertions(+), 134 deletions(-)
> ---
> base-commit: a404065479be2c1fe1167c3c91367e8194a69d1b
> change-id: 20240930-bcmbca-nand-support-4447e176bbbd
>
> Best regards,
> --
> Linus Walleij <linus.walleij@linaro.org>
>
Michael Nazzareno Trimarchi Oct. 14, 2024, 7:19 a.m. UTC | #2
Hi

On Fri, Oct 11, 2024 at 9:54 PM Michael Nazzareno Trimarchi
<michael@amarulasolutions.com> wrote:
>
> Hi
>
> On Fri, Oct 11, 2024 at 4:49 PM Linus Walleij <linus.walleij@linaro.org> wrote:
> >
> > This adds support for the NAND controller on the Broadcom
> > BCA (Broadband Access) platforms.
> >
> > This requires the series with brcmnand fixes that I sent
> > separately to be merged first. See:
> > https://patchwork.ozlabs.org/project/uboot/list/?series=424109
> >
> > The development was done on the Genexis XG6846B which is
> > a derivative of the BCM96846 reference design, but probably
> > has a different flash layout, be sure to check the last
> > patch in the series for a comment on that.
> >
> > Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> > ---
> > Changes in v2:
> > - Switch to using OF_UPSTREAM instead of syncing DTS files.
> > - Mention the Linux version the BCMBCA NAND driver is based on.
> > - Link to v1: https://lore.kernel.org/r/20240930-bcmbca-nand-support-v1-0-e637c65de947@linaro.org
> >
>
> Acked-by: Michael Trimarchi <michael@amarulasolutions.com>
>
> I will queue in weekend

Applied thanks

Michael

>
> Michael
>
> > ---
> > Linus Walleij (4):
> >       mtd: rawnand: brcmnand: Add BCMBCA RAW NAND driver
> >       drivers: nand: bcmbca: Enable on BCM6846
> >       board: bcm96846: Enable NAND options
> >       board: bcm96846: Switch to using OF_UPSTREAM
> >
> >  arch/arm/dts/bcm6846.dtsi                   | 103 -------------------
> >  arch/arm/dts/bcm96846.dts                   |  30 ------
> >  arch/arm/mach-bcmbca/bcm6846/Kconfig        |   4 +
> >  configs/bcm96846_defconfig                  |  15 ++-
> >  drivers/mtd/nand/raw/Kconfig                |   7 ++
> >  drivers/mtd/nand/raw/brcmnand/Makefile      |   1 +
> >  drivers/mtd/nand/raw/brcmnand/bcmbca_nand.c | 152 ++++++++++++++++++++++++++++
> >  7 files changed, 178 insertions(+), 134 deletions(-)
> > ---
> > base-commit: a404065479be2c1fe1167c3c91367e8194a69d1b
> > change-id: 20240930-bcmbca-nand-support-4447e176bbbd
> >
> > Best regards,
> > --
> > Linus Walleij <linus.walleij@linaro.org>
> >
>
>
> --
> Michael Nazzareno Trimarchi
> Co-Founder & Chief Executive Officer
> M. +39 347 913 2170
> michael@amarulasolutions.com
> __________________________________
>
> Amarula Solutions BV
> Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
> T. +31 (0)85 111 9172
> info@amarulasolutions.com
> www.amarulasolutions.com