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.
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.
>
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:
> >
/#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
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 +
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
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
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
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
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
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
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
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
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
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 +-
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
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
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
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
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
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
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
: 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
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
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
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
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
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
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
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
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.
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
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
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
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-1-avroma...@salutedevices.com/
> > > >
> > > > Alexey Romanov (3):
> > > > disk: support MTD partitions
> > > > drivers: introduce mtdblock abstraction
> > > > spinand: bind mtdblock
> > > >
> > > > disk/part.
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
> 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?
>
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
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
eniy Krasnov wrote:
> > >>>> Sorry, pls ping
> > >>>>
> > >>>> Thanks, Arseniy
> > >
> > >
> > >
>
>
>
> --
> Michael Nazzareno Trimarchi
> Co-Founder & Chief Executive Officer
> M. +39 347 913 217
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:
> > >
> > &
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
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
ecc.size) {
> > + struct meson_nfc_nand_chip *meson_chip =
> > to_meson_nand(nand);
> > +
> > + nand->ecc.steps = mtd->writesize / nand->ecc.size;
> > + meson_c
;
> + "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"
>
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
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
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
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
>> > 3 files changed, 31 insertions(+), 74 deletions(-)
>> >
>> >
>> > base-commit: 2f0282922b2c458eea7f85c500a948a587437b63
>>
>> If no objections can this be Acked and picked up please?
>> Wit
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
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);
>
; #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
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
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
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
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
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
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
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
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
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
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
---
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
---
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
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
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
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
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
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
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
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
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,
> >>>
>
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
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
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
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/
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
};
> +
> +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
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
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
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
>
>
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
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
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
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
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
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
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
---
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
---
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
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
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
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
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
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
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
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
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 - 100 of 735 matches
Mail list logo