On 4/28/23 06:08, Peng Fan (OSS) wrote:
From: Peng Fan
There will be build error if CONFIG_SYSRESET is enabled, so guard
the reset_cpu with condition check here
Signed-off-by: Peng Fan
Reviewed-by: Stefan Roese
Thanks,
Stefan
---
drivers/watchdog/ulp_wdog.c | 2 ++
1 file changed, 2
On 4/28/23 06:08, Peng Fan (OSS) wrote:
From: Peng Fan
This patchset includes updates mainly for i.MX9, such as Clock, Memory,
Parts, Low drive mode, DDR, cpu driver, Variants
The first patch is not about i.MX9, just include it here since it is a simple
one for i.MX8ULP.
For the watchdog
On 4/27/23 12:12, Alexander Shirokov wrote:
The patch drops 0x prefixes because all numbers are interpreted as HEX
by default.
Also, it fixes the mismatch between input arguments and output at 'mmc
write' example. Now it's 256 (0x100) blocks.
Signed-off-by: Alexander Shirokov
---
Am 28. April 2023 01:35:04 MESZ schrieb Simon Glass :
>Hi Masahisa,
>
>On Mon, 10 Apr 2023 at 03:07, Masahisa Kojima
> wrote:
>>
>> Current FMP->GetImageInfo() always return 0 for the firmware
>> version, user can not identify which firmware version is currently
>> running through the EFI
On 4/12/2023 3:38 PM, Mathew McBride wrote:
This is effectively:
cp linux/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi \
u-boot/arch/arm/dts/fsl-ls1088a.dtsi
Tested working with Ten64 board (LS1088A) booting openSUSE Tumbleweed.
Signed-off-by: Mathew McBride
---
On 4/12/2023 3:38 PM, Mathew McBride wrote:
Somehow, I managed to typo our company name in the U-Boot
and Linux kernel submissions.
Fix this and update the copyright year at the same time.
Signed-off-by: Mathew McBride
Acked-by: Peng Fan
On 4/12/2023 3:38 PM, Mathew McBride wrote:
This synchronises the Linux device tree with U-Boot
(cp linux//fsl-ls1088a-ten64.dts uboot//fsl-ls1088a-ten64.dts),
as of Linux v6.2-rc5.
Missing from the U-Boot copy previously was the
Ethernet PCS definitions (required for linking with
On 4/12/2023 3:38 PM, Mathew McBride wrote:
This is effectively:
cp linux/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi \
u-boot/arch/arm/dts/fsl-ls1088a.dtsi
Tested working with Ten64 board (LS1088A) booting openSUSE Tumbleweed.
Signed-off-by: Mathew McBride
Reviewed-by: Peng Fan
On 4/12/2023 3:38 PM, Mathew McBride wrote:
Our [U-Boot] copy of fsl-ls1088a.dtsi had all the hardware under
the top level, until the DM_SERIAL implementation recently.
In this commit, remove any remaining devices (that were in U-Boot,
but not touched by previous patches in this series) to
On 4/12/2023 3:38 PM, Mathew McBride wrote:
This moves the fsl-mc device tree definition under the /soc
node, as well as adding interrupt and IOMMU definitions that
were not in U-Boot before.
There are slight differences between the two bindings
as we add a "simple-mfd" compatible to
On 4/12/2023 3:38 PM, Mathew McBride wrote:
Synchronise the MDIO controller definitions with Linux, so
the controllers will be usable when passing U-Boot's
control FDT to Linux.
This also adds the PCS (internal controller) definitions
which are not used by U-Boot.
Caveat: The kernel
On 4/12/2023 3:38 PM, Mathew McBride wrote:
Synchronise the USB device tree definition with Linux, allowing
the U-Boot control FDT to be used to boot a Linux system with
working USB.
An extra compatible string, "fsl,layerscape-dwc3" is needed
for special handling in U-Boot, so has been added
On 4/12/2023 3:38 PM, Mathew McBride wrote:
Synchronise the USB device tree definition with Linux, allowing
the U-Boot control FDT to be used to boot a Linux system with
working USB.
An extra compatible string, "fsl,layerscape-dwc3" is needed
for special handling in U-Boot, so has been added
On 4/12/2023 3:38 PM, Mathew McBride wrote:
U-Boot's definition for the I2C controllers did not contain any
clock information. This resulted in the I2C not functioning when
the U-Boot control FDT was passed to Linux.
Signed-off-by: Mathew McBride
Reviewed-by: Peng Fan
On 4/12/2023 3:38 PM, Mathew McBride wrote:
Move the GPIO controller definitions under the "soc" and in
the same relative position as the Linux kernel fsl-ls1088a.dtsi.
Signed-off-by: Mathew McBride
Reviewed-by: Peng Fan
On 4/12/2023 3:38 PM, Mathew McBride wrote:
This is required for Linux to boot using the same FDT as
U-Boot (such as passing the control FDT to bootefi).
Signed-off-by: Mathew McBride
Reviewed-by: Peng Fan
On 4/12/2023 3:38 PM, Mathew McBride wrote:
The Linux kernel fsl-ls1088a.dtsi disables (status="disabled")
all PCIe controllers by default, with the bootloader (i.e U-Boot)
enabling the appropriate controllers (specified by the board
reset control word/RCW) by FDT fixup.
However, U-Boot
On 4/12/2023 3:38 PM, Mathew McBride wrote:
This moves the PCIe controller definitions under /soc and adopts
the same bindings (fsl,ls1088a-pcie) as Linux. Previously,
the format was different between the two versions.
Signed-off-by: Mathew McBride
Reviewed-by: Peng Fan
On 4/12/2023 3:38 PM, Mathew McBride wrote:
To synchronise the device tree in U-Boot with Linux, the GIC
(Interrupt Controller) and SMMU/IOMMU nodes need to be synchronised
before changing any dependent components like PCIe and DPAA2/fsl-mc.
Signed-off-by: Mathew McBride
Reviewed-by: Peng
From: Peng Fan
Simplify the clk root settings with an array
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx9/clock.h | 6
arch/arm/mach-imx/imx9/clock.c | 38 +++---
2 files changed, 28 insertions(+), 16 deletions(-)
diff --git
On 4/12/2023 3:38 PM, Mathew McBride wrote:
This allows the Layerscape PCIe RC driver to use the upstream
style binding (two "reg" entries instead of four).
It is similar to the previous commit e10da1f985ad
("pci: layerscape: add official ls1028a binding support")
which implemented this for
On 4/12/2023 3:38 PM, Mathew McBride wrote:
The top-level "memory" node does not exist in the Linux
version of the fsl-ls1088a.dtsi file. Move it to the U-Boot
"tweak" file, so we can have an identical copy of
fsl-ls1088a.dtsi between the projects in the end.
Signed-off-by: Mathew McBride
On 4/12/2023 3:38 PM, Mathew McBride wrote:
This moves the bootph-all tags that were added in commit a593c1fec579
("arch: arm: dts: fsl-ls1088a.dtsi: tag serial nodes with bootph-all")
into a u-boot only include.
Due to the way the U-Boot device tree "tweak" system is setup[1],
we need to
On 4/12/2023 3:38 PM, Mathew McBride wrote:
The recent series "Convert LS1088A and LX2160 to DM_SERIAL"
from Ioana Ciornei provided the necessary support to enable
DM_SERIAL on the Ten64 board (LS1088A).
Signed-off-by: Mathew McBride
Reviewed-by: Peng Fan
On 4/12/2023 3:38 PM, Mathew McBride wrote:
This a problem I found while updating the U-Boot fsl-ls1088a.dtsi
to match the Linux version.
fdt_fixup_remove_jr did not check whether there was a "crypto"
alias in the device tree before calling more fdt_* functions,
which resulted in a crash.
From: Peng Fan
Update DDR timing file generated by DDR Config Tool
1. Dynamic refresh rate is set by default
2. The 3rd freq will be 625MTS based on power and performance better than
100MTS.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
board/freescale/imx93_evk/lpddr4x_timing.c | 3361
From: Peng Fan
As the ddr timing info will be saved at the last 16KB of
the OCRAM, spl stack & bss base should be updated to avoid
conflict.
Signed-off-by: Peng Fan
---
configs/imx93_11x11_evk_defconfig| 4 ++--
configs/imx93_11x11_evk_ld_defconfig | 4 ++--
2 files changed, 4
From: Ye Li
Currently bootaux only supports to boot M33 core from TCM. Since ATF
has changed to use x2 parameter for M33 image address, update the
bootaux command to use input address, so we can support boot from
any possilbe address like TCM, DDR, Flexspi NOR.
Reviewed-by: Peng Fan
From: Peng Fan
Add a static u-boot config for i.MX93 low drive mode support. When
low drive mode is enabled, VDD_SOC is set to 0.75V. Bus clocks,
A55 core clock (900Mhz), DDR clock (1866MTS), and some peripherals
clocks (USDHC/FLEXSPI/PDM/DISP_PIX/CAM_PIX) must decrease to meet
max frequencies
From: Peng Fan
Enable sysreset for i.MX93 EVK.
Signed-off-by: Peng Fan
---
configs/imx93_11x11_evk_defconfig| 3 +++
configs/imx93_11x11_evk_ld_defconfig | 3 +++
2 files changed, 6 insertions(+)
diff --git a/configs/imx93_11x11_evk_defconfig
b/configs/imx93_11x11_evk_defconfig
index
From: Jacky Bai
The rank setting flow should be updated to support multi
fsp config.
Signed-off-by: Jacky Bai
Reviewed-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/ddr/imx/imx9/ddr_init.c | 178 +---
1 file changed, 116 insertions(+), 62 deletions(-)
diff --git
From: Ye Li
To avoid using static setting for ECC enabled DDR size, switch
to calculate DDR size from DDRC setting
Signed-off-by: Ye Li
Reviewed-by: Peng Fan
Reviewed-by: Jacky Bai
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/soc.c | 21 +
1 file changed, 17
From: Jacky Bai
Add 625M bypass clock that may be used DRAM 625M
bypass mode support.
Signed-off-by: Jacky Bai
Reviewed-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/clock.c | 3 +++
drivers/ddr/imx/phy/ddrphy_utils.c | 3 +++
2 files changed, 6 insertions(+)
diff --git
From: Jacky Bai
Update the DDR init flow for multi-setpoint support on i.MX93. A new
fsp_cfg struct need to be added in the timing file to store the diff
part of the DDRC and DRAM MR register for each setpoint.
Signed-off-by: Jacky Bai
Reviewed-by: Ye Li
Signed-off-by: Peng Fan
---
From: Peng Fan
Sync device tree with next-20230426
Signed-off-by: Peng Fan
---
arch/arm/dts/imx93-11x11-evk-u-boot.dtsi| 29 -
arch/arm/dts/imx93-11x11-evk.dts| 385 +++--
arch/arm/dts/imx93-pinfunc.h| 194 ---
arch/arm/dts/imx93.dtsi
From: Jacky Bai
change the ddr saved info to the last 16KB of the OCRAM.
Signed-off-by: Jacky Bai
Reviewed-by: Peng Fan
Reviewed-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/ddr/imx/imx9/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
From: Ye Li
According to DDRPHY errata, the Rank-to-Rank Spacing and tphy_rdcsgap
specification does not include the Critical Delay Difference (CDD) to
properly define the required rank-to-rank read command spacing after
executing PHY training firmware.
Following the errata workaround, at the
From: Peng Fan
Add tmu nodes and thermal zone
Signed-off-by: Peng Fan
---
arch/arm/dts/imx93.dtsi | 48 +
1 file changed, 48 insertions(+)
diff --git a/arch/arm/dts/imx93.dtsi b/arch/arm/dts/imx93.dtsi
index 73ecd953ec8..13cf32d4b27 100644
---
From: Peng Fan
According to datasheet, iMX93 has fused parts with CORE1 or NPU or
both disabled. So update code to support it, the kernel device tree
runtime update will be added in future patches.
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx/cpu.h | 7 +++
From: Peng Fan
There is no need to save gd with using the generic rom api function, so
simplify code.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/soc.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/arch/arm/mach-imx/imx9/soc.c b/arch/arm/mach-imx/imx9/soc.c
From: Peng Fan
The end brace should be in a new line
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/soc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/imx9/soc.c b/arch/arm/mach-imx/imx9/soc.c
index 074df1e73cf..f91f838e41a 100644
---
From: Peng Fan
Config the A55 alt root clock to 500MHz(LD mode frequency)
by default. Normally, this clock root is only used as an
intermediate clock soure for A55 core/dsu when change the
ARM PLL frequency.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/clock.c | 6 ++
1 file
From: Peng Fan
Add CONFIG_IMX9_LOW_DRIVE_MODE in imx9 clk, later we will
add board support
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/Kconfig | 5
arch/arm/mach-imx/imx9/clock.c | 55 +++---
2 files changed, 56 insertions(+), 4 deletions(-)
diff
From: Peng Fan
The HW_CTRL_SEL should be cleared when configuring PLL to avoid
potential glitch
Reviewed-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/clock.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/mach-imx/imx9/clock.c b/arch/arm/mach-imx/imx9/clock.c
From: Peng Fan
Get the chip's market segment and speed grading from fuse and print
them in boot log as other i.MX series.
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx9/imx-regs.h | 3 +
arch/arm/mach-imx/imx9/soc.c | 81 ++-
2 files changed, 83
From: Peng Fan
Support print reset cause. Since SRSR is not accessible from non-secure
world, so first save it to grp0, then read it in non-secure world.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/soc.c | 59
1 file changed, 59 insertions(+)
diff
From: Peng Fan
OPTEE memory region is set secure access only in ATF with configuration
to TRDC, and need to remove it from U-Boot, otherwise U-Boot and Kernel
may crash when accessing the memory
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/soc.c | 149 ++-
From: Ye Li
The MAC addresses are hard coded for bring up. Change it to support
reading from fuse.
Reviewed-by: Jacky Bai
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/soc.c | 49 +++-
1 file changed, 43 insertions(+), 6 deletions(-)
From: Peng Fan
Drop unused macro
Signed-off-by: Peng Fan
---
include/configs/imx93_evk.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/configs/imx93_evk.h b/include/configs/imx93_evk.h
index 7b7bef3ca75..2705587a015 100644
--- a/include/configs/imx93_evk.h
+++
From: Peng Fan
There will be build error if CONFIG_SYSRESET is enabled, so guard
the reset_cpu with condition check here
Signed-off-by: Peng Fan
---
drivers/watchdog/ulp_wdog.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/watchdog/ulp_wdog.c b/drivers/watchdog/ulp_wdog.c
From: Peng Fan
Select thermal config to print current temperature
Signed-off-by: Peng Fan
---
configs/imx93_11x11_evk_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/imx93_11x11_evk_defconfig
b/configs/imx93_11x11_evk_defconfig
index f116d52a655..9f376d39c03 100644
From: Peng Fan
Without this config, there is boot error: Error binding ulp_wdt driver
Signed-off-by: Peng Fan
---
configs/imx93_11x11_evk_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/imx93_11x11_evk_defconfig
b/configs/imx93_11x11_evk_defconfig
index
From: Peng Fan
select CONFIG_CPU_IMX to display cpu info
Signed-off-by: Peng Fan
---
configs/imx93_11x11_evk_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/imx93_11x11_evk_defconfig
b/configs/imx93_11x11_evk_defconfig
index 4f8777161e4..f116d52a655 100644
---
From: Peng Fan
LPI2C_CLK_ROOT should be used instead of LPUART_CLK_ROOT for i2c
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/clock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/imx9/clock.c b/arch/arm/mach-imx/imx9/clock.c
index
From: Peng Fan
Add more PLL settings for A55 and Display
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/clock.c | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-imx/imx9/clock.c b/arch/arm/mach-imx/imx9/clock.c
index 51aa259aa05..7d3a4c01333 100644
---
From: Peng Fan
The freq parameter was ignored, should use it when configuring ARM PLL
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/clock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/imx9/clock.c b/arch/arm/mach-imx/imx9/clock.c
index
From: Peng Fan
Use CONFIG_DM_THERMAL to make the temperature function could be reused
by i.MX8 and i.MX9
Signed-off-by: Peng Fan
---
drivers/cpu/imx8_cpu.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/cpu/imx8_cpu.c b/drivers/cpu/imx8_cpu.c
index
From: Peng Fan
The M33 systick should be 24M per reference mannual, so correct it.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/clock.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-imx/imx9/clock.c b/arch/arm/mach-imx/imx9/clock.c
index
From: Peng Fan
Add CPU_IMX Kconfig
Support imx8_cpu driver for i.MX9
Signed-off-by: Peng Fan
---
drivers/cpu/Kconfig| 6 +++
drivers/cpu/Makefile | 1 +
drivers/cpu/imx8_cpu.c | 83 --
3 files changed, 62 insertions(+), 28 deletions(-)
diff
From: Peng Fan
Support print out cpu grade temperature
Signed-off-by: Peng Fan
---
drivers/cpu/imx8_cpu.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/drivers/cpu/imx8_cpu.c b/drivers/cpu/imx8_cpu.c
index 4da7a99bf30..304d5e59013 100644
---
From: Peng Fan
For local functions, use static for function.
Signed-off-by: Peng Fan
---
drivers/cpu/imx8_cpu.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/cpu/imx8_cpu.c b/drivers/cpu/imx8_cpu.c
index dc060513b38..e7f45e60dbd 100644
---
From: Peng Fan
Since we might reuse some drivers for other platforms, while the drivers
have sci firmware api, so to avoid build failure add inline functions
Signed-off-by: Peng Fan
---
include/firmware/imx/sci/sci.h | 241 +
1 file changed, 241 insertions(+)
From: Peng Fan
Move imx8 sci header file to include/firmware/imx, then we could
use build macro to reuse some i.MX8 drivers for i.MX9, such as
drivers/cpu/imx8_cpu.c.
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx8/power-domain.h | 2 +-
arch/arm/include/asm/arch-imx8/sys_proto.h
From: Peng Fan
Unknow->Unknown
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/spl_imx_romapi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/spl_imx_romapi.c
b/arch/arm/mach-imx/spl_imx_romapi.c
index 830d5d12c25..9164045115f 100644
---
From: Ye Li
The TMU used on iMX93 is IP revision 2.1 which is different with previous
revision used on iMX8MQ. So add a new FLAG V4 for this revision to
distinguish the operations.
Reviewed-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/thermal/Kconfig | 6 +--
From: Peng Fan
This patchset includes updates mainly for i.MX9, such as Clock, Memory,
Parts, Low drive mode, DDR, cpu driver, Variants
The first patch is not about i.MX9, just include it here since it is a simple
one for i.MX8ULP.
For the watchdog reset_cpu, I will move it out from watchdog
From: Peng Fan
The ahab was missed to be compiled, so add it back.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8ulp/Kconfig | 5 +
arch/arm/mach-imx/imx8ulp/Makefile | 1 +
2 files changed, 6 insertions(+)
diff --git a/arch/arm/mach-imx/imx8ulp/Kconfig
Enabled ID_EEPROM and I2C configuration for StarFive VisionFive2 board.
Signed-off-by: Yanhong Wang
---
configs/starfive_visionfive2_defconfig | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/configs/starfive_visionfive2_defconfig
Enable DWC_ETH_QOS and PHY_MOTORCOMM configuration to support ethernet
function for StarFive VisionFive 2 board,including versions 1.2A and
1.3B.
Signed-off-by: Yanhong Wang
---
configs/starfive_visionfive2_defconfig | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff
The defconfig file name for StarFive VisionFive2 has been changed, and
the documentation description has also changed.
Signed-off-by: Yanhong Wang
---
doc/board/starfive/visionfive2.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/board/starfive/visionfive2.rst
Add support "atmel,24c04" eeprom for StarFive VisionFive2 board.
Signed-off-by: Yanhong Wang
---
.../dts/jh7110-starfive-visionfive-2-u-boot.dtsi | 14 ++
arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi | 8 +++-
2 files changed, 21 insertions(+), 1 deletion(-)
diff --git
The difference between 1.2A and 1.3B is dynamically configured according
to the PCB version, and there is no difference on the board device tree,
so the same DT file can be used.
Signed-off-by: Yanhong Wang
---
arch/riscv/dts/Makefile | 3 +-
...
Add ethernet device tree node to support StarFive ethernet driver for
the JH7110 RISC-V SoC.
Signed-off-by: Yanhong Wang
---
.../dts/jh7110-starfive-visionfive-2.dtsi | 34 +
arch/riscv/dts/jh7110.dtsi| 69 +++
2 files changed, 103 insertions(+)
The main difference between StarFive VisionFive 2 1.2A and 1.3B is gmac.
You can read the PCB version of the current board by
get_pcb_revision_from_eeprom(), and then dynamically configure the
difference of gmac in spl_perform_fixups() according to different PCB
versions, so that one DT and one
Enabled ID_EEPROM configuration for StarFive VisionFive2 board.
Signed-off-by: Yanhong Wang
---
arch/riscv/include/asm/arch-jh7110/eeprom.h | 13 +
board/starfive/visionfive2/Makefile | 1 +
.../visionfive2/visionfive2-i2c-eeprom.c | 560 ++
3 files changed,
StarFive VisionFive 2 has two versions, 1.2A and 1.3B, each version of
DDR capacity includes 2G/4G/8G, a DT can not support multiple
capacities, so the capacity size information is recorded to EEPROM, when
DDR initialization required capacity size information is read from
EEPROM.
If there is no
The StarFive ETHQOS hardware has its own clock and reset,so add a
corresponding glue driver to configure them.
Signed-off-by: Yanhong Wang
---
drivers/net/Kconfig| 7 +
drivers/net/Makefile | 1 +
drivers/net/dwc_eth_qos.c | 6 +
Add a driver for the motorcomm yt8531 gigabit ethernet phy. We have
verified the driver on StarFive VisionFive2 board.
Signed-off-by: Yanhong Wang
Reviewed-by: Ramon Fried
---
drivers/net/phy/Kconfig | 6 +
drivers/net/phy/Makefile| 1 +
drivers/net/phy/motorcomm.c | 437
This series of patches base on the latest branch/master,and
adds ethernet support for the StarFive JH7110 RISC-V SoC.
The series includes EEPROM, PHY and MAC drivers. The PHY model is
YT8531 (from Motorcomm Inc), and the MAC version is dwmac-5.20
(from Synopsys DesignWare).
The implementation of
Fixed errors reported when executing 'scripts/get_maintainer.pl -f
configs/starfive_visionfive2_defconfig'.
Invalid MAINTAINERS address: 'startfive'
Signed-off-by: Yanhong Wang
---
board/starfive/visionfive2/MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
On Thu, Apr 27, 2023 at 11:56:58AM +0200, Heinrich Schuchardt wrote:
> Support for the VisionFive 2 board is not contained in the most recent
> OpenSBI release (v1.2).
>
> Signed-off-by: Heinrich Schuchardt
> ---
> doc/board/starfive/visionfive2.rst | 2 ++
> 1 file changed, 2 insertions(+)
rk3399-rock-4c-plus.dts and rk3399-t-opp.dtsi were imported from Linux
6.3.
Signed-off-by: Denis 'GNUtoo' Carikli
---
arch/arm/dts/Makefile| 1 +
arch/arm/dts/rk3399-rock-4c-plus-u-boot.dtsi | 6 +
arch/arm/dts/rk3399-rock-4c-plus.dts | 709
On Sun, 22 Jan 2023 11:23:51 -0600
Samuel Holland wrote:
> ARCH_SUNXI selects BINMAN, so the condition "!BINMAN && ARCH_SUNXI"
> is impossible to satisfy.
Indeed the generic ARCH_SUNXI entry in arch/arm/Kconfig selects
BINMAN, so that looks fine. The same seems to be true for
ARCH_ROCKCHIP,
On Sun, 22 Jan 2023 17:46:22 -0600
Samuel Holland wrote:
> Now that this functionality is modeled using the device tree and
> regulator uclass, the named GPIO is not referenced anywhere. Remove it.
>
> Signed-off-by: Samuel Holland
There is indeed no config left that would set
On Sun, 22 Jan 2023 17:46:21 -0600
Samuel Holland wrote:
> Update boards to use the USB power supply driver, as referenced in the
> device tree, instead of a virtual GPIO. This removes the need for some
> DM-incompatible special cases in the GPIO driver.
Confirmed that it replaces
On Sun, 22 Jan 2023 17:46:20 -0600
Samuel Holland wrote:
> This driver reports the presence/absence of voltage on the PMIC's USB
> VBUS pin. This information is used by the USB PHY driver. The
> corresponding Linux driver uses the power supply class, which does not
> exist in U-Boot.
On Wed, Apr 19, 2023 at 6:45 AM Eugen Hristev
wrote:
>
> Some devices share a regulator supply, when the first one will request
> regulator disable, the second device will have it's supply cut off before
> graciously shutting down. Hence there will be timeouts and other failed
> operations.
>
Hi Lukasz,
On Thu, 27 Apr 2023 at 09:23, Lukasz Majewski wrote:
>
> Hi Simon,
>
> I'm trying to convert imx28 based XEA board to use CONFIG_DM_SERIAL.
> This board uses SPL_OF_PLATDATA to have as small SPL as possible.
>
> It looks like the 'duart' description/driver is properly instantiated,
>
Hi Masahisa,
On Mon, 10 Apr 2023 at 03:07, Masahisa Kojima
wrote:
>
> Current FMP->GetImageInfo() always return 0 for the firmware
> version, user can not identify which firmware version is currently
> running through the EFI interface.
>
> This commit gets the version information from device
On Mon, 17 Apr 2023 10:11:51 +0100, Abdellatif El Khlifi wrote:
> Adding block storage emulation for NVM XIP flash devices.
>
> Some paltforms such as Corstone-1000 need to see NVM XIP raw flash
> as a block storage device with read only capability.
>
> Here NVM flash devices are devices with
On Thu, Apr 27, 2023 at 12:49 PM Fabio Estevam wrote:
>
> On Thu, Apr 27, 2023 at 4:44 PM Tim Harvey wrote:
>
> > Fabio,
> >
> > Sorry for the confusion.
> >
> > This imx8mm dt sync patch will hang on imx8mm boards that use 'both'
> > usbotg1 and usbotg2. You can reproduce this hang on your
Hardware: SAMA5D27 customized board, EMMC connected to SDMMC0. SDMMC0_CD pin
pulled-down for BootROM card detection, once booted it used as LED output.
Software: u-boot-at91 76f7f55
Issue:
U-Boot can't detect EMMC despite it set to non-removable in DT, unless
SDMMC0_CD pin is used (so this pin
After introducing dump to clk_ops there is no need to override this
symbol anymore.
Signed-off-by: Igor Prusov
---
cmd/clk.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmd/clk.c b/cmd/clk.c
index 55fb96e631..54491ac577 100644
--- a/cmd/clk.c
+++ b/cmd/clk.c
@@ -59,7
Switch to using new dump operation in clock provider drivers instead of
overriding soc_clk_dump.
Signed-off-by: Igor Prusov
---
arch/mips/mach-pic32/cpu.c | 23 ---
drivers/clk/aspeed/clk_ast2600.c | 13 -
drivers/clk/clk_k210.c | 11
Add another loop to dump additional info from clock providers that
implement dump operation.
Signed-off-by: Igor Prusov
---
cmd/clk.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/cmd/clk.c b/cmd/clk.c
index ff7c7649a1..55fb96e631 100644
--- a/cmd/clk.c
+++ b/cmd/clk.c
@@ -62,6
Move clock dump function to avoid forward declaration after switching to
dump in clk_ops.
Signed-off-by: Igor Prusov
---
drivers/clk/clk_k210.c | 92 +-
1 file changed, 46 insertions(+), 46 deletions(-)
diff --git a/drivers/clk/clk_k210.c
This adds dump function to struct clk_ops which should replace
soc_clk_dump. It allows clock drivers to provide custom dump
implementation without overriding generic CCF dump function.
Signed-off-by: Igor Prusov
---
include/clk-uclass.h | 3 +++
1 file changed, 3 insertions(+)
diff --git
Move clock dump function in preparation for switching to dump function
in clk_ops.
Signed-off-by: Igor Prusov
---
arch/arm/mach-zynq/clk.c | 57 ---
drivers/clk/clk_zynq.c | 58
2 files changed, 58 insertions(+), 57
Move clock dump function to avoid forward declaration after switching to
dump in clk_ops.
Signed-off-by: Igor Prusov
---
drivers/clk/aspeed/clk_ast2600.c | 70
1 file changed, 35 insertions(+), 35 deletions(-)
diff --git a/drivers/clk/aspeed/clk_ast2600.c
Currently clock providers may override default implementation of
soc_clk_dump function to replace clk dump command output. This causes
confusing behaviour when u-boot is built with one of such drivers
enabled but still has clocks defined using CCF. For example, enabling
CMD_CLK and using clk dump
1 - 100 of 195 matches
Mail list logo