MUST be set before populating FC */
- brcmnand_write_reg(ctrl, BRCMNAND_CMD_ADDRESS,
- lower_32_bits(addr));
- (void)brcmnand_read_reg(ctrl, BRCMNAND_CMD_ADDRESS);
+ brcmnand_set_cmd_addr(mtd, addr);
if (buf) {
brcmnand_soc_data_bus_prepare(ctrl->soc, false);
Acked-by: William Zhang
smime.p7s
Description: S/MIME Cryptographic Signature
and_flash_dma_revision_init(ctrl);
+
+ /* linked-list and stop on error */
+ flash_dma_writel(ctrl, FLASH_DMA_MODE, FLASH_DMA_MODE_MASK);
flash_dma_writel(ctrl, FLASH_DMA_ERROR_STATUS, 0);
/* Allocate descriptor(s) */
Acked-by: William Zhang
smime.p7s
Description: S/MIME Cryptographic Signature
chip->ecc.size,
oob, sas, NULL, 0,
chip->ecc.strength);
if (ret < 0)
Acked-by: William Zhang
smime.p7s
Description: S/MIME Cryptographic Signature
nand_version > 0x0602) {
+ flash_dma_writel(ctrl, FLASH_DMA_FIRST_DESC_EXT,
+upper_32_bits(desc));
+ (void)flash_dma_readl(ctrl, FLASH_DMA_FIRST_DESC_EXT);
+ }
/* Start FLASH_DMA engine */
ctrl->dma_pending = true;
ret = nand_check_erased_ecc_chunk(ecc_chunk, chip->ecc.size,
+ ecc_bytes, ecc.length,
+ NULL, 0,
chip->ecc.strength);
if (ret < 0)
t;nand_version >= 0x0303)
+ ctrl->reg_offsets = brcmnand_regs_v33;
/* Chip-select stride */
if (ctrl->nand_version >= 0x0701)
Acked-by: William Zhang
smime.p7s
Description: S/MIME Cryptographic Signature
v3.3-5.0 have a different CS0 offset layout */
+ if (ctrl->nand_version >= 0x0303 &&
+ ctrl->nand_version <= 0x0500)
ctrl->cs0_offsets = brcmnand_cs_offsets_cs0;
}
Acked-by: William Zhang
smime.p7s
Description: S/MIME Cryptographic Signature
zes = page_sizes;
+ ctrl->page_sizes = page_sizes_v3_4;
if (ctrl->nand_version >= 0x0600)
ctrl->block_sizes = block_sizes_v6;
else
Acked-by: William Zhang
smime.p7s
Description: S/MIME Cryptographic Signature
e_area_size;
+ }
nand_writereg(ctrl, acc_control_offs, tmp);
brcmnand_set_sector_size_1k(host, cfg->sector_size_1k);
@@ -2543,6 +2608,8 @@ const struct dev_pm_ops brcmnand_pm_ops = {
EXPORT_SYMBOL_GPL(brcmnand_pm_ops);
static const struct of_device_id brcmnand_of_match[] = {
_read_oob_raw;
+ }
+
return ret;
}
Acked-by: William Zhang
smime.p7s
Description: S/MIME Cryptographic Signature
Hi Linus.
On 02/11/2023 07:28 AM, Linus Walleij wrote:
Hunting down a bug on my system I took to back-porting
all reasonable changes from the Linux brcmnand driver that
were not yet in the U-Boot derivative.
I noticed that a simple diff -ur between brcmnand.c
between the file in Linux and U-Boo
@@ static int nand_dt_init(struct mtd_info *mtd, struct
nand_chip *chip, ofnode nod
return -EINVAL;
}
+ chip->ecc.algo = ecc_algo;
+
if (ecc_mode >= 0)
chip->ecc.mode = ecc_mode;
Acked-by: William Zhang
smime.p7s
Description: S/MIME Cryptographic Signature
proc_nand_soc),
+};
+
+void board_nand_init(void)
+{
+ struct udevice *dev;
+ int ret;
+
+ ret = uclass_get_device_by_driver(UCLASS_MTD,
+ DM_DRIVER_GET(iproc_nand), &dev);
+ if (ret && ret != -ENODEV)
+
Hi Florian,
Thanks for the review! Please see my comments inline blow,
On 08/08/2022 08:29 PM, Florian Fainelli wrote:
On 8/5/2022 6:33 PM, William Zhang wrote:
Broadcom BCA (Broadband Carrier Access origin) chipset family includes
DSL, PON and WLAN access point and gateway SoC. Now that
and the
original dts is updated with the one from linux next git repository.
The u-boot image can be loaded from flash or network to the entry
point address in the memory and boot from there to the console.
Signed-off-by: William Zhang
---
MAINTAINERS | 1
Now that BCM63158 is supported under CONFIG_ARCH_BCMBCA and
CONFIG_BCM63158, remove the original ARCH_BCM63158 support and migrate
configuration settings.
Signed-off-by: William Zhang
---
arch/arm/Kconfig | 8 +---
arch/arm/dts/Makefile| 3 --
board
As CONFIG_ARCH_BCM63158 is replaced with CONFIG_BCM63158, update the
driver Kconfig to use the new config symbol
Signed-off-by: William Zhang
---
drivers/gpio/Kconfig | 2 +-
drivers/led/Kconfig | 2 +-
drivers/mtd/nand/raw/Kconfig | 2 +-
drivers/spi/Kconfig | 2
Since ARCH_BCM63158 SoC support is merged into ARCH_BCMBCA, add BCM63158
maintainer Philippe to bcmbca maintainer list.
Signed-off-by: William Zhang
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 5b219d62f6bf..d0a5b2352cc8 100644
--- a
BCM63158 carries the CONFIG_SYSRESET from the original configuration. It
provide reset_cpu function already so need to define weak version of the
dummy reset_cpu for other BCMBCA SoCs to avoid linking error.
Signed-off-by: William Zhang
---
board/broadcom/bcmbca/board.c | 2 +-
1 file changed
the BCM63158 support to ARCH_BCMBCA.
William Zhang (5):
arm: bcmbca: add bcm63158 SoC support under CONFIG_ARCH_BCMBCA
arm: bcmbca: remove bcm63158 support under CONFIG_ARCH_BCM63158
arm: bcmbca: make bcm63158 driver depending on CONFIG_BCM63158
MAINTAINERS: Add BCM63158 maintainer to
Sorry forgot to mention. This patch series need to apply on top of my
previous patch series:
https://lists.denx.de/pipermail/u-boot/2022-August/491061.html
On 08/11/2022 04:17 PM, William Zhang wrote:
BCM63158 is one of the Broadcom Broadband origin DSL Gateway router SoC.
It was originally
-by: William Zhang
---
MAINTAINERS | 1 +
arch/arm/dts/Makefile| 2 +
arch/arm/dts/bcm6856.dtsi| 103 +++
arch/arm/dts/bcm96856.dts| 30 +++
arch/arm/mach-bcmbca/Kconfig | 8
generic
bcmbca board folder.
- Merge the 68360.dtsi setting to the new 6856.dtsi file. Update board
dts with the new compatible string.
- Merge broadcom_bcm968360bg.h setting to the new bcm96856.h file.
Signed-off-by: William Zhang
---
arch/arm/Kconfig | 7
As CONFIG_ARCH_BCM68360 is replaced with CONFIG_BCM6856, update the
driver Kconfig to use the new config symbol
Signed-off-by: William Zhang
---
drivers/gpio/Kconfig | 2 +-
drivers/led/Kconfig | 2 +-
drivers/mtd/nand/raw/Kconfig | 2 +-
drivers/spi/Kconfig | 2
under the unified ARCH_BCMBCA config. This
patch series migrate the BCM68360 support under the config of
ARCH_BCMBCA and BCM6856.
This patch series need to apply on top of my previous patch series [1].
[1] https://lists.denx.de/pipermail/u-boot/2022-August/491581.html
William Zhang (3):
arm
under the unified ARCH_BCMBCA config. This
patch series migrate the BCM68360 support under the config of
ARCH_BCMBCA and BCM6856.
This patch series need to apply on top of my previous patch series [1].
[1] https://lists.denx.de/pipermail/u-boot/2022-August/491581.html
William Zhang (3):
arm
Reynes copyright tag from 68360 dts to 6856 dts
William Zhang (3):
arm: bcmbca: add bcm6856 SoC support under CONFIG_ARCH_BCMBCA
arm: bcmbca: remove bcm68360 support under CONFIG_ARCH_BCM68360
arm: bcmbca: make bcm68360 driver depending on CONFIG_BCM6856
MAINTAINERS
-by: William Zhang
---
(no changes since v1)
MAINTAINERS | 1 +
arch/arm/dts/Makefile| 2 +
arch/arm/dts/bcm6856.dtsi| 103 +++
arch/arm/dts/bcm96856.dts| 30 +++
arch/arm/mach-bcmbca
generic
bcmbca board folder.
- Merge the 68360.dtsi setting to the new 6856.dtsi file. Update board
dts with the new compatible string.
- Merge broadcom_bcm968360bg.h setting to the new bcm96856.h file.
Signed-off-by: William Zhang
---
Changes in v2:
- Bring Philippe Reynes copyright
As CONFIG_ARCH_BCM68360 is replaced with CONFIG_BCM6856, update the
driver Kconfig to use the new config symbol
Signed-off-by: William Zhang
---
(no changes since v1)
drivers/gpio/Kconfig | 2 +-
drivers/led/Kconfig | 2 +-
drivers/mtd/nand/raw/Kconfig | 2 +-
drivers/spi
other BCA chip convention.
- Remove bcm963158_ram_defconfig per discussion with Philippe as a
basic config version of bcm963158_defconfig is now added.
William Zhang (5):
arm: bcmbca: add bcm63158 SoC support under CONFIG_ARCH_BCMBCA
arm: bcmbca: remove bcm63158 support under CONFIG_ARCH_BCM63158
-off-by: William Zhang
---
Changes in v2:
- Remove extra nodes from bcm963158.dts and keep it as a generic minimun
board support dts following other BCA chip convention.
MAINTAINERS | 1 +
arch/arm/dts/Makefile | 2 +
arch/arm/dts/bcm63158
As CONFIG_ARCH_BCM63158 is replaced with CONFIG_BCM63158, update the
driver Kconfig to use the new config symbol
Signed-off-by: William Zhang
---
(no changes since v1)
drivers/gpio/Kconfig | 2 +-
drivers/led/Kconfig | 2 +-
drivers/mtd/nand/raw/Kconfig | 2 +-
drivers/spi
Now that BCM63158 is supported under CONFIG_ARCH_BCMBCA and
CONFIG_BCM63158, remove the original ARCH_BCM63158 support and migrate
configuration settings.
Signed-off-by: William Zhang
---
Changes in v2:
- Remove bcm963158_ram_defconfig per discussion with Philippe as a
basic config version of
Since ARCH_BCM63158 SoC support is merged into ARCH_BCMBCA, add BCM63158
maintainer Philippe to bcmbca maintainer list.
Signed-off-by: William Zhang
---
(no changes since v1)
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 5b219d62f6bf
BCM63158 carries the CONFIG_SYSRESET from the original configuration. It
provide reset_cpu function already so need to define weak version of the
dummy reset_cpu for other BCMBCA SoCs to avoid linking error.
Signed-off-by: William Zhang
---
(no changes since v1)
board/broadcom/bcmbca/board.c
bcm968360bg_ram_defconfig per discussion with Philippe as a
basic config version of bcm96856_defconfig is now added.
- Update commit message
Changes in v2:
- Bring Philippe Reynes copyright tag from 68360 dts to 6856 dts
William Zhang (3):
arm: bcmbca: add bcm6856 SoC support under CONFIG_ARCH_BCMBCA
-by: William Zhang
---
(no changes since v1)
MAINTAINERS | 1 +
arch/arm/dts/Makefile| 2 +
arch/arm/dts/bcm6856.dtsi| 103 +++
arch/arm/dts/bcm96856.dts| 30 +++
arch/arm/mach-bcmbca
bcm96856_defconfig is now added.
Signed-off-by: William Zhang
---
Changes in v3:
- Remove bcm968360bg_ram_defconfig per discussion with Philippe as a
basic config version of bcm96856_defconfig is now added.
- Update commit message
Changes in v2:
- Bring Philippe Reynes copyright tag from 68360 dts to 6856 dts
As CONFIG_ARCH_BCM68360 is replaced with CONFIG_BCM6856, update the
driver Kconfig to use the new config symbol
Signed-off-by: William Zhang
---
(no changes since v1)
drivers/gpio/Kconfig | 2 +-
drivers/led/Kconfig | 2 +-
drivers/mtd/nand/raw/Kconfig | 2 +-
drivers/spi
the BCM6858 support under the config of ARCH_BCMBCA and
BCM6858.
This patch series need to apply on top of my previous patch series [1].
[1]: https://lists.denx.de/pipermail/u-boot/2022-August/492078.html
William Zhang (3):
arm: bcmbca: add bcm6858 SoC support under CONFIG_ARCH_BCMBCA
arm
and the
original dts is updated with the one from linux next git repository.
The u-boot image can be loaded from flash or network to the entry point
address in the memory and boot from there to the console.
Signed-off-by: William Zhang
---
MAINTAINERS | 1 +
arch
board dts with the new compatible string.
- Delete broadcom_bcm968580xref.h and merge its setting to the new
bcm96858.h file.
- Remove bcm968580xref_ram_defconfig as a basic config version of
bcm96858_defconfig is now added.
Signed-off-by: William Zhang
---
arch/arm/Kconfig
As CONFIG_ARCH_BCM6858 is replaced with CONFIG_BCM6858, update the
driver Kconfig to use the new config symbol.
Signed-off-by: William Zhang
---
drivers/gpio/Kconfig | 3 +--
drivers/led/Kconfig | 2 +-
drivers/mtd/nand/raw/Kconfig | 2 +-
drivers/spi/Kconfig | 3
.
[1]: https://lists.denx.de/pipermail/u-boot/2022-August/492082.html
William Zhang (3):
arm: bcmbca: add bcm6855 SoC support under CONFIG_ARCH_BCMBCA
arm: bcmbca: remove bcm6753 support under CONFIG_ARCH_BCM6753
arm: bcmbca: make bcm6753 driver depending on CONFIG_BCM6855
MAINTAINERS
-off-by: William Zhang
---
MAINTAINERS | 1 +
arch/arm/dts/Makefile | 2 +
arch/arm/dts/bcm6855.dtsi | 120 ++
arch/arm/dts/bcm96855.dts | 30 +++
arch/arm/mach-bcmbca/Kconfig | 8 ++
arch
basic config version of
bcm96855_defconfig
Signed-off-by: William Zhang
---
arch/arm/Kconfig | 8 -
arch/arm/dts/Makefile| 6 +-
arch/arm/dts/bcm6753.dtsi| 208 ---
arch/arm/dts/bcm6855.dtsi| 137
As CONFIG_ARCH_BCM6753 is replaced with CONFIG_BCM6855, update the
driver Kconfig to use the new config symbol.
Signed-off-by: William Zhang
---
drivers/gpio/Kconfig | 2 +-
drivers/led/Kconfig | 2 +-
drivers/mtd/nand/raw/Kconfig | 2 +-
drivers/watchdog/Kconfig | 2
with Philippe as a
basic config version of bcm963158_defconfig is now added.
William Zhang (5):
arm: bcmbca: add bcm63158 SoC support under CONFIG_ARCH_BCMBCA
arm: bcmbca: remove bcm63158 support under CONFIG_ARCH_BCM63158
arm: bcmbca: replace ARCH_BCM63158 symbols in Kconfig with BCM63158
-off-by: William Zhang
---
(no changes since v2)
Changes in v2:
- Remove extra nodes from bcm963158.dts and keep it as a generic minimun
board support dts following other BCA chip convention.
MAINTAINERS | 1 +
arch/arm/dts/Makefile | 2
Now that BCM63158 is supported under CONFIG_ARCH_BCMBCA and
CONFIG_BCM63158, remove the original ARCH_BCM63158 support and migrate
configuration settings.
Signed-off-by: William Zhang
---
(no changes since v2)
Changes in v2:
- Remove bcm963158_ram_defconfig per discussion with Philippe as a
As CONFIG_ARCH_BCM63158 is replaced with CONFIG_BCM63158, update the
Kconfig to use the new config symbol.
Signed-off-by: William Zhang
---
Changes in v3:
-Update subject line to be more clear
drivers/gpio/Kconfig | 2 +-
drivers/led/Kconfig | 2 +-
drivers/mtd/nand/raw
Since ARCH_BCM63158 SoC support is merged into ARCH_BCMBCA, add BCM63158
maintainer Philippe to bcmbca maintainer list.
Signed-off-by: William Zhang
---
(no changes since v1)
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 5b219d62f6bf
BCM63158 carries the CONFIG_SYSRESET from the original configuration. It
provide reset_cpu function already so need to define weak version of the
dummy reset_cpu for other BCMBCA SoCs to avoid linking error.
Signed-off-by: William Zhang
---
Changes in v3:
-Fix reset_cpu function prototype
discussion with Philippe as a
basic config version of bcm96856_defconfig is now added.
- Update commit message
Changes in v2:
- Bring Philippe Reynes copyright tag from 68360 dts to 6856 dts
William Zhang (3):
arm: bcmbca: add bcm6856 SoC support under CONFIG_ARCH_BCMBCA
arm: bcmbca: remove
-by: William Zhang
---
Changes in v4:
-Add help in BCM6856 Kconfig option to include the list of the supported
chips.
MAINTAINERS | 1 +
arch/arm/dts/Makefile| 2 +
arch/arm/dts/bcm6856.dtsi| 103 +++
arch
bcm96856_defconfig is now added.
Signed-off-by: William Zhang
---
(no changes since v3)
Changes in v3:
- Remove bcm968360bg_ram_defconfig per discussion with Philippe as a
basic config version of bcm96856_defconfig is now added.
- Update commit message
Changes in v2:
- Bring Philippe Reynes copyright tag from
As CONFIG_ARCH_BCM68360 is replaced with CONFIG_BCM6856, update the
driver Kconfig to use the new config symbol.
Signed-off-by: William Zhang
---
Changes in v4:
-Update subject line to be more clear for patch 3
drivers/gpio/Kconfig | 2 +-
drivers/led/Kconfig | 2 +-
drivers
://lists.denx.de/pipermail/u-boot/2022-August/492470.html
Changes in v2:
-Add help in BCM6858 Kconfig option to include the list of the supported
chips.
-Update subject line to be more clear for patch 3
William Zhang (3):
arm: bcmbca: add bcm6858 SoC support under CONFIG_ARCH_BCMBCA
arm: bcmbca: remove
and the
original dts is updated with the one from linux next git repository.
The u-boot image can be loaded from flash or network to the entry point
address in the memory and boot from there to the console.
Signed-off-by: William Zhang
---
Changes in v2:
-Add help in BCM6858 Kconfig option to
board dts with the new compatible string.
- Delete broadcom_bcm968580xref.h and merge its setting to the new
bcm96858.h file.
- Remove bcm968580xref_ram_defconfig as a basic config version of
bcm96858_defconfig is now added.
Signed-off-by: William Zhang
---
(no changes since v1)
arch/arm/Kconfig
As CONFIG_ARCH_BCM6858 is replaced with CONFIG_BCM6858, update the
driver Kconfig to use the new config symbol.
Signed-off-by: William Zhang
---
Changes in v2:
-Update subject line to be more clear for patch 3
drivers/gpio/Kconfig | 3 +--
drivers/led/Kconfig | 2 +-
drivers
subject line to be more clear for patch 3
William Zhang (3):
arm: bcmbca: add bcm6855 SoC support under CONFIG_ARCH_BCMBCA
arm: bcmbca: remove bcm6753 support under CONFIG_ARCH_BCM6753
arm: bcmbca: replace ARCH_BCM6753 symbols in Kconfig with BCM6855
MAINTAINERS
-off-by: William Zhang
---
Changes in v2:
- Add help in BCM6855 Kconfig option to include the list of the
supported chips.
MAINTAINERS | 1 +
arch/arm/dts/Makefile | 2 +
arch/arm/dts/bcm6855.dtsi | 120 ++
arch
basic config version of
bcm96855_defconfig
Signed-off-by: William Zhang
---
(no changes since v1)
arch/arm/Kconfig | 8 -
arch/arm/dts/Makefile| 6 +-
arch/arm/dts/bcm6753.dtsi| 208 ---
arch/arm/dts/bcm6855.dtsi
As CONFIG_ARCH_BCM6753 is replaced with CONFIG_BCM6855, update the
driver Kconfig to use the new config symbol.
Signed-off-by: William Zhang
---
Changes in v2:
- Update subject line to be more clear for patch 3
drivers/gpio/Kconfig | 2 +-
drivers/led/Kconfig | 2 +-
drivers
STI timer is actually ARM Cortex A9 global timer. Convert the driver to
use generic global timer name and make it consistent with Linux kernel
global timer driver. This also allows any A9 based device to use this
driver.
Signed-off-by: William Zhang
---
MAINTAINERS
As STI timer is renamed to ARM A9 global timer, change BCM63138 to use
the new global timer config symbol name.
This patch applies on top of the my previous patch [1].
[1]: https://lists.denx.de/pipermail/u-boot/2022-August//491060.html
Signed-off-by: William Zhang
---
arch/arm/mach-bcmbca
STI timer is actually ARM Cortex A9 global timer. Convert the driver to
use generic global timer name and make it consistent with Linux kernel
global timer driver. This also allows any A9 based device to use this
driver.
Signed-off-by: William Zhang
---
(no changes since v1)
MAINTAINERS
As STI timer is renamed to ARM A9 global timer, change BCM63138 to use
the new global timer config symbol name.
This patch applies on top of the my previous patch [1].
[1]: https://lists.denx.de/pipermail/u-boot/2022-August/491060.html
Signed-off-by: William Zhang
---
Changes in v2:
- Fix
Bring the device tree binding document from Linux to u-boot
Port from linux patches:
Link:
https://lore.kernel.org/r/20230207065826.285013-2-william.zh...@broadcom.com
Link:
https://lore.kernel.org/r/20230207065826.285013-3-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
.../spi
SPI controller is always presented in BCMBCA platform SoCs so enable the
controller driver and SPI core by default.
Signed-off-by: William Zhang
---
arch/arm/Kconfig | 2 ++
arch/arm/mach-bcmbca/Kconfig | 11 +++
drivers/spi/Kconfig | 4 ++--
3 files changed, 15
New compatible string brcm,bcmbca-hsspi-v1.0 is introduced based on
dts document brcm,bcm63xx-hsspi.yaml. Add it to the driver to support
this new binding.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230207065826.285013-6-william.zh...@broadcom.com
Signed-off-by: William Zhang
meet
the above requirement, we switch to original dummy cs mode but limit the
clock rate to the safe 25MHz.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230209200246.141520-12-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
drivers/spi/bcm63xx_hsspi.c | 259
bcm63xx-hsspi driver are no longer needed and this new
driver is much cleaner.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230209200246.141520-15-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
arch/arm/mach-bcmbca/Kconfig | 15 ++
drivers/spi/Kconfig | 9
Add support for HSSPI controller in ARMv8 chip dts files.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230207065826.285013-5-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
arch/arm/dts/bcm4908.dtsi | 17 +
arch/arm/dts/bcm4912.dtsi | 20
Add entry for Broadcom Broadband SoC HS SPI drivers
Signed-off-by: William Zhang
---
MAINTAINERS | 8
1 file changed, 8 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 4c17c6cb9f1e..cfec29ee5c07 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -823,6 +823,14 @@ F: include
Add support for HSSPI controller in ARMv7 chip dts files.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230207065826.285013-4-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
arch/arm/dts/bcm47622.dtsi | 18 ++
arch/arm/dts/bcm63138.dtsi | 18
oadcom.com
Signed-off-by: William Zhang
---
drivers/spi/bcm63xx_hsspi.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/drivers/spi/bcm63xx_hsspi.c b/drivers/spi/bcm63xx_hsspi.c
index 495feba02262..0d12c345b1dd 100644
--- a/drivers/spi/bcm63xx_hsspi.c
+++ b/d
document is converted to yaml format and
updated accordingly.
[1]:
https://lore.kernel.org/all/20230207065826.285013-1-william.zh...@broadcom.com/
William Zhang (9):
dt-bindings: spi: Add bcm63xx-hsspi controller support
ARM: dts: broadcom: bcmbca: Add spi controller node
arm64: dts
Add support for HSSPI controller in ARMv7 chip dts files.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230207065826.285013-4-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
Changes in v2: None
arch/arm/dts/bcm47622.dtsi | 18 ++
arch/arm/dts/bcm63138
Add support for HSSPI controller in ARMv8 chip dts files.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230207065826.285013-5-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
Changes in v2: None
arch/arm/dts/bcm4908.dtsi | 17 +
arch/arm/dts/bcm4912
Bring the device tree binding document from Linux to u-boot
Port from linux patches:
Link:
https://lore.kernel.org/r/20230207065826.285013-2-william.zh...@broadcom.com
Link:
https://lore.kernel.org/r/20230207065826.285013-3-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
Changes
SPI controller is always presented in BCMBCA platform SoCs so enable the
controller driver and SPI core by default.
Signed-off-by: William Zhang
---
Changes in v2: None
arch/arm/Kconfig | 2 ++
arch/arm/mach-bcmbca/Kconfig | 11 +++
drivers/spi/Kconfig | 4
New compatible string brcm,bcmbca-hsspi-v1.0 is introduced based on
dts document brcm,bcm63xx-hsspi.yaml. Add it to the driver to support
this new binding.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230207065826.285013-6-william.zh...@broadcom.com
Signed-off-by: William Zhang
Add entry for Broadcom Broadband SoC HS SPI drivers
Signed-off-by: William Zhang
---
Changes in v2:
- Add Álvaro Fernández Rojas as another maintainer
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 4c17c6cb9f1e..a1d490e66ed4 100644
meet
the above requirement, we switch to original dummy cs mode but limit the
clock rate to the safe 25MHz.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230209200246.141520-12-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
Changes in v2: None
drivers/spi
oadcom.com
Signed-off-by: William Zhang
---
Changes in v2: None
drivers/spi/bcm63xx_hsspi.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/drivers/spi/bcm63xx_hsspi.c b/drivers/spi/bcm63xx_hsspi.c
index 495feba02262..0d12c345b1dd 100644
--- a/drivers/spi/bcm63
bcm63xx-hsspi driver are no longer needed and this new
driver is much cleaner.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230209200246.141520-15-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
Changes in v2: None
arch/arm/mach-bcmbca/Kconfig | 15 ++
drivers/spi
document is converted to yaml format and
updated accordingly.
[1]:
https://lore.kernel.org/all/20230207065826.285013-1-william.zh...@broadcom.com/
Changes in v2:
- Add Álvaro Fernández Rojas as another maintainer
William Zhang (9):
dt-bindings: spi: Add bcm63xx-hsspi controller support
ARM
Hi Tom,
On 08/08/2023 07:02 PM, Tom Rini wrote:
On Wed, Jun 07, 2023 at 04:37:10PM -0700, William Zhang wrote:
Add entry for Broadcom Broadband SoC HS SPI drivers
Signed-off-by: William Zhang
Can you please rebase this rest of this series on top of current next
and fix the compiler
mp;_min2); \
| ^~
drivers/spi/bcm63xx_hsspi.c:298:22: note: in expansion of macro ‘min’
298 | size_t curr_step = min(step_size, data_bytes);
This change fix this warning by casting the data_bytes to size_t.
Fixes: 0e144ec38cbb ("spi: bcm63xx-hsspi: Add prepend mode support")
Signed-off
Hi Linus,
I will try to review and test your patches late this week or early next
week. I don't have those old chips (v2.1, v2.2, v4) but will test on
some of recent Broadcom broadband(BCMBCA) SoCs with v7.0 and 7.1 controller.
Thanks,
William
On 01/16/2023 11:11 AM, Michael Nazzareno Trima
Hi Tom,
On 04/30/2024 07:41 PM, Tom Rini wrote:
Remove from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini
---
Cc: Anand Gore
Cc: William Zhang
Cc: Kursad Oney
Cc: Joel Peshkin
Cc: Philippe Reynes
Cc: Linus Walleij
Cc: Rayagonda
On 05/01/2024 06:31 PM, Tom Rini wrote:
Remove from this driver directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini
---
Cc: Tom Rini
Cc: Stefan Roese
Cc: Dario Binacchi
Cc: Michael Trimarchi
Cc: Anand Gore
Cc: William Zhang
Cc: Kursad Oney
Cc: Joel
On 05/01/2024 06:31 PM, Tom Rini wrote:
Remove from this driver directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini
---
Cc: Jagan Teki
Cc: Tom Rini
Cc: Anand Gore
Cc: William Zhang
Cc: Kursad Oney
Cc: Joel Peshkin
Cc: Philippe Reynes
Cc: Alex
Joel is no longer with Broadcom. Remove his email from bcmbca maintainer
list and replace him with myself for stack protection maintainer.
Signed-off-by: William Zhang
---
MAINTAINERS | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index
Thank you Daniel!
-Original Message-
From: Daniel Schwierzeck [mailto:daniel.schwierz...@gmail.com]
Sent: Friday, October 18, 2019 4:37 AM
To: William Zhang; philippe.rey...@softathome.com
Cc: u-boot@lists.denx.de
Subject: Re: [U-Boot] [PATCH] drivers: nand: brcmnand: fix nand_chip ecc
This is needed in the platforms that use "ranges" node property for
address translation in their dts for TPL.
Signed-off-by: William Zhang
---
drivers/core/Kconfig | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/core/Kconfig b/drivers/core/Kco
SE to 0x0100 from 0x1000 to work
on boards with 256MB or less memory
William Zhang (1):
arm: bcmbca: introduce the bcmbca architecture and 47622 SOC
MAINTAINERS| 11 +++
arch/arm/Kconfig | 7 ++
arch/arm/Makefile
1 - 100 of 173 matches
Mail list logo