Re: [PATCH v1 1/2] mtd: nand: Allow full NAND framework in SPL

2025-06-20 Thread Dario Binacchi
e of the "if > > SPL, not outside of it". Second, we already have SPL_NAND_DENALI as an > > option, so some explanation of what's being done here now is needed. > > Third, if we really really need SPL_NAND_SIMPLE and SPL_NAND_SUPPORT and > > SPL_NAND_FRAMEWORK i

Re: [PATCH 0/9] Support stm32h747-discovery board

2025-06-09 Thread Dario Binacchi
Hi Sumit, On Mon, Jun 9, 2025 at 3:25 PM Sumit Garg wrote: > > Hi Patrice, > > On Mon, Jun 09, 2025 at 03:15:14PM +0200, Patrice CHOTARD wrote: > > > > > > On 6/7/25 11:37, Dario Binacchi wrote: > > > The series adds support for stm32h747-discovery board.

Re: [PATCH 1/9] ARM: dts: stm32h7-pinctrl: add _a suffix to u[s]art_pins phandles

2025-06-09 Thread Dario Binacchi
Hi Sumit, On Mon, Jun 9, 2025 at 3:20 PM Sumit Garg wrote: > > Hi Dario, > > On Sat, Jun 07, 2025 at 11:37:09AM +0200, Dario Binacchi wrote: > > Allow expanding possible configurations for the same peripheral, > > consistent with the scheme adopted in Linux. > > >

[PATCH 9/9] board: stm32: add stm32h747-discovery board support

2025-06-07 Thread Dario Binacchi
-tools/stm32h747i-disco.html Signed-off-by: Dario Binacchi --- arch/arm/mach-stm32/stm32h7/Kconfig| 4 +++ board/st/stm32h747-disco/Kconfig | 15 board/st/stm32h747-disco/MAINTAINERS | 7 board/st/stm32h747-disco/Makefile | 6 board/st

[PATCH 8/9] ARM: dts: stm32: add stm32h747i-disco-u-boot DTS file

2025-06-07 Thread Dario Binacchi
Add stm32h747i-disco-u-boot DTS file with FMC SDRAM node and its pinmux settings. Signed-off-by: Dario Binacchi --- arch/arm/dts/stm32h747i-disco-u-boot.dtsi | 104 ++ 1 file changed, 104 insertions(+) create mode 100644 arch/arm/dts/stm32h747i-disco-u-boot.dtsi diff

[PATCH 7/9] ARM: dts: stm32: support STM32h747i-disco board

2025-06-07 Thread Dario Binacchi
-tools/stm32h747i-disco.html Signed-off-by: Dario Binacchi Link: https://lore.kernel.org/r/20250427074404.3278732-9-dario.binac...@amarulasolutions.com Signed-off-by: Alexandre Torgue [ backport upstream commit: 49ba8fc6eab63165639ffbb9f976222d39739cab ] --- dts/upstream/src/arm/st/stm32h747i

[PATCH 6/9] ARM: dts: stm32: add an extra pin map for USART1 on stm32h743

2025-06-07 Thread Dario Binacchi
Add an additional pin map configuration for using the USART1 controller on the stm32h743 MCU. Signed-off-by: Dario Binacchi Link: https://lore.kernel.org/r/20250427074404.3278732-8-dario.binac...@amarulasolutions.com Signed-off-by: Alexandre Torgue [ upstream commit

[PATCH 5/9] ARM: dts: stm32: add pin map for UART8 controller on stm32h743

2025-06-07 Thread Dario Binacchi
Add a pin map configuration for using the UART8 controller on the stm32h743 MCU. Signed-off-by: Dario Binacchi Link: https://lore.kernel.org/r/20250427074404.3278732-7-dario.binac...@amarulasolutions.com Signed-off-by: Alexandre Torgue [ upstream commit

[PATCH 4/9] ARM: dts: stm32: add uart8 node for stm32h743 MCU

2025-06-07 Thread Dario Binacchi
Add support for UART8 by applying the settings specified in the reference manual RM0433. Signed-off-by: Dario Binacchi Link: https://lore.kernel.org/r/20250427074404.3278732-6-dario.binac...@amarulasolutions.com Signed-off-by: Alexandre Torgue [ upstream commit

[PATCH 3/9] dt-bindings: clock: stm32h7: rename USART{7, 8}_CK to UART{7, 8}_CK

2025-06-07 Thread Dario Binacchi
As stated in the reference manual RM0433, the STM32H743 MCU has USART1/2/3/6, UART4/5/7/8, and LPUART1. The patches make all the clock macros for the serial ports consistent with the documentation. Signed-off-by: Dario Binacchi Acked-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r

[PATCH 2/9] dt-bindings: arm: stm32: add compatible for stm32h747i-disco board

2025-06-07 Thread Dario Binacchi
-tools/stm32h747i-disco.html Signed-off-by: Dario Binacchi Acked-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20250427074404.3278732-3-dario.binac...@amarulasolutions.com Signed-off-by: Alexandre Torgue [upstream commit: 815d49f61ea049075482161f897aa13e1ae30cbb ] --- dts/upstream

[PATCH 1/9] ARM: dts: stm32h7-pinctrl: add _a suffix to u[s]art_pins phandles

2025-06-07 Thread Dario Binacchi
Allow expanding possible configurations for the same peripheral, consistent with the scheme adopted in Linux. Signed-off-by: Dario Binacchi Link: https://lore.kernel.org/r/20250427074404.3278732-2-dario.binac...@amarulasolutions.com Signed-off-by: Alexandre Torgue [ upstream commit

[PATCH 0/9] Support stm32h747-discovery board

2025-06-07 Thread Dario Binacchi
The series adds support for stm32h747-discovery board. Detailed information can be found at: https://www.st.com/en/evaluation-tools/stm32h747i-disco.html Dario Binacchi (9): ARM: dts: stm32h7-pinctrl: add _a suffix to u[s]art_pins phandles dt-bindings: arm: stm32: add compatible for

[PATCH v3 4/4] board: bsh: imx6ulz_smm_m2: Add delay between DRAM read access

2025-05-21 Thread Dario Binacchi
: Michael Trimarchi Signed-off-by: Dario Binacchi --- Changes in v3: - Drop changes on arch/arm/include/asm/arch-mx6/mx6-ddr.h and arch/arm/mach-imx/mx6/ddr.c files from patch [1/1] "board: bsh: imx6ulz_smm_m2: Match SPL DDR settings to DCD table" Changes in v2: - Add 'static stru

[PATCH v3 2/4] board: bsh: imx6ulz_smm_m2: Add support for 256 MiB DRAM

2025-05-21 Thread Dario Binacchi
From: Simon Holesch Calibration values were calculated using the NXP tool I.MX6ULL_DDR3_Script_Aid_V0.01.xlsx Signed-off-by: Wolfgang Birkner Signed-off-by: Simon Holesch Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v2) Changes in v2: - Use

[PATCH v3 3/4] board: bsh: imx6ulz_smm_m2: Add support for 512 MiB DRAM

2025-05-21 Thread Dario Binacchi
From: Michael Bode Calibration values were calculated using the NXP tool I.MX6ULL_DDR3_Script_Aid_V0.01.xlsx Signed-off-by: Michael Bode Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v2) Changes in v2: - Use standard C comment style board/bsh

[PATCH v3 1/4] board: bsh: imx6ulz_smm_m2: Match SPL DDR settings to DCD table

2025-05-21 Thread Dario Binacchi
case. The idea is simple: just use the DCD table and write directly to the DDR registers. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- Changes in v3: - Drop changes on arch/arm/include/asm/arch-mx6/mx6-ddr.h and arch/arm/mach-imx/mx6/ddr.c files. They are not needed. Chang

[PATCH v2 2/4] board: bsh: imx6ulz_smm_m2: Add support for 256 MiB DRAM

2025-05-20 Thread Dario Binacchi
From: Simon Holesch Calibration values were calculated using the NXP tool I.MX6ULL_DDR3_Script_Aid_V0.01.xlsx Signed-off-by: Wolfgang Birkner Signed-off-by: Simon Holesch Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- Changes in v2: - Use standard C comment style

[PATCH v2 4/4] board: bsh: imx6ulz_smm_m2: Add delay between DRAM read access

2025-05-20 Thread Dario Binacchi
: Michael Trimarchi Signed-off-by: Dario Binacchi --- Changes in v2: - Add 'static struct' globally in the module where the definitions can mabe static. - Use standard C comment style - Remove unnecessary variable initializations board/bsh/imx6ulz_smm_m2/spl.c | 3 +++ 1 file changed, 3

[PATCH v2 3/4] board: bsh: imx6ulz_smm_m2: Add support for 512 MiB DRAM

2025-05-20 Thread Dario Binacchi
From: Michael Bode Calibration values were calculated using the NXP tool I.MX6ULL_DDR3_Script_Aid_V0.01.xlsx Signed-off-by: Michael Bode Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- Changes in v2: - Use standard C comment style board/bsh/imx6ulz_smm_m2/Makefile

[PATCH v2 1/4] board: bsh: imx6ulz_smm_m2: Match SPL DDR settings to DCD table

2025-05-20 Thread Dario Binacchi
case. The idea is simple: just use the DCD table and write directly to the DDR registers. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- Changes in v2: - Add 'static struct' globally in the module where the definitions can mabe static. - Use standard C comment s

[PATCH v3 0/5] Restore imx8mn_bsh_smm_s2 properly booting

2025-05-20 Thread Dario Binacchi
quot;serial: mxc: restore booting for imx8mn_bsh_smm_s2" - Add patch 4/5 "board: bsh: imx8mn_bsh_smm_s2/s2pro: enlarge CONFIG_SPL_SYS_MALLOC_F_LEN" - Add patch 5/5 "board: bsh: imx8mn_bsh_smm_s2/s2pro: let clock system enable UART clock" Dario Binacchi (5): spl

[PATCH v3 3/5] configs: imx8mn_bsh_smm_s2: load U-Boot from raw NAND

2025-05-20 Thread Dario Binacchi
Commit 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options") breaks the boot of the BSH SMM S2 board. Add options to load U-Boot from raw NAND sector. Fixes: 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options") Signed-off-by: Dario Binacchi --- (no changes sinc

[PATCH] board: freescale: imx8mn_evk: let clock system enable UART clock

2025-05-20 Thread Dario Binacchi
From: Michael Trimarchi Now that the UART driver can enable the required clocks, remove the hard-coded clock enable. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- board/freescale/imx8mn_evk/spl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/board/freescale

[PATCH v3 5/5] board: bsh: imx8mn_bsh_smm_s2/s2pro: let clock system enable UART clock

2025-05-20 Thread Dario Binacchi
Now that the UART driver can enable the required clocks, remove the hard-coded clock enable. Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- Changes in v3: - Drop patch 4/4 "serial: mxc: restore booting for imx8mn_bsh_smm_s2" -

[PATCH v3 4/5] board: bsh: imx8mn_bsh_smm_s2/s2pro: enlarge CONFIG_SPL_SYS_MALLOC_F_LEN

2025-05-20 Thread Dario Binacchi
fixed the issue. Dropping this option allows it to be set to the default value of CONFIG_SYS_MALLOC_F_LEN, which is set by default to 0x1 on i.MX8M platforms. Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v1)

[PATCH v3 2/5] imx: spl_imx_romapi: support raw NAND sector

2025-05-20 Thread Dario Binacchi
from raw NAND sector. Fixes: 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options") Signed-off-by: Dario Binacchi --- (no changes since v1) arch/arm/mach-imx/spl_imx_romapi.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-imx/spl_imx

[PATCH v3 1/5] spl: Kconfig: support U-Boot load from raw NAND

2025-05-20 Thread Dario Binacchi
from raw NAND sector. This is equivalent to load from MMC raw sector. Fixes: 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options") Signed-off-by: Dario Binacchi --- (no changes since v2) Changes in v2: - Add SPL_NAND_RAW_U_BOOT_USE_SECTOR and SPL_NAND_RAW_U_BOOT_SECTOR common/spl/K

[PATCH v3 2/2] arm: imx: imx8m: soc: replace ifdef by IS_ENABLED()

2025-05-15 Thread Dario Binacchi
Standardize on using the IS_ENABLED macro. Signed-off-by: Dario Binacchi --- Changes in v3: - Replaces all replaceable macros within the file arch/arm/mach-imx/imx8m/soc.c | 40 +-- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach

[PATCH v3 1/2] arm: imx: imx8m: soc: fix the macro name

2025-05-15 Thread Dario Binacchi
: 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options") Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi Reviewed-by: Quentin Schulz --- (no changes since v2) Changes in v2: - Add Reviewed-by tag of Quentin Schulz arch/arm/mach-imx/imx8m/soc.c | 4 ++-- 1 file

[RFC PATCH v2 2/4] imx: spl_imx_romapi: support raw NAND sector

2025-05-15 Thread Dario Binacchi
from raw NAND sector. Fixes: 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options") Signed-off-by: Dario Binacchi --- (no changes since v1) arch/arm/mach-imx/spl_imx_romapi.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-imx/spl_imx

[RFC PATCH v2 4/4] serial: mxc: restore booting for imx8mn_bsh_smm_s2

2025-05-15 Thread Dario Binacchi
ks") Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/serial/serial_mxc.c | 23 --- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/drivers/serial/serial_mxc.c b/drivers/serial/serial_mxc.c index 28f4435d01dd..b09a5fe0f7a4 100644

[RFC PATCH v2 3/4] configs: imx8mn_bsh_smm_s2: load U-Boot from raw NAND

2025-05-15 Thread Dario Binacchi
Commit 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options") breaks the boot of the BSH SMM S2 board. Add options to load U-Boot from raw NAND sector. Fixes: 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options") Signed-off-by: Dario Binacchi --- C

[RFC PATCH v2 1/4] spl: Kconfig: support U-Boot load from raw NAND

2025-05-15 Thread Dario Binacchi
from raw NAND sector. This is equivalent to load from MMC raw sector. Fixes: 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options") Signed-off-by: Dario Binacchi --- Changes in v2: - Add SPL_NAND_RAW_U_BOOT_USE_SECTOR and SPL_NAND_RAW_U_BOOT_SECTOR common/spl/Kconfig | 15 +

[RFC PATCH v2 0/4] Restore imx8mn_bsh_smm_s2 properly booting

2025-05-15 Thread Dario Binacchi
Commits [1] and [2] broke the booting of the BSH SMM S2 board. The patches in this series restore proper booting. [1] 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options") [2] dda454e933c6 ("serial: mxc: Support bulk enabling clocks") (no changes since v1) Dario

[RFC PATCH 2/3] configs: imx8mn_bsh_smm_s2: restore CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR

2025-05-15 Thread Dario Binacchi
ot correctly. Fixes: 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options") Signed-off-by: Dario Binacchi --- configs/imx8mn_bsh_smm_s2_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/imx8mn_bsh_smm_s2_defconfig b/configs/imx8mn_bsh_smm_s2_defconfig index 9ff

[PATCH v2 2/2] arm: imx: imx8m: soc: replace ifdef by IS_ENABLED()

2025-05-15 Thread Dario Binacchi
Standardize on using the IS_ENABLED macro. Signed-off-by: Dario Binacchi --- (no changes since v1) arch/arm/mach-imx/imx8m/soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c index 806adcf145fa..6c53555d22bf

[PATCH v2 1/2] arm: imx: imx8m: soc: fix the macro name

2025-05-15 Thread Dario Binacchi
: 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options") Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi Reviewed-by: Quentin Schulz --- Changes in v2: - Add Reviewed-by tag of Quentin Schulz arch/arm/mach-imx/imx8m/soc.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[RFC PATCH 3/3] serial: mxc: restore booting for imx8mn_bsh_smm_s2

2025-05-15 Thread Dario Binacchi
ks") Signed-off-by: Dario Binacchi --- drivers/serial/serial_mxc.c | 23 --- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/drivers/serial/serial_mxc.c b/drivers/serial/serial_mxc.c index 28f4435d01dd..b09a5fe0f7a4 100644 --- a/drivers/serial/serial

[RFC PATCH 1/3] spl: Kconfig: allow to enable SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR for i.MX8M

2025-05-15 Thread Dario Binacchi
MMC, in this case on the i.MX8M platform. Fixes: 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options") Signed-off-by: Dario Binacchi --- common/spl/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index aa3a85eea54

[RFC PATCH 0/3] Restore imx8mn_bsh_smm_s2 properly booting

2025-05-15 Thread Dario Binacchi
Commits [1] and [2] broke the booting of the BSH SMM S2 board. The patches in this series restore proper booting. [1] 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options") [2] dda454e933c6 ("serial: mxc: Support bulk enabling clocks") Dario Binacchi (3): spl: Kcon

[PATCH] arm: imx: imx8m: soc: fix the macro name

2025-05-15 Thread Dario Binacchi
: 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options") Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- arch/arm/mach-imx/imx8m/soc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/s

[PATCH 3/4] board: bsh: imx6ulz_smm_m2: Add support for 512 MiB DRAM

2025-05-13 Thread Dario Binacchi
From: Michael Bode Calibration values were calculated using the NXP tool I.MX6ULL_DDR3_Script_Aid_V0.01.xlsx Signed-off-by: Michael Bode Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- board/bsh/imx6ulz_smm_m2/Makefile| 3 +- board/bsh/imx6ulz_smm_m2

[PATCH 4/4] board: bsh: imx6ulz_smm_m2: Add delay between DRAM read access

2025-05-13 Thread Dario Binacchi
: Michael Trimarchi Signed-off-by: Dario Binacchi --- board/bsh/imx6ulz_smm_m2/spl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/bsh/imx6ulz_smm_m2/spl.c b/board/bsh/imx6ulz_smm_m2/spl.c index dba5982d0865..d1d38163ec19 100644 --- a/board/bsh/imx6ulz_smm_m2/spl.c +++ b/board/bsh

[PATCH] doc: release_cycle: fix next release version

2025-04-08 Thread Dario Binacchi
The release commit for version v2025.04 forgot to update the next version (i. e. v2025.07) in the section where information about the merge window is provided. Fixes: 34820924edbc ("Prepare v2025.04") Signed-off-by: Dario Binacchi --- doc/develop/release_cycle.rst | 2 +- 1 file

[PATCH v2 1/6] ARM: dts: stm32: add DSI support on stm32f769

2025-04-01 Thread Dario Binacchi
[backport from Linux commit a995fd2e8b3c6defd1dcdd3fb350c224e41ea1d0] Add support for MIPI DSI Host controller. Since MIPI DSI is not available on stm32f746, the patch adds the "stm32f769.dtsi" file containing the dsi node inside. Signed-off-by: Dario Binacchi Reviewed-by: Patri

[PATCH v2 0/6] Support NT35510 panel controller on stm32f769i-disco board

2025-04-01 Thread Dario Binacchi
an OTM8009a controller. Changes in v2: - Add Reviewed-by tag of Patrice Chotard - Add Reviewed-by tag of Patrice Chotard - Add Reviewed-by tag of Patrice Chotard - Add Reviewed-by tag of Patrice Chotard - Replace board with configs in the commit title - Add Reviewed-by tag of Patrice Chotard Dario

[PATCH v2 5/6] video: support FRIDA FRD400B25025-A-CTK

2025-04-01 Thread Dario Binacchi
[backport from Linux commits 9b26d5c044d6a29ebfb1845408e0f2a7c5f89818 and 219a1f49094f50bf9c382830d06149e677f76bed] The patch adds the FRIDA FRD400B25025-A-CTK panel, which belongs to the Novatek NT35510-based panel family. Signed-off-by: Dario Binacchi --- (no changes since v1) drivers

[PATCH v2 6/6] configs: stm32f769-disco: support FRD400B25025-A-CTK display

2025-04-01 Thread Dario Binacchi
tions. Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard --- Changes in v2: - Replace board with configs in the commit title - Add Reviewed-by tag of Patrice Chotard configs/stm32f769-disco_defconfig | 2 ++ configs/stm32f769-disco_spl_defconfig | 2 ++ 2 files changed, 4 inser

[PATCH v2 4/6] ARM: dts: add stm32f769-disco-mb1166-reva09

2025-04-01 Thread Dario Binacchi
-09: - LCD FRIDA FRD397B25009-D-CTK replaced by FRIDA FRD400B25025-A-CTK The patch adds the DTS support for the new display which belongs to the the Novatek NT35510-based panel family. Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard --- Changes in v2: - Add Reviewed-by tag of

[PATCH v2 3/6] ARM: dts: stm32: add display support on stm32f769-disco

2025-04-01 Thread Dario Binacchi
[backport from Linux commit 598e5adfeb6062f5d4d352c0ef888b2b29d7e215] The patch adds display support on the stm32f769-disco board. Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard --- Changes in v2: - Add Reviewed-by tag of Patrice Chotard arch/arm/dts/stm32f769-disco-u-boot.dtsi

[PATCH v2 2/6] ARM: dts: stm32: rename mmc_vcard to vcc-3v3 on stm32f769-disco

2025-04-01 Thread Dario Binacchi
other nodes in the device tree without creating misunderstandings. This patch is preparatory for future developments. Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard --- Changes in v2: - Add Reviewed-by tag of Patrice Chotard arch/arm/dts/stm32f769-disco.dts | 6 +++--- 1 file

[PATCH 1/6] ARM: dts: stm32: add DSI support on stm32f769

2025-03-24 Thread Dario Binacchi
[backport from Linux commit a995fd2e8b3c6defd1dcdd3fb350c224e41ea1d0] Add support for MIPI DSI Host controller. Since MIPI DSI is not available on stm32f746, the patch adds the "stm32f769.dtsi" file containing the dsi node inside. Signed-off-by: Dario Binacchi --- arch/arm/dts/stm32

[PATCH 0/6] Support NT35510 panel controller on stm32f769i-disco board

2025-03-24 Thread Dario Binacchi
an OTM8009a controller. Dario Binacchi (6): ARM: dts: stm32: add DSI support on stm32f769 ARM: dts: stm32: rename mmc_vcard to vcc-3v3 on stm32f769-disco ARM: dts: stm32: add display support on stm32f769-disco ARM: dts: add stm32f769-disco-mb1166-reva09 video: support FRIDA FRD400B25025

[PATCH 5/6] video: support FRIDA FRD400B25025-A-CTK

2025-03-24 Thread Dario Binacchi
[backport from Linux commits 9b26d5c044d6a29ebfb1845408e0f2a7c5f89818 and 219a1f49094f50bf9c382830d06149e677f76bed] The patch adds the FRIDA FRD400B25025-A-CTK panel, which belongs to the Novatek NT35510-based panel family. Signed-off-by: Dario Binacchi --- drivers/video/Kconfig

[PATCH 6/6] board: stm32f769-disco: support FRD400B25025-A-CTK display

2025-03-24 Thread Dario Binacchi
tions. Signed-off-by: Dario Binacchi --- configs/stm32f769-disco_defconfig | 2 ++ configs/stm32f769-disco_spl_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/stm32f769-disco_defconfig b/configs/stm32f769-disco_defconfig index 5be221afd2fa..e50d62e93bd6 100644

[PATCH 4/6] ARM: dts: add stm32f769-disco-mb1166-reva09

2025-03-24 Thread Dario Binacchi
-09: - LCD FRIDA FRD397B25009-D-CTK replaced by FRIDA FRD400B25025-A-CTK The patch adds the DTS support for the new display which belongs to the the Novatek NT35510-based panel family. Signed-off-by: Dario Binacchi --- arch/arm/dts/Makefile | 1 + .../dts

[PATCH 3/6] ARM: dts: stm32: add display support on stm32f769-disco

2025-03-24 Thread Dario Binacchi
[backport from Linux commit 598e5adfeb6062f5d4d352c0ef888b2b29d7e215] The patch adds display support on the stm32f769-disco board. Signed-off-by: Dario Binacchi --- arch/arm/dts/stm32f769-disco-u-boot.dtsi | 34 -- arch/arm/dts/stm32f769-disco.dts | 58

[PATCH 2/6] ARM: dts: stm32: rename mmc_vcard to vcc-3v3 on stm32f769-disco

2025-03-24 Thread Dario Binacchi
other nodes in the device tree without creating misunderstandings. This patch is preparatory for future developments. Signed-off-by: Dario Binacchi --- arch/arm/dts/stm32f769-disco.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/dts/stm32f769-disco.dts b

[PATCH v2 1/3] ARM: dts: stm32: drop "st,button1" compatible

2025-02-24 Thread Dario Binacchi
It is pointless to use the custom compatible "st,button1" when stm32746g-eval.dts and stm32f769-disco.dts already contain the "gpio-keys" compatible, which is specifically used for button management. Signed-off-by: Dario Binacchi --- Changes in v2: - Drop gpio-keys node fr

[PATCH v2 3/3] board: stm32f746-disco: drop board_late_init()

2025-02-24 Thread Dario Binacchi
The removal of the "st,button1" and "st,led1" compatibles has emptied the board_late_init(), so let's remove it along with the configuration that allows its invocation. Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard --- Changes in v2: - Add Reviewed-by o

[PATCH v2 2/3] ARM: dts: stm32: drop "st,led1" compatible

2025-02-24 Thread Dario Binacchi
It is pointless to use the custom compatible "st,led1" when stm32746g-eval.dts and stm32f769-disco.dts already contain the "gpio-leds" compatible, which is specifically used for GPIO LEDs management. Signed-off-by: Dario Binacchi --- Changes in v2: - Drop leds node fr

[PATCH 2/3] ARM: dts: stm32: drop "st,led1" compatible

2025-02-17 Thread Dario Binacchi
compatible, it was decided to translate "st,led1" into its "gpio-leds" version in stm32f746-disco-u-boot.dtsi. Signed-off-by: Dario Binacchi --- arch/arm/dts/stm32746g-eval-u-boot.dtsi| 5 - arch/arm/dts/stm32f746-disco-u-boot.dtsi | 9 ++--- arch/arm/dts/

[PATCH 3/3] board: stm32f746-disco: drop board_late_init()

2025-02-17 Thread Dario Binacchi
The removal of the "st,button1" and "st,led1" compatibles has emptied the board_late_init(), so let's remove it along with the configuration that allows its invocation. Signed-off-by: Dario Binacchi --- board/st/stm32f746-disco/stm32f746-disco.c | 5 - configs

[PATCH 1/3] ARM: dts: stm32: drop "st,button1" compatible

2025-02-17 Thread Dario Binacchi
compatible, it was decided to translate "st,button1" into its "gpio-keys" version in stm32f746-disco-u-boot.dtsi. Signed-off-by: Dario Binacchi --- arch/arm/dts/stm32746g-eval-u-boot.dtsi| 5 - arch/arm/dts/stm32f746-disco-u-boot.dtsi | 11 --- arch/arm/dts/

Re: [PATCH 00/26] Support display (and even more) on the BSH SMM S2/PRO boards

2024-09-30 Thread Dario Binacchi
Hi Miquel, On Mon, Sep 30, 2024 at 11:43 AM Miquel Raynal wrote: > > Hi Dario, > > dario.binac...@amarulasolutions.com wrote on Fri, 13 Sep 2024 11:55:42 > +0200: > > > This series was created out of the need to supportsimple-framebuffer for > > BSH boards SMM_S2

Re: [PATCH 08/26] power: Add iMX8M block ctrl driver for dispmix

2024-09-30 Thread Dario Binacchi
Hello Heiko, On Tue, Sep 24, 2024 at 11:07 AM Heiko Schocher wrote: > > Hello Dario, > > On 13.09.24 11:55, Dario Binacchi wrote: > > From: Michael Trimarchi > > > > Add iMX8 block ctrl driver for displaymix on iMX8MM/iMX8MN and > > mediamix on iMX8MP. >

Re: [PATCH 1/2] bootm: adjust the print format

2024-09-26 Thread Dario Binacchi
Hello Tom, On Mon, Aug 26, 2024 at 5:01 PM Tom Rini wrote: > > On Mon, Aug 26, 2024 at 02:26:10PM +0100, Caleb Connolly wrote: > > > > > > On 25/08/2024 19:36, E Shattow wrote: > > > On Sun, Aug 25, 2024 at 5:26 AM Dario Binacchi > > > wrote: > >

[PATCH 00/26] Support display (and even more) on the BSH SMM S2/PRO boards

2024-09-13 Thread Dario Binacchi
/#mb7cd440abc6fcc0de205f577eb3225e1c1c76823 Dario Binacchi (6): boot: fdt_simplefb: add a debug message video: mxsfb: support simple frame-buffer video: bridge: samsung: support simple frame-buffer imx8mn_bsh_smm_s2/pro: support simple frame-buffer imx8mn_bsh_smm_s2/pro: enable simple frame-buffer

[PATCH 26/26] imx8mn_bsh_smm_s2/pro: add splash screen with BSH logo

2024-09-13 Thread Dario Binacchi
archi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- configs/imx8mn_bsh_smm_s2_defconfig| 3 +++ configs/imx8mn_bsh_smm_s2pro_defconfig | 3 +++ include/configs/imx8mn_bsh_smm_s2.h| 1 + include/configs/imx8mn_bsh_smm_s2_common.h | 4 +

[PATCH 25/26] imx8mn_bsh_smm_s2/pro: enable simple frame-buffer

2024-09-13 Thread Dario Binacchi
Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- configs/imx8mn_bsh_smm_s2_defconfig| 3 +++ configs/imx8mn_bsh_smm_s2pro_defconfig | 3 +++ 2 files changed, 6 insertions(+) diff --git a/configs/imx8mn_bsh_smm_s2_defconfig b/configs

[PATCH 24/26] imx8mn_bsh_smm_s2/pro: support simple frame-buffer

2024-09-13 Thread Dario Binacchi
bootloader. Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c | 99 + 1 file changed, 99 insertions(+) diff --git a/board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c b/board/bsh

[PATCH 23/26] video: bridge: samsung: support simple frame-buffer

2024-09-13 Thread Dario Binacchi
Signed-off-by: Dario Binacchi --- drivers/video/bridge/samsung-dsi-host.c | 9 + drivers/video/bridge/samsung-dsim.c | 3 +++ 2 files changed, 12 insertions(+) diff --git a/drivers/video/bridge/samsung-dsi-host.c b/drivers/video/bridge/samsung-dsi-host.c index dd3e33c4edc7

[PATCH 22/26] video: mxsfb: support simple frame-buffer

2024-09-13 Thread Dario Binacchi
Signed-off-by: Dario Binacchi --- drivers/video/mxsfb.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index 45431f0a1047..06b2a2461246 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -422,7 +422,8 @@ static

[PATCH 21/26] boot: fdt_simplefb: add a debug message

2024-09-13 Thread Dario Binacchi
The printed information is useful when adding support for the simple frame buffer to a board. Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- boot/fdt_simplefb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boot/fdt_simplefb.c b

[PATCH 20/26] imx8mn_bsh_smm_s2/pro: Enable display on reference design

2024-09-13 Thread Dario Binacchi
From: Michael Trimarchi Co-developed-by: Dario Binacchi Signed-off-by: Dario Binacchi Signed-off-by: Michael Trimarchi --- .../dts/imx8mn-bsh-smm-s2-u-boot-common.dtsi | 23 +++ configs/imx8mn_bsh_smm_s2_defconfig | 15 configs

[PATCH 19/26] video: Add Synaptics R63353 panel driver

2024-09-13 Thread Dario Binacchi
From: Michael Trimarchi The LS068B3SX02 panel is based on the Synaptics R63353 Controller. Add a driver for it. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- drivers/video/Kconfig| 8 ++ drivers/video/Makefile | 1 + drivers/video/synaptics

[PATCH 18/26] video: bridge: Add Samsung DSIM bridge

2024-09-13 Thread Dario Binacchi
platform. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- drivers/video/bridge/Kconfig| 13 + drivers/video/bridge/Makefile |1 + drivers/video/bridge/samsung-dsi-host.c | 1567 +++ drivers/video/bridge/samsung-dsim.c | 148

[PATCH 17/26] lib: div64: sync with Linux

2024-09-13 Thread Dario Binacchi
From: Michael Trimarchi Sync with Linux commit fc4a0db4149af ("Merge tag '6.5'"). Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- include/linux/math64.h | 110 + 1 file changed, 110 insertions(+) diff --git a/in

[PATCH 16/26] phy: dphy: Correct clk_pre parameter

2024-09-13 Thread Dario Binacchi
ewed-by: Laurent Pinchart Signed-off-by: Liu Ying Link: https://lore.kernel.org/r/20220124024007.1465018-1-victor@nxp.com Signed-off-by: Vinod Koul Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- drivers/phy/meson-axg-mipi-dphy.c | 2 +- drivers/phy/phy-core-mipi-dphy.c | 2 +-

[PATCH 15/26] phy: dphy: Correct lpx parameter and its derivatives(ta_{get, go, sure})

2024-09-13 Thread Dario Binacchi
eded to test with other i.MX8mq, Meson and Rockchip platforms, as I don't have the hardwares. Signed-off-by: Liu Ying Link: https://lore.kernel.org/r/20220216071257.1647703-1-victor@nxp.com Signed-off-by: Vinod Koul Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- driv

[PATCH 14/26] phy: dphy: add support to calculate the timing based on hs_clk_rate

2024-09-13 Thread Dario Binacchi
so we don't need to calculate the timings within the driver. Signed-off-by: Marco Felsch Acked-by: Vinod Koul Signed-off-by: Sakari Ailus Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- drivers/phy/phy-core-mipi-dphy.c | 30 +- include/phy

[PATCH 13/26] video: Enable DM_UC_FLAG_SEQ_ALIAS for display and bridge

2024-09-13 Thread Dario Binacchi
From: Michael Trimarchi To support multiple display or bridge devices, enable the flag, so we can assign the req seq via DTB alias Signed-off-by: Ye Li Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- drivers/video/bridge/video-bridge-uclass.c | 1 + drivers/video/display

[PATCH 12/26] video: Update mxsfb video drivers for iMX8MM/iMX8MN display

2024-09-13 Thread Dario Binacchi
From: Michael Trimarchi Update mxsfb for LCD video driver Signed-off-by: Ye Li Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- drivers/video/mxsfb.c | 139 -- 1 file changed, 93 insertions(+), 46 deletions(-) diff --git a/drivers

[PATCH 11/26] video: dsi_host: add disable host interface

2024-09-13 Thread Dario Binacchi
From: Michael Trimarchi Current operations structure has provided disable callback, but there is no API from dsi_host uclass to use it. Add this disable host interface, so that dsi bridge can call it to disable host Signed-off-by: Ye Li Signed-off-by: Michael Trimarchi Signed-off-by: Dario

[PATCH 10/26] video: bridge: Add check_timing interface

2024-09-13 Thread Dario Binacchi
From: Michael Trimarchi Add new interface check_timing to video bridge uclass. For bridge device who may update timing needs to implement the callback. So host device can sync the timing with the bridge. Signed-off-by: Ye Li Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi

[PATCH 08/26] power: Add iMX8M block ctrl driver for dispmix

2024-09-13 Thread Dario Binacchi
From: Michael Trimarchi Add iMX8 block ctrl driver for displaymix on iMX8MM/iMX8MN and mediamix on iMX8MP. To support blk ctrl driver, the power domain driver on iMX8M needs update to add relevant PGC domains Signed-off-by: Ye Li Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi

[PATCH 09/26] video: Add video link framework

2024-09-13 Thread Dario Binacchi
: Ye Li Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- common/stdio.c | 4 + drivers/video/Kconfig | 6 + drivers/video/Makefile | 1 + drivers/video/video_link.c | 529 + include/video_link.h | 19 ++ 5

[PATCH 07/26] clk: imx8mn: add video clocks support

2024-09-13 Thread Dario Binacchi
From: Michael Trimarchi Add clocks support for the video subsystem. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- drivers/clk/imx/clk-imx8mn.c | 97 +--- 1 file changed, 90 insertions(+), 7 deletions(-) diff --git a/drivers/clk/imx/clk

[PATCH 06/26] clk: imx8mn: Mark IMX8MN_SYS_PLL2 and IMX8MN_SYS_PLL3 as enabled

2024-09-13 Thread Dario Binacchi
From: Michael Trimarchi Both clock are enabled by the bootloader and we need to increase their reference count to avoid disable during reparent operation. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- drivers/clk/imx/clk-imx8mn.c | 8 1 file changed, 8

[PATCH 05/26] clk: imx8mm: Mark IMX8MM_SYS_PLL2 and IMX8MM_SYS_PLL3 as enabled

2024-09-13 Thread Dario Binacchi
From: Michael Trimarchi Both clock are enabled by the bootloader and we need to increase their reference count to avoid disable during reparent operation. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- drivers/clk/imx/clk-imx8mm.c | 9 + 1 file changed, 9

[PATCH 03/26] clk: imx8mm: Prevent clock critical path from disabling during reparent and set_rate

2024-09-13 Thread Dario Binacchi
From: Michael Trimarchi This commit ensures that critical clock paths are not disabled during reparent and set_rate operations within the clock framework, paving the way for the inclusion of new features. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- drivers/clk/imx/clk

[PATCH 04/26] clk: clk-uclass: Implement CLK_OPS_PARENT_ENABLE

2024-09-13 Thread Dario Binacchi
From: Michael Trimarchi There are scenario that we need to enable the new parent clock before reparent, or we need to do the same with clk_set_rate. The patch cover those scenario Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- drivers/clk/clk-uclass.c | 47

[PATCH 02/26] clk: imx8mn: Prevent clock critical path from disabling during reparent and set_rate

2024-09-13 Thread Dario Binacchi
From: Michael Trimarchi This commit ensures that critical clock paths are not disabled during reparent and set_rate operations within the clock framework, paving the way for the inclusion of new features. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- drivers/clk/imx/clk

[PATCH 01/26] clk: Propagate clk_set_rate() if CLK_SET_PARENT_RATE present for gate and mux

2024-09-13 Thread Dario Binacchi
e the clock tree. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- drivers/clk/clk-gate.c | 1 + drivers/clk/clk-mux.c| 2 +- drivers/clk/clk-uclass.c | 20 drivers/clk/clk.c| 9 + include/clk.h

Re: [PATCH 2/2] cmd: booti: adjust the print format

2024-08-29 Thread Dario Binacchi
Hi Simon, On Thu, Aug 29, 2024 at 4:05 PM Simon Glass wrote: > > Hi Dario, > > On Sun, 25 Aug 2024 at 06:26, Dario Binacchi > wrote: > > > > All three addresses printed are in hexadecimal format, but only the > > first two have the "0x" prefix.

[PATCH 2/2] cmd: booti: adjust the print format

2024-08-25 Thread Dario Binacchi
All three addresses printed are in hexadecimal format, but only the first two have the "0x" prefix. The patch aligns the format of the "end" address with the other two by adding the "0x" prefix. Signed-off-by: Dario Binacchi --- cmd/booti.c | 2 +- 1 file chang

[PATCH 1/2] bootm: adjust the print format

2024-08-25 Thread Dario Binacchi
All three addresses printed are in hexadecimal format, but only the first two have the "0x" prefix. The patch aligns the format of the "end" address with the other two by adding the "0x" prefix. Signed-off-by: Dario Binacchi --- boot/bootm.c | 2 +- 1 file chang

Re: [PATCH v6 0/3] Introduce mtdblock device

2024-07-11 Thread Dario Binacchi
/mtd/ubi/part.o: in function `part_get_info_ubi': 1451+drivers/mtd/ubi/part.c:55:(.text.part_get_info_ubi+0x4c): undefined reference to `__aeabi_ldivmod' Furthermore the "Introduce mtdblock device" series has to be rebased. Please, run the buildman tests before submitting

[PULL] Pull request for u-boot-nand-20240617

2024-06-17 Thread Dario Binacchi
anged, 176 insertions(+) -- Dario Binacchi Senior Embedded Linux Developer dario.binac...@amarulasolutions.com __ Amarula Solutions SRL Via Le Canevare 30, 31100 Treviso, Veneto, IT T. +39 042 243 5310 i...@amarulasolutions.com www.amarulasolutions.com

  1   2   3   4   5   6   7   8   9   >