Re: [PATCH V2 4/5] pinctrl: renesas: Enable R8A774A1 PFC tables

2020-06-19 Thread Adam Ford
On Fri, Jun 19, 2020 at 9:18 AM Marek Vasut wrote: > > On 6/19/20 3:58 PM, Adam Ford wrote: > > The PFC tables for the R8A774A1 are already available, but they > > not enabled. > > > > This patch adds the Kconfig option and builds the corresponding file > >

Re: [PATCH V2 3/5] clk: renesas: Add R8A774A1 clock tables

2020-06-19 Thread Adam Ford
On Fri, Jun 19, 2020 at 9:18 AM Marek Vasut wrote: > > On 6/19/20 3:58 PM, Adam Ford wrote: > > This sync's the clock tables with the official release from > > Renesas' repo based on U-Boot 2018.09 and modified to build into > > the latest version of U-Boot.

Re: [PATCH V2 4/5] pinctrl: renesas: Enable R8A774A1 PFC tables

2020-06-19 Thread Adam Ford
On Fri, Jun 19, 2020 at 9:27 AM Marek Vasut wrote: > > On 6/19/20 4:25 PM, Adam Ford wrote: > > On Fri, Jun 19, 2020 at 9:18 AM Marek Vasut wrote: > >> > >> On 6/19/20 3:58 PM, Adam Ford wrote: > >>> The PFC tables for the R8A774A1 are alr

Re: [PATCH V2 3/5] clk: renesas: Add R8A774A1 clock tables

2020-06-21 Thread Adam Ford
On Fri, Jun 19, 2020 at 2:08 PM Marek Vasut wrote: > > On 6/19/20 5:52 PM, Adam Ford wrote: > > On Fri, Jun 19, 2020 at 9:18 AM Marek Vasut wrote: > >> > >> On 6/19/20 3:58 PM, Adam Ford wrote: > >>> This sync's the clock tables with the official r

Re: [PATCH v4 12/14] arm: dts: include gpio nodes for card detect

2020-06-25 Thread Adam Ford
On Wed, Jun 24, 2020 at 11:11 PM Walter Lozano wrote: > > Several MMC drivers use GPIO for card detection with cd-gpios property in > the MMC node pointing to a GPIO node. However, as U-Boot tries to save > space by keeping only required nodes using u-boot* properties, several > devices tree resul

Re: [PATCH v4 12/14] arm: dts: include gpio nodes for card detect

2020-06-26 Thread Adam Ford
On Thu, Jun 25, 2020 at 11:37 PM Adam Ford wrote: > > On Wed, Jun 24, 2020 at 11:11 PM Walter Lozano > wrote: > > > > Several MMC drivers use GPIO for card detection with cd-gpios property in > > the MMC node pointing to a GPIO node. However, as U-Boot tries to sav

[PATCH] imx: Add support for i.MX8MN Beacon EmbeddedWorks devkit.

2020-07-22 Thread Adam Ford
-off-by: Adam Ford diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index cee10f533f..f2c4429982 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -753,6 +753,7 @@ dtb-$(CONFIG_ARCH_IMX8M) += \ imx8mn-ddr4-evk.dtb \ imx8mq-evk.dtb \ imx8mm-beacon

U-Boot stats

2020-08-13 Thread Adam Ford
Wolfgang, Any chance you can update the statistics for v2020.07? thanks adam

[PATCH] net: smc911x: Automatically Update ethaddr with MAC

2020-08-16 Thread Adam Ford
The ethernet controller can read the MAC from EEPROM and display it, but if ethaddr is not set, the ethernet is still unavailable. This patch checks will automatically set the MAC address if it has not already been set. Signed-off-by: Adam Ford diff --git a/drivers/net/smc911x.c b/drivers/net

Re: [PATCH 00/11] Add DM/DTS support for omap video driver

2020-02-10 Thread Adam Ford
On Sun, Feb 9, 2020 at 12:48 PM Dario Binacchi wrote: > > > Changes: > > * Fix coding style > * Refactor some parts of the driver > * Add support for driver model and device-tree > * Update the boards device-tree > * Add device-tree binding documentation > > > Dario Binacchi (11): > video:

Re: [PATCH V2] net: smc911x: Automatically Update ethaddr with MAC

2020-09-26 Thread Adam Ford
On Tue, Aug 18, 2020 at 8:19 AM Adam Ford wrote: > The ethernet controller can read the MAC from EEPROM and display it, > but if ethaddr is not set, the ethernet is still unavailable. > > This patch checks will automatically set the MAC address if it has > not already been set. &g

Re: [PATCH V2] net: smc911x: Automatically Update ethaddr with MAC

2020-10-01 Thread Adam Ford
On Thu, Oct 1, 2020 at 1:17 PM Tom Rini wrote: > On Thu, Oct 01, 2020 at 07:48:32PM +0200, Marek Vasut wrote: > > On 10/1/20 4:09 PM, Tom Rini wrote: > > > On Tue, Aug 18, 2020 at 08:19:02AM -0500, Adam Ford wrote: > > > > > >> The ethernet controller can

Re: [PATCH V2] net: smc911x: Automatically Update ethaddr with MAC

2020-10-01 Thread Adam Ford
On Thu, Oct 1, 2020 at 1:28 PM Tom Rini wrote: > On Thu, Oct 01, 2020 at 01:22:37PM -0500, Adam Ford wrote: > > On Thu, Oct 1, 2020 at 1:17 PM Tom Rini wrote: > > > > > On Thu, Oct 01, 2020 at 07:48:32PM +0200, Marek Vasut wrote: > > > > On 10/1/20 4:09 PM, T

Re: [PATCH] omap3_beagle: Change NAND ECC scheme back to OMAP_ECC_HAM1_CODE_HW

2019-12-22 Thread Adam Ford
On Sun, Dec 22, 2019 at 8:28 AM Tom Rini wrote: > > On Sun, Dec 22, 2019 at 08:24:14AM -0600, Derald D. Woods wrote: > > On Sun, Dec 22, 2019 at 09:10:50AM -0500, Tom Rini wrote: > > > On Sun, Dec 22, 2019 at 09:46:27AM +0100, Patrik Dahlstrom wrote: > > > > On 12/22/19 4:24 AM, Derald D. Woods wr

Re: [PATCH] omap3_beagle: Change NAND ECC scheme back to OMAP_ECC_HAM1_CODE_HW

2019-12-26 Thread Adam Ford
On Thu, Dec 26, 2019 at 12:02 PM Patrik Dahlstrom wrote: > > On 12/22/19 3:48 PM, Adam Ford wrote: > > On Sun, Dec 22, 2019 at 8:28 AM Tom Rini wrote: > >> > >> On Sun, Dec 22, 2019 at 08:24:14AM -0600, Derald D. Woods wrote: > >>> On Sun, Dec 22

Re: [PATCH] Revert "mmc: davinci: drop struct davinci_mmc_plat"

2020-01-04 Thread Adam Ford
On Fri, Jan 3, 2020 at 12:17 PM Tom Rini wrote: > > Adam Ford reports that this change breaks booting on da850-evm and > Bartosz Golaszewski agrees that with the impending release we should > revert the change for now. With that noted: > Is patchwork working? I tried to go the

MMC failures on Davinci (Da850-evm)

2020-01-04 Thread Adam Ford
Does anyone with a da850/l-138/am1808 have any issues with MMC on their board? I haven't bisected it yet and only I found it by accident. U-Boot SPL 2020.01-rc5-00073-g4b75aa5aa7 (Jan 03 2020 - 09:08:17 -0600) Trying to boot from SPI U-Boot 2020.01-rc5-00073-g4b75aa5aa7 (Jan 03 2020 - 09:08:1

Re: [PATCH 2/4] mmc: davinci: drop struct davinci_mmc_plat

2020-01-04 Thread Adam Ford
On Thu, Nov 14, 2019 at 9:10 AM Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > struct mmc_config & struct mmc don't need to be exported over platform > data, but can instead be private in the driver. > > Remove struct davinci_mmc_plat. This patch appears to break the da850-evm. Wi

Re: [PATCH] Revert "mmc: davinci: drop struct davinci_mmc_plat"

2020-01-04 Thread Adam Ford
On Fri, Jan 3, 2020 at 12:17 PM Tom Rini wrote: > > Adam Ford reports that this change breaks booting on da850-evm and > Bartosz Golaszewski agrees that with the impending release we should > revert the change for now. With that noted: > > T

Re: [PATCH 2/4] mmc: davinci: drop struct davinci_mmc_plat

2020-01-04 Thread Adam Ford
On Fri, Jan 3, 2020 at 10:59 AM Tom Rini wrote: > > On Fri, Jan 03, 2020 at 05:50:38PM +0100, Bartosz Golaszewski wrote: > > pt., 3 sty 2020 o 17:01 Adam Ford napisaƂ(a): > > > > > > On Thu, Nov 14, 2019 at 9:10 AM Bartosz Golaszewski wrote: > > &

Re: [U-Boot] [PATCH 4/4] fdt: Sync up to the latest libfdt

2020-01-07 Thread Adam Ford
On Sun, Oct 27, 2019 at 10:55 AM Simon Glass wrote: > > Bring over the fdt from this commit: > > 430419c (origin/master) tests: fix some python warnings > > adding in the 'assumptions' series designed to reduce code size. > > Signed-off-by: Simon Glass I don't know how, but this patch broke the

Re: [U-Boot] [PATCH 4/4] fdt: Sync up to the latest libfdt

2020-01-08 Thread Adam Ford
On Tue, Jan 7, 2020 at 5:43 AM Adam Ford wrote: > > On Sun, Oct 27, 2019 at 10:55 AM Simon Glass wrote: > > > > Bring over the fdt from this commit: > > > > 430419c (origin/master) tests: fix some python warnings > > > > adding in the 'a

[PATCH 2/2] ARM: dts: omap3/omap35 Torpedo and SOM-LV: Unify and shrink SPL dtb

2020-01-12 Thread Adam Ford
es to remove gpio's, i2c, bandgap, thermal zones, unneeded uarts, and unneeded MMC nodes. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/logicpd-som-lv-35xx-devkit-u-boot.dtsi b/arch/arm/dts/logicpd-som-lv-35xx-devkit-u-boot.dtsi index 1abd9a3887..173b492cd9 100644 --- a/arch/arm/dts/logi

[PATCH 1/2] configs: omap3/35_logic and omap3/35_logic_somlv: Reduce SPL size

2020-01-12 Thread Adam Ford
Currently the DM37 and OMAP35 boards do not boot due to SPL bring too large. SPL doesn't need GPIO, I2C nor MMC sector access since it uses a FAT file system. This patch unifies all these boards to remove these unused features from their defconfigs Signed-off-by: Adam Ford diff --

Re: [PATCH v2 1/2] Kconfig: add btrfs to distro boot

2020-01-15 Thread Adam Ford
On Wed, Jan 15, 2020 at 9:55 AM wrote: > > From: Matthias Brugger > > Some distributions use btrfs as the default file system. > Enable btrfs support by default when using distro boot for all > architectures but riscv, as it breaks compilation due to size problems. > > Signed-off-by: Matthias Bru

Re: [PATCH 1/3] clk: imx: pllv3: fix potential 'divide by zero' in sys_get_rate()

2020-01-17 Thread Adam Ford
On Fri, Jan 17, 2020 at 5:02 AM Giulio Benetti wrote: > > Guard 'parent_rate==0' to prevent 'divide by zero' issue in > clk_pplv3_sys_get_rate(). Also, guard 'parent_rate<0' that would mean > that clk_get_parent_rate() returned an error, so better to return > early with error EINVAL. > > Signed-of

Re: [PATCH V2 02/17] imx: imx8m[m/n]_beacon: Enable SPL_DM_SERIAL

2022-06-13 Thread Adam Ford
the series doesn't appear to apply cleanly on the current master, but I tested a Nano in addition to the Mini that I tested before. > > Signed-off-by: Peng Fan > Tested-by: Adam Ford #imx8mm_beacon Tested-by: Adam Ford #imx8mn_beacon > Reviewed-by: Fabio Estevam >

Re: [PATCH v3 5/7] configs: imx8mm: Define CONFIG_SYS_UBOOT_BASE for i.MX8m

2022-07-02 Thread Adam Ford
On Thu, Jun 9, 2022 at 9:56 AM Mamta Shukla wrote: > > The macro `CONFIG_SYS_UBOOT_BASE` is used by SPL loaders `"NOR"` and > `"XIP"` to determine the base address of u-boot. > > For `"NOR"` on i.MX8MM it is the base address of QSPI0 plus the offset > of the flattened image tree blob. > Although `

Re: [PATCH v3 1/7] tools: mkimage: Add support to generate FlexSPI Header for i.MX8m

2022-07-02 Thread Adam Ford
ration block. > I tested this series on the imx8mm-beacon board. I had a small comment, but this looks nice. Thanks for adding this functionality to the platform. Tested-by: Adam Ford > Signed-off-by: Mamta Shukla > Signed-off-by: Thomas Haemmerle > --- > v2: > -Add check for

Re: [PATCH v4 1/7] tools: mkimage: Add support to generate FlexSPI Header for i.MX8m

2022-07-07 Thread Adam Ford
ukla > Signed-off-by: Thomas Haemmerle > Tested-by: Adam Ford > Reviewed-by: Fabio Estevam > --- > v2: > -Add check for error in case open() for fspi_fd in imx8mkimage.c fails > > v3: > -No changes > > v4: > -No changes > > in

Re: [u-boot][PATCH 10/14] mtd: rawnand: omap_gpmc: support u-boot driver model

2022-10-11 Thread Adam Ford
On Tue, Oct 11, 2022 at 6:52 AM Roger Quadros wrote: > > Adds driver model support. > > We need to be able to self initialize the NAND controller/chip > at probe and so enable CONFIG_SYS_NAND_SELF_INIT. > > Doing so requires nand_register() API which is provided by nand.c > and needs to be enabled

Re: [u-boot][PATCH 10/14] mtd: rawnand: omap_gpmc: support u-boot driver model

2022-10-12 Thread Adam Ford
On Wed, Oct 12, 2022 at 1:22 AM Roger Quadros wrote: > > Hi Adam, > > On 11/10/2022 18:01, Adam Ford wrote: > > On Tue, Oct 11, 2022 at 6:52 AM Roger Quadros wrote: > >> > >> Adds driver model support. > >> > >> We need to be able to self in

Re: [u-boot][PATCH 10/14] mtd: rawnand: omap_gpmc: support u-boot driver model

2022-10-12 Thread Adam Ford
On Wed, Oct 12, 2022 at 6:57 AM Ladislav Michl wrote: > > Hi Adam, > > On Wed, Oct 12, 2022 at 06:42:22AM -0500, Adam Ford wrote: > [snip] > > On my board the GPMC runs more than just NAND. I am hoping to get the > > GPMC driver working in U-Boot first then in SPL (ass

Re: [u-boot][PATCH 10/14] mtd: rawnand: omap_gpmc: support u-boot driver model

2022-10-13 Thread Adam Ford
On Wed, Oct 12, 2022 at 6:42 AM Adam Ford wrote: > > On Wed, Oct 12, 2022 at 1:22 AM Roger Quadros wrote: > > > > Hi Adam, > > > > On 11/10/2022 18:01, Adam Ford wrote: > > > On Tue, Oct 11, 2022 at 6:52 AM Roger Quadros wrote: > > >> > &g

Re: [PATCH 0/7] arm: dts: Create common imx8mn-u-boot

2022-10-21 Thread Adam Ford
On Sun, Sep 11, 2022 at 11:36 AM Adam Ford wrote: > > On Mon, Aug 15, 2022 at 6:43 AM Adam Ford wrote: > > > > On Sun, Aug 14, 2022 at 5:57 PM Fabio Estevam wrote: > > > > > > Hi Adam, > > > > > > On Sun, Jul 31, 2022 at 8:46 PM Adam Ford

Re: [PATCH 0/7] arm: dts: Create common imx8mn-u-boot

2022-10-21 Thread Adam Ford
On Fri, Oct 21, 2022 at 7:27 AM Stefano Babic wrote: > > Hi Adam, > > On 21.10.22 14:10, Adam Ford wrote: > > On Sun, Sep 11, 2022 at 11:36 AM Adam Ford wrote: > >> > >> On Mon, Aug 15, 2022 at 6:43 AM Adam Ford wrote: > >>> > >&

[PATCH V2 0/7] arm: dts: Create common imx8mn-u-boot

2022-10-21 Thread Adam Ford
boards and added spba1 to help faciliate SPL_DM_SERIAL. This also adds support for CONFIG_FSPI_CONF_HEADER which can be used to generate flash.bin files for booting from FlexSPI. Adam Ford (7): arm: dts: imx8mn-u-boot: Create common imx8mn-u-boot.dtsi arm: dts: imx8mn-beacon-kit: Consolidate with

[PATCH V2 1/7] arm: dts: imx8mn-u-boot: Create common imx8mn-u-boot.dtsi

2022-10-21 Thread Adam Ford
respective UART and pinctrl nodes for those UARTS. This consolidated file also supports generating a flash.bin file which can boot from flexSPI if CONFIG_FSPI_CONF_HEADER is enabled. Signed-off-by: Adam Ford Reviewed-by: Fabio Estevam diff --git a/arch/arm/dts/imx8mn-u-boot.dtsi b/arch/arm/dts

[PATCH V2 2/7] arm: dts: imx8mn-beacon-kit: Consolidate with imx8mn-u-boot

2022-10-21 Thread Adam Ford
Now that a unified imx8mn-u-boot is available, remove duplicated code for generating flash.bin and other common imx8mn peripherals. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/imx8mn-beacon-kit-u-boot.dtsi b/arch/arm/dts/imx8mn-beacon-kit-u-boot.dtsi index 0efa6862eb..3180d57239 100644

[PATCH V2 3/7] arm: dts: imx8mn-bsh-smm-s2: Consolidate with imx8mn-u-boot

2022-10-21 Thread Adam Ford
Now that a unified imx8mn-u-boot is available, remove duplicated code for generating flash.bin and other common imx8mn peripherals. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/imx8mn-bsh-smm-s2-u-boot-common.dtsi b/arch/arm/dts/imx8mn-bsh-smm-s2-u-boot-common.dtsi index c4ae7ca4f3

[PATCH V2 4/7] arm: dts: imx8mn-ddr4-evk: Consolidate with imx8mn-u-boot

2022-10-21 Thread Adam Ford
Now that a unified imx8mn-u-boot is available, remove duplicated code for generating flash.bin and other common imx8mn peripherals. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi b/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi index 3fdb20cb35..54f3ebe88b 100644

[PATCH V2 5/7] arm: dts: imx8mn-evk: Consolidate with imx8mn-u-boot

2022-10-21 Thread Adam Ford
Now that a unified imx8mn-u-boot is available, remove duplicated code for generating flash.bin and other common imx8mn peripherals. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/imx8mn-evk-u-boot.dtsi b/arch/arm/dts/imx8mn-evk-u-boot.dtsi index c4b83d3f7e..6c6c949f43 100644 --- a/arch/arm

[PATCH V2 6/7] arm: dts: imx8mn-var-som-symphony: Consolidate with imx8mn-u-boot

2022-10-21 Thread Adam Ford
Now that a unified imx8mn-u-boot is available, remove duplicated code for generating flash.bin and other common imx8mn peripherals. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/imx8mn-var-som-symphony-u-boot.dtsi b/arch/arm/dts/imx8mn-var-som-symphony-u-boot.dtsi index ed1ab10ded

[PATCH V2 7/7] arm: dts: imx8mn-venice: Consolidate with imx8mn-u-boot

2022-10-21 Thread Adam Ford
Now that a unified imx8mn-u-boot is available, remove duplicated code for generating flash.bin and other common imx8mn peripherals. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/imx8mn-venice-u-boot.dtsi b/arch/arm/dts/imx8mn-venice-u-boot.dtsi index 42e4d935cf..aea48f2d79 100644 --- a

Re: [PATCH] configs: imx8mn_beacon_fspi: Add config for booting from QSPI

2022-10-22 Thread Adam Ford
On Sun, Jul 31, 2022 at 8:24 PM Adam Ford wrote: > > The imx8mn-beacon SOM has a QSPI part on it connected to the > FlexSPI controller. Add a defconfig option which supports > booting from the QSPI NOR flash instead of sd/mmc. > > Signed-off-by: Adam Ford > --- > >

[PATCH V2 1/4] configs: imx8mn_beacon: Re-align memory to standard imx8mn settings

2022-10-22 Thread Adam Ford
board to no longer define CONFIG_MALLOC_F_ADDR. Since SYS_LOAD_ADDR also does not align with other boards, move it too. Signed-off-by: Adam Ford --- V2: Rebase on u-boot-imx Depends on: https://patchwork.ozlabs.org/project/uboot/list/?series=324057 https://patchwork.ozlabs.org/project/uboot

[PATCH V2 2/4] regulator: bd718x7: Only bind children when PMIC_CHILDREN is enabled

2022-10-22 Thread Adam Ford
functions to access the PMIC in early startup. Signed-off-by: Adam Ford Reviewed-by: Simon Glass diff --git a/drivers/power/pmic/bd71837.c b/drivers/power/pmic/bd71837.c index cb9238972f..fdbbd6f559 100644 --- a/drivers/power/pmic/bd71837.c +++ b/drivers/power/pmic/bd71837.c @@ -63,10 +63,11 @@ static

[PATCH V2 3/4] configs: imx8mn_beacon: Enable SPL_DM_PMIC_BD71837

2022-10-22 Thread Adam Ford
To properly operate the Nano with LPDDR4 at 1.6GHz, the voltage needs to be adjusted before DDR is initialized. Enable the PMIC in SPL to do this. Signed-off-by: Adam Ford diff --git a/configs/imx8mn_beacon_2g_defconfig b/configs/imx8mn_beacon_2g_defconfig index 5708ba5c69..4931f836f0 100644

[PATCH V2 4/4] imx: imx8mn-beacon: Fix out of spec voltage

2022-10-22 Thread Adam Ford
The DDR is configured for LPDDR4 running at 1.6GHz which requires the voltage on the PMIC to rise a bit before initializing LPDDR4 or it will be running out of spec. Signed-off-by: Adam Ford diff --git a/board/beacon/imx8mn/spl.c b/board/beacon/imx8mn/spl.c index 029f71bc99..9acd916180 100644

[PATCH 1/3] imx: imx8mm_beacon: Eliminate a few extras to free up SPL space

2022-10-22 Thread Adam Ford
There are a few functions which are not essential for use in SPL, but they take up enough space to make other preferred features not fit. Remove the extras. Signed-off-by: Adam Ford diff --git a/board/beacon/imx8mm/spl.c b/board/beacon/imx8mm/spl.c index a93cc93878..b0e9d918da 100644 --- a

[PATCH 2/3] imx: imx8mm-beacon: Enable USB booting via SDP

2022-10-22 Thread Adam Ford
spl_board_boot_device and enable the corresponding config options. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi b/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi index c94b4ffa4c..00ac413f36 100644 --- a/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi +++ b/arch/arm/dts

[PATCH 3/3] imx: imx8mm-beacon: Move Environment to eMMC partition 2

2022-10-22 Thread Adam Ford
The downstream U-Boot distributed by Beacon stores the environment in the eMMC and the end of partition 2. This allow the environment to stay on the SOM regardless of the boot source. Signed-off-by: Adam Ford diff --git a/configs/imx8mm_beacon_defconfig b/configs/imx8mm_beacon_defconfig index

Re: [PATCH v3 7/8] imx8mn: synchronise device tree with linux

2022-10-24 Thread Adam Ford
On Sat, Oct 22, 2022 at 4:44 PM Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > Synchronise device tree with linux v6.0-rc1. > > Signed-off-by: Marcel Ziswiler > --- This might collide with [1]. Since the series I pushed unifies the 8mn devices with common -u-boot.dtsi file. It shows it's

Re: [PATCH 1/3] imx: imx8mm_beacon: Eliminate a few extras to free up SPL space

2022-10-24 Thread Adam Ford
On Mon, Oct 24, 2022 at 2:57 PM Tim Harvey wrote: > > On Sat, Oct 22, 2022 at 7:28 AM Adam Ford wrote: > > > > There are a few functions which are not essential for use in > > SPL, but they take up enough space to make other preferred > > features not fit. Remove

Re: [PATCH 1/3] imx: imx8mm_beacon: Eliminate a few extras to free up SPL space

2022-10-24 Thread Adam Ford
On Mon, Oct 24, 2022 at 3:47 PM Tim Harvey wrote: > > On Mon, Oct 24, 2022 at 1:26 PM Adam Ford wrote: > > > > On Mon, Oct 24, 2022 at 2:57 PM Tim Harvey wrote: > > > > > > On Sat, Oct 22, 2022 at 7:28 AM Adam Ford wrote: > > > > > > >

Re: [PATCH v3] board: gateworks: venice: enable DM_SERIAL

2022-04-14 Thread Adam Ford
On Thu, Apr 14, 2022 at 1:34 PM Tim Harvey wrote: > > On Thu, Apr 14, 2022 at 11:02 AM Michael Nazzareno Trimarchi > wrote: > > > > HI Tim > > > > On Thu, Apr 14, 2022 at 7:53 PM Tim Harvey wrote: > > > > > > Enable DM_SERIAL for both U_Boot and the SPL. The uart2 and its pinmux > > > are alread

Re: [PATCH 3/3] imx: power-domain: Get rid of SMCCC dependency

2022-04-16 Thread Adam Ford
On Thu, Apr 7, 2022 at 5:21 PM Tim Harvey wrote: > > On Wed, Mar 30, 2022 at 8:04 PM Marek Vasut wrote: > > > > This driver is the only SMCCC dependency in iMX8M U-Boot port. Rework > > the driver based on Linux GPCv2 driver to directly control the GPCv2 > > block instead of using SMCCC calls. Th

Re: [PATCH 3/3] imx: power-domain: Get rid of SMCCC dependency

2022-04-16 Thread Adam Ford
On Sat, Apr 16, 2022 at 7:35 PM Marek Vasut wrote: > > On 4/16/22 22:49, Adam Ford wrote: > > On Thu, Apr 7, 2022 at 5:21 PM Tim Harvey wrote: > >> > >> On Wed, Mar 30, 2022 at 8:04 PM Marek Vasut wrote: > >>> > >>> This driver is the only S

Re: [PATCH 3/3] imx: power-domain: Get rid of SMCCC dependency

2022-04-17 Thread Adam Ford
On Sat, Apr 16, 2022 at 9:13 PM Marek Vasut wrote: > > On 4/17/22 03:01, Adam Ford wrote: > > Hi, > > >>> After the patch: > >>> > >>> U-Boot SPL 2022.04-00822-gc2a24a7ce5 (Apr 16 2022 - 15:45:29 -0500) > >>> PMIC: PFUZE100 ID=0x10

Re: [PATCH 3/3] imx: power-domain: Get rid of SMCCC dependency

2022-04-17 Thread Adam Ford
On Sun, Apr 17, 2022 at 10:16 AM Marek Vasut wrote: > > On 4/17/22 15:21, Adam Ford wrote: > > On Sat, Apr 16, 2022 at 9:13 PM Marek Vasut wrote: > >> > >> On 4/17/22 03:01, Adam Ford wrote: > >> > >> Hi, > >> > >>>>> Af

Re: [PATCH 3/3] imx: power-domain: Get rid of SMCCC dependency

2022-04-17 Thread Adam Ford
On Sun, Apr 17, 2022 at 1:15 PM Marek Vasut wrote: > > On 4/17/22 18:37, Adam Ford wrote: > > [...] > > > When I just reverted all three of those, it still hangs. However, > > when I removed CONFIG_CLK, it recovered. I'll examine which clocks > > may be m

[PATCH 2/2] imx: imx8mm_beacon: Enable Micrel PHY

2022-04-17 Thread Adam Ford
Due part shortages, there is a second variant of the Beacon i.MX8M Mini SOM which contains a Micrel PHY. Signed-off-by: Adam Ford diff --git a/configs/imx8mm_beacon_defconfig b/configs/imx8mm_beacon_defconfig index 403934a1ac..e8b29da92c 100644 --- a/configs/imx8mm_beacon_defconfig +++ b

[PATCH 1/2] imx: Add support for i.MX8MM Beacon SOM 4GB variant

2022-04-17 Thread Adam Ford
load the proper timings. Signed-off-by: Adam Ford diff --git a/board/beacon/imx8mm/Kconfig b/board/beacon/imx8mm/Kconfig index 63f064e8cb..70f93102e0 100644 --- a/board/beacon/imx8mm/Kconfig +++ b/board/beacon/imx8mm/Kconfig @@ -12,6 +12,10 @@ config SYS_CONFIG_NAME config IMX_CONFIG de

Re: [PATCH 3/3] imx: power-domain: Get rid of SMCCC dependency

2022-04-17 Thread Adam Ford
On Tue, Apr 5, 2022 at 3:14 PM Tim Harvey wrote: > > On Mon, Apr 4, 2022 at 7:25 AM Marek Vasut wrote: > > > > On 4/4/22 16:15, Adam Ford wrote: > > > On Mon, Apr 4, 2022 at 8:01 AM Marek Vasut wrote: > > >> > > >> On 4/4/22 14:51, Adam Ford wr

[PATCH] arm: imx8m: Enable CLK_IMX8M[MNQP] where applicable

2022-04-17 Thread Adam Ford
k the board defconfig files a bit. Suggested-by: Marek Vasut Signed-off-by: Adam Ford diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig index 55db25062a..4b0d126a71 100644 --- a/arch/arm/mach-imx/imx8m/Kconfig +++ b/arch/arm/mach-imx/imx8m/Kconfig @@ -8,18 +8,22 @@ c

Re: im8mn: Loading U-Boot via serial download mode

2022-04-20 Thread Adam Ford
On Wed, Apr 20, 2022 at 2:40 PM Fabio Estevam wrote: > > Hi Adam, > > Looking at your imx8mn beacon patches, it seems you managed to boot > the imx8mn beacon board via serial download mode. > > I am trying to achieve the same on an imx8mn-evk running top of tree > U-Boot and added the following ch

Re: im8mn: Loading U-Boot via serial download mode

2022-04-20 Thread Adam Ford
On Wed, Apr 20, 2022 at 3:16 PM Fabio Estevam wrote: > > Hi Michael, > > On Wed, Apr 20, 2022 at 4:53 PM Michael Nazzareno Trimarchi > wrote: > > >> Set CONFIG_ENV_IS_NOWHERE=y and rebuild. It will likely boot. > > > > > > That code should be dropped because it's really buggy. We already sent >

Re: imx8mm eLCDIF clock

2022-04-21 Thread Adam Ford
On Thu, Apr 21, 2022 at 5:29 AM Tommaso Merciai wrote: > > On Thu, Apr 21, 2022 at 08:48:05AM +0200, Tommaso Merciai wrote: > > + Fabio > + Tim > + Michael > + Marek > + Adam > > > Hi, > > I'm working on drivers/clk/imx/clk-imx8mm.c to port and bring up eLCDIF > > clocks. After port all necessary

Re: imx8mm eLCDIF clock

2022-04-21 Thread Adam Ford
On Thu, Apr 21, 2022 at 7:03 AM Stefano Babic wrote: > > On 21.04.22 14:01, Marek Vasut wrote: > > On 4/21/22 13:54, Tommaso Merciai wrote: > >> On Thu, Apr 21, 2022 at 01:20:58PM +0200, Marek Vasut wrote: > >>> On 4/21/22 13:14, Adam Ford wrote: > >>

Re: [PATCH 2/2] imx8mn/8mp: Select ENV_IS_NOWHERE

2022-04-21 Thread Adam Ford
On Thu, Apr 21, 2022 at 11:47 AM Fabio Estevam wrote: > > Hi Michael, > > On 21/04/2022 13:34, Michael Nazzareno Trimarchi wrote: > > > That function should drop. There is not other architecture that does > > it. What about: > > I implemented your suggestion like this: > > --- a/arch/arm/mach-imx/

Re: [PATCH 2/3] imx: imx8mq: default select CLK_IMX8MQ

2022-04-30 Thread Adam Ford
On Fri, Apr 29, 2022 at 2:20 AM Peng Fan (OSS) wrote: > > From: Peng Fan > > Since the power domain driver default select CONFIG_CLK, so we will > meet lots failures without CLK_IMX8MQ, so default select it. > There is a related patch [1] that I submitted for all imx8m SoC's t select their respe

Re: [PATCH 04/15] imx: imx8m[m/n]_beacon: Enable SPL_DM_SERIAL

2022-04-30 Thread Adam Ford
On Sat, Apr 30, 2022 at 7:01 AM Peng Fan (OSS) wrote: > > From: Peng Fan > > Enable CONFIG_SPL_DM_SERIAL. uart2 and its pinmux was already > marked with u-boot,dm-spl. > Move preloader_console_init after spl_init to make sure driver > model work. Thanks for doing this! &g

[RFC 0/3] imx8m: Remove manual UART clock initialization

2022-04-30 Thread Adam Ford
intialization from SPL. Once feedback is received and final method is accepted, it can be expanded to other boards. Adam Ford (3): clk: imx8mm: Add UART clocks serial: mxc: Enable getting and enabling clocks with CCF Composite imx8: imx8mm_beacon: Remove manual UART clock initialization

[RFC 1/3] clk: imx8mm: Add UART clocks

2022-04-30 Thread Adam Ford
There are four UART's with various clocks assoicated with each. Add them to the clock driver so they can be enabled and queried by the serial driver as needed. Signed-off-by: Adam Ford diff --git a/drivers/clk/imx/clk-imx8mm.c b/drivers/clk/imx/clk-imx8mm.c index 542aa31f7a..8566c3e4a0 1

[RFC 2/3] serial: mxc: Enable getting and enabling clocks with CCF Composite

2022-04-30 Thread Adam Ford
Certain platforms have the UART clocks exposed through the CCF. When they are, it's possible to enable and query the clock(s) for a given UART. Add support getting, enabling, and querying the clocks. Signed-off-by: Adam Ford diff --git a/drivers/serial/serial_mxc.c b/drivers/serial/serial_

[RFC 3/3] imx8: imx8mm_beacon: Remove manual UART clock initialization

2022-04-30 Thread Adam Ford
SPL has a manual call to init_uart_clk in order to start the clocks. If the CCF has the UART clocks available, the serial driver can enable and query the clock when needed, so the manual call to init_uart_clk can be dropped. Signed-off-by: Adam Ford diff --git a/board/beacon/imx8mm/spl.c b

Re: [PATCH 03/15] imx: imx8mm_mx8menlo: Enable DM_SERIAL

2022-04-30 Thread Adam Ford
On Sat, Apr 30, 2022 at 12:00 PM Marek Vasut wrote: > > On 4/30/22 14:43, Peng Fan (OSS) wrote: > > From: Peng Fan > > > > Enable CONFIG_DM_SERIAL. uart2 and its pinmux was already > > marked with u-boot,dm-spl. > > > > Signed-off-by: Peng Fan > > --- > > board/menlo/mx8menlo/mx8menlo.c | 9

Re: [PATCH 03/15] imx: imx8mm_mx8menlo: Enable DM_SERIAL

2022-04-30 Thread Adam Ford
On Sat, Apr 30, 2022 at 1:04 PM Marek Vasut wrote: > > On 4/30/22 19:32, Adam Ford wrote: > > On Sat, Apr 30, 2022 at 12:00 PM Marek Vasut wrote: > >> > >> On 4/30/22 14:43, Peng Fan (OSS) wrote: > >>> From: Peng Fan > >>> > >

Re: [RFC 2/3] serial: mxc: Enable getting and enabling clocks with CCF Composite

2022-05-01 Thread Adam Ford
On Sun, May 1, 2022 at 4:48 AM Peng Fan (OSS) wrote: > > > > On 2022/5/1 0:14, Adam Ford wrote: > > Certain platforms have the UART clocks exposed through the CCF. > > When they are, it's possible to enable and query the clock(s) > > for a given UART. Add supp

[PATCH] ARM: imx: imx8m: Adjust thermal trip points for Industrial parts

2022-05-05 Thread Adam Ford
If the thermal sensor is enabled in U-Boot, adjust the cpu-thermal trip points for industrial rated parts. Signed-off-by: Adam Ford diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c index 8e23e6da32..619e04a602 100644 --- a/arch/arm/mach-imx/imx8m/soc.c +++ b/arch/arm

Re: [PATCH] ARM: imx: imx8m: Adjust thermal trip points for Industrial parts

2022-05-07 Thread Adam Ford
On Thu, May 5, 2022 at 2:42 PM Francesco Dolcini wrote: > > On Thu, May 05, 2022 at 01:10:27PM -0500, Adam Ford wrote: > > If the thermal sensor is enabled in U-Boot, adjust the cpu-thermal > > trip points for industrial rated parts. > Is this supposed to work fine with

[PATCH V2] ARM: imx: imx8m: Adjust thermal trip points for Industrial parts

2022-05-07 Thread Adam Ford
If the thermal sensor is enabled in U-Boot, adjust the cpu-thermal trip points for industrial rated parts. This should apply to 8MQ, 8MM, 8MN, and 8MP. Signed-off-by: Adam Ford Reviewed-by: Tim Harvey --- V2: Switch the check from looking for industrial or checkoing for anything but

Re: [PATCH V2] ARM: imx: imx8m: Adjust thermal trip points for Industrial parts

2022-05-07 Thread Adam Ford
On Sat, May 7, 2022 at 5:00 PM Marek Vasut wrote: > > On 5/7/22 14:04, Adam Ford wrote: > > If the thermal sensor is enabled in U-Boot, adjust the cpu-thermal > > trip points for industrial rated parts. This should apply to 8MQ, > > 8MM, 8MN, and 8MP. > >

Re: [PATCH 3/3] imx: power-domain: Get rid of SMCCC dependency

2022-04-04 Thread Adam Ford
On Wed, Mar 30, 2022 at 10:04 PM Marek Vasut wrote: > > This driver is the only SMCCC dependency in iMX8M U-Boot port. Rework > the driver based on Linux GPCv2 driver to directly control the GPCv2 > block instead of using SMCCC calls. This way, U-Boot can operate the > i.MX8M power domains without

Re: [PATCH 3/3] imx: power-domain: Get rid of SMCCC dependency

2022-04-04 Thread Adam Ford
On Mon, Apr 4, 2022 at 8:01 AM Marek Vasut wrote: > > On 4/4/22 14:51, Adam Ford wrote: > > On Wed, Mar 30, 2022 at 10:04 PM Marek Vasut wrote: > >> > >> This driver is the only SMCCC dependency in iMX8M U-Boot port. Rework > >> the driver based on Lin

Re: [PATCH 3/3] imx: power-domain: Get rid of SMCCC dependency

2022-04-06 Thread Adam Ford
On Tue, Apr 5, 2022 at 6:00 PM Marek Vasut wrote: > > On 4/5/22 22:14, Tim Harvey wrote: > > On Mon, Apr 4, 2022 at 7:25 AM Marek Vasut wrote: > >> > >> On 4/4/22 16:15, Adam Ford wrote: > >>> On Mon, Apr 4, 2022 at 8:01 AM Marek Vasut wrote: >

Re: [PATCH 3/3] imx: power-domain: Get rid of SMCCC dependency

2022-04-06 Thread Adam Ford
On Wed, Apr 6, 2022 at 7:27 AM Fabio Estevam wrote: > > Hi Adam, > > On Wed, Apr 6, 2022 at 9:22 AM Adam Ford wrote: > > > I tried to build the imx8mq last night, but I ran into issues. I > > never built an imx8mq bootloader before, so I think I'm missing >

Re: [PATCH 2/2] configs: imx: imx8mm_beacon: Add config option for QSPI booting

2023-02-01 Thread Adam Ford
https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/566141 > > On 19.11.22 20:28, Adam Ford wrote: > > The imx8mm_beacon SOM has a QSPI part attached to the FSPI controller. > > Update the header and spl files to support booting from NOR flash and > > add imx8mm_beacon_

[PATCH V2 1/2] imx: imx8mm-beacon: Enable FlexSPI in U-Boot

2023-02-01 Thread Adam Ford
In order to use the FlexSPI interface in U-Boot, configure the alias to make spi0 point to flexspi. With that enabled, sf probe detects the QSPI part as: SF: Detected n25q256ax1 with page size 256 Bytes, erase size 4 KiB, total 32 MiB Signed-off-by: Adam Ford --- V2: No Change diff --git a

[PATCH V2 2/2] configs: imx: imx8mm_beacon: Add config option for QSPI booting

2023-02-01 Thread Adam Ford
The imx8mm_beacon SOM has a QSPI part attached to the FSPI controller. Update the header and spl files to support booting from NOR flash and add imx8mm_beacon_fspi_defconfig to support this configuration. Signed-off-by: Adam Ford --- V2: Rebase and rename CONFIG_SYS_UBOOT_BASE to

[PATCH] arm64: imx: Add support for imx8mp-beacon-kit

2023-02-12 Thread Adam Ford
are already queued for inclusion in Linux 6.3. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index d9b719f85d..d812ad4048 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -986,6 +986,7 @@ dtb-$(CONFIG_ARCH_IMX8M) += \ imx8mn-beacon

Re: [PATCH] arm64: imx: Add support for imx8mp-beacon-kit

2023-02-12 Thread Adam Ford
On Sun, Feb 12, 2023 at 11:47 AM Tom Rini wrote: > > On Sun, Feb 12, 2023 at 11:36:38AM -0600, Adam Ford wrote: > > > Beacon Embedded has an i.MX8M Plus development kit which consists > > of a SOM + baseboard. The SOM includes Bluetooth, WiFi, QSPI, eMMC, > > and one

[PATCH V2] arm64: imx: Add support for imx8mp-beacon-kit

2023-02-12 Thread Adam Ford
are already queued for inclusion in Linux 6.3. Signed-off-by: Adam Ford --- V2: Move default environment from imx8mp_beacon.h to imx8mp_beacon.env Move README to beacon-imx8mp.rst diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index d9b719f85d..d812ad4048 100644 --- a/arch/arm

Re: [PATCH] arm64: imx: Add support for imx8mp-beacon-kit

2023-02-13 Thread Adam Ford
On Sun, Feb 12, 2023 at 12:08 PM Tom Rini wrote: > > On Sun, Feb 12, 2023 at 12:02:26PM -0600, Adam Ford wrote: > > On Sun, Feb 12, 2023 at 11:47 AM Tom Rini wrote: > > > > > > On Sun, Feb 12, 2023 at 11:36:38AM -0600, Adam Ford wrote: > > > > > >

[PATCH V3] arm64: imx: Add support for imx8mp-beacon-kit

2023-02-20 Thread Adam Ford
are already queued for inclusion in Linux 6.3. Signed-off-by: Adam Ford --- V3: Fix Doc indicies to fix errors with 'make htmldocs' Remove duplicated entries in imx8mp_beacon.env found in env_default.h Remove unnecessary include options from imx8mp_beacon.h V2: Mo

[PATCH] configs: imx8m: Prepare imx8m-beacon boards for HAB support

2022-11-19 Thread Adam Ford
In order to enable HAB, FSL_CAAM, ARCH_MISC_INIT and SPL_CRYPTO should be enabled in Kconfig like other i.MX8M boards. Signed-off-by: Adam Ford diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig index a0715e8091..eadb2234b0 100644 --- a/arch/arm/mach-imx/imx8m

[PATCH 1/2] imx: imx8mm-beacon: Enable FlexSPI in U-Boot

2022-11-19 Thread Adam Ford
In order to use the FlexSPI interface in U-Boot, configure the alias to make spi0 point to flexspi. With that enabled, sf probe detects the QSPI part as: SF: Detected n25q256ax1 with page size 256 Bytes, erase size 4 KiB, total 32 MiB Signed-off-by: Adam Ford diff --git a/arch/arm/dts/imx8mm

[PATCH 2/2] configs: imx: imx8mm_beacon: Add config option for QSPI booting

2022-11-19 Thread Adam Ford
The imx8mm_beacon SOM has a QSPI part attached to the FSPI controller. Update the header and spl files to support booting from NOR flash and add imx8mm_beacon_fspi_defconfig to support this configuration. Signed-off-by: Adam Ford diff --git a/board/beacon/imx8mm/spl.c b/board/beacon/imx8mm

[PATCH] configs: imx8mn_beacon_fspi: Add config for booting from QSPI

2022-11-19 Thread Adam Ford
The imx8mn-beacon SOM has a QSPI part on it connected to the FlexSPI controller. Add a defconfig option which supports booting from the QSPI NOR flash instead of sd/mmc. Signed-off-by: Adam Ford diff --git a/configs/imx8mn_beacon_fspi_defconfig b/configs/imx8mn_beacon_fspi_defconfig new file

Re: [PATCH] imx8m: fixup thermal trips

2022-05-25 Thread Adam Ford
On Thu, May 12, 2022 at 5:13 AM Andrejs Cainikovs wrote: > > Fixup thermal trips in Linux device tree according to SoC thermal > grade. > > Signed-off-by: Andrejs Cainikovs > --- > arch/arm/mach-imx/imx8m/soc.c | 50 +++ > 1 file changed, 50 insertions(+) > > diff

<    1   2   3   4   5   6   7   8   9   10   >