From: Hai Pham
Add support for the GPIO controller block in the R-Car Gen4 family.
It has a General Input Enable Register (INEN), whose reset state is to
have all inputs disabled.
Reviewed-by: Marek Vasut
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut
---
drivers/gpio/gpio-rcar.c | 1
From: Hai Pham
Support R-Car Gen4 family. The default quirk is similar to previous
generation.
Reviewed-by: Marek Vasut
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut # Use RCAR_64
Kconfig
---
drivers/mmc/renesas-sdhi.c | 1 +
drivers/mmc/tmio-common.c | 2 +-
2 files changed, 2
From: Hai Pham
Add support for R-Car Gen4 SoCs into the driver.
While I2C on R-Car Gen4 does support some extra features (Slave Clock
Stretch Select), for now it is treated the same as I2C on R-Car Gen3,
which let us share the same driver.
Reviewed-by: Marek Vasut
Signed-off-by: Hai Pham
Use CONFIG_RCAR_64 to make the driver available on both
R-Car Gen3 and R-Car Gen4.
Signed-off-by: Marek Vasut
---
Cc: Geert Uytterhoeven
Cc: Jagan Teki
Cc: Simon Glass
Cc: Tom Rini
---
drivers/spi/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi
From: Hai Pham
Add R-Car Gen4 family support. The basic function is as same as previous
R-Car Generation.
Reviewed-by: Marek Vasut
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut
[Marek: Swap RZ/A1 and Gen4 to keep the GenN sequence, use RCAR_64]
---
Cc: Simon Glass
---
drivers/serial
From: Hai Pham
Provide the basic HSCIF support for R-Car SoC.
Reviewed-by: Marek Vasut
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut
[Marek: Fill in HSSRR offset for Gen2 and SCBRR calculation for Gen2 and Gen3]
---
Cc: Simon Glass
---
doc/device-tree-bindings/serial/sh.txt | 2
From: Tho Vu
Add definitions for R8A779F0 S4 CPG Core Clock headers from Linux next
commit 058f4df42121 ("Add linux-next specific files for 20230228")
Reviewed-by: Marek Vasut
Signed-off-by: Tho Vu
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut
[Marek: Update to linux nex
From: Tho Vu
Add power domain indices for R-Car S4 (R8A779F0) from Linux next
commit 058f4df42121 ("Add linux-next specific files for 20230228")
Reviewed-by: Marek Vasut
Signed-off-by: Tho Vu
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut
[Marek: Update to linux next 2023
From: Hai Pham
Add clock tables for R8A779F0 S4 SoC
Based on Linux commit 24aaff6a6ce4 ("clk: renesas: cpg-mssr: Add support
for R-Car S4-8") by Yoshihiro Shimoda and sync the tables up to Linux next
commit 058f4df42121 ("Add linux-next specific files for 20230228")
Revi
: renesas: rcar-gen4: Introduce R-Car Gen4 CPG driver")
by Yoshihiro Shimoda .
Signed-off-by: Marek Vasut
---
drivers/clk/renesas/Kconfig | 6 +-
drivers/clk/renesas/clk-rcar-gen3.c | 109 ++--
drivers/clk/renesas/r8a779a0-cpg-mssr.c | 20 ++---
driv
-system-chips-socs/r-car-v3u-best-class-r-car-v3u-asil-d-system-chip-automated-driving
Reviewed-by: Marek Vasut
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut
[Marek: Deduplicate DTC_FLAGS addition using RCAR_64 symbol
Update commit message]
---
arch/arm/dts/Makefile | 6
From: Hai Pham
Add R8A779F0 S4 DT extras for U-Boot.
Reviewed-by: Marek Vasut
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut
[Marek: Update compatible string to match latest upstream]
---
arch/arm/dts/r8a779f0-u-boot.dtsi | 28
1 file changed, 28 insertions
From: Hai Pham
Add initial DT for R8A779F0 S4 SoC. Based on Linux next
commit 058f4df42121 ("Add linux-next specific files for 20230228")
Reviewed-by: Marek Vasut
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut
[Marek: Sync with Linux next 20230228, update commit message]
---
From: Hai Pham
Add DTs for R8A779F0 S4 Spider CPU boards and Breakout boards.
Based on Linux next 20230228 DTs up to
commit 058f4df42121 ("Add linux-next specific files for 20230228")
Reviewed-by: Marek Vasut
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut
[Marek: Sync with
From: Hai Pham
Add Kconfig entry and PRR ID to support R8A779F0 S4 SoC.
Reviewed-by: Marek Vasut
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut
[Marek: Update commit message]
---
arch/arm/mach-rmobile/Kconfig.rcar4 | 6 ++
arch/arm/mach-rmobile/cpu_info.c | 1
From: Hai Pham
Add board code for R8A779F0 S4 Spider board.
Reviewed-by: Marek Vasut
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut
[Marek: Synchronize configuration symbols which are now switched to Kconfig
Mallocate gd->bd->bi_boot_params, i.e. drop the assignment
From: LUU HOAI
Add pinctrl tables for R8A779F0 S4 SoC.
Based on Linux next 20230228 PFC tables tables up to
commit 058f4df42121 ("Add linux-next specific files for 20230228")
Reviewed-by: Marek Vasut
Signed-off-by: LUU HOAI
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut
[
From: Tho Vu
Add power domain indices for R-Car V4H (R8A779G0) from Linux next
commit 058f4df42121 ("Add linux-next specific files for 20230228")
Reviewed-by: Marek Vasut
Signed-off-by: Tho Vu
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut
[Marek: Update to linux next 2023
From: Tho Vu
Add all Clock Pulse Generator Core Clock Outputs for the
Renesas R-Car V4H (R8A779G0) SoC from Linux next
commit 058f4df42121 ("Add linux-next specific files for 20230228")
Reviewed-by: Marek Vasut
Signed-off-by: Tho Vu
Signed-off-by: Hai Pham
Signed-off-by: Marek Vas
plain PLL2. This should be sufficient until PLL2_VAR is implemented in
the clock core.
Reviewed-by: Marek Vasut
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut
[Marek: Sync with Linux next 20230228 . Update from CLK to CPG core driver
Treat PLL2 as non-PLL2_VAR for now]
---
drivers/c
From: Hai Pham
Add R8A779G0 V4H DT extras for U-Boot.
Reviewed-by: Marek Vasut
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut
[Marek: Update compatible string to match latest upstream]
---
arch/arm/dts/r8a779g0-u-boot.dtsi | 28
1 file changed, 28 insertions
From: Tho Vu
Add DTs for R8A779G0 V4H White Hawk CPU and BreakOut boards.
Based on Linux next 20230228 DTs up to
commit 058f4df42121 ("Add linux-next specific files for 20230228")
Reviewed-by: Marek Vasut
Signed-off-by: Tho Vu
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut
[M
From: Hai Pham
Add Kconfig entry and PRR ID to support R8A779G0 V4H SoC.
Reviewed-by: Marek Vasut
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut
[Marek: Update commit message]
---
arch/arm/mach-rmobile/Kconfig.rcar4 | 6 ++
arch/arm/mach-rmobile/cpu_info.c | 1
From: Phong Hoang
Add initial DT support for R8A779G0 (R-Car V4H). Based on Linux next
commit 058f4df42121 ("Add linux-next specific files for 20230228")
Reviewed-by: Marek Vasut
Signed-off-by: Phong Hoang
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut
[Marek: Sync with
From: Hai Pham
Add board code for R8A779G0 V4H White Hawk board.
Reviewed-by: Marek Vasut
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut
[Marek: Synchronize configuration symbols which are now switched to Kconfig
Mallocate gd->bd->bi_boot_params, i.e. drop the assi
On 3/1/23 21:34, Simon Glass wrote:
+Marek Vasut +Bin Meng +Mark Kettenis +Tom Rini
On Wed, 1 Mar 2023 at 08:12, bluetail wrote:
Hello. user kettenis aka "Mark Kettenis" guided me write my bug report
to this email. "bluetail: please report these usb bugs upstream; they'
... 39.1s
16 MiB erase using chip erase opcode 0xc7 .. 38.7s
Signed-off-by: Marek Vasut
---
Cc: Jagan Teki
Cc: Vignesh R
---
drivers/mtd/spi/spi-nor-core.c | 31 ++-
1 file changed, 30 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/spi/spi-nor-core.c
The 'fdt get addr' is always assumed to be hex value, drop the prefix.
Since this might break existing users who depend on the existing
behavior with 0x prefix, this is a separate patch. Revert if this
breaks anything.
Signed-off-by: Marek Vasut
---
Cc: Heinrich Schuchardt
Cc: Simon
Drop no longer needed { } around ut_assert*() functions in FDT test.
No functional change.
Signed-off-by: Marek Vasut
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Cc: Tom Rini
---
test/cmd/fdt.c | 14 ++
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/test/cmd/fdt.c
Wrap the assert macros in ({ ... }) so they can be safely used both as
right side argument as well as in conditionals without curly brackets
around them. In the process, find a bunch of missing semicolons, fix
them.
Signed-off-by: Marek Vasut
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Cc: Tom
On 3/1/23 16:02, Simon Glass wrote:
On Mon, 27 Feb 2023 at 12:55, Marek Vasut
wrote:
The command assumed 32bit pointers so far, with 64bit pointer the
command would overwrite a piece of stack. Fix it by extending the
array size to cater for 64bit pointer, and use snprintf() to avoid
writing
On 3/1/23 16:02, Simon Glass wrote:
Hi Marek,
On Mon, 27 Feb 2023 at 12:55, Marek Vasut
wrote:
Add 'fdt set' test which works as follows:
- Create fuller FDT, map it to sysmem
- Set either existing property to overwrite it, or new property
- Test setting both single properties
ai Pham
Signed-off-by: Nam Nguyen
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Cc: Tom Rini
---
V2: Add RB from Simon
---
cmd/fdt.c | 36 ++--
1 file changed, 14 insertions(+), 22 deletions(-)
diff --git
ty or size of the property, where the later
is 0.
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Cc: Tom Rini
---
V2: Add RB from Simon
---
cmd/fdt.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/cmd/fdt.c b
ornously returns 'err' instead of
CMD_RET_FAILURE, fix it. Furthermore, align the number of spaces past
fdt_delprop() in error message with the rest of the code.
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Cc: Tom Rini
---
V2: Add R
bcommand errornously returns 'err' instead of
CMD_RET_FAILURE, fix it. Furthermore, align the number of spaces past
fdt_del_mem_rsv() and fdt_add_mem_rsv() in error message with the rest
of the code.
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schuchardt
Cc
On case 'fdt bootcpu' is invoked without parameters, argv[2] is not
valid and this command would SEGFAULT in sandbox environment. Add
missing argc test to avoid the crash and rather print usage help
message.
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schu
On case 'fdt memory' is invoked without parameters, argv[2]/argv[3]
is not valid and this command would SEGFAULT in sandbox environment.
Add missing argc test to avoid the crash and rather print usage help
message.
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich
The help text references 'addr' as an optional key start address,
but the explanation references the same as 'start', make sure they
both read as 'addr'. Also update the abbreviated 'addr' in the
explanation to 'address'.
Signed-off-by: Marek
The command assumed 32bit pointers so far, with 64bit pointer the
command would overwrite a piece of stack. Fix it by extending the
array size to cater for 64bit pointer, and use snprintf() to avoid
writing past the end of the array ever again.
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
ddr var / compatible ; md
$var'
"
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Cc: Tom Rini
---
V2: Add RB from Simon
---
cmd/fdt.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cmd/fdt.c b/cmd/fdt.c
index b
t index is set to -1 instead of 0.
This is OK, since the only place which checks for index to be less or
equal zero is the string array handling code in fdt_value_env_set() and
that code would work perfectly well with index -1 too.
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc
Add helper macro to test for empty lines, which is an inobvious
wrapper around ut_assert_nextline("%s", "") .
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Cc: Tom Rini
---
V2: Add RB from Simon
---
include/test/ut.h | 4
The 'fdt' command has a 'resize' subcommand, rename the fdt_test_resize()
to fdt_test_addr_resize() to avoid confusion about what it is testing.
There is currently no resize test.
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schuchardt
Cc: Simon
The 'fdt get' command has a 'get value' subcommand, rename the fdt_test_get()
to fdt_test_get_value() to avoid confusion about what it is testing. There is
currently no get 'get name', 'get addr', 'get size' subcommand test.
Signed-off-by: Marek
Implement function to generate internal test DT fragment and switch
the 'fdt get value' test to this instead of depending on the sandbox
DT. Rename clk-test node to test-node node. This FDT fragment will be
reused by other tests. No functional change.
Signed-off-by: Marek Vasut
R
The 'fdt get value' subcommand now supports extraction of integer value
from integer arrays, add test for it, including a test for special case
unindexed integer array read, which is handled as hash and treated as a
long string instead of integer.
Signed-off-by: Marek Vasut
Reviewed
The 'fdt' command help contains the following note:
"
Dereference aliases by omitting the leading '/', e.g. fdt print ethernet0.
"
Add test for it.
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Cc: Tom Rini
---
V
fdt'
"
To dump the full output from commands used during test, add '-v' flag.
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Cc: Tom Rini
---
V2: Add RB from Simon
---
test/cmd/fdt.c | 34 ++
1
dump the full output from commands used during test, add '-v' flag.
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Cc: Tom Rini
---
V2: Add RB from Simon
---
test/cmd/fdt.c | 24
1 file changed, 24 insertions(+)
x27;
"
To dump the full output from commands used during test, add '-v' flag.
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Cc: Tom Rini
---
V2: Add RB from Simon
---
test/cmd/fdt.c | 143
/ node -1 and /clk-test node -1
- Compare output and validate the node name equals node 0 name
- Check nonexistent node, verify the command errors out
The test case can be triggered using:
"
./u-boot -Dc 'ut fdt'
"
To dump the full output from commands used during test, add
rt of DT
The offsets must match in both the UT and the tested U-Boot, if they do
not, the test fails.
The test case can be triggered using:
"
./u-boot -Dc 'ut fdt'
"
To dump the full output from commands used during test, add '-v' flag.
Signed-off-by: Marek Vasut
Reviewe
the full output from commands used during test, add '-v' flag.
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Cc: Tom Rini
---
V2: Add RB from Simon
---
test/cmd/fdt.c | 87 ++
1 file
The test case can be triggered using:
"
./u-boot -Dc 'ut fdt'
"
To dump the full output from commands used during test, add '-v' flag.
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Cc: Tom Rini
---
V2: Ad
lues using 'fdt get value'
The test case can be triggered using:
"
./u-boot -Dc 'ut fdt'
"
To dump the full output from commands used during test, add '-v' flag.
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
"
To dump the full output from commands used during test, add '-v' flag.
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Cc: Tom Rini
---
V2: Add RB from Simon
---
test/cmd/fdt.c | 84 +
:
"
./u-boot -Dc 'ut fdt'
"
To dump the full output from commands used during test, add '-v' flag.
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Cc: Tom Rini
---
V2: Add RB from Simon
---
test/cmd/fdt.c | 33 +++
;
To dump the full output from commands used during test, add '-v' flag.
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Cc: Tom Rini
---
V2: Add RB from Simon
---
test/cmd/fdt.c | 59 ++
triggered using:
"
./u-boot -Dc 'ut fdt'
"
To dump the full output from commands used during test, add '-v' flag.
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Cc: Tom Rini
---
V2: Ad
;
To dump the full output from commands used during test, add '-v' flag.
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Cc: Tom Rini
---
V2: Add RB from Simon
---
test/cmd/fdt.c | 83 ++
1 fi
ersion and initrd entries
The test case can be triggered using:
"
./u-boot -Dc 'ut fdt'
"
To dump the full output from commands used during test, add '-v' flag.
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Add list of missing tests for the 'fdt' command, currently
the missing sandbox tests are only 'fdt boardsetup' and
'fdt checksign' .
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Cc: Tom Rini
---
V2: Add RB from
sed during test, add '-v' flag.
Signed-off-by: Marek Vasut
Reviewed-by: Simon Glass
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Cc: Tom Rini
---
V2: Add RB from Simon
---
test/cmd/fdt.c | 152 +
1 file changed, 152 insertions(+)
diff --git
On 3/1/23 17:02, Tom Rini wrote:
On Mon, Feb 27, 2023 at 08:56:31PM +0100, Marek Vasut wrote:
In case fitImage support is disabled, and image_locate_script() is
passed a fitImage, then the 'data' variable is used uninitialized.
Drop into the default: branch of the switch-case statem
On 3/1/23 16:01, Simon Glass wrote:
On Tue, 28 Feb 2023 at 14:29, Marek Vasut
wrote:
From: Hai Pham
Provide the basic HSCIF support for R-Car SoC.
Reviewed-by: Marek Vasut
Signed-off-by: Hai Pham
Signed-off-by: Marek Vasut
[Marek: Fill in HSSRR offset for Gen2 and SCBRR calculation for
On 3/2/23 10:14, Janne Grunau wrote:
On 2023-03-01 23:51:14 +0100, Marek Vasut wrote:
On 3/1/23 21:34, Simon Glass wrote:
+Marek Vasut +Bin Meng +Mark Kettenis +Tom Rini
On Wed, 1 Mar 2023 at 08:12, bluetail wrote:
Hello. user kettenis aka "Mark Kettenis" guided me write my bug
On 3/2/23 19:51, Janne Grunau wrote:
On 2023-03-02 18:33:15 +0100, Marek Vasut wrote:
On 3/2/23 10:14, Janne Grunau wrote:
On 2023-03-01 23:51:14 +0100, Marek Vasut wrote:
On 3/1/23 21:34, Simon Glass wrote:
+Marek Vasut +Bin Meng +Mark Kettenis +Tom Rini
On Wed, 1 Mar 2023 at 08:12
On 3/2/23 07:23, Chunfeng Yun (云春峰) wrote:
Hi Marek,
Hi,
On Fri, 2023-02-17 at 14:35 +0100, Marek Vasut wrote:
On 2/17/23 10:04, Chunfeng Yun wrote:
There are 4 USB controllers on MT8195, the controllers (IP1~IP3,
exclude IP0) have a wrong default SOF/ITP interval which is
calculated from
Add support for DH electronics i.MX8M Plus DHCOM SoM on PDK3 carrier board.
Currently supported are serial console, EQoS and FEC ethernets, eMMC, SD,
SPI NOR and USB 3.0 host.
Signed-off-by: Marek Vasut
---
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
---
arch/arm/dts/Makefile
phy: phy-mtk-tphy: add support mt8195
usb: xhci-mtk: modify the SOF/ITP interval for mt8195
dt-bindings: phy-mtk-tphy: add support mt8195
dt-bindings: usb: mtk-xhci: add support mt8195
Marek Vasut (1):
usb: dwc3-meson-g12a: Select PHY instead of imply PHY
doc/d
Glass
Signed-off-by: Marek Vasut
---
Cc: Simon Glass
Cc: Tom Rini
---
V2: - Drop bogus comment
- Add RB from Tom and Simon
V3: - Add when:always to always collect artifacts, even in case of failure
- Move artifact copy into after_script
---
.gitlab-ci.yml | 16 +++-
1 file
Enable CONFIG_DM_SERIAL on DH i.MX6 DHSOM to convert it to DM serial .
Signed-off-by: Marek Vasut
---
Cc: Andreas Geisreiter
Cc: Christoph Niedermaier
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: u-b...@dh-electronics.com
---
configs/dh_imx6_defconfig | 1 +
1 file changed, 1
Add WDT reboot bindings on DH i.MX6 DHSOM to permit the platform
to reboot via WDT in U-Boot. These are custom U-Boot bindings,
hence they are placed in -u-boot.dtsi .
Signed-off-by: Marek Vasut
---
Cc: Andreas Geisreiter
Cc: Christoph Niedermaier
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano
Add mmc1, which is mapped to optional on-SoM microSD socket,
to the list of distro boot command boot devices.
Signed-off-by: Marek Vasut
---
Cc: Andreas Geisreiter
Cc: Christoph Niedermaier
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: u-b...@dh-electronics.com
---
include/configs
The return is never triggered due to the goto just above it.
Drop it. No functional change.
Reviewed-by: Ramon Fried
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "NXP i.MX U-Boot Team"
Cc: Andrey Zhizhikin
Cc: Fabio Estevam
Cc: Joe Hershberger
Cc: Lu
Add clock for the DWMAC EQoS block. This is used among other things
to configure the MII clock via DM CLK.
Acked-by: Sean Anderson
Reviewed-by: Peng Fan
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "NXP i.MX U-Boot Team"
Cc: Andrey Zhizhikin
C
This function is only used within the driver, staticize it.
Fixes: 149e80f74b6 ("net: dwc_eth_qos: public some functions")
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "NXP i.MX U-Boot Team"
Cc: Andrey Zhizhikin
Cc: Fabio Estevam
Cc: Joe H
specific register fiddling. Drop
the architecture specific code while at it too.
The adjustment here is modeled after STM32MP15xx clock handling
in this driver.
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "NXP i.MX U-Boot Team"
Cc: Andrey Zhizhikin
C
Fried
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "NXP i.MX U-Boot Team"
Cc: Andrey Zhizhikin
Cc: Fabio Estevam
Cc: Joe Hershberger
Cc: Lukasz Majewski
Cc: Marcel Ziswiler
Cc: Marek Vasut
Cc: Michael Trimarchi
Cc: Peng Fan
Cc: Ramon Fried
Cc: S
Move the board_interface_eth_init() into common ethernet uclass code,
since this function could be shared by multiple drivers.
Reviewed-by: Simon Glass
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "NXP i.MX U-Boot Team"
Cc: Andrey Zhizhikin
C
-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "NXP i.MX U-Boot Team"
Cc: Andrey Zhizhikin
Cc: Fabio Estevam
Cc: Joe Hershberger
Cc: Lukasz Majewski
Cc: Marcel Ziswiler
Cc: Marek Vasut
Cc: Michael Trimarchi
Cc: Peng Fan
Cc: Ramon Fried
Cc: Sean Anderson
C
same IOMUX GPR[1] duplicated in the board files.
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "NXP i.MX U-Boot Team"
Cc: Andrey Zhizhikin
Cc: Fabio Estevam
Cc: Joe Hershberger
Cc: Lukasz Majewski
Cc: Marcel Ziswiler
Cc: Marek Vasut
Cc: Michael Tr
Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "NXP i.MX U-Boot Team"
Cc: Andrey Zhizhikin
Cc: Fabio Estevam
Cc: Joe Hershberger
Cc: Lukasz Majewski
Cc: Marcel Ziswiler
Cc: Marek Vasut
Cc: Michael Trimarchi
Cc: Peng Fan
Cc: Ramon Fried
Cc: Sean Anderson
Cc: Stefano
GPR[1] duplicated in the board files.
Reviewed-by: Ramon Fried
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "NXP i.MX U-Boot Team"
Cc: Andrey Zhizhikin
Cc: Fabio Estevam
Cc: Joe Hershberger
Cc: Lukasz Majewski
Cc: Marcel Ziswiler
Cc: Marek Vasut
;rmii";
assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_266M>,
<&clk IMX8MP_SYS_PLL2_100M>,
<&clk IMX8MP_SYS_PLL2_50M>;
assigned-clock-rates = <0>, <1>, <5000>;
Reviewed-by: Ramon Frie
The EQoS interface mode is now configured in common board_interface_eth_init()
and called by EQoS MAC driver when appropriate. Drop the board side duplicates
if the same functionality.
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "NXP i.MX U-Boot Team"
The FEC interface mode is now configured in common board_interface_eth_init()
and called by FEC MAC driver when appropriate. Drop the board side duplicates
if the same functionality.
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "NXP i.MX U-Boot Team"
The assigned-clock no longer have to be dropped, the clock are now
defined in clk-imx8mp.c and used by DWMAC driver to configure the
DWMAC clock. Drop the workarounds from U-Boot specific DT extras.
Signed-off-by: Marek Vasut
---
Cc: "Ariel D'Alessandro"
Cc: "NXP i.MX U-Bo
On 3/6/23 18:53, Simon Glass wrote:
Hi Marek,
On Wed, 1 Mar 2023 at 20:04, Marek Vasut
wrote:
The 'fdt get addr' is always assumed to be hex value, drop the prefix.
Since this might break existing users who depend on the existing
behavior with 0x prefix, this is a separate patch.
spl_board_prepare_for_boot() call into f_sdp .
Signed-off-by: Marek Vasut
---
Cc: Frieder Schrempf
Cc: Lukasz Majewski
Cc: Patrick Delaunay
Cc: Peng Fan
Cc: Sean Anderson
Cc: Sherry Sun
Cc: Simon Glass
Cc: Ye Li
---
drivers/usb/gadget/f_sdp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a
Enable LTO to reduce the size of SPL, which with SPL SDP
support may be close to the limit.
Signed-off-by: Marek Vasut
---
Cc: Andreas Geisreiter
Cc: Christoph Niedermaier
Cc: Fabio Estevam
Cc: NXP i.MX U-Boot Team
Cc: Stefano Babic
Cc: u-b...@dh-electronics.com
---
configs
github.com/boundarydevices/imx_usb_loader.git
Signed-off-by: Marek Vasut
---
Cc: Andreas Geisreiter
Cc: Christoph Niedermaier
Cc: Fabio Estevam
Cc: NXP i.MX U-Boot Team
Cc: Stefano Babic
Cc: u-b...@dh-electronics.com
---
configs/dh_imx6_defconfig | 5 +
include/configs/dh_imx6.h | 2 --
2 fil
On 3/8/23 23:17, Simon Glass wrote:
Hi Marek,
On Wed, 1 Mar 2023 at 20:09, Marek Vasut
wrote:
It is perfectly valid to request an address or size of FDT property
without value, the only special case if requesting of the value of
FDT property without value. Invert the test such, that
On 3/8/23 23:23, Simon Glass wrote:
Hi Marek,
On Wed, 1 Mar 2023 at 19:09, Marek Vasut
wrote:
Add 'fdt memory' test which works as follows:
- Create custom FDT with /memory node, with select #*cells, map it to sysmem
- Perform memory fixup
- Read back the /memory node and va
Drop no longer needed { } around ut_assert*() functions in FDT test.
No functional change.
Reviewed-by: Simon Glass
Signed-off-by: Marek Vasut
---
Cc: Heinrich Schuchardt
Cc: Simon Glass
Cc: Tom Rini
---
V2: Add RB from Simon
---
test/cmd/fdt.c | 14 ++
1 file changed, 6
Wrap the assert macros in ({ ... }) so they can be safely used both as
right side argument as well as in conditionals without curly brackets
around them. In the process, find a bunch of missing semicolons, fix
them.
Reviewed-by: Simon Glass
Signed-off-by: Marek Vasut
---
Cc: Heinrich Schuchardt
On 3/9/23 23:09, Simon Glass wrote:
Hi Marek,
On Wed, 8 Mar 2023 at 15:16, Marek Vasut wrote:
On 3/8/23 23:23, Simon Glass wrote:
Hi Marek,
On Wed, 1 Mar 2023 at 19:09, Marek Vasut
wrote:
Add 'fdt memory' test which works as follows:
- Create custom FDT with /memory node, w
On 3/10/23 16:44, Tom Rini wrote:
On Fri, Mar 10, 2023 at 01:22:15PM +0900, Jaehoon Chung wrote:
Dear Tom,
Please pull u-boot-mmc master into u-boot master branch.
If there is any problem, let me know, plz.
At this point in the cycle I have to ask, are these all fixes of
specific issues? If
)
Marek Vasut (4):
mmc: renesas-sdhi: Always configure default SDnH clock rate to
800 MHz
mmc: renesas-sdhi: Add proper probe error fail path
clk: renesas: Always select DM_RESET to prevent inobvious failure
of
101 - 200 of 20929 matches
Mail list logo