The phy calibration pattern partition isn't needed as the Cadence driver isn't
calibrating the phys.
Signed-off-by: Jonathan Humphreys
---
arch/arm/dts/k3-j721e-sk-u-boot.dtsi | 4
1 file changed, 4 deletions(-)
diff --git a/arch/arm/dts/k3-j721e-sk-u-boot.dtsi
Add boot ROM XSPI bootmode, and set to BOOT_DEVICE_SPI if detected.
Signed-off-by: Jonathan Humphreys
---
arch/arm/mach-k3/include/mach/j721e_spl.h | 5 +++--
arch/arm/mach-k3/j721e_init.c | 3 ++-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git
This series enables OSPI storage and boot.
fixes: 58d61fb5a77e ("arm: dts: k3-j721e-sk: Add initial A72 specific dts
support")
Changes from v1:
- added patch to remove the OSPI phy pattern partition, as it wasn't used
v1: https://patchwork.ozlabs.org/project/uboot/list/?series=396241
Jonathan
Set config values to enable OSPI functionality.
Signed-off-by: Jonathan Humphreys
---
configs/j721e_evm_a72_defconfig | 7 +++
configs/j721e_evm_r5_defconfig | 6 ++
2 files changed, 13 insertions(+)
diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig
index
Add bootph DT tags to enable OSPI in SPL.
Set OSPI regs for R5 SPL to address OSPI's boot region.
Signed-off-by: Jonathan Humphreys
---
arch/arm/dts/k3-am642-evm-u-boot.dtsi | 16
arch/arm/dts/k3-am642-r5-evm.dts | 5 +
arch/arm/dts/k3-am642-r5-sk.dts | 5 +
This series enables OSPI support for AM64x by setting the proper configs, and DT
entries for SPL.
fixes: fa09b12dc5f6 ("arm: ti: k3: Resync dts files and bindings with Linux
Kernel v5.14")
Changes from v1:
- removed the OSPI phy pattern partition, as it wasn't used
v1:
Add configs to support OSPI flash.
Signed-off-by: Jonathan Humphreys
---
configs/am64x_evm_a53_defconfig | 14 --
configs/am64x_evm_r5_defconfig | 14 --
2 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/configs/am64x_evm_a53_defconfig
Tom Rini writes:
> On Thu, Feb 22, 2024 at 11:24:38PM -0600, Jonathan Humphreys wrote:
>> Add bootph DT tags to enable OSPI in SPL.
>> Set OSPI regs for R5 SPL to address OSPI's boot region.
>>
>> Signed-off-by: Jonathan Humphreys
>> ---
>> arch/arm/dts/k3-am642-evm-u-boot.dtsi | 24
On Fri, Feb 23, 2024 at 05:14:20PM +, Ivan Orlov wrote:
> We should have CONFIG_DM_I2C or CONFIG_SYS_I2C_LEGACY enabled in
> order for `cmd/eeprom.c` to compile as it depends on the i2c functions
> which are not compiled otherwise. Update the Kconfig entry for the
> 'eeprom' command
ans/u-boot-amlogic.git
> tags/u-boot-amlogic-fixes-20240223
>
> for you to fetch changes up to fc0a7431e1729f456690468f2e9570fcc2c18175:
>
> configs: khadas-vim3*_android: fix AVB oom error (2024-02-23 18:22:50 +0100)
>
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Fri, Feb 23, 2024 at 12:42:06PM +0100, Sébastien Szymanski wrote:
> Without the '-undef' option, the 'linux' string in .env files is
> replaced with the string '1 '.
> For example, in the board/armadeus/opos6uldev/opos6uldev.env file,
>
> kernelimg=opos6ul-linux.bin
>
> becomes
>
>
TI K3 J784S4 and AM69 are new additions to the K3 SoC family.
Add documentation about the J784S4 EVM and AM69 SK.
Signed-off-by: Dasnavis Sabiya
Signed-off-by: Apurva Nandan
---
board/ti/j784s4/MAINTAINERS | 1 +
doc/board/ti/j784s4_evm.rst | 299
From: Dasnavis Sabiya
Add defconfig for AM69 SK A72 and R5 configuration.
This inlcudes and modifies the J784S4 EVM defconfigs:
j784s4_evm_a72_defconfig -> am69_sk_a72_defconfig
j784s4_evm_r5_defconfig -> am69_sk_r5_defconfig
Signed-off-by: Dasnavis Sabiya
Signed-off-by: Apurva Nandan
---
Add defconfigs for building R5 U-Boot SPL and A72 U-Boot.
Signed-off-by: Hari Nagalla
Signed-off-by: Apurva Nandan
---
board/ti/j784s4/MAINTAINERS | 2 +
configs/j784s4_evm_a72_defconfig | 159 +++
configs/j784s4_evm_r5_defconfig | 153
From: Dasnavis Sabiya
Introduce the base dts files needed for u-boot or to augment the linux
dtbs for use in the u-boot-spl and u-boot binaries.
Signed-off-by: Dasnavis Sabiya
Signed-off-by: Apurva Nandan
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/k3-am69-r5-sk.dts |
Add env file with necessary boot variables.
[ added env files ]
Signed-off-by: Neha Malcom Francis
[ cleaned up the env files ]
Signed-off-by: Manorit Chawdhry
Signed-off-by: Apurva Nandan
---
board/ti/j784s4/j784s4.env | 17 +
1 file changed, 17 insertions(+)
create mode
From: Dasnavis Sabiya
Add defconfig for AM69 SK A72 and R5 configuration.
This inlcudes and modifies the J784S4 EVM defconfigs:
j784s4_evm_a72_defconfig -> am69_sk_a72_defconfig
j784s4_evm_r5_defconfig -> am69_sk_r5_defconfig
Signed-off-by: Dasnavis Sabiya
Signed-off-by: Apurva Nandan
---
Sort JTAG_IDs for K3 SoCs in hardware.h in alphabetical order.
Signed-off-by: Apurva Nandan
Reviewed-by: Nishanth Menon
Reviewed-by: Roger Quadros
---
arch/arm/mach-k3/include/mach/hardware.h | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
Add J784S4 initialization files for initial SPL boot.
config SYS_K3_MCU_SCRATCHPAD_BASE default value is same
for J721E, J721S2, J784S4. So combined them into a single
default.
Signed-off-by: Hari Nagalla
[ add firewall configurations and change the R5 MCU scratchpad ]
Signed-off-by: Manorit
Add clk and device data which can be used by respective drivers
to configure clocks and PSC.
Signed-off-by: Hari Nagalla
Signed-off-by: Apurva Nandan
Reviewed-by: Sean Anderson
Reviewed-by: Nishanth Menon
Reviewed-by: Bryan Brattlof
Reviewed-by: Roger Quadros
---
Add board files for J784S4 EVM.
SYS_DISABLE_DCACHE_OPS is selected in the Kconfig because
J784S4/AM69 are a coherent architecture at A72 level by
MSMC support.
Signed-off-by: Hari Nagalla
Signed-off-by: Dasnavis Sabiya
Signed-off-by: Apurva Nandan
Reviewed-by: Tom Rini
---
Add support for DMA in J784S4 SoC.
Signed-off-by: Jayesh Choudhary
Signed-off-by: Hari Nagalla
Signed-off-by: Apurva Nandan
Reviewed-by: Nishanth Menon
Reviewed-by: Roger Quadros
---
drivers/dma/ti/Makefile | 1 +
drivers/dma/ti/k3-psil-j784s4.c | 166
Add support for J784S4 SoC Identification.
Signed-off-by: Hari Nagalla
Signed-off-by: Apurva Nandan
Reviewed-by: Nishanth Menon
Reviewed-by: Roger Quadros
---
arch/arm/mach-k3/include/mach/hardware.h | 1 +
drivers/soc/soc_ti_k3.c | 3 +++
2 files changed, 4 insertions(+)
Hello Everyone!
This series will introduce basic support (SD and UART) support for Texas
Instruments J784S4 EVM.
The J784S4 SoC device tree patches are taken from kernel patch submissions
and will be updated as they are accepted and merged to the kernel tree.
All other patches are specific to
Sort SOC_K3 config entries in alphabetical order
for clean up.
Signed-off-by: Apurva Nandan
Reviewed-by: Roger Quadros
---
arch/arm/mach-k3/Kconfig | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/arm/mach-k3/Kconfig b/arch/arm/mach-k3/Kconfig
index
TI K3 J784S4 and AM69 are new additions to the K3 SoC family.
Add documentation about the J784S4 EVM and AM69 SK.
Signed-off-by: Dasnavis Sabiya
Signed-off-by: Apurva Nandan
---
board/ti/j784s4/MAINTAINERS | 1 +
doc/board/ti/j784s4_evm.rst | 299
From: Bryan Brattlof
Some boards that choose to utilize the OF_UPSTREAM directory for their
device tree files will need to specify that directory instead of the
traditional arch/$(ARCH)/dts/* path.
Include the correct path to the board's dtbs depending on if OF_UPSTREAM
is selected or not.
Add board files for J784S4 EVM.
SYS_DISABLE_DCACHE_OPS is selected in the Kconfig because
J784S4/AM69 are a coherent architecture at A72 level by
MSMC support.
Signed-off-by: Hari Nagalla
Signed-off-by: Dasnavis Sabiya
Signed-off-by: Apurva Nandan
Reviewed-by: Tom Rini
---
Add support for DMA in J784S4 SoC.
Signed-off-by: Jayesh Choudhary
Signed-off-by: Hari Nagalla
Signed-off-by: Apurva Nandan
Reviewed-by: Nishanth Menon
Reviewed-by: Roger Quadros
---
drivers/dma/ti/Makefile | 1 +
drivers/dma/ti/k3-psil-j784s4.c | 166
Add clk and device data which can be used by respective drivers
to configure clocks and PSC.
Signed-off-by: Hari Nagalla
Signed-off-by: Apurva Nandan
Reviewed-by: Sean Anderson
Reviewed-by: Nishanth Menon
Reviewed-by: Bryan Brattlof
Reviewed-by: Roger Quadros
---
Add env file with necessary boot variables.
[ added env files ]
Signed-off-by: Neha Malcom Francis
[ cleaned up the env files ]
Signed-off-by: Manorit Chawdhry
Signed-off-by: Apurva Nandan
---
board/ti/j784s4/j784s4.env | 17 +
1 file changed, 17 insertions(+)
create mode
From: Dasnavis Sabiya
Introduce the base dts files needed for u-boot or to augment the linux
dtbs for use in the u-boot-spl and u-boot binaries.
Signed-off-by: Dasnavis Sabiya
Signed-off-by: Apurva Nandan
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/k3-am69-r5-sk.dts |
Add defconfigs for building R5 U-Boot SPL and A72 U-Boot.
Signed-off-by: Hari Nagalla
Signed-off-by: Apurva Nandan
---
board/ti/j784s4/MAINTAINERS | 2 +
configs/j784s4_evm_a72_defconfig | 158 +++
configs/j784s4_evm_r5_defconfig | 153
Add support for J784S4 SoC Identification.
Signed-off-by: Hari Nagalla
Signed-off-by: Apurva Nandan
Reviewed-by: Nishanth Menon
Reviewed-by: Roger Quadros
---
arch/arm/mach-k3/include/mach/hardware.h | 1 +
drivers/soc/soc_ti_k3.c | 3 +++
2 files changed, 4 insertions(+)
Sort JTAG_IDs for K3 SoCs in hardware.h in alphabetical order.
Signed-off-by: Apurva Nandan
Reviewed-by: Nishanth Menon
Reviewed-by: Roger Quadros
---
arch/arm/mach-k3/include/mach/hardware.h | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
Add J784S4 initialization files for initial SPL boot.
config SYS_K3_MCU_SCRATCHPAD_BASE default value is same
for J721E, J721S2, J784S4. So combined them into a single
default.
Signed-off-by: Hari Nagalla
[ add firewall configurations and change the R5 MCU scratchpad ]
Signed-off-by: Manorit
Sort SOC_K3 config entries in alphabetical order
for clean up.
Signed-off-by: Apurva Nandan
Reviewed-by: Roger Quadros
---
arch/arm/mach-k3/Kconfig | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/arm/mach-k3/Kconfig b/arch/arm/mach-k3/Kconfig
index
From: Bryan Brattlof
Some boards that choose to utilize the OF_UPSTREAM directory for their
device tree files will need to specify that directory instead of the
traditional arch/$(ARCH)/dts/* path.
Include the correct path to the board's dtbs depending on if OF_UPSTREAM
is selected or not.
Hello Everyone!
This series will introduce basic support (SD and UART) support for Texas
Instruments J784S4 EVM.
The J784S4 SoC device tree patches are taken from kernel patch submissions
and will be updated as they are accepted and merged to the kernel tree.
All other patches are specific to
Hello,
I have a Raspberry Pi 3B Plus which I want to integrate with U-boot
(v2023.10) .
I am using rpi_3_32b_defconfig to generate u-boot.bin. But while booting I
am getting below error
Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1...
In:serial,usbkbd
Out:
/custodians/u-boot-snapdragon (2024-02-22 11:34:59
-0500)
are available in the Git repository at:
https://source.denx.de/u-boot/custodians/u-boot-amlogic.git
tags/u-boot-amlogic-fixes-20240223
for you to fetch changes up to fc0a7431e1729f456690468f2e9570fcc2c18175:
configs: khadas-vim3
Hi,
On Fri, 09 Feb 2024 09:58:35 +0100, Mattijs Korpershoek wrote:
> When booting Android with AVB enabled, an OOM is observed:
>
> => avb init ${mmcdev}
> => avb verify _a
> ## Android Verified Boot 2.0 version 1.1.0
> read_is_device_unlocked not supported yet
> read_rollback_index
We should have CONFIG_DM_I2C or CONFIG_SYS_I2C_LEGACY enabled in
order for `cmd/eeprom.c` to compile as it depends on the i2c functions
which are not compiled otherwise. Update the Kconfig entry for the
'eeprom' command correspondingly.
Signed-off-by: Ivan Orlov
---
V1 -> V2:
- Remove redundant
On Thu, Feb 22, 2024 at 11:24:38PM -0600, Jonathan Humphreys wrote:
> Add bootph DT tags to enable OSPI in SPL.
> Set OSPI regs for R5 SPL to address OSPI's boot region.
>
> Signed-off-by: Jonathan Humphreys
> ---
> arch/arm/dts/k3-am642-evm-u-boot.dtsi | 24
>
There is no reason to describe u-boot.itb on system without SPL. Pretty
much this is cover all systems which are using only boot.bin which contains
all images inside.
Signed-off-by: Michal Simek
---
board/xilinx/common/board.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Generate dfu_alt_info generation based on information from MTD partitions.
mtd_found_part() is trying to identify MTD partition which code is running
from. If partitions are not defined and location is not found it is going
to previous behavior.
Signed-off-by: Michal Simek
---
On 2/23/24 07:01, Alexander Dahl wrote:
The function returns the rate of the parent clock, the previous text
made no sense at all.
Fixes: 4aa78300a025 ("dm: clk: Define clk_get_parent_rate() for clk operations")
Signed-off-by: Alexander Dahl
---
include/clk.h | 2 +-
1 file changed, 1
From: Steffen Dirkwinkel
This ports a change from arm-trusted-firmware:
commit: fe1fa205fca4d1dd4a1b1755942956dbca65d573 in arm-trusted-firmware
(https://github.com/ARM-software/arm-trusted-firmware/commit/fe1fa205fca4d1dd4a1b1755942956dbca65d573)
The OTAPDLYENA change from there will be in
On 22/02/2024 17:46, Tom Rini wrote:
On Mon, Feb 19, 2024 at 06:18:38PM +, Ivan Orlov wrote:
We should have CONFIG_DM_I2C or CONFIG_(SPL_)SYS_I2C_LEGACY enabled in
order for `cmd/eeprom.c` to compile as it depends on the i2c functions
which are not compiled otherwise. Update the Kconfig
From: Steffen Dirkwinkel
Previously we were setting in tapdelay for SD1 every time even if SD0 was
requested.
The SD tapdelay settings are shifted by 16 bits between SD0 and SD1.
We can use that to make our tapdelay setup simpler. This is also how it
currently works in arm-trusted-firmware.
From: Steffen Dirkwinkel
These are used during sdhci initialization as functions are called with
node_id even if we're not talking to the firmware.
Signed-off-by: Steffen Dirkwinkel
---
configs/xilinx_zynqmp_virt_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
From: Steffen Dirkwinkel
This seems to have been required for sd init. I don't need it anymore
with correct tapdelay / dll reset handling, but can't be sure this works
on all platforms.
Signed-off-by: Steffen Dirkwinkel
---
board/xilinx/zynqmp/zynqmp.c | 3 ---
1 file changed, 3
From: Steffen Dirkwinkel
This ports a change from arm-trusted-firmware:
commit: fe1fa205fca4d1dd4a1b1755942956dbca65d573 in arm-trusted-firmware
(https://github.com/ARM-software/arm-trusted-firmware/commit/fe1fa205fca4d1dd4a1b1755942956dbca65d573)
The ITAPDLYENA change is in another commit.
We
On Fri, Feb 23, 2024 at 6:11 AM Francesco Dolcini wrote:
>
> From: Francesco Dolcini
>
> This series fixes two regressions affecting multiple Toradex boards
> (i.MX, TI and TEGRA based) and targets the current master, e.g. v2024.04
> release.
>
> U-Boot `reset` command is broken on all Tordex
On Fri, Feb 23, 2024 at 8:28 AM Sébastien Szymanski
wrote:
>
> Commit 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()") caused
> the 'reset' command in U-Boot to not cause a board reset.
>
> Fix it by switching to the watchdog driver model via sysreset, which
> is the preferred method for
The function returns the rate of the parent clock, the previous text
made no sense at all.
Fixes: 4aa78300a025 ("dm: clk: Define clk_get_parent_rate() for clk operations")
Signed-off-by: Alexander Dahl
---
include/clk.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
From: Fabio Estevam
Sent: Thursday, February 22, 2024 1:39 AM
To: sba...@denx.de
Cc: Jason Liu ; u-boot@lists.denx.de
; Fabio Estevam
Subject: [PATCH] imx53-qsb: Convert to watchdog driver model
Commit 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()")
Add bootph DT tags to enable OSPI in SPL.
Set OSPI regs for R5 SPL to address OSPI's boot region.
Signed-off-by: Jonathan Humphreys
---
arch/arm/dts/k3-am642-evm-u-boot.dtsi | 24
arch/arm/dts/k3-am642-r5-evm.dts | 5 +
arch/arm/dts/k3-am642-r5-sk.dts |
This series enables OSPI support for AM64x by setting the proper configs, and DT
entries for SPL.
fixes: fa09b12dc5f6 ("arm: ti: k3: Resync dts files and bindings with Linux
Kernel v5.14")
Jonathan Humphreys (2):
configs: am64x_evm_*_defconfig: Enable OSPI support
arm: dts: k3-am642-evm/sk:
Add configs to support OSPI flash.
Signed-off-by: Jonathan Humphreys
---
configs/am64x_evm_a53_defconfig | 14 --
configs/am64x_evm_r5_defconfig | 14 --
2 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/configs/am64x_evm_a53_defconfig
Without the '-undef' option, the 'linux' string in .env files is
replaced with the string '1 '.
For example, in the board/armadeus/opos6uldev/opos6uldev.env file,
kernelimg=opos6ul-linux.bin
becomes
kernelimg=opos6ul-1 .bin
in the include/generated/env.in file.
That's because 'linux' is a
On Fri, Feb 23, 2024 at 02:42:12PM +0530, Bhargav Raviprakash wrote:
> + int mask = TPS65224_LDO_VOLT_MASK >> 1;
> +
> + if (idx > 0) {
> + base = TPS65224_LDO23_VOLT_MIN;
> + max = TPS65224_LDO23_VOLT_MAX;
> + reg_base = TPS65224_LDO23_VOLT_MIN_HEX;
> +
Commit 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()") caused
the 'reset' command in U-Boot to not cause a board reset.
Fix it by switching to the watchdog driver model via sysreset, which
is the preferred method for implementing the watchdog reset.
Signed-off-by: Sébastien Szymanski
On Feb 23, 2024 at 14:42:11 +0530, Bhargav Raviprakash wrote:
> Use function callbacks for volt2val, val2volt and slewrate lookups.
> This makes it easier to add support for TPS65224 PMIC regulators.
>
> Signed-off-by: Bhargav Raviprakash
> ---
> drivers/power/regulator/tps65941_regulator.c |
Reuse TPS65941 regulator driver to adds support for
TPS65224 PMIC's regulators. 4 BUCKs and 3 LDOs, where
BUCK1 and BUCK2 can be configured in dual phase mode.
Signed-off-by: Bhargav Raviprakash
---
drivers/power/regulator/tps65941_regulator.c | 279 ++-
1 file changed, 266
Adds compatible and data field values of TPS65224 driver in
TPS65941 PMIC driver.
Signed-off-by: Bhargav Raviprakash
---
drivers/power/pmic/tps65941.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/power/pmic/tps65941.c b/drivers/power/pmic/tps65941.c
index 727b42747a..ef63eb733a
From: Emanuele Ghidoli
Set CONFIG_NET_RANDOM_ETHADDR=y, which sets random eth address in
case there is no toradex config block programmed.
In case of missing toradex config block the generated mac address was
always the same, linked to serial number 0.
Use random generated mac address instead.
Use function callbacks for volt2val, val2volt and slewrate lookups.
This makes it easier to add support for TPS65224 PMIC regulators.
Signed-off-by: Bhargav Raviprakash
---
drivers/power/regulator/tps65941_regulator.c | 61 +++-
1 file changed, 48 insertions(+), 13 deletions(-)
From: Parth Pancholi
commit 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()")
introduced a regression that 'reset' command unable to reset
imx6 and imx6ull based Toradex's modules in the u-boot.
This change enables a watchdog-based sysreset driver for
Toradex's colibri-imx6,
Adds macros for buck and ldo ids and switched to using switch
case instead of if else in probe functions. Helps in adding
support for TPS65224 PMIC.
Signed-off-by: Bhargav Raviprakash
---
drivers/power/regulator/tps65941_regulator.c | 54 +++-
1 file changed, 42 insertions(+),
Re-use the TPS65941 PMIC driver for TPS65224 PMIC.
Add additional macros of TPS65224 to aid in the driver
re-use.
Signed-off-by: Bhargav Raviprakash
---
include/power/tps65941.h | 30 ++
1 file changed, 30 insertions(+)
diff --git a/include/power/tps65941.h
TPS65224 is a Power Management IC which provides regulators and others
features like GPIOs, RTC, watchdog, ADC, ESMs (Error Signal Monitor),
and PFSM (Pre-configurable Finite State Machine). The SoC and the PMIC
can communicate through the I2C.
Data Sheet for TPS65224:
From: Emanuele Ghidoli
Use SETTINGS_R event to read toradex config block and checkboard()
to print board info.
Acked-by: Marcel Ziswiler
Tested-by: Marcel Ziswiler # Verdin iMX8M Plus
Signed-off-by: Emanuele Ghidoli
Signed-off-by: Francesco Dolcini
---
board/toradex/common/tdx-common.c |
From: Emanuele Ghidoli
This commit introduces support for the Toradex sysinfo driver in U-Boot,
which uses information from Toradex config block to print correct
board model.
In case the Toradex config block is not present sysinfo prints the model
of the board provided by device tree removing
From: Emanuele Ghidoli
Sysinfo prints the model obtained from device tree, checkboard()
take info from hardware and tdx_checkboard() use the model retrieved by
toradex config block.
Remove the print from checkboard() function because the model obtained
from toradex config block is the most
From: Francesco Dolcini
This series fixes two regressions affecting multiple Toradex boards
(i.MX, TI and TEGRA based) and targets the current master, e.g. v2024.04
release.
U-Boot `reset` command is broken on all Tordex i.MX6* based SoMs since
v2023.07, this series fixes it enabling the
From: Emanuele Ghidoli
Use the common syntax to define aliases.
Acked-by: Marcel Ziswiler
Tested-by: Marcel Ziswiler # Verdin iMX8M Plus
Signed-off-by: Emanuele Ghidoli
Signed-off-by: Francesco Dolcini
---
.../dts/imx6dl-colibri-eval-v3-u-boot.dtsi| 18 -
From: Emanuele Ghidoli
Since checkboard() is used instead of show_board_info(), in case toradex
config block is missing or malformed, checkboard is recursively called.
It prints a long list of "MISSING TORADEX CONFIG BLOCK" till the stack
is full.
Fixes: edb0ecd18708 ("toradex: Use checkboard()
From: Quentin Schulz
The BUTTON_ADC symbol guards the compilation of button-adc driver whose
name very well makes it explicit that it requires ADC support to be
enabled.
Fix build issue of button-adc driver when ADC support isn't enabled by
making sure it cannot be built without ADC support.
From: Quentin Schulz
The SARADC is used on Jaguar for multiple things:
- channel 0 is used (at runtime) as a BIOS button,
- channel 2 is exposed on the Mezzanine connector for customer specific
logic,
- channel 5 and 6 are used for identification,
Since the SARADC requires a vref-supply
From: Quentin Schulz
SARADC v2 doesn't have a stop mechanism once in single mode. In series
conversion, the logic is different anyway. Therefore, let's abstract
this function so that it can be provided from the udevice.data pointer.
Cc: Quentin Schulz
Signed-off-by: Quentin Schulz
---
From: Quentin Schulz
ADC support is implied by the Rockchip arch Kconfig but that means it
should be possible to disable ADC support and still be able to build.
However the weak implementation of rockchip_dnl_key_pressed() currently
blindly use functions from the ADC subsystem which do not
From: Quentin Schulz
The ADC controller drivers are obviously all depending on ADC symbol
being selected.
While they don't seem to fail to build without, they won't be useful
without that symbol selected, so let's make sure the options aren't
shown in menuconfig when ADC isn't selected.
Cc:
From: Quentin Schulz
SPL_PMIC_RK8XX and PMIC_RK8XX both share the same prompt making it
difficult to know at first glance in menuconfig what's for what, let's
fix this by adding "in SPL" at the end of the prompt for the SPL symbol.
Cc: Quentin Schulz
Signed-off-by: Quentin Schulz
---
From: Quentin Schulz
SARADC v1 and v2 have a different way of reading data, therefore let's
abstract this function so that it can be provided from the udevice.data
pointer.
Cc: Quentin Schulz
Signed-off-by: Quentin Schulz
---
drivers/adc/rockchip-saradc.c | 37
From: Quentin Schulz
This adds support for the SARADCv2 found on RK3588.
There is no stop callback as it is currently configured in single
conversion mode, where the ADC is powered down after a single conversion
has been made.
Due to what seems to be a silicon bug, a controller reset needs to
From: Quentin Schulz
SARADC v1 and v2 have a different way of starting a channel, therefore
let's abstract this function so that it can be provided from the
udevice.data pointer.
Cc: Quentin Schulz
Signed-off-by: Quentin Schulz
---
drivers/adc/rockchip-saradc.c | 30
From: William Wu
On RK809 in PMIC_POWER_ENX registers, in order to set or clear a bit N,
the bit at offset N + 4 needs to be set otherwise nothing is done.
This fixes the inability to modify the SWITCH state on RK809.
Cc: Quentin Schulz
Signed-off-by: William Wu
[reworded commit log]
From: Quentin Schulz
The registers are entirely different between SARADC v1 and SARADC v2, so
let's prepare to add another struct for accessing v2 registers by adding
a union.
Cc: Quentin Schulz
Signed-off-by: Quentin Schulz
---
drivers/adc/rockchip-saradc.c | 23 +--
1
From: Quentin Schulz
By passing a rk8xx_reg_info directly to the internal get_value, it'd be
possible to call this same function with a logic for getting the
rk8xx_reg_info different from the current get_ldo_reg, e.g. for NLDO and
PLDO support for RK806.
No logic change is expected.
Cc:
From: Quentin Schulz
Reword the help text for the pmic read and pmic write commands to better
match what's expected from the user.
Cc: Quentin Schulz
Signed-off-by: Quentin Schulz
---
cmd/pmic.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmd/pmic.c b/cmd/pmic.c
From: Quentin Schulz
This adds support for RK806, only the SPI variant has been tested.
The communication "protocol" over SPI is the following:
- write three bytes:
- 1 byte: [0:3] length of the payload, [6] Enable CRC, [7] Write
- 1 byte: LSB register address
- 1 byte: MSB register
From: Quentin Schulz
Those two functions had their last user removed in commit f9c68a566c4d
("rockchip: phycore_rk3288: remove phycore_init() function") part of
v2023.01 release, so let's do some cleanup here.
Cc: Quentin Schulz
Signed-off-by: Quentin Schulz
---
From: Quentin Schulz
The read-only mode is currently supported but only for 16b-aligned
buffers. For unaligned buffers, the last byte will be read in RW mode
right now, which isn't what is desired. Instead, let's put the
controller back into RO mode for that last byte and skip any write in
the
The RK3588 has a new IP for SARADC compared to older SoCs of the same
vendor but most of the boilerplate is shared, so rockchip-saradc.c
driver is adapted instead of creating a new one.
Because the SARADC requires a vref-supply which is commonly coming from
a regulator of the RK806 PMIC, support
On Tue, Feb 20, 2024 at 07:29:25PM +0100, Francesco Dolcini wrote:
> From: Emanuele Ghidoli
>
> Set CONFIG_NET_RANDOM_ETHADDR=y, which sets random eth address in
> case there is no toradex config block programmed.
> In case of missing toradex config block the generated mac address was
> always
96 matches
Mail list logo