Re: [RFC][PATCH] ARM: imx: verdin-imx8mm: Set CAN oscillator frequency based on model

2024-01-13 Thread Fabio Estevam
On Sat, Jan 13, 2024 at 5:45 PM Francesco Dolcini wrote: > Fabio, you were too fast ... please revert it. I have dropped this patch from u-boot-imx master-next.

Re: [RFC][PATCH] ARM: imx: verdin-imx8mm: Set CAN oscillator frequency based on model

2024-01-13 Thread Francesco Dolcini
On Sat, Jan 13, 2024 at 09:45:42PM +0100, Francesco Dolcini wrote: > On Sat, Jan 13, 2024 at 06:40:19PM +, Marcel Ziswiler wrote: > > Hi Marek > > > > Thanks, seems like a decent idea. I guess we just did not do it as those > > previous revisions were just samples > > but with this change

Re: [RFC][PATCH] ARM: imx: verdin-imx8mm: Set CAN oscillator frequency based on model

2024-01-13 Thread Francesco Dolcini
On Sat, Jan 13, 2024 at 06:40:19PM +, Marcel Ziswiler wrote: > Hi Marek > > Thanks, seems like a decent idea. I guess we just did not do it as those > previous revisions were just samples > but with this change can still be used much easier (e.g. without requiring > manual intervention). >

Re: [RFC][PATCH] ARM: imx: verdin-imx8mm: Set CAN oscillator frequency based on model

2024-01-13 Thread Fabio Estevam
On Sat, Jan 13, 2024 at 3:34 PM Marek Vasut wrote: > > The older i.MX8M Mini Verdin SoMs before rev. 1.1C came with 20 MHz SPI CAN > controller oscillator, the newer SoMs use 40 MHz oscillator. Handle both by > overriding the oscillator frequency just before booting the kernel. > > Signed-off-by:

Re: [RFC][PATCH] ARM: imx: verdin-imx8mm: Set CAN oscillator frequency based on model

2024-01-13 Thread Marcel Ziswiler
Hi Marek Thanks, seems like a decent idea. I guess we just did not do it as those previous revisions were just samples but with this change can still be used much easier (e.g. without requiring manual intervention). On Sat, 2024-01-13 at 19:33 +0100, Marek Vasut wrote: > The older i.MX8M Mini

[RFC][PATCH] ARM: imx: verdin-imx8mm: Set CAN oscillator frequency based on model

2024-01-13 Thread Marek Vasut
The older i.MX8M Mini Verdin SoMs before rev. 1.1C came with 20 MHz SPI CAN controller oscillator, the newer SoMs use 40 MHz oscillator. Handle both by overriding the oscillator frequency just before booting the kernel. Signed-off-by: Marek Vasut --- Cc: "NXP i.MX U-Boot Team" Cc: Fabio Estevam

Re: [PATCH] ARM: imx: Set stdio to serial on Data Modul i.MX8M Mini/Plus eDM SBC

2024-01-13 Thread Fabio Estevam
On Sat, Jan 13, 2024 at 2:59 PM Marek Vasut wrote: > > In case CONSOLE_MUX and SYS_CONSOLE_IS_IN_ENV are enabled, the console > stdin, stdout, stderr must be defined in environment. Define the default > settings to fix the following warning on boot: > > " > In:No input devices available! >

Re: [PATCH] ARM: imx: Set stdio to serial on DH i.MX8M Plus DHCOM

2024-01-13 Thread Fabio Estevam
On Sat, Jan 13, 2024 at 2:59 PM Marek Vasut wrote: > > In case CONSOLE_MUX and SYS_CONSOLE_IS_IN_ENV are enabled, the console > stdin, stdout, stderr must be defined in environment. Define the default > settings to fix the following warning on boot: > > " > In:No input devices available! >

[PATCH] ARM: imx: Set stdio to serial on Data Modul i.MX8M Mini/Plus eDM SBC

2024-01-13 Thread Marek Vasut
In case CONSOLE_MUX and SYS_CONSOLE_IS_IN_ENV are enabled, the console stdin, stdout, stderr must be defined in environment. Define the default settings to fix the following warning on boot: " In:No input devices available! Out: No output devices available! Err: No error devices

[PATCH] ARM: imx: Set stdio to serial on DH i.MX8M Plus DHCOM

2024-01-13 Thread Marek Vasut
In case CONSOLE_MUX and SYS_CONSOLE_IS_IN_ENV are enabled, the console stdin, stdout, stderr must be defined in environment. Define the default settings to fix the following warning on boot: " In:No input devices available! Out: No output devices available! Err: No error devices

[PATCH] ARM: stm32: Set stdio to serial on DH STM32MP15xx DHSOM

2024-01-13 Thread Marek Vasut
In case CONSOLE_MUX and SYS_CONSOLE_IS_IN_ENV are enabled, the console stdin, stdout, stderr must be defined in environment. Define the default settings to fix the following warning on boot: " In:No input devices available! Out: No output devices available! Err: No error devices

Re: [PATCH 3/3] arm: mvebu: helios-4: add defconfig for spi booting

2024-01-13 Thread Tom Rini
On Sat, Jan 13, 2024 at 05:36:57PM +0100, Josua Mayer wrote: > Add a new defconfig based on existing helios4_config file to support > booting from spi flash. > > Settings for environment location are based on vendor u-boot: >

[PATCH 3/3] arm: mvebu: helios-4: add defconfig for spi booting

2024-01-13 Thread Josua Mayer
Add a new defconfig based on existing helios4_config file to support booting from spi flash. Settings for environment location are based on vendor u-boot: https://github.com/kobol-io/u-boot/blob/helios4/include/configs/helios4.h#L59 A separate defconfig is required because the options are not

[PATCH 0/3] arm: mvebu: helios-4: add defconfig forspi booting et al

2024-01-13 Thread Josua Mayer
++ 3 files changed, 86 insertions(+), 1 deletion(-) --- base-commit: 547d3dd28a46a18d59e00a153c8becca8d4e8cf9 change-id: 20240113-helios4-spi-144085c0bbc7 Sincerely, -- Josua Mayer

[PATCH 2/3] arm: mvebu: helios4_defconfig: enable setexpr command

2024-01-13 Thread Josua Mayer
Update the helios4 defconfig to enable the 'setexpr' command, which is a default and useful for various complex boot-scripts. Signed-off-by: Josua Mayer --- configs/helios4_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/helios4_defconfig b/configs/helios4_defconfig index

[PATCH 1/3] arm: dts: armada-38x-solidrun-microsom: configure i2c0 bus

2024-01-13 Thread Josua Mayer
SolidRun Armada-388 SoM has an i2c bus supporting on-som eeprom, and peripherals on a carrier. armada-38x.dtsi disables this bus by default, it should be enabled by som or carrier dts. Linux has moved i2c0 from helios-4 board dts to som dtsi, including status, pinctrl and clock speed. Copy these

Re: [PATCH v5 8/8] fdt: get FDT from bloblist

2024-01-13 Thread Tom Rini
On Fri, Jan 12, 2024 at 01:33:34PM -0800, Raymond Mao wrote: > Get device tree from a bloblist if it exists. > If not, fallback to traditional way. > > Signed-off-by: Raymond Mao > --- > Changes in v2 > - Refactor of board_fdt_blob_setup(). > Changes in v4 > - Move the logics from board custom