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

2024-09-30 Thread Dario Binacchi
eb3225e1c1c76823 > > I received a bit of feedback on this U-Boot series, I can take the > feedback into account and send a v2. Then, if you are still okay, you > can stack your patches on top of mine and do the required adaptations > (on both sides). Sure, go ahead with version 2.

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
ce mtdblock abstraction > > spinand: bind mtdblock > > > > disk/part.c | 3 +- > > drivers/block/blk-uclass.c | 1 + > > drivers/mtd/Kconfig | 1 + > > drivers/mtd/Makefile| 3 + > > drivers/mtd/mtdblock.c | 2

[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

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

2024-06-14 Thread Dario Binacchi
1-1-avroma...@salutedevices.com/ > > > > > > > > Alexey Romanov (3): > > > > disk: support MTD partitions > > > > drivers: introduce mtdblock abstraction > > > > spinand: bind mtdblock > > > > > > > > disk/part.

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

2024-05-27 Thread Dario Binacchi
uclass.c | 1 + > drivers/mtd/Kconfig | 1 + > drivers/mtd/Makefile| 1 + > drivers/mtd/mtdblock.c | 227 > drivers/mtd/mtdpart.c | 69 +++ > drivers/mtd/nand/spi/core.c | 20 > include/linu

Re: [PATCH v1] mtd: rawnand: macronix: OTP access for MX30LFxG18AC

2024-05-24 Thread Dario Binacchi
> On 18.04.2024 09:55, Dario Binacchi wrote: > > Arseniy, Michael, All > > > > On Wed, Apr 17, 2024 at 8:44 PM Michael Nazzareno Trimarchi > > wrote: > >> > >> Hi > >> > >> Dario did you add those patches in CI and test them again? >

Re: [PATCH v2 0/6] Introduce UBI block device

2024-05-24 Thread Dario Binacchi
ons.com > > www.amarulasolutions.com > > -- > Thank you, > Alexey I applied your series https://patchwork.ozlabs.org/user/todo/uboot/?series=401667 https://patchwork.ozlabs.org/user/todo/uboot/?series=400302 but the CI fails. The first applied series already has problems: Bui

Re: [PATCH] ubi: Depend on MTD

2024-04-29 Thread Dario Binacchi
e. > > > > Can you pick it up? Seems that you are delegate and was already reviewed by me Yes, I will apply the patch to nand-next branch and test it with the CI pipeline Thanks and regards, Dario > > Michael > > > -- > > Tom > > > > -- > Michael Na

Re: [PATCH v1] mtd: rawnand: macronix: OTP access for MX30LFxG18AC

2024-04-17 Thread Dario Binacchi
eniy Krasnov wrote: > > >>>> Sorry, pls ping > > >>>> > > >>>> Thanks, Arseniy > > > > > > > > > > > > > -- > Michael Nazzareno Trimarchi > Co-Founder & Chief Executive Officer > M. +39 347 913 217

Re: [PATCH v2 0/6] mtd: nand: raw: Collected improvements

2024-04-14 Thread Dario Binacchi
Hello Alexander, On Mon, Apr 15, 2024 at 8:13 AM Alexander Dahl wrote: > > Hello Dario, > > Am Sun, Apr 14, 2024 at 03:41:38PM +0200 schrieb Dario Binacchi: > > Hi Alexander, > > > > On Wed, Mar 20, 2024 at 10:02 AM Alexander Dahl wrote: > > > > > &

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

2024-04-14 Thread Dario Binacchi
44 drivers/mtd/nand/raw/meson_nand.c create mode 100644 drivers/mtd/nand/spi/xtx.c -- Dario Binacchi Senior Embedded Linux Developer dario.binac...@amarulasolutions.com __ Amarula Solutions SRL Via Le Canevare 30, 31100 Treviso, Veneto, IT T. +39 042

Re: [PATCH V4] mtd: spinand: Add support for XTX SPINAND

2024-04-14 Thread Dario Binacchi
MORG(1, 4096, 256, 64, 2048, 40, 1, 1, 1), > +NAND_ECCREQ(8, 512), > +SPINAND_INFO_OP_VARIANTS(&read_cache_variants, > + &write_cache_variants, > + &u

Re: [PATCH v3] mtd: rawnand: Meson NAND controller support

2024-04-14 Thread Dario Binacchi
ecc.size) { > > + struct meson_nfc_nand_chip *meson_chip = > > to_meson_nand(nand); > > + > > + nand->ecc.steps = mtd->writesize / nand->ecc.size; > > + meson_c

Re: [PATCH v5] cmd: mtd: OTP access support

2024-04-14 Thread Dario Binacchi
; > + "mtd otplock \n" > + "mtd otpinfo[u|f]\n" > +#endif > "\n" > "With:\n" > "\t: NAND partition/chip name (or corresponding DM device name > or OF path)\n" >

Re: [PATCH] cmd: sf: Fix sf probe crash

2024-04-14 Thread Dario Binacchi
t; + ret = spi_flash_probe_bus_cs(bus, cs, &new); > > + if (!ret) > > + flash = dev_get_uclass_priv(new); > > } else { > > flash = spi_flash_probe(bus, cs, speed, mode); > > } > Applied to nan

Re: [PATCH v2 0/6] mtd: nand: raw: Collected improvements

2024-04-14 Thread Dario Binacchi
eaebfc91adb14f47c > -- > 2.39.2 > Applied to nand-next the first 4 patches. For the others, we will conduct further testing before applying them. Thanks and regards, Dario -- 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

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

2024-01-15 Thread Dario Binacchi
ines/19322 Pull request for u-boot-nand-20240115 The first patch is by Heinrich Schuchardt and fixes an integer overflow The following two patches are by Dario Binacchi and add arguments check to the nand_mtd_to_devnum() and nand_register() functions. The

Re: [PATCH v2 00/14] Support SPI NAND in fastboot protocol

2024-01-15 Thread Dario Binacchi
ndefined reference to `nand_write_skip_bad' 94+/usr/bin/ld: test/dm/nand.c:73: undefined reference to `nand_read_skip_bad' 95+/usr/bin/ld: test/dm/nand.c:81: undefined reference to `nand_erase_opts' 96+/usr/bin/ld: test/dm/nand.c:84: undefined reference to `nand_read_skip_bad' 97+collec

Re: [PATCH v2 0/2] mtd: nand: omap_gpmc: Fix NAND for AM335x

2024-01-15 Thread Dario Binacchi
>> > 3 files changed, 31 insertions(+), 74 deletions(-) >> > >> > >> > base-commit: 2f0282922b2c458eea7f85c500a948a587437b63 >> >> If no objections can this be Acked and picked up please? >> Wit

Re: [PATCH v2 0/4] mtd: omap_gpmc: Fix GPMC & NAND drivers

2024-01-15 Thread Dario Binacchi
equisite-patch-id: e0465f3e924302d1c4bd47f2129b4eb3bd9faead > -- > 2.34.1 > Applied to nand-next, Thanks and regards, Dario -- 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

Re: [PATCH v2 2/4] mtd: rawnand: omap_gpmc: Use DT provided IO address

2024-01-12 Thread Dario Binacchi
and_scan(mtd, CONFIG_SYS_NAND_MAX_CHIPS); > if (ret) > @@ -1270,7 +1279,7 @@ void board_nand_init(void) > > int board_nand_init(struct nand_chip *nand) > { > - return gpmc_nand_init(nand); > + return gpmc_nand_init(nand, (void __iomem *)CFG_SYS_NAND_BASE); >

Re: [PATCH v2 1/4] memory: ti-gpmc: Fix build

2024-01-12 Thread Dario Binacchi
; #include > -#include > #include > #include > #include > @@ -17,6 +16,7 @@ > #include > #include > #include > +#include > #include "ti-gpmc.h" > Reviewed-by: Dario Binacchi Thanks and regards, Dario > enum gpmc_clk_domain

[PATCH v3 6/6] board: stm32f469-disco: add splash screen with stmicroelectronics logo

2023-12-11 Thread Dario Binacchi
Display the STMicroelectronics logo with features VIDEO_LOGO and SPLASH_SCREEN on stm32f469-disco board. Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard --- Changes in v3: - Add Patrice Chotard's Reviewed-by tag. - Remove RFC tag - Split "[4/5] ARM: dts: stm32: support

[PATCH v3 5/6] board: stm32f469-disco: add support to display

2023-12-11 Thread Dario Binacchi
Add support to Orise Tech OTM8009A display on stm32f469-disco board. It was necessary to retrieve the framebuffer address from the device tree because the address returned by the video-uclass driver pointed to a memory area that was not usable. Signed-off-by: Dario Binacchi --- Changes in v3

[PATCH v3 4/6] ARM: dts: stm32: support MIPI DSI on stm32f469-disco board

2023-12-11 Thread Dario Binacchi
Unlike Linux, the DSI driver requires the LTDC clock to be properly probed. Hence, the changes made to the DSI node. Signed-off-by: Dario Binacchi --- (no changes since v1) arch/arm/dts/stm32f469-disco-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/stm32f469

[PATCH v3 3/6] ARM: dts: stm32: make the DSI clock usable by the clock driver

2023-12-11 Thread Dario Binacchi
e to properly handle nodes with "clocks" properties with an index set to 0. This patch is preparatory for future developments that require the use of the DSI clock. [1] Documentation/devicetree/bindings/clock/st,stm32-rcc.txt Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chota

[PATCH v3 2/6] ARM: dts: stm32: make the LTDC clock usable by the clock driver

2023-12-11 Thread Dario Binacchi
e to properly handle nodes with "clocks" properties with an index set to 0. This patch is preparatory for future developments that require the use of the LTDC clock. [1] Documentation/devicetree/bindings/clock/st,stm32-rcc.txt Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chota

[PATCH v3 1/6] ARM: dts: stm32f469-disco: sync with Linux 6.5

2023-12-11 Thread Dario Binacchi
Sync the devicetree with linux 6.5 for stm32f746-disco board. Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard --- (no changes since v2) Changes in v2: - Add Patrice Chotard's Reviewed-by tag. arch/arm/dts/stm32f469-disco.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 dele

[PATCH v3 0/6] Support display on stm32f469-disco board

2023-12-11 Thread Dario Binacchi
tard's Reviewed-by tag to patches 1, 2 and 3 of the series. - Fix frame buffer allocation for stm32f469 discovery board. Dario Binacchi (6): ARM: dts: stm32f469-disco: sync with Linux 6.5 ARM: dts: stm32: make the LTDC clock usable by the clock driver ARM: dts: stm32: make the DSI clock

[RESEND RFC PATCH v2 5/5] board: stm32f469-disco: add splash screen with stmicroelectronics logo

2023-11-30 Thread Dario Binacchi
Display the STMicroelectronics logo with features VIDEO_LOGO and SPLASH_SCREEN on stm32f469-disco board. Signed-off-by: Dario Binacchi --- Changes in v2: - Add Patrice Chotard's Reviewed-by tag to patches 1, 2 and 3 of the series. - Fix frame buffer allocation for stm32f469 discovery

[RESEND RFC PATCH v2 4/5] ARM: dts: stm32: support display on stm32f469-disco board

2023-11-30 Thread Dario Binacchi
the LTDC clock to be properly probed. Hence, the changes made to the DSI node in stm32f469-disco-u-boot.dtsi. Signed-off-by: Dario Binacchi --- Changes in v2: - Add DRAM_SIZE macro. - Fix frame buffer allocation function so that it is backward compatible with boards other than the one it was

[RESEND RFC PATCH v2 3/5] ARM: dts: stm32: make the DSI clock usable by the clock driver

2023-11-30 Thread Dario Binacchi
e to properly handle nodes with "clocks" properties with an index set to 0. This patch is preparatory for future developments that require the use of the DSI clock. [1] Documentation/devicetree/bindings/clock/st,stm32-rcc.txt Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard ---

[RESEND RFC PATCH v2 2/5] ARM: dts: stm32: make the LTDC clock usable by the clock driver

2023-11-30 Thread Dario Binacchi
e to properly handle nodes with "clocks" properties with an index set to 0. This patch is preparatory for future developments that require the use of the LTDC clock. [1] Documentation/devicetree/bindings/clock/st,stm32-rcc.txt Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard ---

[RESEND RFC PATCH v2 1/5] ARM: dts: stm32f469-disco: sync with Linux 6.5

2023-11-30 Thread Dario Binacchi
Sync the devicetree with linux 6.5 for stm32f746-disco board. Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard --- Changes in v2: - Add Patrice Chotard's Reviewed-by tag. arch/arm/dts/stm32f469-disco.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

[RESEND RFC PATCH v2 0/5] Support display on stm32f469-disco board

2023-11-30 Thread Dario Binacchi
3 of the series. - Fix frame buffer allocation for stm32f469 discovery board. Dario Binacchi (5): ARM: dts: stm32f469-disco: sync with Linux 6.5 ARM: dts: stm32: make the LTDC clock usable by the clock driver ARM: dts: stm32: make the DSI clock usable by the clock driver ARM: dts: stm32: su

[PATCH] binman: doc: fix typo

2023-11-23 Thread Dario Binacchi
s/use set/set/ Signed-off-by: Dario Binacchi --- tools/binman/binman.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/binman/binman.rst b/tools/binman/binman.rst index 020988d955f0..230e055667f3 100644 --- a/tools/binman/binman.rst +++ b/tools/binman/binman.rst

[PATCH] binman: doc: fix typo

2023-11-23 Thread Dario Binacchi
s/use set/set/ Signed-off-by: Dario Binacchi --- tools/binman/binman.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/binman/binman.rst b/tools/binman/binman.rst index 020988d955f0..230e055667f3 100644 --- a/tools/binman/binman.rst +++ b/tools/binman/binman.rst

[PATCH 2/2] clk: stm32f: fix setting of LCD clock

2023-11-11 Thread Dario Binacchi
clock") Signed-off-by: Dario Binacchi --- drivers/clk/stm32/clk-stm32f.c | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/drivers/clk/stm32/clk-stm32f.c b/drivers/clk/stm32/clk-stm32f.c index 4c1864193357..d68c75ed2013 100644 --- a/drivers/clk

[PATCH 1/2] clk: stm32f: fix setting of division factor for LCD_CLK

2023-11-11 Thread Dario Binacchi
The value to be written to the register must be appropriately shifted, as is correctly done in other parts of the code. Fixes: 5e993508cb25 ("clk: clk_stm32f: Add set_rate for LTDC clock") Signed-off-by: Dario Binacchi --- drivers/clk/stm32/clk-stm32f.c | 3 ++- 1 file changed, 2

[PATCH] ARM: dts: stm32f769-disco: rework ltdc node

2023-11-11 Thread Dario Binacchi
With commit f479f5dbb7ac ("ARM: dts: stm32: add ltdc support on stm32f746 MCU"), which adds the 'ltdc' node in stm32f746.dtsi, we can simplify stm32f769-disco-uboot.dtsi and align stm32f769-disco.dtsi with the kernel version. Signed-off-by: Dario Binacchi --- arch/arm/d

Re: [PATCH 00/15] nand: Add sandbox tests

2023-11-09 Thread Dario Binacchi
Sean, All On Sat, Nov 4, 2023 at 8:46 PM Sean Anderson wrote: > > On 11/2/23 10:18, Dario Binacchi wrote: > > On Thu, Nov 2, 2023 at 3:13 PM Sean Anderson wrote: > >> > >> On 11/2/23 10:08, Dario Binacchi wrote: > >>> On Thu, Nov 2, 2023 at 3:06 PM Sean

Re: [PATCH 00/15] nand: Add sandbox tests

2023-11-02 Thread Dario Binacchi
On Thu, Nov 2, 2023 at 3:13 PM Sean Anderson wrote: > > On 11/2/23 10:08, Dario Binacchi wrote: > > On Thu, Nov 2, 2023 at 3:06 PM Sean Anderson wrote: > >> > >> On 11/2/23 10:01, Dario Binacchi wrote: > >>> Sean, All, > >>> >

Re: [PATCH 03/15] nand: Calculate SYS_NAND_PAGE_COUNT automatically

2023-11-02 Thread Dario Binacchi
Sean, All On Thu, Nov 2, 2023 at 3:17 PM Sean Anderson wrote: > > On 11/2/23 05:53, Dario Binacchi wrote: > > Sean, All > > > > On Sun, Oct 29, 2023 at 4:48 AM Sean Anderson wrote: > >> > >> Contrary to what the help message says, this is the nu

Re: [PATCH 00/15] nand: Add sandbox tests

2023-11-02 Thread Dario Binacchi
On Thu, Nov 2, 2023 at 3:06 PM Sean Anderson wrote: > > On 11/2/23 10:01, Dario Binacchi wrote: > > Sean, All, > > > > On Sun, Oct 29, 2023 at 4:48 AM Sean Anderson wrote: > >> > >> This series tests raw nand flash in sandbox and fixes various bugs

Re: [PATCH 00/15] nand: Add sandbox tests

2023-11-02 Thread Dario Binacchi
6 +++ > test/image/Kconfig| 9 + > test/image/Makefile | 1 + > test/image/spl_load_nand.c| 54 ++ > 102 files changed, 1269 insertions(+), 153 deletions(-) > create mode 100644 drivers/mtd/nand/ra

[PATCH] mtd: nand: check nand_mtd_to_devnum() argument

2023-11-02 Thread Dario Binacchi
If the "mtd" parameter is NULL, the search will definitely yield a negative result. In that case, it's better to exit immediately. Signed-off-by: Dario Binacchi --- drivers/mtd/nand/raw/nand.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/

[PATCH] mtd: nand: complete nand_register() arguments check

2023-11-02 Thread Dario Binacchi
The patch checks that the "mtd" parameter is accessible before proceeding. Signed-off-by: Dario Binacchi --- drivers/mtd/nand/raw/nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/raw/nand.c b/drivers/mtd/nand/raw/nand.c index ea

Re: [PATCH 14/15] nand: Add sandbox driver

2023-11-02 Thread Dario Binacchi
}; > + > +void board_nand_init(void) > +{ > + struct udevice *dev; > + int err; > + > + err = uclass_get_device_by_driver(UCLASS_MTD, > DM_DRIVER_REF(sand_nand), > + &dev); > + if (err && err != -ENOD

Re: [PATCH 12/15] nand: Allow reinitialization

2023-11-02 Thread Dario Binacchi
assert(!nand_info[i]); > + > + initialized = 0; > + nand_init(); > +} > + > unsigned int nand_page_size(void) > { > struct mtd_info *mtd = get_nand_dev_by_index(nand_curr_device); > diff --git a/include/nand.h b/include/nand.h > index

Re: [PATCH 11/15] nand: Add function to unregister NAND devices

2023-11-02 Thread Dario Binacchi
gt; --- a/include/nand.h > +++ b/include/nand.h > @@ -22,6 +22,7 @@ int nand_mtd_to_devnum(struct mtd_info *mtd); > #if CONFIG_IS_ENABLED(SYS_NAND_SELF_INIT) > void board_nand_init(void); > int nand_register(int devnum, struct mtd_info *mtd); > +void nand_unregister(struct mtd_info

Re: [PATCH 10/15] mtd: Add some fallbacks for add/del_mtd_device

2023-11-02 Thread Dario Binacchi
del_mtd_device(struct mtd_info *mtd); > +#else > +static inline int add_mtd_device(struct mtd_info *mtd) > +{ > + return -ENOSYS; > +} > + > +static inline int del_mtd_device(struct mtd_info *mtd) > +{ > + return -ENOSYS; > +} > +#endif > >

Re: [PATCH 03/15] nand: Calculate SYS_NAND_PAGE_COUNT automatically

2023-11-02 Thread Dario Binacchi
address > the > diff --git a/drivers/mtd/nand/raw/nand_spl_simple.c > b/drivers/mtd/nand/raw/nand_spl_simple.c > index 2f3af9edd4c..2ebcac56900 100644 > --- a/drivers/mtd/nand/raw/nand_spl_simple.c > +++ b/drivers/mtd/nand/raw/nand_spl_simple.c > @@ -6,6 +6,7 @@ > > #include > #incl

Re: [PATCH v3 2/2] dfu: mtd: mark bad the MTD block on erase error

2023-10-13 Thread Dario Binacchi
Hello Patrick, On Mon, Jun 05, 2023 at 09:52:08AM +0200, Patrick Delaunay wrote: > In the MTD DFU backend, it is needed to mark the NAND block bad when the > erase failed with the -EIO error, as it is done in UBI and JFFS2 code. > > This operation is not done in the MTD framework, but the bad blo

Re: [PATCH v3 1/2] dfu: mtd: fix the trace when limit is reached

2023-10-13 Thread Dario Binacchi
Hello Patrick, On Mon, Jun 05, 2023 at 09:52:07AM +0200, Patrick Delaunay wrote: > The offset variable = 'off' used in the error trace when limit is reach > on erase operation is incorect as 'erase_op.addr' is used in the loop. > This patch corrects the copy paste issue between the erase loop and

Pull request for u-boot-nand-20230417

2023-10-13 Thread Dario Binacchi
d/nand/spi/paragon.c -- 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

[RFC PATCH v2 5/5] board: stm32f469-disco: add splash screen with stmicroelectronics logo

2023-10-08 Thread Dario Binacchi
Display the STMicroelectronics logo with features VIDEO_LOGO and SPLASH_SCREEN on stm32f469-disco board. Signed-off-by: Dario Binacchi --- Changes in v2: - Add Patrice Chotard's Reviewed-by tag to patches 1, 2 and 3 of the series. - Fix frame buffer allocation for stm32f469 discovery

[RFC PATCH v2 4/5] ARM: dts: stm32: support display on stm32f469-disco board

2023-10-08 Thread Dario Binacchi
the LTDC clock to be properly probed. Hence, the changes made to the DSI node in stm32f469-disco-u-boot.dtsi. Signed-off-by: Dario Binacchi --- Changes in v2: - Add DRAM_SIZE macro. - Fix frame buffer allocation function so that it is backward compatible with boards other than the one it was

[RFC PATCH v2 2/5] ARM: dts: stm32: make the LTDC clock usable by the clock driver

2023-10-08 Thread Dario Binacchi
e to properly handle nodes with "clocks" properties with an index set to 0. This patch is preparatory for future developments that require the use of the LTDC clock. [1] Documentation/devicetree/bindings/clock/st,stm32-rcc.txt Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard ---

[RFC PATCH v2 3/5] ARM: dts: stm32: make the DSI clock usable by the clock driver

2023-10-08 Thread Dario Binacchi
e to properly handle nodes with "clocks" properties with an index set to 0. This patch is preparatory for future developments that require the use of the DSI clock. [1] Documentation/devicetree/bindings/clock/st,stm32-rcc.txt Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard ---

[RFC PATCH v2 1/5] ARM: dts: stm32f469-disco: sync with Linux 6.5

2023-10-08 Thread Dario Binacchi
Sync the devicetree with linux 6.5 for stm32f746-disco board. Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard --- Changes in v2: - Add Patrice Chotard's Reviewed-by tag. arch/arm/dts/stm32f469-disco.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

[RFC PATCH v2 0/5] Support display on stm32f469-disco board

2023-10-08 Thread Dario Binacchi
3 of the series. - Fix frame buffer allocation for stm32f469 discovery board. Dario Binacchi (5): ARM: dts: stm32f469-disco: sync with Linux 6.5 ARM: dts: stm32: make the LTDC clock usable by the clock driver ARM: dts: stm32: make the DSI clock usable by the clock driver ARM: dts: stm32: su

Re: [RFC PATCH 4/5] ARM: dts: stm32: support display on stm32f469-disco board

2023-10-08 Thread Dario Binacchi
Hello Patrice, On Wed, Sep 27, 2023 at 8:19 AM Patrice CHOTARD wrote: > > > > On 9/3/23 22:57, Dario Binacchi wrote: > > Add support to Orise Tech OTM8009A display on stm32f469-disco board. > > > > It was necessary to retrieve the framebuffer address from the devic

[RFC PATCH 5/5] board: stm32f469-disco: add splash screen with stmicroelectronics logo

2023-09-03 Thread Dario Binacchi
Display the STMicroelectronics logo with features VIDEO_LOGO and SPLASH_SCREEN on stm32f469-disco board. Signed-off-by: Dario Binacchi --- configs/stm32f469-discovery_defconfig | 3 +++ include/configs/stm32f469-discovery.h | 2 ++ tools/logos/stm32f469-discovery.bmp | Bin 0 -> 18

[RFC PATCH 4/5] ARM: dts: stm32: support display on stm32f469-disco board

2023-09-03 Thread Dario Binacchi
the LTDC clock to be properly probed. Hence, the changes made to the DSI node in stm32f469-disco-u-boot.dtsi. Signed-off-by: Dario Binacchi --- arch/arm/dts/stm32f469-disco-u-boot.dtsi | 4 +++ configs/stm32f469-discovery_defconfig| 13 + drivers/video/stm32/stm32_ltdc.c

[RFC PATCH 3/5] ARM: dts: stm32: make the DSI clock usable by the clock driver

2023-09-03 Thread Dario Binacchi
e to properly handle nodes with "clocks" properties with an index set to 0. This patch is preparatory for future developments that require the use of the DSI clock. [1] Documentation/devicetree/bindings/clock/st,stm32-rcc.txt Signed-off-by: Dario Binacchi --- arch/arm/dts/stm32f469-disco

[RFC PATCH 2/5] ARM: dts: stm32: make the LTDC clock usable by the clock driver

2023-09-03 Thread Dario Binacchi
e to properly handle nodes with "clocks" properties with an index set to 0. This patch is preparatory for future developments that require the use of the LTDC clock. [1] Documentation/devicetree/bindings/clock/st,stm32-rcc.txt Signed-off-by: Dario Binacchi --- arch/arm/dts/stm32f469-disc

[RFC PATCH 1/5] ARM: dts: stm32f469-disco: sync with Linux 6.5

2023-09-03 Thread Dario Binacchi
Sync the devicetree with linux 6.5 for stm32f746-disco board. Signed-off-by: Dario Binacchi --- arch/arm/dts/stm32f469-disco.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/stm32f469-disco.dts b/arch/arm/dts/stm32f469-disco.dts index 6e0ffc1903be

[RFC PATCH 0/5] Support display on stm32f469-disco board

2023-09-03 Thread Dario Binacchi
altering the Linux device tree. It is therefore desirable, as soon as possible, to add these drivers the functionalities so that they do not require device tree properties that deviate from those present in the Linux version. Dario Binacchi (5): ARM: dts: stm32f469-disco: sync with Linux 6.5 ARM: dts

  1   2   3   4   5   6   7   8   >