[PATCH] Revert "drivers: mmc: rpmb: Use R1 response"

2025-06-20 Thread Jan Kiszka
From: Jan Kiszka This reverts commit ae93d8106bdb5926efef9222d553adb295ebce96. It is no longer needed since 24b1e0c7e2e3. Since the obsolete include pulled in byteorder.h which is needed by now, include this one directly. Signed-off-by: Jan Kiszka --- drivers/mmc/rpmb.c | 6 +- 1 file

Re: [PATCH v3 5/5] board: siemens: iot2050: Use sysinfo for board initialization

2025-02-13 Thread Jan Kiszka
On 10.02.25 14:05, Baocheng Su wrote: > Drop the info structure parsing of the board in favor of our new sysinfo > driver to avoid code duplication. > > Signed-off-by: Baocheng Su > Signed-off-by: Li Hua Qian > [Jan: rebasing, split-up, cleanup] > Sign

Re: [PATCH] watchdog: rti: drop hack manipulating WDT clock rate

2024-11-20 Thread Jan Kiszka
> return 0; > } > Makes sense when the kernel is updated to a stable version that contains "watchdog: rti_wdt: Set min_hw_heartbeat_ms to accommodate a safety margin" because the intention of this change was "to have comparable preset values for both drivers". Heads up for my colleagues (you already use such a kernel) and a Reviewed-by: Jan Kiszka for this here. Jan -- Siemens AG, Technology Linux Expert Center

Re: [PATCH] watchdog: rti: support SPL (or re-start)

2024-11-09 Thread Jan Kiszka
mer_margin >>= WDT_PRELOAD_SHIFT; > - if (timer_margin > WDT_PRELOAD_MAX) > - timer_margin = WDT_PRELOAD_MAX; > - > writel(timer_margin, priv->regs + RTIDWDPRLD); > writel(RTIWWDRX_NMI, priv->regs + RTIWWDRXCTRL); > writel(RTIWWDSIZE_50P, priv->regs + RTIWWDSIZECTRL); Reviewed-by: Jan Kiszka Jan -- Siemens AG, Technology Linux Expert Center

Re: [PATCH v2 11/13] smbios: Fill UUID from sysinfo when available

2024-10-27 Thread Jan Kiszka
On 25.10.24 03:08, Tom Rini wrote: > On Tue, Oct 22, 2024 at 08:04:28AM +0200, Jan Kiszka wrote: > >> From: Jan Kiszka >> >> Allow for the sysinfo drivers to provide a system UUID to SMBIOS. Will >> be first used by the IOT2050 boards. >> >> Based on o

Re: [PATCH v2 11/13] smbios: Fill UUID from sysinfo when available

2024-10-27 Thread Jan Kiszka
On 27.10.24 15:56, Simon Glass wrote: > Hi Jan, > > On Wed, 23 Oct 2024 at 06:14, Jan Kiszka wrote: >> >> On 23.10.24 05:39, Simon Glass wrote: >>> Hi Jan, >>> >>> On Tue, 22 Oct 2024 at 21:41, Jan Kiszka wrote: >>>> >>>>

Re: [PATCH v2 12/13] sysinfo: Add driver for IOT2050 boards

2024-10-22 Thread Jan Kiszka
On 23.10.24 05:39, Simon Glass wrote: > Hi Jan, > > On Tue, 22 Oct 2024 at 21:59, Jan Kiszka wrote: >> >> On 22.10.24 19:00, Simon Glass wrote: >>> On Tue, 22 Oct 2024 at 08:06, Jan Kiszka wrote: >>>> >>>> From: Li Hua Qian >>>&

Re: [PATCH v2 11/13] smbios: Fill UUID from sysinfo when available

2024-10-22 Thread Jan Kiszka
On 23.10.24 05:39, Simon Glass wrote: > Hi Jan, > > On Tue, 22 Oct 2024 at 21:41, Jan Kiszka wrote: >> >> On 22.10.24 19:00, Simon Glass wrote: >>> On Tue, 22 Oct 2024 at 08:06, Jan Kiszka wrote: >>>> >>>> From: Jan Kiszka >>>&

Re: [PATCH v2 12/13] sysinfo: Add driver for IOT2050 boards

2024-10-22 Thread Jan Kiszka
On 22.10.24 19:00, Simon Glass wrote: > On Tue, 22 Oct 2024 at 08:06, Jan Kiszka wrote: >> >> From: Li Hua Qian >> >> This brings a sysinfo driver and DT entry for the IOT2050 board series. >> It translates the board information passed from SE-Boot to SPL into &g

Re: [PATCH v2 11/13] smbios: Fill UUID from sysinfo when available

2024-10-22 Thread Jan Kiszka
On 22.10.24 19:00, Simon Glass wrote: > On Tue, 22 Oct 2024 at 08:06, Jan Kiszka wrote: >> >> From: Jan Kiszka >> >> Allow for the sysinfo drivers to provide a system UUID to SMBIOS. Will >> be first used by the IOT2050 boards. >> >> Based on origi

[PATCH v2 04/13] board: siemens: iot2050: Pass DDR size from FSBL

2024-10-21 Thread Jan Kiszka
to support this change. Also now for some variants, the DDR size may > 2GB, so borrow some code from the TI evm to iot2050 to support more than 2GB DDR. Signed-off-by: Baocheng Su Signed-off-by: Jan Kiszka --- board/siemens/iot2050/board.c | 39 ++- doc/board/s

[PATCH v2 00/13] boards: siemens: iot2050: SM variant, sysinfo support, fixes & cleanups

2024-10-21 Thread Jan Kiszka
pcie power for all variants board: siemens: iot2050: Pass DDR size from FSBL board: siemens: iot2050: Generalize the fdt fixup board: iot2050: Support new IOT2050-SM variant Jan Kiszka (5): board: siemens: iot2050: Fix mistake in list of writable env vars board: siemens: iot2050: Stop using

[PATCH v2 01/13] board: siemens: iot2050: Fix mistake in list of writable env vars

2024-10-21 Thread Jan Kiszka
From: Jan Kiszka This prevented to set m2_manual_config - as evaluated by m2_connector_setup - under strict configurations for secure boot. Signed-off-by: Jan Kiszka --- include/configs/iot2050.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/iot2050.h b

Re: [PATCH 01/11] board: siemens: iot2050: Fix mistake in list of writable env vars

2024-10-21 Thread Jan Kiszka
On 10.10.24 08:34, Michael Nazzareno Trimarchi wrote: > On Thu, Oct 10, 2024 at 7:56 AM Jan Kiszka wrote: >> >> From: Jan Kiszka >> >> This prevented to set m2_manual_config - as evaluated by >> m2_connector_setup - under strict configurations for secure boot

[PATCH v2 11/13] smbios: Fill UUID from sysinfo when available

2024-10-21 Thread Jan Kiszka
From: Jan Kiszka Allow for the sysinfo drivers to provide a system UUID to SMBIOS. Will be first used by the IOT2050 boards. Based on original patch by Li Hua Qian. Signed-off-by: Jan Kiszka --- include/sysinfo.h | 1 + lib/smbios.c | 4 2 files changed, 5 insertions(+) diff --git

[PATCH v2 13/13] board: siemens: iot2050: Use sysinfo for board initialization

2024-10-21 Thread Jan Kiszka
From: Li Hua Qian Drop the info structure parsing of the board in favor of our new sysinfo driver to avoid code duplication. Signed-off-by: Baocheng Su Signed-off-by: Li Hua Qian [Jan: rebasing, split-up, cleanup] Signed-off-by: Jan Kiszka --- arch/arm/mach-k3/am65x/Kconfig | 2 + board

[PATCH v2 12/13] sysinfo: Add driver for IOT2050 boards

2024-10-21 Thread Jan Kiszka
Hua Qian [Jan: split-off as separate patch, cleanup] Signed-off-by: Jan Kiszka --- .../dts/k3-am65-iot2050-common-u-boot.dtsi| 18 +++ configs/iot2050_defconfig | 1 + drivers/sysinfo/Kconfig | 7 + drivers/sysinfo/Makefile

[PATCH v2 10/13] board: iot2050: Support new IOT2050-SM variant

2024-10-21 Thread Jan Kiszka
] Signed-off-by: Jan Kiszka --- arch/arm/dts/k3-am65-iot2050-boot-image.dtsi | 5 - .../dts/k3-am6548-iot2050-advanced-sm-u-boot.dtsi | 1 + board/siemens/iot2050/board.c | 15 ++- configs/iot2050_defconfig | 2 +- doc/board

[PATCH v2 09/13] board: siemens: iot2050: Migrate to OF_UPSTREAM

2024-10-21 Thread Jan Kiszka
From: Jan Kiszka This requires some tweaking of the defconfig and board_fit_config_name_match so that the new sources are taken into account. Signed-off-by: Jan Kiszka --- arch/arm/dts/Makefile | 7 - arch/arm/dts/k3-am65-iot2050-boot-image.dtsi | 16 +- arch/arm

[PATCH v2 07/13] arm64: dts: ti: iot2050: Disable lock-step for all iot2050 boards

2024-10-21 Thread Jan Kiszka
avoid potential issues. Signed-off-by: Li Hua Qian Signed-off-by: Jan Kiszka Link: https://lore.kernel.org/r/d1f5f84db7a1597cd29628a0b503e578367b7b40.1724830741.git.jan.kis...@siemens.com Signed-off-by: Nishanth Menon [ upstream commit: e0133f883cf115d9e97e704169a9fb6003caefb2 ] (cherry picked

[PATCH v2 08/13] arm64: dts: ti: iot2050: Add overlays for M.2 used by firmware

2024-10-21 Thread Jan Kiszka
From: Jan Kiszka To allow firmware to pick up all DTs from here, move the overlays that are normally applied during DT fixup to the kernel source as well. Hook then into the build nevertheless to ensure that regular checks are performed. Signed-off-by: Jan Kiszka Link: https://lore.kernel.org

[PATCH v2 05/13] board: siemens: iot2050: Generalize the fdt fixup

2024-10-21 Thread Jan Kiszka
have immediate effect for other variant, however this makes the future variant more easier to apply fdt fixups. Signed-off-by: Baocheng Su Signed-off-by: Jan Kiszka --- board/siemens/iot2050/board.c | 32 +++- 1 file changed, 19 insertions(+), 13 deletions(-) diff

[PATCH v2 06/13] board: siemens: iot2050: Stop using special spl DT sources

2024-10-21 Thread Jan Kiszka
From: Jan Kiszka We can simply use the default DT, Basic PG1, because no nodes that are different between the variants play a role for SPL. Will help with the migration to OF_UPSTREAM. Signed-off-by: Jan Kiszka --- arch/arm/dts/Makefile| 1 - arch/arm/dts/k3-am65

[PATCH v2 02/13] board: siemens: iot2050: Fix coding style

2024-10-21 Thread Jan Kiszka
From: Baocheng Su Add a space after the 'if' Signed-off-by: Baocheng Su Signed-off-by: Jan Kiszka --- board/siemens/iot2050/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/siemens/iot2050/board.c b/board/siemens/iot2050/board.c index ed292c364a5..e

[PATCH v2 03/13] board: siemens: iot2050: Control pcie power for all variants

2024-10-21 Thread Jan Kiszka
From: Baocheng Su The power control pin of pcie interface not only works for M.2 interface but also for miniPCIE, so promote this logic to all variants to workaround the module hang issue. Signed-off-by: Baocheng Su Signed-off-by: Jan Kiszka --- board/siemens/iot2050/board.c | 12

Re: [PATCH 00/11] boards: siemens: iot2050: SM variant, sysinfo support, fixes & cleanups

2024-10-20 Thread Jan Kiszka
On 19.10.24 16:16, Tom Rini wrote: > On Thu, Oct 10, 2024 at 07:55:44AM +0200, Jan Kiszka wrote: > >> This series depends on: >> https://patchwork.ozlabs.org/project/uboot/patch/a54b501a-9a98-426c-a5ca-faf547411...@siemens.com/ >> >> This adds support for the new IO

[PATCH 07/11] board: siemens: iot2050: Migrate to OF_UPSTREAM

2024-10-09 Thread Jan Kiszka
From: Jan Kiszka This requires some tweaking of the defconfig and board_fit_config_name_match so that the new sources are taken into account. Signed-off-by: Jan Kiszka --- arch/arm/dts/Makefile | 7 - arch/arm/dts/k3-am65-iot2050-boot-image.dtsi | 16 +- arch/arm

[PATCH 11/11] board: siemens: iot2050: Use sysinfo for board initialization

2024-10-09 Thread Jan Kiszka
From: Li Hua Qian Drop the info structure parsing of the board in favor of our new sysinfo driver to avoid code duplication. Signed-off-by: Baocheng Su Signed-off-by: Li Hua Qian [Jan: rebasing, split-up, cleanup] Signed-off-by: Jan Kiszka --- arch/arm/mach-k3/am65x/Kconfig | 2 + board

[PATCH 09/11] smbios: Fill UUID from sysinfo when available

2024-10-09 Thread Jan Kiszka
From: Jan Kiszka Allow for the sysinfo drivers to provide a system UUID to SMBIOS. Will be first used by the IOT2050 boards. Based on original patch by Li Hua Qian. Signed-off-by: Jan Kiszka --- include/sysinfo.h | 1 + lib/smbios.c | 4 2 files changed, 5 insertions(+) diff --git

[PATCH 00/11] boards: siemens: iot2050: SM variant, sysinfo support, fixes & cleanups

2024-10-09 Thread Jan Kiszka
: iot2050: Generalize the fdt fixup dts: iot2050: Support new IOT2050-SM variant Jan Kiszka (4): board: siemens: iot2050: Fix mistake in list of writable env vars board: siemens: iot2050: Stop using special spl DT sources board: siemens: iot2050: Migrate to OF_UPSTREAM smbios: Fill UUID from

[PATCH 10/11] sysinfo: Add driver for IOT2050 boards

2024-10-09 Thread Jan Kiszka
Hua Qian [Jan: split-off as separate patch, cleanup] Signed-off-by: Jan Kiszka --- .../dts/k3-am65-iot2050-common-u-boot.dtsi| 18 +++ configs/iot2050_defconfig | 1 + drivers/sysinfo/Kconfig | 7 + drivers/sysinfo/Makefile

[PATCH 08/11] dts: iot2050: Support new IOT2050-SM variant

2024-10-09 Thread Jan Kiszka
sensor and one light sensor. Signed-off-by: Baocheng Su [Jan: rebased over OF_UPSTREAM] Signed-off-by: Jan Kiszka --- arch/arm/dts/k3-am65-iot2050-boot-image.dtsi | 5 - .../dts/k3-am6548-iot2050-advanced-sm-u-boot.dtsi | 1 + board/siemens/iot2050/board.c | 15

[PATCH 06/11] board: siemens: iot2050: Stop using special spl DT sources

2024-10-09 Thread Jan Kiszka
From: Jan Kiszka We can simply use the default DT, Basic PG1, because no nodes that are different between the variants play a role for SPL. Will help with the migration to OF_UPSTREAM. Signed-off-by: Jan Kiszka --- arch/arm/dts/Makefile| 1 - arch/arm/dts/k3-am65

[PATCH 04/11] board: siemens: iot2050: Pass DDR size from FSBL

2024-10-09 Thread Jan Kiszka
to support this change. Also now for some variants, the DDR size may > 2GB, so borrow some code from the TI evm to iot2050 to support more than 2GB DDR. Signed-off-by: Baocheng Su Signed-off-by: Jan Kiszka --- board/siemens/iot2050/board.c | 39 ++- doc/board/s

[PATCH 05/11] board: siemens: iot2050: Generalize the fdt fixup

2024-10-09 Thread Jan Kiszka
have immediate effect for other variant, however this makes the future variant more easier to apply fdt fixups. Signed-off-by: Baocheng Su Signed-off-by: Jan Kiszka --- board/siemens/iot2050/board.c | 32 +++- 1 file changed, 19 insertions(+), 13 deletions(-) diff

[PATCH 03/11] board: siemens: iot2050: Control pcie power for all variants

2024-10-09 Thread Jan Kiszka
From: Baocheng Su The power control pin of pcie interface not only works for M.2 interface but also for miniPCIE, so promote this logic to all variants to workaround the module hang issue. Signed-off-by: Baocheng Su Signed-off-by: Jan Kiszka --- board/siemens/iot2050/board.c | 12

[PATCH 02/11] board: siemens: iot2050: Fix coding style

2024-10-09 Thread Jan Kiszka
From: Baocheng Su Add a space after the 'if' Signed-off-by: Baocheng Su Signed-off-by: Jan Kiszka --- board/siemens/iot2050/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/siemens/iot2050/board.c b/board/siemens/iot2050/board.c index ed292c364a5..e

[PATCH 01/11] board: siemens: iot2050: Fix mistake in list of writable env vars

2024-10-09 Thread Jan Kiszka
From: Jan Kiszka This prevented to set m2_manual_config - as evaluated by m2_connector_setup - under strict configurations for secure boot. Signed-off-by: Jan Kiszka --- include/configs/iot2050.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/iot2050.h b

Re: [PATCH] usb: dwc3-generic: fix CONFIG_DM_REGULATOR-off case

2024-10-09 Thread Jan Kiszka
On 30.09.24 06:54, Jan Kiszka wrote: > On 09.08.24 17:19, Caleb Connolly wrote: >> >> >> On 09/08/2024 07:19, Jan Kiszka wrote: >>> On 08.08.24 16:27, Caleb Connolly wrote: >>>> Hi Jan, >>>> >>>> On 08/08/2024 10:51, Jan Kisz

[PATCH] Extend usage for OF_OVERLAY_LIST beyond SPL

2024-09-30 Thread Jan Kiszka
From: Jan Kiszka Allow to use OF_OVERLAY_LIST also for the case that the overlays just need be built, e.g. when they will be picked up by binman as artifacts of the final U-Boot image. The IOT2050 boards have such a need when switching to OF_UPSTREAM. Signed-off-by: Jan Kiszka --- While

Re: [PATCH 2/3] dts: Add ability to build DTOs only from arch/$(ARCH)/dts

2024-09-29 Thread Jan Kiszka
On 30.09.24 08:02, Sumit Garg wrote: > + Jan > > Hi Marek, > > On Sat, 28 Sept 2024 at 03:20, Marek Vasut wrote: >> >> Currently the enablement of OF_UPSTREAM results on the build system >> searching for DTs only in dts/upstream/ . There are platforms which >> use U-Boot specific DTBOs applied o

Re: [PATCH] usb: dwc3-generic: fix CONFIG_DM_REGULATOR-off case

2024-09-29 Thread Jan Kiszka
On 09.08.24 17:19, Caleb Connolly wrote: > > > On 09/08/2024 07:19, Jan Kiszka wrote: >> On 08.08.24 16:27, Caleb Connolly wrote: >>> Hi Jan, >>> >>> On 08/08/2024 10:51, Jan Kiszka wrote: >>>> From: Jan Kiszka >>>> >>

Re: OF_UPSTREAM vs. additional dtbs

2024-09-10 Thread Jan Kiszka
On 10.09.24 14:36, Frank Wunderlich wrote: > Am 10. September 2024 14:08:07 MESZ schrieb Jan Kiszka > : >> On 10.09.24 08:38, Sumit Garg wrote: >>> Hi Jan, >>> >>> On Thu, 5 Sept 2024 at 12:08, Jan Kiszka wrote: >>>> >>>> On 04.0

Re: OF_UPSTREAM vs. additional dtbs

2024-09-10 Thread Jan Kiszka
On 10.09.24 08:38, Sumit Garg wrote: > Hi Jan, > > On Thu, 5 Sept 2024 at 12:08, Jan Kiszka wrote: >> >> On 04.09.24 19:29, Frank Wunderlich wrote: >>> >>> >>>> Gesendet: Mittwoch, 04. September 2024 um 19:16 Uhr >>>> Von: "Jan

Re: OF_UPSTREAM vs. additional dtbs

2024-09-04 Thread Jan Kiszka
On 04.09.24 19:29, Frank Wunderlich wrote: > > >> Gesendet: Mittwoch, 04. September 2024 um 19:16 Uhr >> Von: "Jan Kiszka" >> OK, our overlay sources are on their way into mainline, will only take >> until 6.12-rc1 to get them here. To accelerate the p

Re: OF_UPSTREAM vs. additional dtbs

2024-09-04 Thread Jan Kiszka
On 27.08.24 12:39, Sumit Garg wrote: > On Tue, 27 Aug 2024 at 15:05, Jan Kiszka wrote: >> >> On 27.08.24 09:13, Sumit Garg wrote: >>> On Mon, 26 Aug 2024 at 18:02, Jan Kiszka wrote: >>>> >>>> On 26.08.24 09:10, Sumit Garg wrote: >&

Re: OF_UPSTREAM vs. additional dtbs

2024-08-27 Thread Jan Kiszka
On 27.08.24 09:13, Sumit Garg wrote: > On Mon, 26 Aug 2024 at 18:02, Jan Kiszka wrote: >> >> On 26.08.24 09:10, Sumit Garg wrote: >>> On Mon, 26 Aug 2024 at 12:19, Jan Kiszka wrote: >>>> >>>> On 26.08.24 08:44, Sumit Garg wrote: >>>&g

Re: OF_UPSTREAM vs. additional dtbs

2024-08-26 Thread Jan Kiszka
On 26.08.24 09:10, Sumit Garg wrote: > On Mon, 26 Aug 2024 at 12:19, Jan Kiszka wrote: >> >> On 26.08.24 08:44, Sumit Garg wrote: >>> Hi, >>> >>> On Wed, 14 Aug 2024 at 22:14, Jan Kiszka wrote: >>>> >>>> On 14.08.24 11:4

Re: OF_UPSTREAM vs. additional dtbs

2024-08-25 Thread Jan Kiszka
On 26.08.24 08:44, Sumit Garg wrote: > Hi, > > On Wed, 14 Aug 2024 at 22:14, Jan Kiszka wrote: >> >> On 14.08.24 11:41, Jan Kiszka wrote: >>> On 13.08.24 14:52, Nishanth Menon wrote: >>>> On 11:16-20240813, Jan Kiszka wrote: >>>>> Hi al

Re: OF_UPSTREAM vs. additional dtbs

2024-08-14 Thread Jan Kiszka
On 14.08.24 11:41, Jan Kiszka wrote: > On 13.08.24 14:52, Nishanth Menon wrote: >> On 11:16-20240813, Jan Kiszka wrote: >>> Hi all, >>> >>> I'm trying to migrate the TI AM65x IOT2050 boards to OF_UPSTREAM but I'm >>> facing issues because I

Re: OF_UPSTREAM vs. additional dtbs

2024-08-14 Thread Jan Kiszka
On 13.08.24 14:52, Nishanth Menon wrote: > On 11:16-20240813, Jan Kiszka wrote: >> Hi all, >> >> I'm trying to migrate the TI AM65x IOT2050 boards to OF_UPSTREAM but I'm >> facing issues because I need to still build the u-boot-only overlays. It >> is als

OF_UPSTREAM vs. additional dtbs

2024-08-13 Thread Jan Kiszka
Hi all, I'm trying to migrate the TI AM65x IOT2050 boards to OF_UPSTREAM but I'm facing issues because I need to still build the u-boot-only overlays. It is also a bit weird (but works) having to specify CONFIG_SPL_OF_LIST="../../../../arch/arm/dts/k3-am65-iot2050-spl" for our spl dtb. Are ther

Re: [PATCH] usb: dwc3-generic: fix CONFIG_DM_REGULATOR-off case

2024-08-08 Thread Jan Kiszka
On 08.08.24 16:27, Caleb Connolly wrote: > Hi Jan, > > On 08/08/2024 10:51, Jan Kiszka wrote: >> From: Jan Kiszka >> >> When DM_REGULATOR is disabled, all calls will return -ENOSYS. Account >> for that so that targets like the IOT2050 will work again. >

[PATCH] usb: dwc3-generic: fix CONFIG_DM_REGULATOR-off case

2024-08-08 Thread Jan Kiszka
From: Jan Kiszka When DM_REGULATOR is disabled, all calls will return -ENOSYS. Account for that so that targets like the IOT2050 will work again. Fixes: de451d5d5b6f ("usb: dwc3-generic: support external vbus regulator") Signed-off-by: Jan Kiszka --- drivers/usb/dwc3/dwc3-gen

[PATCH] clk: Fix error message in clk_get_bulk

2024-03-09 Thread Jan Kiszka
From: Jan Kiszka Fix a logical inversion of the printed text. Signed-off-by: Jan Kiszka --- drivers/clk/clk-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-uclass.c b/drivers/clk/clk-uclass.c index ed6e60bc484..78d8ea94c65 100644 --- a/drivers/clk

Re: [PATCH V6 07/20] configs: am62x_evm_a53_defconfig: Switch to bootstd

2024-02-21 Thread Jan Kiszka
On 21.02.24 10:10, Francesco Dolcini wrote: > Hello Jan, > > On Mon, Feb 19, 2024 at 07:37:55PM +0100, Jan Kiszka wrote: >> My personal observation is that continuous integration testings with >> all-upstream components is not really a common thing. I saw that with >>

Re: [PATCH V6 07/20] configs: am62x_evm_a53_defconfig: Switch to bootstd

2024-02-19 Thread Jan Kiszka
On 19.02.24 19:37, Jan Kiszka wrote: > On 17.02.24 12:36, Alexander Sverdlin wrote: >> Hi Jan! >> >> On Sat, 2024-02-17 at 09:42 +0100, Jan Kiszka wrote: >>>> U-Boot 2024.01 (Feb 15 2024 - 01:43:17 +0100) >>>> >>>> SoC:   AM62X SR1.0 HS-FS

Re: [PATCH V6 07/20] configs: am62x_evm_a53_defconfig: Switch to bootstd

2024-02-19 Thread Jan Kiszka
On 17.02.24 12:36, Alexander Sverdlin wrote: > Hi Jan! > > On Sat, 2024-02-17 at 09:42 +0100, Jan Kiszka wrote: >>> U-Boot 2024.01 (Feb 15 2024 - 01:43:17 +0100) >>> >>> SoC:   AM62X SR1.0 HS-FS >>> Model: Texas Instruments AM625 SK >>> DRAM:

Re: [PATCH V6 07/20] configs: am62x_evm_a53_defconfig: Switch to bootstd

2024-02-17 Thread Jan Kiszka
On 17.02.24 04:11, Alexander Sverdlin wrote: > Hello Nishanth, > > On Fri, 2023-08-25 at 13:02 -0500, Nishanth Menon wrote: >> Switch to using bootstd. Note with this change, we will stop using >> distro_bootcmd and instead depend entirely on bootflow method of >> starting the system up. >> >> Sug

Re: [PATCH 3/6] board: ti: am62x: Add basic initialization for usb voltage, 32k crystal, debounce

2024-01-07 Thread Jan Kiszka
On 26.07.23 13:10, Nishanth Menon wrote: > On 00:35-20230726, Francesco Dolcini wrote: > [...] At least the ones we have currently (I am not sure about toradex, phytech etc), seem to operate the vdd_core at 0.85V .. (which is what USB is dependent upon). >>> >>> For Toradex, we

[PATCH] arm: dts: iot2050: Fix by syncing from Linux

2024-01-06 Thread Jan Kiszka
From: Jan Kiszka This restores support for IOT2050 by widely synchronizing its DT files with the Linux kernel. We additionally need to add the alias restoration that is still waiting for its upstream merge and the not-yet-upstreamed bits needed for watchdog reboot detection. Fixes: 4dbdc84754ea

Re: [PATCH v2 00/26] sync am65x device tree with Linux v6.7-rc1

2024-01-06 Thread Jan Kiszka
On 06.01.24 12:57, Jan Kiszka wrote: > On 29.12.23 18:46, Bryan Brattlof wrote: >> Hello Again Everyone! >> >> This series gets the am65x booting again along with syncing the device >> tree files with v6.7-rc1 Linux. >> >> The bulk of these patches unify

Re: [PATCH v2 00/26] sync am65x device tree with Linux v6.7-rc1

2024-01-06 Thread Jan Kiszka
On 29.12.23 18:46, Bryan Brattlof wrote: > Hello Again Everyone! > > This series gets the am65x booting again along with syncing the device > tree files with v6.7-rc1 Linux. > > The bulk of these patches unify the WKUP SPL board file with the arm64 > files to make future syncs from Linux much eas

Re: [PATCH 00/26] sync am65x device tree with Linux v6.7-rc1

2024-01-02 Thread Jan Kiszka
On 02.01.24 18:42, Tom Rini wrote: > On Tue, Jan 02, 2024 at 08:27:34AM +0100, Jan Kiszka wrote: >> On 27.12.23 13:39, Nishanth Menon wrote: >>> On 15:00-20231221, Tom Rini wrote: >>>> On Thu, Dec 21, 2023 at 11:43:46AM -0600, Bryan Brattlof wrote: >>>&

Re: [PATCH 00/26] sync am65x device tree with Linux v6.7-rc1

2024-01-01 Thread Jan Kiszka
On 27.12.23 13:39, Nishanth Menon wrote: > On 15:00-20231221, Tom Rini wrote: >> On Thu, Dec 21, 2023 at 11:43:46AM -0600, Bryan Brattlof wrote: >> >>> Hello Everyone! >>> >>> This series gets the am65x booting again along with syncing the device >>> tree files with v6.7-rc1 Linux. >>> >>> The bulk

Re: [PATCH] spi: cadence-quadspi: Fix error message on stuck busy state

2023-12-14 Thread Jan Kiszka
On 31.10.23 08:14, Stefan Roese wrote: > On 10/30/23 17:20, Jan Kiszka wrote: >> From: Jan Kiszka >> >> We are not iterating CQSPI_REG_RETRY, we are waiting 'timeout' ms, since >> day 1. >> >> Signed-off-by: Jan Kiszka > > Reviewed-by: Ste

[PATCH] spi: cadence-quadspi: Fix error message on stuck busy state

2023-10-30 Thread Jan Kiszka
From: Jan Kiszka We are not iterating CQSPI_REG_RETRY, we are waiting 'timeout' ms, since day 1. Signed-off-by: Jan Kiszka --- We are unfortunately seeing that message right now, rarely but then prominently... drivers/spi/cadence_qspi_apb.c | 3 +-- 1 file changed, 1 inser

[PATCH v2] iot2050: Allow for more than 1 USB storage device

2023-10-22 Thread Jan Kiszka
From: Jan Kiszka This was lost in refactoring while some users of the IOT2050 expect it to work: Make sure that up to 3 USB storage devices are probed. Fixes: 53873974a4b0 ("include: armv7: Enable distroboot across all configs") Signed-off-by: Jan Kiszka Reviewed-by: Heinrich

[PATCH] iot2050: Allow for more than 1 USB storage device

2023-10-22 Thread Jan Kiszka
From: Jan Kiszka This was lost via 53873974a4b0 while some users of the IOT2050 expect it to work: Make sure that up to 3 USB storage devices are probed. Signed-off-by: Jan Kiszka --- include/configs/iot2050.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/configs

[PATCH] board: siemens: iot2050: Fix M.2 detection

2023-10-16 Thread Jan Kiszka
From: Jan Kiszka The "simpler" the logic, the higher the probability to not test and get things wrong, again: The absence of a "-PG2" suffix is not sufficient to derive that we are on PG1. There is also "IOT2050-ADVANCED-M2". Finally fix that by exactly matching ag

[PATCH] board: siemens: iot2050: Fix logical bug in PG1/PG2 detection

2023-10-04 Thread Jan Kiszka
From: Jan Kiszka This caused the wrong fdtfile to be set and was failing to apply M.2 settings. Fixes: badaa1f6a7a9 ("boards: siemens: iot2050: Unify PG1 and PG2/M.2 configurations again") Signed-off-by: Jan Kiszka --- board/siemens/iot2050/board.c | 2 +- 1 file changed, 1 inser

[PATCH] arm: dts: k3-am65-iot2050: Fix boot

2023-10-04 Thread Jan Kiszka
From: Jan Kiszka Since commit [1] A53 u-boot proper is broken. This is because nodes marked as 'bootph-pre-ram' are not available at u-boot proper before relocation. To fix this we mark all nodes in u-boot.dtsi as 'bootph-all'. [1] 9e644284ab812 ("dm: core: Report bo

Re: [PATCH] arm: dts: k3-am625-beagleplay: Fix boot

2023-10-04 Thread Jan Kiszka
On 04.10.23 14:15, Nishanth Menon wrote: > On 22:26-20231003, Jan Kiszka wrote: >> From: Jan Kiszka >> >> Since commit [1] A53 u-boot proper is broken. This is because nodes >> marked as 'bootph-pre-ram' are not available at u-boot proper before >> relo

[PATCH] arm: dts: k3-am625-beagleplay: Fix boot

2023-10-03 Thread Jan Kiszka
From: Jan Kiszka Since commit [1] A53 u-boot proper is broken. This is because nodes marked as 'bootph-pre-ram' are not available at u-boot proper before relocation. To fix this we mark all nodes as 'bootph-all'. [1] 9e644284ab812 ("dm: core: Report bootph-pre-ram/sram

[PATCH] configs: iot2050: Disable CONFIG_CONSOLE_MUX

2023-09-27 Thread Jan Kiszka
From: Jan Kiszka We only have serial as console option, and leaving this on turns on SYS_CONSOLE_IS_IN_ENV which is also not true for these devices, leaving an ugly In:No input devices available! Out: No output devices available! Err: No error devices available! behind. Signed-off-by

[PATCH] tools: iot2050-sign-fw.sh: Make localization of tools dir more robust

2023-09-27 Thread Jan Kiszka
From: Jan Kiszka When building in-tree, there is no source link. Signed-off-by: Jan Kiszka --- tools/iot2050-sign-fw.sh | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/iot2050-sign-fw.sh b/tools/iot2050-sign-fw.sh index 6b426c854c2..75ffd560823 100755

Re: [PATCH 2/5] iot2050: rename overlay sources to .dtso

2023-09-27 Thread Jan Kiszka
3-am6548-iot2050-advanced-m2-bkey-ekey-pcie-overlay.dtso > diff --git a/arch/arm/dts/k3-am6548-iot2050-advanced-m2-bkey-usb3-overlay.dts > b/arch/arm/dts/k3-am6548-iot2050-advanced-m2-bkey-usb3-overlay.dtso > similarity index 100% > rename from arch/arm/dts/k3-am6548-iot2050-advanced-m2-bke

[PATCH] board: ti: am62x: beagleplay: Disable semi-functional PSCI reset support

2023-08-24 Thread Jan Kiszka
From: Jan Kiszka At this point, system shutdown is not supported by the DM firmware that TF-A calls. As we can't de-select only this feature, declare complete PSCI reset support as non-functional so that we don't signal incomplete support to the OS via EFI runtime services. This makes

Re: [PATCH 2/2] configs: Make TI_SECURE_DEVICE default for K3

2023-08-08 Thread Jan Kiszka
On 03.08.23 16:54, Andrew Davis wrote: > All K3 boards now are secure by default, instead of setting this in each > defconfig, make it implied by the ARCH config. > > The only exception is IOT2050, which I do not believe will have any > problems with being a TI_SECURE_DEVICE, but for now turn it o

[PATCH 5/5] configs: iot2050: Enabled keyed autoboot

2023-07-26 Thread Jan Kiszka
From: Jan Kiszka Only accept SPACE to stop autobooting. This is safer to avoid accidental interruptions on unattended devices. Signed-off-by: Jan Kiszka --- configs/iot2050_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/iot2050_defconfig b/configs/iot2050_defconfig

[PATCH 3/5] boards: siemens: iot2050: Unify PG1 and PG2/M.2 configurations again

2023-07-26 Thread Jan Kiszka
From: Jan Kiszka This avoids having to maintain to defconfigs that are 99% equivalent. The approach is to use binman to generate two flash images, flash-pg1.bin and flash-pg2.bin. With the help of a template dtsi, we can avoid duplicating the common binman image definitions. Suggested-by

[PATCH 0/5] iot2050: 2023.10-rc1 fixes and cleanups

2023-07-26 Thread Jan Kiszka
: Manorit Chawdhry CC: Simon Glass Jan Kiszka (5): boards: siemens: iot2050: Fix boot configuration iot2050: Use binman in signing script boards: siemens: iot2050: Unify PG1 and PG2/M.2 configurations again doc: board: siemens: iot2050: Update build env vars configs: iot2050: Enabled keyed

[PATCH 4/5] doc: board: siemens: iot2050: Update build env vars

2023-07-26 Thread Jan Kiszka
From: Jan Kiszka ATF is now called BL31, and OP-TEE since 3.21 suggests to use tee-raw.bin instead of (the still identical) tee-pager_v2.bin. Signed-off-by: Jan Kiszka --- doc/board/siemens/iot2050.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/board/siemens

[PATCH 2/5] iot2050: Use binman in signing script

2023-07-26 Thread Jan Kiszka
From: Jan Kiszka The underlying issue was fixed in the meantime. Also signing the U-Boot proper fit image now works. Just supporting custom cert templates remains a todo. Signed-off-by: Jan Kiszka --- CC: Simon Glass --- tools/iot2050-sign-fw.sh | 9 ++--- 1 file changed, 2 insertions

[PATCH 1/5] boards: siemens: iot2050: Fix boot configuration

2023-07-26 Thread Jan Kiszka
From: Jan Kiszka The common env bits now come via ti_armv7_common.env, include it. Futhermore restore the board-specific boot targets and their ordering that is now enforced k3-wide differently. Finally, enable CONFIG_LEGACY_IMAGE_FORMAT explicitly which got lost while turning FIT_SIGNATURE on

Re: [PATCH 00/18] K3 HS Support along with fixes

2023-07-26 Thread Jan Kiszka
On 26.07.23 09:25, Manorit Chawdhry wrote: > On 12:17-20230726, Manorit Chawdhry wrote: >> Hi Jan, >> >> On 08:42-20230726, Jan Kiszka wrote: >>> On 14.07.23 07:52, Manorit Chawdhry wrote: >>>> The series focuses on fixes for various boards along with

Re: [PATCH 00/18] K3 HS Support along with fixes

2023-07-25 Thread Jan Kiszka
On 14.07.23 07:52, Manorit Chawdhry wrote: > The series focuses on fixes for various boards along with moving to > standards and enabling the FIT_SIGNATURE for K3 Platforms towards the > end. > > Dependencies: > https://lore.kernel.org/u-boot/20230712183453.7623-1-n-fran...@ti.com/ > > Signed-off

Re: [PATCH 2/5] MAINTAINERS: Add some missing defconfig files to existing entries

2023-07-18 Thread Jan Kiszka
On 18.07.23 18:20, Tom Rini wrote: > We have a few places where defconfigs were added (or renamed) and not > included in their previously listed MAINTAINERS entry, correct this. > > Signed-off-by: Tom Rini > --- > Cc: Adam Ford > Cc: Chris Packham > Cc: Jan Kiszka &g

Re: [PATCH v6 18/23] arm: k3-am65x-iot2050: Use binman for tispl.bin for iot2050

2023-07-12 Thread Jan Kiszka
On 12.07.23 20:34, Neha Malcom Francis wrote: > Move to using binman to generate tispl.bin which is used to generate the > final flash.bin bootloader for iot2050 boards. > > Signed-off-by: Neha Malcom Francis > Cc: Jan Kiszka > Reviewed-by: Simon Glass > --- > arch

Re: [PATCH v4 00/20] binman: Simple templating feature and mkimage conversion

2023-07-11 Thread Jan Kiszka
On 11.07.23 16:59, Simon Glass wrote: > This series converts the mkimage entry type to be a section, i.e. based on > the entry_Section class. This makes it more consistent in its behaviour, > e.g. allowing symbol writing and expanded entries. > > A simple templating feature is also introduced, to

Re: [PATCH v5 18/23] arm: k3-am65x-iot2050: Use binman for tispl.bin for iot2050

2023-07-10 Thread Jan Kiszka
On 10.07.23 09:50, Neha Malcom Francis wrote: > Hi Jan > > On 07/07/23 19:08, Jan Kiszka wrote: >> On 07.07.23 14:34, Neha Malcom Francis wrote: >>> Move to using binman to generate tispl.bin which is used to generate the >>> final flash.bin bootloader for iot2

Re: [PATCH v5 12/23] j721s2: yaml: Add board configs for J721S2

2023-07-10 Thread Jan Kiszka
On 07.07.23 14:34, Neha Malcom Francis wrote: > Added YAML configs for J721S2 > > Signed-off-by: Neha Malcom Francis > --- > board/ti/j721s2/board-cfg.yaml | 37 + > board/ti/j721s2/pm-cfg.yaml| 12 + > board/ti/j721s2/rm-cfg.yaml| 2901 > board/ti/j7

Re: [PATCH v5 10/23] am64x: yaml: Add board configs for AM64x

2023-07-10 Thread Jan Kiszka
On 07.07.23 14:34, Neha Malcom Francis wrote: > Added YAML configs for AM64xx > > Signed-off-by: Neha Malcom Francis > --- > board/ti/am64x/board-cfg.yaml | 37 + > board/ti/am64x/pm-cfg.yaml| 12 + > board/ti/am64x/rm-cfg.yaml| 1400 + > board/ti/am64

Re: [PATCH v5 01/23] binman: ti-board-config: Add support for TI board config binaries

2023-07-10 Thread Jan Kiszka
On 07.07.23 14:34, Neha Malcom Francis wrote: > The ti-board-config entry loads and validates a given YAML config file > against a given schema, and generates the board config binary. K3 > devices require these binaries to be packed into the final system > firmware images. > > Signed-off-by: Neha

Re: [PATCH v3 00/19] binman: Simple templating feature and mkimage conversion

2023-07-10 Thread Jan Kiszka
On 10.07.23 18:00, Simon Glass wrote: > Hi Jan, > > On Sun, 9 Jul 2023 at 23:21, Jan Kiszka wrote: >> >> On 10.07.23 04:40, Simon Glass wrote: >>> This series converts the mkimage entry type to be a section, i.e. based on >>> the entry_Section clas

Re: [PATCH v5 11/23] am64x: dts: binman: Package tiboot3.bin, tispl.bin u-boot.img

2023-07-10 Thread Jan Kiszka
On 10.07.23 11:12, Neha Malcom Francis wrote: > Hi Simon > > On 07/07/23 23:05, Simon Glass wrote: >> Hi Neha, >> >> On Fri, 7 Jul 2023 at 13:36, Neha Malcom Francis >> wrote: >>> >>> Support added for HS and GP boot binaries for AM64x. >>> >>> HS-SE: >>> * tiboot3-am64x_sr2-hs-evm.bin >>>  

Re: [PATCH v3 00/19] binman: Simple templating feature and mkimage conversion

2023-07-09 Thread Jan Kiszka
On 10.07.23 04:40, Simon Glass wrote: > This series converts the mkimage entry type to be a section, i.e. based on > the entry_Section class. This makes it more consistent in its behaviour, > e.g. allowing symbol writing and expanded entries. > > A simple templating feature is also introduced, to

Re: [PATCH 12/12] binman: Support simple templates

2023-07-07 Thread Jan Kiszka
On 07.07.23 19:35, Simon Glass wrote: > Hi Jan, > > On Fri, 7 Jul 2023 at 17:03, Jan Kiszka wrote: >> >> On 07.07.23 17:35, Simon Glass wrote: >>> Hi Jan, >>> >>> On Fri, 7 Jul 2023 at 14:56, Jan Kiszka wrote: >>>> >>>> O

Re: [PATCH 12/12] binman: Support simple templates

2023-07-07 Thread Jan Kiszka
On 07.07.23 17:35, Simon Glass wrote: > Hi Jan, > > On Fri, 7 Jul 2023 at 14:56, Jan Kiszka wrote: >> >> On 07.07.23 14:42, Simon Glass wrote: >>> Hi Jan, >>> >>> On Fri, 7 Jul 2023 at 11:05, Jan Kiszka wrote: >>>> >>>> O

Re: [PATCH] binman: Support templating with multiple images

2023-07-07 Thread Jan Kiszka
On 07.07.23 14:40, Simon Glass wrote: > Allow a template to appear in the top level description when using > multiple images. > > Signed-off-by: Simon Glass > --- > > tools/binman/control.py | 5 ++-- > tools/binman/ftest.py| 12 ++ > tools/binman/t

  1   2   3   4   5   6   7   8   >