Re: [PATCH v4 00/33] Initial implementation of standard boot

2022-03-26 Thread Simon Glass
Hi Tom, On Sat, 26 Mar 2022 at 13:58, Tom Rini wrote: > > On Sat, Mar 26, 2022 at 01:56:36PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 25 Mar 2022 at 08:50, Tom Rini wrote: > > > > > > On Fri, Mar 25, 2022 at 03:36:24PM +0100, Michael Nazzareno Trimarchi > > > wrote: > > > > Hi Tom

Re: [PATCH v4 00/33] Initial implementation of standard boot

2022-03-26 Thread Tom Rini
On Sat, Mar 26, 2022 at 01:56:36PM -0600, Simon Glass wrote: > Hi Tom, > > On Fri, 25 Mar 2022 at 08:50, Tom Rini wrote: > > > > On Fri, Mar 25, 2022 at 03:36:24PM +0100, Michael Nazzareno Trimarchi wrote: > > > Hi Tom > > > > > > > > > On Wed, Mar 23, 2022 at 9:07 PM Tom Rini wrote: > > > > > >

Re: [PATCH v4 00/33] Initial implementation of standard boot

2022-03-26 Thread Simon Glass
Hi Tom, On Fri, 25 Mar 2022 at 08:50, Tom Rini wrote: > > On Fri, Mar 25, 2022 at 03:36:24PM +0100, Michael Nazzareno Trimarchi wrote: > > Hi Tom > > > > > > On Wed, Mar 23, 2022 at 9:07 PM Tom Rini wrote: > > > > > > On Wed, Mar 23, 2022 at 08:57:36PM +0100, Michael Nazzareno Trimarchi > > > w

[PATCH v3] imx8/ls10xx: Use a sane SYS_MALLOC_F_LEN default

2022-03-26 Thread Fabio Estevam
From: Fabio Estevam When adding new features to imx8m boards, such as DM clock support, the malloc area can be exhausted. To avoid such issue, provide a reasonable default for the SYS_MALLOC_F_LEN size. Quoting Tom Rini: "This seems to be an area where everyone is either: - Kicking the value u

[PATCH v2] Add ethernet0 alias in Nanopi NEO's device tree

2022-03-26 Thread Baltazár Radics
This is required to enable automatic MAC address generation. Signed-off-by: Baltazár Radics --- arch/arm/dts/sun8i-h3-nanopi-neo.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/sun8i-h3-nanopi-neo.dts b/arch/arm/dts/sun8i-h3-nanopi-neo.dts index 9f33f6fae..df71fab3c 100

Re: [PATCH] Add ethernet0 alias in Nanopi NEO's device tree

2022-03-26 Thread Michael Nazzareno Trimarchi
Hi On Sat, Mar 26, 2022 at 12:49 PM Baltazár Radics wrote: > > On Sun, 2022-02-27 at 14:36 +0100, Baltazár Radics wrote: > > This is required to enable automatic MAC address generation. > > > > Signed-off-by: Baltazár Radics > > --- > > arch/arm/dts/sun8i-h3-nanopi-neo.dts | 4 > > 1 file

Re: [PATCH] Add ethernet0 alias in Nanopi NEO's device tree

2022-03-26 Thread Baltazár Radics
On Sun, 2022-02-27 at 14:36 +0100, Baltazár Radics wrote: > This is required to enable automatic MAC address generation. > > Signed-off-by: Baltazár Radics > --- >  arch/arm/dts/sun8i-h3-nanopi-neo.dts | 4 >  1 file changed, 4 insertions(+) > > diff --git a/arch/arm/dts/sun8i-h3-nanopi-neo.

[PATCH v5 9/9] configs: imx8mm_evk: add pwm backlight support

2022-03-26 Thread Tommaso Merciai
Enable support for backlight/pwm-imx driver Signed-off-by: Tommaso Merciai --- Changes since v4: - Drop off CONFIG_DM_VIDEO configs/imx8mm_evk_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/imx8mm_evk_defconfig b/configs/imx8mm_evk_defconfig index 01395fc7eb..db0d19c

[PATCH v5 8/9] arm: dts: imx8mm_evk: add pwm1/backlight support

2022-03-26 Thread Tommaso Merciai
Add pwm1/backlight support nodes for imx8mm_evk board Signed-off-by: Tommaso Merciai --- arch/arm/dts/imx8mm-evk.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/dts/imx8mm-evk.dtsi b/arch/arm/dts/imx8mm-evk.dtsi index 60179e006d..e7a2bd8a64 100644 --- a/a

[PATCH v5 6/9] driver: pwm: pwm-imx: introduce pwm_dm_imx_get_parms

2022-03-26 Thread Tommaso Merciai
Introduce pwm_dm_imx_get_parms, dm version of pwm_imx_get_parms. This function get clock rate using clk dm api Signed-off-by: Tommaso Merciai --- Changes since v3: - Fix clk_get_rate call drivers/pwm/pwm-imx.c | 32 +++- 1 file changed, 31 insertions(+), 1 deletion(

[PATCH v5 7/9] driver: pwm: pwm-imx: separe dm from non dm implementation

2022-03-26 Thread Tommaso Merciai
Separe dm implementation from non dm implementation of pwm-imx driver using CONFIG_DM_PWM Signed-off-by: Tommaso Merciai --- drivers/pwm/pwm-imx.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c index 1

[PATCH v5 5/9] driver: pwm: pwm-imx: get and enable per/ipg clock using dm

2022-03-26 Thread Tommaso Merciai
Get and enable ipg/per pwms clocks using dm api into imx_pwm_of_to_plat and imx_pwm_probe driver function Signed-off-by: Tommaso Merciai --- Changes since v3: - Fix ipg/per clk declaration - Fix clk_get_by_name call - Fix clk_enable call drivers/pwm/pwm-imx.c | 31 +++

[PATCH v5 4/9] drivers: pwm: pwm-imx: move pwm-imx-util into pwm-imx

2022-03-26 Thread Tommaso Merciai
Move pwm_imx_get_parms, pwm_id_to_reg functions into pwm-imx.c and drop off pwm-imx-util.c Signed-off-by: Tommaso Merciai --- drivers/pwm/Makefile | 2 +- drivers/pwm/pwm-imx-util.c | 80 -- drivers/pwm/pwm-imx-util.h | 15 --- drivers/pwm/pwm-imx.c

[PATCH v5 3/9] clk: imx8mm: add pwm clocks support

2022-03-26 Thread Tommaso Merciai
Add clocks support for the PWM controllers. This is ported from Linux v5.17-rc8. Signed-off-by: Tommaso Merciai --- drivers/clk/imx/clk-imx8mm.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/clk/imx/clk-imx8mm.c b/drivers/clk/imx/clk-imx8mm.c index 3aa

[PATCH v5 2/9] arch: mach-imx: imx8m: add pwm_regs struct in imx-regs

2022-03-26 Thread Tommaso Merciai
Add pwm_regs struct for i.MX8MM SOC Signed-off-by: Tommaso Merciai --- arch/arm/include/asm/arch-imx8m/imx-regs.h | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/include/asm/arch-imx8m/imx-regs.h b/arch/arm/include/asm/arch-imx8m/imx-regs.h index 57a95de1b8..f31f54ad0c 100

[PATCH v5 1/9] arch: mach-imx: imx8m: add pwm ctrl registers fields defines

2022-03-26 Thread Tommaso Merciai
Add pwm control registers fields defines into imx-regs.h: - prescaler - dozeen - waiten - dbgen - clksrc_ipg_high - clksrc_ipg, en field References: - iMX8MMRM.pdf p 3884 Signed-off-by: Tommaso Merciai --- arch/arm/include/asm/arch-imx8m/imx-regs.h | 8 1 file changed, 8 insert

[PATCH v5 0/9] imx8mm: add pwm-imx backlight support

2022-03-26 Thread Tommaso Merciai
Hi, This series add support for pwm/backlight on i.MX8MM evk, separe also CONFIG_DM_PWM pwm-imx implementation from non dm implementation moving pwm-imx-util into pwm-imx with driver refactoring. 1. add pwm ctrl registers fields for i.MX8MM SOC 2. add pwm_regs struct for i.MX8MM SOC 3. add pwm clo

Re: [PATCH v4 9/9] configs: imx8mm_evk: add pwm backlight support

2022-03-26 Thread Tommaso Merciai
On Fri, Mar 25, 2022 at 04:54:28PM -0300, Fabio Estevam wrote: > Hi Tommaso, > > On Fri, Mar 25, 2022 at 9:04 AM Tommaso Merciai > wrote: > > > > Enable support for backlight/pwm-imx driver > > > > Signed-off-by: Tommaso Merciai > > --- > > configs/imx8mm_evk_defconfig | 5 + > > 1 file cha

Re: [RFC PATCH 1/6] capsule: Add Image GUIDs for platforms using capsule updates

2022-03-26 Thread Masami Hiramatsu
Hi Sughosh, 2022年3月25日(金) 18:59 Sughosh Ganu : > > hi Masami, > > On Fri, 25 Mar 2022 at 10:58, Masami Hiramatsu > wrote: > > > > Hi Sughosh, > > > > OK I understand that if the platform uses the FIT capsule, the > > fw_images[] must have 1 entry and it is completely non relationship > > with dfu

Promlem with booting on a cora-z7-10

2022-03-26 Thread Sarmad Ahmad
Hello I try to boot a Cora-Z7-10 with u-boot but without success I followed the instructions from here https://u-boot.readthedocs.io/en/latest/board/xilinx/zynq.html built u-boot as follows export ARCH=arm export CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf- make mrproper make xilinx_zynq_virt_defc

Re: [PATCH v2 1/6] capsule: Add Image GUIDs for platforms using capsule updates

2022-03-26 Thread Sughosh Ganu
hi Heiko, On Sat, 26 Mar 2022 at 12:36, Heiko Thiery wrote: > > Hi > > Sughosh Ganu schrieb am Sa., 26. März 2022, 07:00: >> >> Currently, all platforms that enable capsule updates do so using >> either EFI_FIRMWARE_IMAGE_TYPE_UBOOT_RAW_GUID or >> EFI_FIRMWARE_IMAGE_TYPE_UBOOT_FIT_GUID. This is

Re: [PATCH v2 1/6] capsule: Add Image GUIDs for platforms using capsule updates

2022-03-26 Thread Heiko Thiery
Hi Sughosh Ganu schrieb am Sa., 26. März 2022, 07:00: > Currently, all platforms that enable capsule updates do so using > either EFI_FIRMWARE_IMAGE_TYPE_UBOOT_RAW_GUID or > EFI_FIRMWARE_IMAGE_TYPE_UBOOT_FIT_GUID. This is based on the Firmware > Management Protocol(FMP) instance used on the plat