summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-04-20riscv: Enforce DWARF4 outputBin Meng
Since commit 409e4b547872 ("Makefile: Enforce DWARF4 output") the whole U-Boot build switched to enforce DWARF4 output, but RISC-V is still on its own setting. Let's switch to use U-Boot's setting. Signed-off-by: Bin Meng <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
2023-04-20riscv: Correct a comment in io.hBin Meng
Replace NDS32 with RISC-V in the comments. Signed-off-by: Bin Meng <[email protected]> Reviewed-by: Rick Chen <[email protected]>
2023-04-20configs: starfive: add starfive_visionfive2_defconfigYanhong Wang
This is the initial basic config for StarFive VisionFive v2 board. It includes consol, Norflash, sdio, ddr etc. Signed-off-by: Yanhong Wang <[email protected]> Tested-by: Conor Dooley <[email protected]>
2023-04-20riscv: dts: jh7110: Add initial StarFive VisionFive v2 board device treeYanhong Wang
Add initial device tree for StarFive VisionFive v2 board. Signed-off-by: Yanhong Wang <[email protected]> Tested-by: Conor Dooley <[email protected]>
2023-04-20riscv: dts: jh7110: Add initial u-boot device treeYanhong Wang
Add initial u-boot device tree for the JH7110 RISC-V SoC. Signed-off-by: Yanhong Wang <[email protected]> Tested-by: Conor Dooley <[email protected]>
2023-04-20riscv: dts: jh7110: Add initial StarFive JH7110 device treeYanhong Wang
Add initial device tree for the JH7110 RISC-V SoC. Signed-off-by: Yanhong Wang <[email protected]> Tested-by: Conor Dooley <[email protected]>
2023-04-20board: starfive: Add TARGET_STARFIVE_VISIONFIVE2 to KconfigYanhong Wang
Add board support for StarFive VisionFive v2. Signed-off-by: Yanhong Wang <[email protected]> Tested-by: Conor Dooley <[email protected]>
2023-04-20board: starfive: Add Kconfig for StarFive VisionFive v2 BoardYanhong Wang
Add Kconfig to select the basic functions for StarFive VisionFive v2 Board. Signed-off-by: Yanhong Wang <[email protected]> Tested-by: Conor Dooley <[email protected]>
2023-04-20riscv: cpu: jh7110: Add Kconfig for StarFive JH7110 SoCYanhong Wang
Add Kconfig to select the basic functions for StarFive JH7110 SoC. Signed-off-by: Yanhong Wang <[email protected]> Tested-by: Conor Dooley <[email protected]>
2023-04-20board: starfive: add StarFive VisionFive v2 board supportYanhong Wang
Add board support for StarFive VisionFive v2. Signed-off-by: Yanhong Wang <[email protected]> Tested-by: Conor Dooley <[email protected]>
2023-04-20ram: starfive: add ddr driverYanhong Wang
Add driver for StarFive JH7110 to support ddr initialization in SPL. Signed-off-by: Yanhong Wang <[email protected]> Tested-by: Conor Dooley <[email protected]>
2023-04-20pinctrl: starfive: Add StarFive JH7110 driverKuan Lim Lee
Add pinctrl driver for StarFive JH7110 SoC. Signed-off-by: Kuan Lim Lee <[email protected]> Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Jianlong Huang <[email protected]> Signed-off-by: Yanhong Wang <[email protected]> Tested-by: Conor Dooley <[email protected]>
2023-04-20dt-bindings: pinctrl: Add StarFive JH7110 pinctrl definitionsJianlong Huang
Add pinctrl definitions for StarFive JH7110 SoC. Signed-off-by: Kuan Lim Lee <[email protected]> Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Jianlong Huang <[email protected]> Signed-off-by: Yanhong Wang <[email protected]> Tested-by: Conor Dooley <[email protected]>
2023-04-20clk: starfive: Add StarFive JH7110 clock driverYanhong Wang
Add a DM clock driver for StarFive JH7110 SoC. Signed-off-by: Yanhong Wang <[email protected]> Tested-by: Conor Dooley <[email protected]>
2023-04-20dt-bindings: clock: Add StarFive JH7110 clock definitionsYanhong Wang
Add all clock outputs for the StarFive JH7110 clock generator. Signed-off-by: Yanhong Wang <[email protected]> Acked-by: Sean Anderson <[email protected]> Tested-by: Conor Dooley <[email protected]>
2023-04-20reset: starfive: jh7110: Add reset driver for StarFive JH7110 SoCYanhong Wang
Add a DM reset driver for StarFive JH7110 SoC. Note that the register base address of reset controller is the same with the clock controller. Therefore, there is no device tree node alone for reset driver.It binds device node in the clock driver Signed-off-by: Yanhong Wang <[email protected]> Tested-by: Conor Dooley <[email protected]>
2023-04-20dt-bindings: reset: Add StarFive JH7110 reset definitionsYanhong Wang
Add resets for the StarFive JH7110 system(SYS),system-top-group(STG) and always-on(AON) reset controller. Signed-off-by: Yanhong Wang <[email protected]> Tested-by: Conor Dooley <[email protected]>
2023-04-20cache: starfive: Add StarFive JH7110 supportYanhong Wang
This adds support for the StarFive JH7110 SoC which also feature this SiFive cache controller. Signed-off-by: Yanhong Wang <[email protected]> Tested-by: Conor Dooley <[email protected]>
2023-04-20riscv: cpu: jh7110: Add support for jh7110 SoCYanhong Wang
Add StarFive JH7110 SoC to support RISC-V arch. Signed-off-by: Yanhong Wang <[email protected]> Reviewed-by: Rick Chen <[email protected]> Tested-by: Conor Dooley <[email protected]>
2023-04-19configs: stm32mp15: set CONFIG_USB_HUB_DEBOUNCE_TIMEOUT=2sPatrick Delaunay
With some USB devices connected on USB HUB for the STMicroelectronics boards, set the usb_pgood_delay=2 is not enough to ensure a correct detection for all cases; but it is solved with USB_HUB_DEBOUNCE_TIMEOUT=2s. For example, issue encountered with the USB flash disk: ID 058f:6387 Alcor Micro Corp. Flash Drive Signed-off-by: Patrick Delaunay <[email protected]> Reviewed-by: Patrice Chotard <[email protected]>
2023-04-19stm32mp: fix various array bounds checksRasmus Villemoes
In all these cases, the index on the LHS is immediately afterwards used to access the array appearing in the ARRAY_SIZE() on the RHS - so if that index is equal to the array size, we'll access one-past-the-end of the array. Signed-off-by: Rasmus Villemoes <[email protected]> Reviewed-by: Patrice Chotard <[email protected]> Reviewed-by: Patrick Delaunay <[email protected]>
2023-04-19mtd: rawnand: stm32_fmc2: remove unsupported EDO modeChristophe Kerello
Remove the EDO mode support from as the FMC2 controller does not support the feature. Signed-off-by: Christophe Kerello <[email protected]> Reviewed-by: Patrice Chotard <[email protected]>
2023-04-19ARM: dts: stm32: add FMC support on STM32MP13x SoC familyChristophe Kerello
Add FMC support on STM32MP13x SoC family. Signed-off-by: Christophe Kerello <[email protected]> Reviewed-by: Patrice Chotard <[email protected]>
2023-04-19configs: stm32mp15: increase malloc size for pre-relocPatrick Delaunay
The early malloc usage increased so the associated defined CONFIG_SYS_MALLOC_F_LEN need to be increased. For example, for stm32mp15_defconfig and stm32mp157c-dk2-scmi.dtsi, we have: Early malloc usage: 280b8 / 80000 Signed-off-by: Patrick Delaunay <[email protected]> Reviewed-by: Patrice Chotard <[email protected]>
2023-04-19spi: stm32_qspi: Remove useless struct stm32_qspi_flashPatrice Chotard
Currently, in stm32_qspi_claim_bus(), QSPI_CR and QSPI_DCR registers are saved in stm32_ospi_flash struct on first flash memory initialization and restored on each flash accesses. As the logic of spi-uclass.c changed since 'commit 741280e9accd ("spi: spi-uclass: Fix spi_claim_bus() speed/mode setup logic")' set_speed() and set_mode() callbacks are called systematically when bus speed or bus mode need to be updated, QSPI_CR and QSPI_DCR registers are set accordingly. So stm32_qspi_claim_bus() can be updated by removing QSPI_CR and QSPI_DCR save/restore code and struct stm32_ospi_flash can be removed as well. Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Patrick Delaunay <[email protected]>
2023-04-19ARM: dts: stm32: Add QSPI support on STM32MP13x SoC familyPatrice Chotard
Add QSPI support on STM32MP13x SoC family Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Patrick Delaunay <[email protected]>
2023-04-19pinctrl: pinctrl_stm32: Add slew rate support for stm32_pinctrl_get_pin_muxing()Patrice Chotard
For debug purpose, it should be useful to indicate the slew rate for each pins. Add ospeed register information for pins which are configured in either alternate function or gpio output. Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Patrick Delaunay <[email protected]>
2023-04-19configs: stm32mp13: Increase usb_pgood_delay for ST boardsPatrice Chotard
With some USB device, the current usb_pgood_delay value is not long enough to ensure a correct detection. Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Patrick Delaunay <[email protected]>
2023-04-19configs: stm32mp15: Add usb_pgood_delay for ST boardsPatrice Chotard
Add usb_pgood_delay to ensure a correct detection of USB devices. Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Patrick Delaunay <[email protected]>
2023-04-18watchdog: arm_smc_wdt: add watchdog supportLionel Debieve
Implement a ARM SMCCC based driver that allow to use a secure watchdog on the platform. Signed-off-by: Lionel Debieve <[email protected]> Reviewed-by: Patrick Delaunay <[email protected]> Reviewed-by: Stefan Roese <[email protected]> Tested-by: Patrick Delaunay <[email protected]>
2023-04-18watchdog: ftwdt010: return a previously deleted driver now ported to DMSergei Antonov
The ftwdt010 watchdog driver was deleted by commit 11232139e399 ("nds32: Remove the architecture") Return it to the codebase in a DM compatible form. Enable it in sandbox_defconfig to test compilability. Another platform using ftwdt010 will be submitted later. Signed-off-by: Sergei Antonov <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
2023-04-18watchdog: Add a watchdog driver for Raspberry Pi boardsETIENNE DUBLE
This driver supports the bcm2835 watchdog found on Raspberry Pi boards. It is derived from the Linux driver and was tested on two Raspberry Pi board versions (B+ and 3B+). Signed-off-by: Etienne Dublé <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
2023-04-17Merge tag 'u-boot-amlogic-20230417' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-amlogic - Add initial support for BPI-CM4 - Spring Cleanup of Amlogic board documentation - add support for BananaPi M2-Pro - add support for BananaPi M2S - add support for Radxa Zero2 - add support for WeTek Hub and WeTek Play2 - switch LibreTech-CC v2 and WeTek Core2 to EE powerdomain - add support for Beelink GT1 Ultimate
2023-04-17Merge tag 'u-boot-nand-20230417' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-nand-flash Pull request for u-boot-nand-20230417 The first two patches are by Frieder Schrempf who joins as a reviewer for the SPI NAND framework and drivers. The following 2 patches are by Linus Walleij and are taken by the series "Add Broadcom Northstar basic support". Bin Meng makes static a list for octeontx. Francesco Dolcini specifies MTD partitions on command line for colibri-{imx6ull,imx7}.
2023-04-17doc: boards: amlogic: add documentation for Beelink GT1 UltimateKarl Chan
Add build instructions for the Beelink GT1 Ultimate board. Signed-off-by: Christian Hewitt <[email protected]> Signed-off-by: Karl Chan <[email protected]> Link: https://lore.kernel.org/r/[email protected] [narmstrong: fixed MAINTAINERS indentation, added doc to index] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17boards: amlogic: add Beelink GT1 Ultimate defconfigKarl Chan
Add configuration for the Beelink GT1 Ultimate board. Signed-off-by: Christian Hewitt <[email protected]> Signed-off-by: Karl Chan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17ARM: dts: add support for Beelink GT1 UltimateKarl Chan
Import the device-tree from linux-amlogic/for-next (Linux 6.3-rc1). Signed-off-by: Christian Hewitt <[email protected]> Signed-off-by: Karl Chan <[email protected]> Link: https://lore.kernel.org/r/[email protected] [narmstrong: fixed imported dt file] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17boards: amlogic: switch LibreTech-CC v2 and WeTek Core2 to EE powerdomainChristian Hewitt
The LibreTech-CC (LePotato) v2 and WeTek Core2 boards are still using the older GX VPU powerdomain driver. Update their configs to use the newer EE driver like other Amlogic boards [0]. [0] https://lore.kernel.org/all/[email protected]/T/#u Signed-off-by: Christian Hewitt <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17doc: boards: amlogic: add documentation for WeTek Hub and WeTek Play2Christian Hewitt
Add build instructions for the WeTek Hub and WeTek Play2 boards. Signed-off-by: Christian Hewitt <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] [narmstrong: fixed doc build] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17boards: amlogic: add WeTek Hub and WeTek Play2 defconfigChristian Hewitt
Add configurations for the WeTek Hub and WeTek Play2 boards. Signed-off-by: Christian Hewitt <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17ARM: dts: add support for WeTek Hub and WeTek Play2Christian Hewitt
Import the dts files from linux-amlogic/for-next (Linux 6.4-rc1) and add the old PHY reset bindings for dwmac to the u-boot.dtsi until we support the new bindings in the PHY node. Without this the PHY is not functional in u-boot or Linux. Signed-off-by: Christian Hewitt <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17doc: boards: amlogic: add documentation for Radxa Zero2Christian Hewitt
Add build docs for the Radxa Zero2 board. Signed-off-by: Christian Hewitt <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17boards: amlogic: add Radxa Zero2 defconfigChristian Hewitt
Add board configuration for the Radxa Zero2. Signed-off-by: Christian Hewitt <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17ARM: dts: add support for Radxa Zero2Christian Hewitt
Import the device-tree from linux-amlogic/for-next (Linux 6.4-rc1) to support the Radxa-Zero2 board. Signed-off-by: Christian Hewitt <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17docs: boards: amlogic: add documentation for BananaPi M2SChristian Hewitt
Add build docs for the BPI-M2S board. Signed-off-by: Christian Hewitt <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17boards: add BananaPi M2S defconfigChristian Hewitt
Add configuration for the Bananapi BPI-M2S. Signed-off-by: Christian Hewitt <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17ARM: dts: add support for BananaPi M2SChristian Hewitt
Import the device-tree from linux-amlogic/for-next (Linux 6.4-rc1) and omit the NPU node from the A311D board variant dts as this is not supported under U-Boot. Signed-off-by: Christian Hewitt <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17docs: boards: amlogic: add documentation for BananaPi M2-ProChristian Hewitt
Add build docs for the BPI-M2-PRO board. Signed-off-by: Christian Hewitt <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17boards: add BananaPi M2-Pro defconfigChristian Hewitt
Add configuration for the BananaPi M2-Pro board. Signed-off-by: Christian Hewitt <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17ARM: dts: add support for BananaPi M2-ProChristian Hewitt
Import the board dts from the linux-amlogic/for-next (6.4-rc1) branch. This involves spliting the BPI-M5 dts into a dtsi and then reusing this for the M2-Pro. Signed-off-by: Christian Hewitt <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]>