[PATCH 0/1] Add PWM clock support for imx8mn.

2023-12-11 Thread Nicolas Heemeryck
This patch intends to bring PWM clock support on imx8mn based on the Linux kernel and other imx8m. Nicolas Heemeryck (1): clk: imx8mn: add pwm clocks drivers/clk/imx/clk-imx8mn.c | 30 ++ 1 file changed, 30 insertions(+) -- 2.34.1 -- - Confidential -

[PATCH 1/1] clk: imx8mn: add pwm clocks

2023-12-11 Thread Nicolas Heemeryck
Based on Linux kernel 6.7-rc4, add necessary clocks for the PWM controllers. Signed-off-by: Nicolas Heemeryck --- drivers/clk/imx/clk-imx8mn.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/clk/imx/clk-imx8mn.c b/drivers/clk/imx/clk-imx8mn.c index

[PATCH] tools/imagetool: Fix segfault when tparams->verify_header is NULL

2022-04-20 Thread Nicolas Heemeryck
On some image types like i.MX8 and i.MX8M, the verify_header function is not implemented. Before this commit, no check on tparams->verify_header was done causing a segfault if NULL. Now, a proper error message is printed. Signed-off-by: Nicolas Heemeryck --- tools/imagetool.c |

[PATCH v2 2/2] timer: sti: use clk API to get timer clock rate

2020-03-15 Thread Nicolas Heemeryck
Retrieve clock rate through device tree. This mimics the behavior of arm_global_timer in Linux. Signed-off-by: Nicolas Heemeryck Cc: Patrice Chotard --- Changes for v2: - Fall back on CONFIG_SYS_HZ_CLOCK if clk_get_by_index returns an error or no clock driver is provided. --- drivers/timer

[PATCH v2 0/2] timer: sti: mimic Linux declaration and usage

2020-03-15 Thread Nicolas Heemeryck
. This is similar to what we can find on timer-uclass timer_pre_probe function. Cc: Patrice Chotard Nicolas Heemeryck (2): timer: sti: convert to livetree timer: sti: use clk API to get timer clock rate drivers/timer/sti-timer.c | 26 ++ 1 file changed, 18 insertions(+), 8

[PATCH v2 1/2] timer: sti: convert to livetree

2020-03-15 Thread Nicolas Heemeryck
Update STI timer to support a live tree Signed-off-by: Nicolas Heemeryck Cc: Patrice Chotard --- Changes for v2: None --- drivers/timer/sti-timer.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/timer/sti-timer.c b/drivers/timer/sti-timer.c index

[PATCH 2/2] timer: sti: use clk API to get timer clock rate

2020-03-08 Thread Nicolas Heemeryck
Retrieve clock rate through device tree. This mimics the behavior of arm_global_timer in Linux. Signed-off-by: Nicolas Heemeryck --- drivers/timer/sti-timer.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/timer/sti-timer.c b/drivers/timer/sti-timer.c

[PATCH 1/2] timer: sti: convert to livetree

2020-03-08 Thread Nicolas Heemeryck
Update STI timer to support a live tree Signed-off-by: Nicolas Heemeryck --- drivers/timer/sti-timer.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/timer/sti-timer.c b/drivers/timer/sti-timer.c index 9def7e02f4..eac22ae39b 100644 --- a/drivers/timer/sti

[PATCH 0/2] timer: sti: mimic Linux declaration and usage

2020-03-08 Thread Nicolas Heemeryck
This series update the sti-timer for cortex-a9 CPU (arm global timer) to mimic the behavior presents in Linux. Therefor, the same device tree node can be use for U-Boot and Linux. Nicolas Heemeryck (2): timer: sti: convert to livetree timer: sti: use clk API to get timer clock rate drivers

[PATCH 3/3] brcmnand: drop arch specific nand controller

2020-02-20 Thread Nicolas Heemeryck
Use instead the unified bcmbca controller. Signed-off-by: Nicolas Heemeryck Cc: Philippe Reynes --- drivers/mtd/nand/raw/Kconfig | 18 --- drivers/mtd/nand/raw/brcmnand/Makefile| 3 - drivers/mtd/nand/raw/brcmnand/bcm63158_nand.c | 124 -- drivers

[PATCH 1/3] nand: brcmnand: add bcmbca support

2020-02-20 Thread Nicolas Heemeryck
support all ARM based bcm63xxx, bcm68xx, bcm67xx and bcm490x SoCs. Signed-off-by: Nicolas Heemeryck Cc: Philippe Reynes --- drivers/mtd/nand/raw/Kconfig| 6 + drivers/mtd/nand/raw/brcmnand/Makefile | 1 + drivers/mtd/nand/raw/brcmnand/bcmbca_nand.c | 124

[PATCH 0/3] Unified Broadcom NAND controller for ARM

2020-02-20 Thread Nicolas Heemeryck
This serie of patches attempts to merge all Broadcom nand controllers into one. It will avoid code duplication. Cc: Phillipe Reynes Nicolas Heemeryck (3): nand: brcmnand: add bcmbca support configs: use unified bcmbca nand controller brcmnand: drop arch specific nand controller configs

[PATCH 2/3] configs: use unified bcmbca nand controller

2020-02-20 Thread Nicolas Heemeryck
Signed-off-by: Nicolas Heemeryck Cc: Philippe Reynes --- configs/bcm963158_ram_defconfig | 2 +- configs/bcm968360bg_ram_defconfig | 2 +- configs/bcm968580xref_ram_defconfig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/bcm963158_ram_defconfig b/configs