The series adds a function to get the LCD pixel clock rate. Also
improves video PLLL rate calculation.
Dario Binacchi (3):
imx6: clock: improve calculations to get the PLL video rate
imx6: clock: add support to get LCD pixel clock rate
imx6: clock: print real pixel clock rate
arch/arm
: Dario Binacchi
---
arch/arm/mach-imx/mx6/clock.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/mx6/clock.c b/arch/arm/mach-imx/mx6/clock.c
index cb9d629be408..17d8dcd5c841 100644
--- a/arch/arm/mach-imx/mx6/clock.c
+++ b/arch/arm/mach-imx/mx6/clock.c
Add the get_lcd_clk() function to get the LCD pixel clock rate.
The patch has been tested on imx6ul platform.
Signed-off-by: Dario Binacchi
---
arch/arm/include/asm/arch-mx6/clock.h | 2 +
arch/arm/mach-imx/mx6/clock.c | 58 +++
2 files changed, 60 insertions
Add debug messages to print the real pixel clock rate, which may not be
the requested one.
Signed-off-by: Dario Binacchi
---
arch/arm/mach-imx/mx6/clock.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-imx/mx6/clock.c b/arch/arm/mach-imx/mx6/clock.c
index 267d86ab4194
};
> + partition@1 { /* for testing purpose */
> + label = "nand1-linux";
> + reg = <0x0 0x40 0x140>;
> + };
> + partition@2 { /* for testing purpose */
&
mmand.
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
drivers/mtd/nand/raw/nand_util.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/nand_util.c b/drivers/mtd/nand/raw/nand_util.c
index b2345dca7f71..72cc24f40376 100644
--- a/drivers/
nt' makes pointer from integer without a cast
[-Werror=int-conversion]
Thanks and regards,
Dario
> plat->is_decoded_cs = dev_read_bool(bus, "cdns,is-decoded-cs");
> plat->fifo_depth = dev_read_u32_default(bus, "cdns,fifo-depth", 128);
ners and myself as reviewer.
>
> [1] https://lists.denx.de/pipermail/u-boot/2023-February/508571.html
>
> Signed-off-by: Frieder Schrempf
> Cc: Jagan Teki
> Cc: Dario Binacchi
> Cc: Michael Nazzareno Trimarchi
> Cc: Tom Rini
> ---
> MAINTAINERS | 8
>
0
> > >0x116c0
> > >0x1ff00 (bbt reserved)
> > >0x1ff40 (bbt reserved)
> > >0x1ff80 (bbt reserved)
> > >0x1ffc0 (bbt reserved)
> > >
> > > Sign
nd.c | 353
++--
drivers/mtd/nand/raw/nand_bbt.c | 3 +-
drivers/mtd/nand/raw/nand_util.c | 3 +-
drivers/mtd/nand/spi/core.c | 5 ++-
5 files changed, 281 insertions(+), 92 deletions(-)
--
Dario Binacchi
Senior Embedded Linux Developer
dario.binac...@amarulasol
fix CS0 layout
> >>mtd: rawnand: brcmnand: rename page sizes
> >>mtd: rawnand: brcmnand: support v2.1-v2.2 controllers
> >>mtd: rawnand: brcmnand: fix OOB R/W with Hamming ECC
> >>
> >> drivers/mtd/nand/raw/brcmnand/brcmnand.c | 615
Hi Michael,
On Mon, Feb 27, 2023 at 4:01 PM Dario Binacchi
wrote:
>
> From: Michael Trimarchi
>
> The "nand chip.erase" command always printed as bad blocks even in the
> case of reserved blocks. Reserved blocks are used for storing bad block
> tables. The patch
As reported by the datasheet (DocID027590 Rev 4) for PG12:
- AF9 -> LCD_B4
- AF14 -> LCD_B1
So replace AF14 with AF9 for PG12 in the dts.
Fixes: fe63d3cfb77ef ("ARM: dts: stm32: Sync DT with v4.20 kernel for stm32f7")
Signed-off-by: Dario Binacchi
---
arch/arm/dts/s
Display the STMicroelectronics logo.
Signed-off-by: Dario Binacchi
---
board/st/stm32mp1/stm32mp1.c | 12
1 file changed, 12 insertions(+)
diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c
index 1a1b1844c8c0..c8c2a83b2acf 100644
--- a/board/st/stm32mp1
Hi all,
On Tue, Jul 4, 2023 at 10:11 AM Grzegorz Szymaszek wrote:
>
> Hi,
>
> On Mon, Jul 03, 2023 at 06:27:54PM +0200, Dario Binacchi wrote:
> > diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c
> > -%<-
> > #include
> >
Display the STMicroelectronics logo.
Signed-off-by: Dario Binacchi
---
Changes in v2:
- move "splash.h" and "st_logo_data.h" headers before "syscon.h" in order
to keep includes sorted alphabetically.
- remove "logo" variable and pass
"
Hi Patrick,
On Wed, Jul 5, 2023 at 2:09 PM Patrick DELAUNAY
wrote:
>
> Hi Dario,
>
> On 7/4/23 19:31, Dario Binacchi wrote:
> > Display the STMicroelectronics logo.
> >
> > Signed-off-by: Dario Binacchi
> >
> >
> > ---
> >
> > Chang
;rsk_9t7??V6eO+@<=s89b;q`SVNYu(wmJWr
> zweUu1#GaGa-Y&-b%CsRf{HJkU>>TY}2hKX0{Ee?VY_EwV%fPUfewT~zJ1bM08
> zz3&-Tq9<}C^ghQ@itC8?!IT_x7LuD6BUb}rqiE~Je64Z&aY&}YwC{o=abNHTx2Z#$
> z24-VI{Ow?1aL5!4#Kb`bd z@vx?DwLNw)uBB+?*&-R{X9!w4lmVmjrD`?r@~YKk*YE>E$0zMPOU-&>?t-I6ZoQcz
> zC3O?Ek>+3<^0`ffDLw28bgR0v@6Qp*PMCG}T6|N28BJm4O3bA-)%|OHZU(LJS2Q5~
> z+xaUR2}t%rfI)g#?i|#bdjka~YuiLASBC)CQeXG|=sj`vhNE^q%CA;pCI#bHfYFg{
> z@T8(oUkr*j9cSDtV1IP}d_-e#8T{dUG)H2&phomWzPpVyvXdN#f!Jlr`Ok|Gjb6cq
> zqVLf{60gqJTgB1^rDw;6=2T!Fh;Z1CxxKgFb6`vHWphPkn>s0X9A7kS&4uUEKt!Lx
> z;=;Ra(5XxH&)t>G-Ffihh|kLr9oY?>cDF%a>P=+QZEG>;VCe~A1u9s9JDfb5gDLg6
> z*G-WY+4Y8%EY zti^myE> zUG?RmSeO+g(Q{@9cKE?GX}$7iJm(FYOtE%h$mZ$RFfFNZhB*t&++scF95WQ0*}%Zi
> zhlQK)9>_h=hj=|EF7|9w6lWTg+%AgKXqp)!MK-+_hvjX zB_GD=)K8R5XzYFRlN@tN+YzUHe|Q*Qc_EzgT(Nk4x?GRNB>4ovkWEo(SPQkA`~{=r
> zb!^za9gzj zApcYG)#>f%dlGt)_r9k^wMsaQ@rd$$_%A^#f;L`wUZ*3!iLv8qGqCP6=U8mvQM@5!
> zFAfI`?r3Ii>M&qR$gf{@%ojbol+}F#&u76gTp^V-+Ly0yqA3A}b^
> zQdV6rS0aYV+irriz>2%|8;qeDVub6m+wEfviTW$I+TlGg{n*|3C(mO}&c@m>o8W9k
> zJ3T{ML-`f7F0Mh3Rls2;`o+dR0 z!W8Vc7V)*j<>5a7v-wlIlSSy#ma^cLqvF58R|g7U*xj~g7^&E(-U5Ra{MY~Rz94R&
> zGbA) z>HwdKBUF+-SUXtqJ(a-yCJ?Gqq)L{TDK7*8->m>OE`g`H?gDOyc$$Y8Ms07V!JCw$
> z7{e~7ijWicd@2h8N>U@U%a+tXXjh3)8BYt#u2LeEP;v?@t1%Wd!rv z;Q8d7eO8}I{1%J7X+3}*a#u#GwuRY2R$v*`;t?8=6DhXoxgoX;;)r(a#hc4FvP?!S
> zwxO~*eTN9F=6!A6ccka+=3Oh0sS>bXu?2IjP62l-iG4LxecaQJ0`QY)Yhc$KAhoT}
> zjz?J)s86g)a%$=vVCMo8u%IXYttN;p`}xhA8!%&x8;ehj zzu*ke=k_5!w*_@t(+`G6OlgX unf42SnZIyjBI!qMXR1@uOP?ZdS?+VNPX;C_`E4ob`@jF+g#Se=K>a_RI-jlp
>
> literal 0
> HcmV?d1
>
> --
> 2.25.1
>
I downloaded the patch from Patchwork, but when I apply it (git am
board-stm32mp1-add-splash-screen-with-stmicroelectronics-logo.patch),
the file tools/logos/st.bmp is empty, and the compilation fails.
I'm sorry for the stupid question, but what am I doing wrong?
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
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
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
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
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
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
>
>
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
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
};
> +
> +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
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
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/
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
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
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: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,
> >>>
>
The patch fixes the y-resolution, which was causing the creation of a
framebuffer larger than actually needed, resulting in memory waste.
Fixes: cc1b0e7b8e55b ("board: Add display to STM32F746 SoC discovery board")
Signed-off-by: Dario Binacchi
---
configs/stm32f746-disco_defconf
us version didn't properly center the logo, hiding
its upper part.
Signed-off-by: Dario Binacchi
---
board/st/stm32f746-disco/stm32f746-disco.c | 6 --
configs/stm32f746-disco_defconfig | 2 +-
configs/stm32f746-disco_spl_defconfig | 2 +-
include/configs/st
This series contains my patches on the device tree for stm32f429 platform
that have already been merged into the mainline of Linux. Since they applied
perfectly, I preferred not to merge them into a single patch, which would have
been less readable.
Dario Binacchi (3):
ARM: dts: stm32: add CAN
secondary CAN can't be used without the primary CAN.
Signed-off-by: Dario Binacchi
Link:
https://lore.kernel.org/all/20230328073328.3949796-4-dario.binac...@amarulasolutions.com
Signed-off-by: Marc Kleine-Budde
---
arch/arm/dts/stm32f429.dtsi | 29 +
1 file change
commit 6b443faa313c519db755ff90be32758fd9c66453 Linux upstream.
This is a preparation patch for the upcoming support to manage CAN
peripherals in single configuration.
The addition ensures backwards compatibility.
Signed-off-by: Dario Binacchi
Link:
https://lore.kernel.org/all
commit 559a6e75b4bcf0fc9e41d34865e72cf742f67d8e Linux upstream.
Add pin configurations for using CAN controller on stm32f469-disco
board. They are located on the Arduino compatible connector CN5 (CAN1)
and on the extension connector CN12 (CAN2).
Signed-off-by: Dario Binacchi
Link:
https
been less
readable.
Dario Binacchi (10):
dt-bindings: mfd: stm32f7: Add binding definition for CAN3
ARM: dts: stm32: add pin map for CAN controller on stm32f7
ARM: dts: stm32: add CAN support on stm32f746
ARM: dts: stm32: use RCC macro for CRC node on stm32f746
ARM: dts: stm32: add pin
commit 8f3ef556f8e1a670895f59ef3f01e4e26edd63e3 Linux upstream.
Add binding definition for CAN3 peripheral.
Signed-off-by: Dario Binacchi
Link:
https://lore.kernel.org/r/20230423172528.1398158-2-dario.binac...@amarulasolutions.com
Signed-off-by: Lee Jones
---
include/dt-bindings/mfd/stm32f7
commit 011644249686f2675e142519cd59e81e04cfc231 Linux upstream.
Add pin configurations for using CAN controller on stm32f7.
Signed-off-by: Dario Binacchi
Link:
https://lore.kernel.org/all/20230427204540.3126234-4-dario.binac...@amarulasolutions.com
Signed-off-by: Marc Kleine-Budde
---
arch
| 14 filters |
-
Signed-off-by: Dario Binacchi
Link:
https://lore.kernel.org/all/20230427204540.3126234-6-dario.binac...@amarulasolutions.com
Signed-off-by: Marc Kleine-Budde
---
arch/arm/dts/stm32f
commit f0215440069c4fb12958d2d321e05faa2708a11d Linux upstream.
The patch adds support for touchscreen on the stm32f746-disco board.
Signed-off-by: Dario Binacchi
Signed-off-by: Alexandre Torgue
---
arch/arm/dts/stm32f746-disco.dts | 19 ++-
1 file changed, 18 insertions
commit 7a5f349e592c254f3c1ac34665b6c3905576efc2 Linux upstream.
The patch replaces the number 12 with the appropriate numerical constant
already defined in the file stm32f7-rcc.h.
Signed-off-by: Dario Binacchi
Signed-off-by: Alexandre Torgue
---
arch/arm/dts/stm32f746.dtsi | 2 +-
1 file
The patch applies the changes from Linux commit 008ef8b3a1a00 ("Add LTDC
(Lcd-tft Display Controller) support") and removes the same settings
from stm32f746-disco-u-boot.dtsi.
Signed-off-by: Dario Binacchi
---
arch/arm/dts/stm32f746-disco-u-boot.dtsi | 18 ++
ar
commit ba287d1a0137702a224b1f48673d529257b3c4bf Linux upstream.
Add pin configurations for using LTDC (LCD-tft Display Controller) on
stm32f746-disco board.
Signed-off-by: Dario Binacchi
Reviewed-by: Raphaël Gallais-Pou
Signed-off-by: Alexandre Torgue
---
arch/arm/dts/stm32f7-pinctrl.dtsi
nodes in the device tree without creating
misunderstandings.
This patch is preparatory for future developments.
Signed-off-by: Dario Binacchi
Signed-off-by: Alexandre Torgue
---
arch/arm/dts/stm32f746-disco.dts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm
commit 0637e66f8250c61f75042131fcb7f88ead2ad436 Linux upstream.
Add pin configurations for using i2c3 controller on stm32f7.
Signed-off-by: Dario Binacchi
Signed-off-by: Alexandre Torgue
---
arch/arm/dts/stm32f7-pinctrl.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a
The patch applies the changes from Linux commit 10a970bc3ebfa ("ARM: dts:
stm32: support display on stm32f746-disco board") and removes the same
settings from stm32f746-disco-u-boot.dtsi.
Signed-off-by: Dario Binacchi
---
arch/arm/dts/stm32f746-disco-u-boot
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
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
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
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
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
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 indentation went far on the right due to an extra tab for
each pinctrl sub-nodes.
Signed-off-by: Dario Binacchi
---
arch/arm/dts/sam9x60ek.dts | 36 ++--
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/arch/arm/dts/sam9x60ek.dts b/arch/arm
at91bootstrap@0 {
> >>>> + label = "at91bootstrap";
> >>>> + reg = <0x0 0x4>;
> >>>> + };
> >>>> +
> >>>> + u
ize == 512 && page_size == 4096)
> {
> - info->ecc_bch = 1;
> - info->nfullchunks = 4;
> - info->ntotalchunks = 5;
> - info->chunk_size = 1024;
> - info->spare_size = 0;
> - info->last_
printf(" ecc strength %8d bits\n", mtd->ecc_strength);
> + printf(" ecc step size %8d b\n", mtd->ecc_step_size);
> + printf(" subpagesize %8d b\n", chip->subpagesize);
> + printf(" options 0x%08x\n"
Debugging and testing the series made it necessary to add some
patches to fix correct clock access and compilation issues raised
by buildman.
Dario Binacchi (3):
dm: clk: add missing stub when CONFIG_CLK is deactivated
mtd: mxs_nand: don't get the gpmi_apbh_dma clock
mtd: mxs_nand
Add missing stub for functions [devm_]clk_...() when CONFIG_CLK is
deactivated.
Signed-off-by: Dario Binacchi
---
include/clk.h | 32 +++-
1 file changed, 31 insertions(+), 1 deletion(-)
diff --git a/include/clk.h b/include/clk.h
index 76bb64bb5ee0..407513e0fa29
From: Michael Trimarchi
Add gpmi nand clock. Those clock can be used in mxs nand driver
to run nand to EDO mode 5, 4, ...
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
drivers/clk/imx/clk-imx8mn.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a
From: Michael Trimarchi
Add shared counter in order to avoid to swich off clock that
are already used.
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
drivers/clk/imx/clk-gate2.c | 15 ++-
drivers/clk/imx/clk.h | 27 +++
2 files
From: Michael Trimarchi
It is used as delay for gpmi write strobe.
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
arch/arm/include/asm/mach-imx/regs-gpmi.h | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/include/asm/mach-imx/regs-gpmi.h
b/arch/arm
This clock name is not present in any U-boot and Linux kernel device
tree.
Fixes: commit a59691280daca ("MXS_NAND: Add clock support for iMX8")
Signed-off-by: Dario Binacchi
---
drivers/mtd/nand/raw/mxs_nand_dt.c | 13 -
1 file changed, 13 deletions(-)
diff --git a/d
Rename the gpmi_apb_bch clock name to gpmi_bch_apb, as you can find in
the device tree.
Fixes: commit a59691280daca ("MXS_NAND: Add clock support for iMX8")
Signed-off-by: Dario Binacchi
---
drivers/mtd/nand/raw/mxs_nand_dt.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletion
From: Michael Trimarchi
Add support for imx8mn architecture in order to run the NAND
in fast edo mode.
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
drivers/mtd/nand/raw/mxs_nand.c| 200 +
drivers/mtd/nand/raw/mxs_nand_dt.c | 66
return fsl_elbc_chip_init(0, dev_read_addr_ptr(dev), dev);
> }
>
> static const struct udevice_id fsl_elbc_nand_dt_ids[] = {
> --
> 2.20.1
>
Reviewed-by: Dario Binacchi
Thanks and regards,
Dario
--
Dario Binacchi
Embedded Linux Developer
dario.binac...@amarulasolutions.com
Replace 'disto' with 'distro' since they are all functions about distro
booting.
Signed-off-by: Dario Binacchi
---
boot/bootmeth_distro.c | 6 +++---
boot/bootmeth_pxe.c | 6 +++---
doc/develop/bootstd.rst | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-
Hi Frieder,
On Tue, Mar 28, 2023 at 10:00 AM Frieder Schrempf
wrote:
>
> On 28.02.23 15:48, Tom Rini wrote:
> > On Tue, Feb 28, 2023 at 09:52:45AM +0100, Frieder Schrempf wrote:
> >> On 27.02.23 16:24, Dario Binacchi wrote:
> >>> Hi Frieder,
> >>>
&
Hi Frieder,
On Tue, Mar 28, 2023 at 10:04 AM Dario Binacchi
wrote:
>
> Hi Frieder,
>
> On Tue, Mar 28, 2023 at 10:00 AM Frieder Schrempf
> wrote:
> >
> > On 28.02.23 15:48, Tom Rini wrote:
> > > On Tue, Feb 28, 2023 at 09:52:45AM +0100, Frieder Schrempf wr
Hi Linus,
On Sat, Mar 11, 2023 at 2:03 AM William Zhang
wrote:
>
>
>
> On 03/08/2023 01:42 PM, Linus Walleij wrote:
> > Add support for the iproc Broadcom NAND controller,
> > used in Northstar SoCs for example. Based on the Linux
> > driver.
> >
> > C
MODE 5
> > --
>
> Acked-by: Michael Trimarchi
>
> Michael
>
> > 2.34.1
> >
>
>
> --
> Michael Nazzareno Trimarchi
> Co-Founder & Chief Executive Officer
> M. +39 347 913 2170
> mich...@amarulasolutions.com
> ___
gt; - ",${baudrate}n8 ${memargs} consoleblank=0\0" \
> + ",${baudrate}n8 ${memargs} ${mtdparts} consoleblank=0\0" \
> "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \
> "setusbupdate=usb start && setenv interface usb && " \
> "fatload ${interface} 0:1 ${loadaddr} " \
> --
> 2.25.1
Applied to nand-next,
thanks and regards,
Dario Binacchi
dr}\0" \
> "setup=setenv setupargs " \
> "console=tty1 console=${console}" \
> - ",${baudrate}n8 ${memargs} consoleblank=0\0" \
> + ",${baudrate}n8 ${memargs} ${mtdparts} consoleblank=0\0" \
> "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \
> "setusbupdate=usb start && setenv interface usb && " \
> "fatload ${interface} 0:1 ${loadaddr} " \
> --
> 2.25.1
Applied to nand-next,
thanks and regards,
Dario Binacchi
ations like this in u-boot for
different platforms.
The idea is to remove this code and implement a more generic
management so as not
to replicate code.
Could you please change your implementation to a more generic version?
Thanks and regards,
Dario
--
Dario
/raw/octeontx_nand.c| 2 +-
include/configs/colibri-imx6ull.h | 2 +-
include/configs/colibri_imx7.h | 2 +-
13 files changed, 184 insertions(+), 37 deletions(-)
create mode 100644 drivers/mtd/nand/raw/brcmnand/iproc_nand.c
--
Dario Binacchi
S
Hi Linus,
On Wed, Apr 19, 2023 at 3:04 PM Linus Walleij wrote:
>
> On Mon, Apr 17, 2023 at 10:37 AM Dario Binacchi
> wrote:
>
> > Applied to nand-next ( as well as the patch "mtd: rawnand: nand_base:
> > Handle algorithm selection").
>
> 1) Sweet! Thanks
Hi Linus,
On Wed, Apr 19, 2023 at 4:00 PM Linus Walleij wrote:
>
> On Wed, Apr 19, 2023 at 3:19 PM Dario Binacchi
> wrote:
> > On Wed, Apr 19, 2023 at 3:04 PM Linus Walleij
> > wrote:
> > >
> > > On Mon, Apr 17, 2023 at 10:37 AM 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
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
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
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
---
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
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
Commit 8fc78fc73b7f9d ("configs: migrate CONFIG_BMP_16/24/32BPP to defconfigs")
made the comment useless.
Signed-off-by: Dario Binacchi
---
include/configs/stm32f746-disco.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/configs/stm32f746-disco.h
b/include/configs
The node has become useless, as described in the
commit 754815b854258 ("video: stm32: remove the compatible "synopsys,
dw-mipi-dsi" support")
Signed-off-by: Dario Binacchi
---
arch/arm/dts/stm32f769-disco-u-boot.dtsi | 5 -
1 file changed, 5 deletions(-)
diff
The series adds a function to get the LCD pixel clock rate. Also
improves video PLLL rate calculation.
Dario Binacchi (3):
imx6: clock: improve calculations to get the PLL video rate
imx6: clock: add support to get LCD pixel clock rate
imx6: clock: print real pixel clock rate
arch/arm
: Dario Binacchi
Reviewed-by: Michael Trimarchi
---
arch/arm/mach-imx/mx6/clock.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/mx6/clock.c b/arch/arm/mach-imx/mx6/clock.c
index cb9d629be408..17d8dcd5c841 100644
--- a/arch/arm/mach-imx/mx6/clock.c
+++ b
Add the get_lcd_clk() function to get the LCD pixel clock rate.
The patch has been tested on imx6ul platform.
Signed-off-by: Dario Binacchi
---
arch/arm/include/asm/arch-mx6/clock.h | 2 +
arch/arm/mach-imx/mx6/clock.c | 58 +++
2 files changed, 60 insertions
Add debug messages to print the real pixel clock rate, which may not be
the requested one.
Signed-off-by: Dario Binacchi
---
arch/arm/mach-imx/mx6/clock.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-imx/mx6/clock.c b/arch/arm/mach-imx/mx6/clock.c
index 267d86ab4194
y Tom Rini.
--------
Dario Binacchi (1):
Revert "mtd: rawnand: nand_base: Handle algorithm selection"
Linus Walleij (1):
mtd: rawnand: nand_base: Handle algorithm selection
drivers/mtd/nand/raw/nand_base.c | 29 ++---
1 file ch
Hi Lokesh,
> Il 09/04/2021 09:21 Lokesh Vutla ha scritto:
>
>
> Hi Dario,
>
> On 28/02/21 7:42 pm, Dario Binacchi wrote:
> >
> > The series was born from the need to check the pinmux setting of a
> > peripheral on a beaglebone board. I then ran the &
ge.
- Remove pointer to access functions.
- Added Simon Glass review tag.
- Added Simon Glass review tag.
- Added Simon Glass review tag.
- Added error checking when the 'width' property is missing.
- Fix coding style.
Dario Binacchi (12):
pinctrl: single: fix format of structure doc
U-Boot adopted the kernel-doc annotation style.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Added Simon Glass review tag.
drivers/pinctrl/pinctrl-single.c | 45 +---
1 file changed, 36 insertions(+), 9
The 'n' variable is used as a loop counter, not as a physical address,
and is used in a comparison with an int. So it makes sense to change
its type from phys_addr_t to int.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
Reviewed-by: Pratyush Yadav
---
(no changes since v2
Use dev_read_addr_size to get size of the controller's register area.
Signed-off-by: Dario Binacchi
Reviewed-by: Pratyush Yadav
---
(no changes since v3)
Changes in v3:
- Added Pratyush Yadav review tag.
Changes in v2:
- Check dev_read_addr_size return value.
drivers/pinctrl/pi
option than a physical address.
Signed-off-by: Dario Binacchi
Reviewed-by: Pratyush Yadav
---
(no changes since v3)
Changes in v3:
- Added Pratyush Yadav review tag.
drivers/pinctrl/pinctrl-single.c | 24 ++--
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a
The dev_dbg(dev, " reg/val 0x%pa/0x%08x\n", ®, val); prints the 'reg'
address preceded by the prefix 0x0x instead of 0x. This because the
printf '%pa' format specifier already prepends the prefix '0x' to the
address displayed.
Signed-off-by: Dario Binacchi
1 - 100 of 741 matches
Mail list logo