Re: [PATCH 1/5] imx: imx8mm-beacon: Move environment definition to env file

2023-07-17 Thread Adam Ford
On Mon, Jun 12, 2023 at 11:27 AM Tom Rini wrote: > > On Mon, Jun 12, 2023 at 07:53:53AM -0500, Adam Ford wrote: > > On Sun, May 28, 2023 at 2:18 PM Adam Ford wrote: > > > > > > Instead of cluttering up a header file with a bunch of defines, > > > move t

Re: [PATCH 2/5] MAINTAINERS: Add some missing defconfig files to existing entries

2023-07-18 Thread Adam Ford
On Tue, Jul 18, 2023 at 11:20 AM Tom Rini wrote: > > We have a few places where defconfigs were added (or renamed) and not > included in their previously listed MAINTAINERS entry, correct this. > For the beacon boards: Acked-by: Adam Ford > Signed-off-by: Tom Rini > -

[PATCH 1/5] configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV

2023-10-25 Thread Adam Ford
The hardware only supports a specific console port, so remove the option to change the console location in the environment. Signed-off-by: Adam Ford --- configs/imx8mp_beacon_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/imx8mp_beacon_defconfig b/configs

[PATCH 2/5] configs: imx8mm_beacon: Enable fastboot downloading

2023-10-25 Thread Adam Ford
Fastboot is necessary to use UUU enhanced functions, so enable it. Signed-off-by: Adam Ford --- configs/imx8mm_beacon_defconfig | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configs/imx8mm_beacon_defconfig b/configs/imx8mm_beacon_defconfig index 031470c169..886d912650

[PATCH 3/5] configs: imx8mm_beacon: Disable the WDT autostart

2023-10-25 Thread Adam Ford
Auto-starting the WDT can cause false reboots when the user is not intentionally trying to use the WDT, so leave it off until it is requested. Signed-off-by: Adam Ford --- configs/imx8mm_beacon_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/imx8mm_beacon_defconfig b

[PATCH 4/5] configs: imx8mn_beacon: Do not set SYS_CONSOLE_IS_IN_ENV

2023-10-25 Thread Adam Ford
The hardware only supports a specific console port, so remove the option to change the console location in the environment. Signed-off-by: Adam Ford --- configs/imx8mn_beacon_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/imx8mn_beacon_defconfig b/configs

[PATCH 5/5] configs: imx8mn_beacon: Disable the WDT autostart

2023-10-25 Thread Adam Ford
Auto-starting the WDT can cause false reboots when the user is not intentionally trying to use the WDT, so leave it off until it is requested. Signed-off-by: Adam Ford --- configs/imx8mn_beacon_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/imx8mn_beacon_defconfig b

[PATCH 1/3] configs: rzg2_beacon: Disable the ability to remove devices

2023-10-25 Thread Adam Ford
In order to save some space, disable the ability to dynamically remove devices. Without this, U-Boot is too large to load without recompiling TF-A. Signed-off-by: Adam Ford diff --git a/configs/rzg2_beacon_defconfig b/configs/rzg2_beacon_defconfig index 73abe966b8..7b14d225b5 100644 --- a

[PATCH 2/3] configs: rzg2_beacon: Realign ENV location and offset

2023-10-25 Thread Adam Ford
The ENV size and offset were changed to different values in Beacon's downstream release. Change them to the same values as the downstream for consistent behavior. Signed-off-by: Adam Ford diff --git a/configs/rzg2_beacon_defconfig b/configs/rzg2_beacon_defconfig index 7b14d225b5..534f6

[PATCH 3/3] arm: rmobile: rzg2_beacon: Auto select Linux device tree by SoC

2023-10-25 Thread Adam Ford
that to determine which device tree is loaded for booting Linux. Signed-off-by: Adam Ford diff --git a/board/beacon/beacon-rzg2m/beacon-rzg2m.c b/board/beacon/beacon-rzg2m/beacon-rzg2m.c index 99fe1edfb3..6d37ff6ac9 100644 --- a/board/beacon/beacon-rzg2m/beacon-rzg2m.c +++ b/board/beacon/beacon

Re: [PATCH 1/3] configs: rzg2_beacon: Disable the ability to remove devices

2023-10-26 Thread Adam Ford
On Thu, Oct 26, 2023 at 8:44 PM Marek Vasut wrote: > > On 10/26/23 01:13, Adam Ford wrote: > > In order to save some space, disable the ability to dynamically > > remove devices. Without this, U-Boot is too large to load without > > recompiling TF-A. > >

Re: [PATCH 3/3] arm: rmobile: rzg2_beacon: Auto select Linux device tree by SoC

2023-10-26 Thread Adam Ford
On Thu, Oct 26, 2023 at 8:44 PM Marek Vasut wrote: > > On 10/26/23 01:13, Adam Ford wrote: > > There is a function inside the board file to autodetect which device > > tree is needed by U-Boot to properly load its own device tree, but > > it currently defaults to always

Re: [PATCH 2/3] configs: rzg2_beacon: Realign ENV location and offset

2023-10-31 Thread Adam Ford
On Wed, Oct 25, 2023 at 6:13 PM Adam Ford wrote: > > The ENV size and offset were changed to different > values in Beacon's downstream release. Change them to the > same values as the downstream for consistent behavior. > > Signed-off-by: Adam Ford Marek, I know you had

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

2022-09-11 Thread Adam Ford
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 wrote: > > > > > > Every imx8mn board has a bunch of similar entries on

Re: [PATCH 4/4] ARM: dts: imx8m: imx8mm-mx8menlo: Enable SPL SDP support

2022-09-24 Thread Adam Ford
On Mon, Sep 19, 2022 at 5:02 PM Fabio Estevam wrote: > > Hi Marek, > > On 19/09/2022 16:41, Marek Vasut wrote: > > Enable DM USB, DM PHY and USB gadget support in imx8mm-mx8menlo SPL > > to let the board continue SDP loading of second stage after the first > > stage was loaded by BootROM SDP imple

Re: [PATCH 4/4] ARM: dts: imx8m: imx8mm-mx8menlo: Enable SPL SDP support

2022-09-24 Thread Adam Ford
On Sat, Sep 24, 2022 at 1:52 PM Michael Nazzareno Trimarchi wrote: > > On Sat, Sep 24, 2022 at 8:38 PM Adam Ford wrote: > > > > On Mon, Sep 19, 2022 at 5:02 PM Fabio Estevam wrote: > > > > > > Hi Marek, > > > > > > On 19/09/2022 16:41, Ma

Re: [PATCH 4/4] ARM: dts: imx8m: imx8mm-mx8menlo: Enable SPL SDP support

2022-09-24 Thread Adam Ford
On Sat, Sep 24, 2022 at 2:00 PM Michael Nazzareno Trimarchi wrote: > > > > Il sab 24 set 2022, 20:54 Adam Ford ha scritto: >> >> On Sat, Sep 24, 2022 at 1:52 PM Michael Nazzareno Trimarchi >> wrote: >> > >> > On Sat, Sep 24, 2022 at 8:38 PM Adam

Re: [PATCH 4/4] ARM: dts: imx8m: imx8mm-mx8menlo: Enable SPL SDP support

2022-09-24 Thread Adam Ford
On Sat, Sep 24, 2022 at 4:47 PM Marek Vasut wrote: > > On 9/24/22 21:10, Adam Ford wrote: > > Hi, > > [...] > > > I am using the Mainline with the aarch64 gcc from Ubuntu 22.04. I am > > over by ~1100 bytes with LTO enabled, but I'm going through my SP

Re: [PATCH 4/4] ARM: dts: imx8m: imx8mm-mx8menlo: Enable SPL SDP support

2022-09-26 Thread Adam Ford
On Mon, Sep 26, 2022 at 11:59 AM Tim Harvey wrote: > > On Sat, Sep 24, 2022, 2:54 PM Adam Ford wrote: > > > > On Sat, Sep 24, 2022 at 4:47 PM Marek Vasut wrote: > > > > > > On 9/24/22 21:10, Adam Ford wrote: > > > > > > Hi, > >

Re: [PATCH 4/4] ARM: dts: imx8m: imx8mm-mx8menlo: Enable SPL SDP support

2022-09-26 Thread Adam Ford
On Mon, Sep 26, 2022 at 12:12 PM Fabio Estevam wrote: > > Hi Adam, > > On Mon, Sep 26, 2022 at 2:07 PM Adam Ford wrote: > > > Tim, > > > > I have it building successfully now, and it loads over USB. I had to > > disable BD718x7 PMIC children binding which

Re: [PATCH v2] imx8mn-ddr4-evk-u-boot: Fix broken boot

2022-10-03 Thread Adam Ford
properly and when booting the system would > constantly reboot. Fix this by adding the spba node to the spl > device tree to restore normal booting. > > Based on the patch from Adam Ford for the imx8mn-beacon-kit-u-boot > board. > > Fixes: 4e5114daf9eb ("imx8mn: synchron

Re: [PATCH v1 21/26] imx8mn: synchronise device tree with linux

2022-08-12 Thread Adam Ford
On Wed, Aug 3, 2022 at 8:02 AM Marcel Ziswiler wrote: > > Hi Adam > > On Sun, 2022-07-31 at 11:58 -0500, Adam Ford wrote: > > On Thu, Jul 21, 2022 at 8:44 AM Marcel Ziswiler wrote: > > > > > > From: Marcel Ziswiler > > > > > > Synchronise de

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

2022-08-14 Thread Adam Ford
On Sun, Jul 31, 2022 at 6:46 PM Adam Ford wrote: > > Multiple boards create duplicate entries in their respective > -u-boot.dtsi files which all basically do the same thing. > To consolidate these and make it easier to make improvements > going forward, consolidate them all

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

2022-08-15 Thread Adam Ford
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 wrote: > > > > Every imx8mn board has a bunch of similar entries on their > > respective board-u-boot.dtsi file to make the board bootable. > > I

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

2022-08-17 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 --- Depends on https://patchwork.ozlabs.org/project/uboot/list/?series=312020 https://patchwork.ozlabs.org/project/uboot/list/?series=312016 https

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

2022-08-17 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 98a75d4950..fda545a9ad 100644

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

2022-08-17 Thread Adam Ford
functions to access the PMIC in early startup. Signed-off-by: Adam Ford 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 int bd71837_bind(struct

[PATCH 4/4] imx: imx8mn-beacon: Configure PMIC before DDR initialization

2022-08-17 Thread Adam Ford
The DDR is configured for LPDDR4 running at 1.6GHz which requires the voltage on the PMIC to rise a bit 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 --- a/board/beacon/imx8mn

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

2023-03-23 Thread Adam Ford
are already queued for inclusion in Linux 6.3. Signed-off-by: Adam Ford Reviewed-by: Tom Rini --- V4: Rebase off Marek V's EQOS series. Remove code no longer needed from the EQOS series Remove unnecessary include files. V3: Fix Doc indicies to fix errors with 'mak

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

2023-03-23 Thread Adam Ford
are already queued for inclusion in Linux 6.3. Signed-off-by: Adam Ford Reviewed-by: Tom Rini --- V5: Rebase off next instead of imx branch. Replace u-boot,dm-spl with bootph-pre-ram V4: Rebase off Marek V's EQOS series. Remove code no longer needed from the EQOS series R

Re: [PATCH 15/19] ARM: dts: renesas: Synchronize RZ R8A774A1 RZ/G2M DTs with Linux 6.5.3

2023-09-29 Thread Adam Ford
On Sun, Sep 17, 2023 at 9:18 AM Marek Vasut wrote: > > Synchronize RZ R8A774A1 RZ/G2M DTs with Linux 6.5.3, Thanks! > commit 238589d0f7b421aae18c5704dc931595019fa6c7 . > > Signed-off-by: Marek Vasut Reviewed-by: Adam Ford > --- > arch/arm/dts/beacon-reneso

Re: Unable to implement board fdt-fixup for imx8m CPU

2023-04-24 Thread Adam Ford
On Mon, Apr 24, 2023 at 4:57 PM Hugo Villeneuve wrote: > > On Mon, 24 Apr 2023 15:01:35 -0600 > Simon Glass wrote: > > > Hi Hugo, > > > > On Mon, 24 Apr 2023 at 14:53, Hugo Villeneuve wrote: > > > > > > Hi, > > > according to this document: > > > > > > doc/develop/driver-model/fdt-fixup.rst

Re: imx8mm/imx8mn hang on usb stop / ehci_shutdown

2023-04-27 Thread Adam Ford
On Thu, Apr 27, 2023 at 12:14 PM Tim Harvey wrote: > > On Wed, Mar 15, 2023 at 3:01 PM Tim Harvey wrote: > > > > Greetings, > > > > I'm seeing a hang on imx8mm-venice and imx8mn-venice boards which have > > a USB host controller in host mode when ehci_shutdown() is called > > (which is called for

Re: imx8mm/imx8mn hang on usb stop / ehci_shutdown

2023-04-27 Thread Adam Ford
On Thu, Apr 27, 2023 at 12:52 PM Tim Harvey wrote: > > On Thu, Apr 27, 2023 at 10:49 AM Fabio Estevam wrote: > > > > Hi Adam, > > > > On Thu, Apr 27, 2023 at 2:42 PM Adam Ford wrote: > > > > > There was some re-organization of the power domains i

Re: imx8mm/imx8mn hang on usb stop / ehci_shutdown

2023-04-27 Thread Adam Ford
On Thu, Apr 27, 2023 at 12:49 PM Fabio Estevam wrote: > > Hi Adam, > > On Thu, Apr 27, 2023 at 2:42 PM Adam Ford wrote: > > > There was some re-organization of the power domains in Linux in the > > device tree [1]. Do you know if those propagated to U-Boot? >

Re: [PATCH 2/3] arm: dts: imx8mn: Sync with Linux 6.3

2023-04-27 Thread Adam Ford
On Thu, Apr 27, 2023 at 1:08 PM Fabio Estevam wrote: > > From: Fabio Estevam > > Sync imx8mn.dtsi with Linux 6.3. > > Signed-off-by: Fabio Estevam Reviewed-by: Adam Ford > --- > arch/arm/dts/imx8mn.dtsi | 46 ++-- > 1 file ch

Re: [PATCH 3/3] arm: dts: imx8mp: Sync with Linux 6.3

2023-04-27 Thread Adam Ford
On Thu, Apr 27, 2023 at 1:09 PM Fabio Estevam wrote: > > From: Fabio Estevam > > Sync imx8mp.dtsi and imx8mp-clock.h with Linux 6.3. > > Signed-off-by: Fabio Estevam Reviewed-by: Adam Ford > --- > arch/arm/dts/imx8mp.dtsi | 374 --

Re: [PATCH 1/3] arm: dts: imx8mm: Sync with Linux 6.3

2023-04-27 Thread Adam Ford
CTRL+C and launching the ums again, the command did not work. > > Adam Ford suggested to sync imx8mm.dtsi with the Linux dts, as there was > a recent USB power domain reorganization there. > > After syncing the imx8mm.dtsi with Linux, the ums command works without > problem after a

Re: [PATCH 1/3] arm: dts: imx8mm: Sync with Linux 6.3

2023-04-28 Thread Adam Ford
On Thu, Apr 27, 2023 at 5:25 PM Tim Harvey wrote: > > On Thu, Apr 27, 2023 at 12:49 PM Fabio Estevam wrote: > > > > On Thu, Apr 27, 2023 at 4:44 PM Tim Harvey wrote: > > > > > Fabio, > > > > > > Sorry for the confusion. > > > > > > This imx8mm dt sync patch will hang on imx8mm boards that use 'b

Re: [PATCH 1/3] arm: dts: imx8mm: Sync with Linux 6.3

2023-04-28 Thread Adam Ford
On Fri, Apr 28, 2023 at 10:27 AM Tim Harvey wrote: > > On Fri, Apr 28, 2023 at 4:57 AM Adam Ford wrote: > > > > On Thu, Apr 27, 2023 at 5:25 PM Tim Harvey wrote: > > > > > > On Thu, Apr 27, 2023 at 12:49 PM Fabio Estevam wrote: > > > > &g

Re: [PATCH 1/3] arm: dts: imx8mm: Sync with Linux 6.3

2023-04-28 Thread Adam Ford
On Fri, Apr 28, 2023 at 11:26 AM Fabio Estevam wrote: > > Hi Tim, > > On Fri, Apr 28, 2023 at 12:48 PM Tim Harvey wrote: > > > Yes I think that is similar enough to test. In my experience simply > > enabling otg2 via dt on imx8mm-evk shows the issue I see here but > > Fabio says he sees a hang on

Re: [PATCH 3/3] arm: dts: imx8mp: Sync with Linux 6.3

2023-05-19 Thread Adam Ford
On Fri, May 19, 2023 at 5:19 PM Tim Harvey wrote: > > On Wed, May 3, 2023 at 9:11 AM Tim Harvey wrote: > > > > On Thu, Apr 27, 2023 at 11:09 AM Fabio Estevam wrote: > > > > > > From: Fabio Estevam > > > > > > Sync imx8mp.dtsi and imx8mp-clock.h with Linux 6.3. > > > > > > Signed-off-by: Fabio E

Re: [PATCH 3/3] arm: dts: imx8mp: Sync with Linux 6.3

2023-05-19 Thread Adam Ford
On Fri, May 19, 2023 at 5:34 PM Tim Harvey wrote: > > On Fri, May 19, 2023 at 3:31 PM Tim Harvey wrote: > > > > On Fri, May 19, 2023 at 3:27 PM Adam Ford wrote: > > > > > > On Fri, May 19, 2023 at 5:19 PM Tim Harvey wrote: > > > > > >

Re: [PATCH 3/3] arm: dts: imx8mp: Sync with Linux 6.3

2023-05-22 Thread Adam Ford
On Mon, May 22, 2023 at 3:49 PM Fabio Estevam wrote: > > Hi Tim, > > On Fri, May 19, 2023 at 8:00 PM Tim Harvey wrote: > > > Fabio, > > > > There's more to be done here also. With this patch, and with the > > spba-bus added to u-boot.dtsi, if you try to enable usb (usb start) > > you get: > > sta

Re: [PATCH] Revert "spl: Drop bd_info in the data section"

2021-04-09 Thread Adam Ford
On Fri, Apr 9, 2021 at 2:20 PM Alex G. wrote: > > Hi Simon > > On 4/8/21 6:55 PM, Simon Glass wrote: > > Hi Alexandru, > > > > On Fri, 9 Apr 2021 at 04:56, Alexandru Gagniuc wrote: > >> > >> This reverts commit 38d6b7ebdaee3e0e8426ef1b9df88bdce8ae2e75. > >> > >> struct global_data contains a poin

Re: [PATCH] Revert "spl: Drop bd_info in the data section"

2021-04-16 Thread Adam Ford
On Fri, Apr 16, 2021 at 3:41 PM Tim Harvey wrote: > > On Mon, Apr 12, 2021 at 11:44 AM Simon Glass wrote: > > > > Hi Tom, > > > > On Tue, 13 Apr 2021 at 06:38, Tom Rini wrote: > > > > > > On Tue, Apr 13, 2021 at 06:26:08AM +1200, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Tue, 13 Apr

Re: [PATCH V2 24/24] ARM: imx8m: verdin-imx8mm: Enable USB Host support

2021-04-28 Thread Adam Ford
On Tue, Apr 27, 2021 at 10:50 AM Tim Harvey wrote: > > On Mon, Apr 26, 2021, 5:35 PM Marek Vasut wrote: > > > > On 4/27/21 2:01 AM, Tim Harvey wrote: > > [...] > > >>> Why would the power domain get probed/enabled for the usbotg2 > > >>> bus but not the usbotg1 bus? Here is some debugging: > > >>

Re: [RFC PATCH u-boot 00/12] U-Boot LTO (Sandbox + ARM Nokia RX-51)

2021-05-09 Thread Adam Ford
On Sat, Mar 6, 2021 at 10:06 PM Marek Behun wrote: > > On Sat, 6 Mar 2021 21:45:02 -0600 > Adam Ford wrote: > > > On Sat, Mar 6, 2021 at 3:49 PM Marek Behun wrote: > > > > > > On Sat, 6 Mar 2021 22:38:52 +0100 > > > Pali Rohár wrote: > > >

Re: [PATCH 10/10] arm: imx: imx8m: Add basic PSCI provider implementation

2022-12-21 Thread Adam Ford
nd imx8mn respectively? > CONFIG_ARM_SMCCC=y > CONFIG_SYS_HAS_ARMV8_SECURE_BASE=y > > Signed-off-by: Marek Vasut > --- > Cc: "Ariel D'Alessandro" > Cc: "NXP i.MX U-Boot Team" > Cc: "Ying-Chun Liu (PaulLiu)" > Cc: Adam Ford > Cc: Andrejs Cainikovs >

Re: [PATCH 10/10] arm: imx: imx8m: Add basic PSCI provider implementation

2023-01-02 Thread Adam Ford
On Wed, Dec 21, 2022 at 9:58 PM Marek Vasut wrote: > > On 12/22/22 04:05, Adam Ford wrote: > > On Wed, Dec 21, 2022 at 6:47 PM Marek Vasut wrote: > >> > >> Implement basic PSCI provider to let OS turn CPU cores off and on, > >> power off and restart the

Re: [PATCH 10/10] arm: imx: imx8m: Add basic PSCI provider implementation

2023-01-02 Thread Adam Ford
On Mon, Jan 2, 2023 at 5:41 PM Marek Vasut wrote: > > On 1/2/23 17:44, Adam Ford wrote: > > On Wed, Dec 21, 2022 at 9:58 PM Marek Vasut wrote: > >> > >> On 12/22/22 04:05, Adam Ford wrote: > >>> On Wed, Dec 21, 2022 at 6:47 PM Marek Vasut wrote: >

Re: [PATCH 10/10] arm: imx: imx8m: Add basic PSCI provider implementation

2023-01-02 Thread Adam Ford
On Mon, Jan 2, 2023 at 5:58 PM Marek Vasut wrote: > > On 1/3/23 00:47, Adam Ford wrote: > > On Mon, Jan 2, 2023 at 5:41 PM Marek Vasut wrote: > >> > >> On 1/2/23 17:44, Adam Ford wrote: > >>> On Wed, Dec 21, 2022 at 9:58 PM Marek Vasut wrote: > &

[PATCH] arm: dts: rz-g2-beacon-u-boot: Fix QSPI Regression

2023-01-04 Thread Adam Ford
Signed-off-by: Adam Ford diff --git a/arch/arm/dts/rz-g2-beacon-u-boot.dtsi b/arch/arm/dts/rz-g2-beacon-u-boot.dtsi index 4d17854918..da1c3b0939 100644 --- a/arch/arm/dts/rz-g2-beacon-u-boot.dtsi +++ b/arch/arm/dts/rz-g2-beacon-u-boot.dtsi @@ -45,7 +45,6 @@ }; &rpc { - compatible =

[PATCH] arm: rmobile: rzg2_beacon: Enable alternative Ethernet PHY

2023-01-04 Thread Adam Ford
Due to the part shortage, the AR8031 PHY was replaced with a Micrel KSZ9131. Enabling both config options keeps backward compatibility with either platform, and both appear to be auto-detected. Signed-off-by: Adam Ford diff --git a/configs/rzg2_beacon_defconfig b/configs/rzg2_beacon_defconfig

Applying DTB Overlays from ATF on RZ/G2

2023-01-04 Thread Adam Ford
ATF generates a couple memory nodes based on how it's compiled and generates a reserved-memory node, and I want to overlay it with the device tree so Linux knows about this reserved memory. When I boot U-Boot, I can read the reserved-memory node: => fdt addr 0xe631e588 Working FDT set to e631e588

Re: Applying DTB Overlays from ATF on RZ/G2

2023-01-04 Thread Adam Ford
On Wed, Jan 4, 2023 at 5:15 PM Heinrich Schuchardt wrote: > > On 1/4/23 22:35, Adam Ford wrote: > > ATF generates a couple memory nodes based on how it's compiled and > > generates a reserved-memory node, and I want to overlay it with the > > device tree so Linux kno

Re: [PATCH] arm: rmobile: rzg2_beacon: Enable alternative Ethernet PHY

2023-01-05 Thread Adam Ford
On Wed, Jan 4, 2023 at 7:46 PM Marek Vasut wrote: > > On 1/4/23 19:05, Adam Ford wrote: > > Due to the part shortage, the AR8031 PHY was replaced with a > > Micrel KSZ9131. Enabling both config options keeps backward > > compatibility with either platform, and both appear

Re: Applying DTB Overlays from ATF on RZ/G2

2023-01-07 Thread Adam Ford
On Wed, Jan 4, 2023 at 5:55 PM Marek Vasut wrote: > > On 1/5/23 00:48, Heinrich Schuchardt wrote: > > Am 5. Januar 2023 00:19:36 MEZ schrieb Adam Ford : > >> On Wed, Jan 4, 2023 at 5:15 PM Heinrich Schuchardt > >> wrote: > >>> > >>> On

Re: Applying DTB Overlays from ATF on RZ/G2

2023-01-08 Thread Adam Ford
On Sat, Jan 7, 2023 at 6:01 AM Adam Ford wrote: > > On Wed, Jan 4, 2023 at 5:55 PM Marek Vasut wrote: > > > > On 1/5/23 00:48, Heinrich Schuchardt wrote: > > > Am 5. Januar 2023 00:19:36 MEZ schrieb Adam Ford : > > >> On Wed, Jan 4, 2023 at 5:1

Re: Applying DTB Overlays from ATF on RZ/G2

2023-01-09 Thread Adam Ford
On Mon, Jan 9, 2023 at 2:46 AM Biju Das wrote: > > Hi Adam, > > > Subject: Re: Applying DTB Overlays from ATF on RZ/G2 > > > > On Sat, Jan 7, 2023 at 6:01 AM Adam Ford wrote: > > > > > > On Wed, Jan 4, 2023 at 5:55 PM Marek Vasut wrote: > > >

Re: Applying DTB Overlays from ATF on RZ/G2

2023-01-10 Thread Adam Ford
On Tue, Jan 10, 2023 at 7:02 AM Marek Vasut wrote: > > On 1/7/23 13:01, Adam Ford wrote: > > On Wed, Jan 4, 2023 at 5:55 PM Marek Vasut wrote: > >> > >> On 1/5/23 00:48, Heinrich Schuchardt wrote: > >>> Am 5. Januar 2023 00:19:36 MEZ schrieb Adam Fo

Re: Applying DTB Overlays from ATF on RZ/G2

2023-01-11 Thread Adam Ford
On Tue, Jan 10, 2023 at 7:40 AM Marek Vasut wrote: > > On 1/10/23 14:19, Adam Ford wrote: > > On Tue, Jan 10, 2023 at 7:02 AM Marek Vasut wrote: > >> > >> On 1/7/23 13:01, Adam Ford wrote: > >>> On Wed, Jan 4, 2023 at 5:55 PM Marek Vasut wrote: > >

Re: [PATCH 1/5] configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV

2023-12-12 Thread Adam Ford
On Thu, Oct 26, 2023 at 9:20 AM Fabio Estevam wrote: > > On Wed, Oct 25, 2023 at 8:05 PM Adam Ford wrote: > > > > The hardware only supports a specific console port, so remove the > > option to change the console location in the environment. > > > > Signed-o

Re: [PATCH 2/2] ARM: dts: imx8mm-venice: prepare for dek blob encapsulation

2023-12-15 Thread Adam Ford
On Fri, Dec 15, 2023 at 12:41 PM Fabio Estevam wrote: > > Hi Tim, > > On Fri, Dec 15, 2023 at 3:34 PM Tim Harvey wrote: > > > Fabio, > > > > The commit log details are not valid for upstream. I was basing this > > off of 8d060e4a66d6884341fbb3d8ab1d837a3f173d47 which made it upstream > > with the

[PATCH 1/2] renesas: beacon-rzg2m: Add Marek to MAINTAINER file

2024-06-01 Thread Adam Ford
Since any changes to the RZ/G2 family go through Marek's tree, update the MAINTAINER file to automatically show his name when running get_maintainer.pl. Without this, he is not copied. Signed-off-by: Adam Ford diff --git a/board/beacon/beacon-rzg2m/MAINTAINERS b/board/beacon/beacon-

[PATCH 2/2] configs: rzg2_beacon: Realign ENV location and offset

2024-06-01 Thread Adam Ford
The ENV size and offset were changed to different values in Beacon's downstream release. Change them to the same values as the downstream for consistent behavior. Signed-off-by: Adam Ford diff --git a/configs/rzg2_beacon_defconfig b/configs/rzg2_beacon_defconfig index 4aabb1fe03..234c9

Re: USB OTG mode for DWC3 (ie imx8mp) host controller with usb_ether USB Ethernet gadget?

2024-06-24 Thread Adam Ford
On Mon, Jun 24, 2024 at 2:39 PM Tim Harvey wrote: > > Greetings, > > What is missing in U-Boot for the DWC3 host controller to support OTG > mode for usb_ether (USB Ethernet gadget)? I'm unable to get the usb > ethernet gadget to work for the imx8mp as it errors out with 'No UDC > available in the

[PATCH] ARM: dts: imx8mp-beacon-kit-u-boot: Drop EQoS clock work-around

2024-07-04 Thread Adam Ford
Since commit ecb1c37a7b64 ("clk: imx8mp: Add EQoS MAC clock"), the clocks for the DWMAC driver can be configured, and removing them breaks operation. Fixes: ecb1c37a7b64 ("clk: imx8mp: Add EQoS MAC clock") Suggested-by: Tim Harvey Signed-off-by: Adam Ford diff --git a

[PATCH] ti: omap: am3517evm: Move environment definition to env file

2024-07-08 Thread Adam Ford
Instead of cluttering up a header file with a bunch of defines, move the default environmental variables to a file called am3517evm.env and reference it from the defconfig. Also remove dead comments. Signed-off-by: Adam Ford diff --git a/board/logicpd/am3517evm/am3517evm.env b/board/logicpd

Re: [PATCH v1] tools: mkimage: Add support for i.MXRT FlexSPI Header

2024-01-25 Thread Adam Ford
On Thu, Jan 25, 2024 at 2:10 PM Fabio Estevam wrote: > > Hi Adam, > > On Tue, Jan 23, 2024 at 11:15 PM Jesse Taube wrote: > > > > Modify imx8m Flex SPI Configuration Block to work with imxrt. > > Add more Flex SPI configuration options to Kconfig. > > > > Signed-off-by: Jesse Taube > > Could you

Re: [PATCH v1] tools: mkimage: Add support for i.MXRT FlexSPI Header

2024-01-25 Thread Adam Ford
aster' doesn't fully boot the FSPI, but when I applied this patch against a working version, it still worked when I was done. I'll try to git bisect the issue when I have time, but for now: Tested-by: Adam Ford #imx8mn-beacon adam > --- > include/imximage.h | 42 +++

Re: [PATCH v1] tools: mkimage: Add support for i.MXRT FlexSPI Header

2024-01-26 Thread Adam Ford
On Fri, Jan 26, 2024 at 1:11 PM Fabio Estevam wrote: > > Hi Adam, > > On Thu, Jan 25, 2024 at 7:37 PM Adam Ford wrote: > > > I had to go back in time, because it appears the current version of > > 'master' doesn't fully boot the FSPI, but when I applie

[PATCH] arm64: imx: imx8mp-beacon: Add support for 4GB Variant

2023-11-16 Thread Adam Ford
A new variant of the i.MX8MP System-on-module from Beacon is available which contains 4GB of RAM vs 6GB. The memory timings are slightly different, so a different config is necessary to build the different timing file. Signed-off-by: Adam Ford diff --git a/board/beacon/imx8mp/Kconfig b/board

Re: [PATCH] arm64: imx: imx8mp-beacon: Add support for 4GB Variant

2023-11-17 Thread Adam Ford
On Fri, Nov 17, 2023 at 8:41 AM Tom Rini wrote: > > On Thu, Nov 16, 2023 at 07:31:53PM -0600, Adam Ford wrote: > > > A new variant of the i.MX8MP System-on-module from Beacon is > > available which contains 4GB of RAM vs 6GB. The memory > > timings are slightly diffe

Re: [PATCH 023/149] board: beacon: Remove and add needed includes

2024-05-01 Thread Adam Ford
On Tue, Apr 30, 2024 at 9:43 PM Tom Rini wrote: > > Remove from this board vendor directory and when needed > add missing include files directly. > > Signed-off-by: Tom Rini Acked-by: Adam Ford > --- > Cc: Adam Ford > --- > board/beacon/beacon-rzg2m/beacon-rz

Re: [PATCH 048/149] board: davinci: Remove and add needed includes

2024-05-01 Thread Adam Ford
On Tue, Apr 30, 2024 at 9:44 PM Tom Rini wrote: > > Remove from this board vendor directory and when needed > add missing include files directly. > > Signed-off-by: Tom Rini Acked-by: Adam Ford > --- > Cc: Adam Ford > --- > board/davinci/da8xxevm/da850evm.c

Re: [PATCH 086/149] board: logicpd: Remove and add needed includes

2024-05-01 Thread Adam Ford
On Tue, Apr 30, 2024 at 9:44 PM Tom Rini wrote: > > Remove from this board vendor directory and when needed > add missing include files directly. > > Signed-off-by: Tom Rini Acked-by: Adam Ford > --- > Cc: Adam Ford > --- > board/logicpd/am3517evm/am3517evm.c

[PATCH V2 1/4] arm: davinci: Migrate da850-evm to OF_UPSTREAM

2024-05-01 Thread Adam Ford
The da850-evm can remove the U-Boot device trees if migrated to OF_UPSTREAM. This means pointing the device trees to the ti/davinci directory. Signed-off-by: Adam Ford --- v2: Remove DTS from Makefile. diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index c9f1b25ad6..d6135c41ad

[PATCH V2 2/4] arm: ti: am3517_evm: Migrate to OF_UPSTREAM

2024-05-01 Thread Adam Ford
With the feature of OF_UPSTREAM now available, the device trees for the SOM and baseboard can now deleted and the device tree locations need to point to the ti/omap directory. Signed-off-by: Adam Ford --- V2: Remove DT reference from Makefile. diff --git a/arch/arm/dts/Makefile b/arch/arm/dts

[PATCH V2 3/4] arm: ti: logicpd-torpedo: Migrate to OF_UPSTREAM

2024-05-01 Thread Adam Ford
updated, the U-Boot device tree files can be deleted. Signed-off-by: Adam Ford --- V2: Remove DT from Makefile diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index f9b582a87e..b163ae18fc 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -1143,9 +1143,7 @@ dtb

[PATCH V2 4/4] arm: ti: logicpd-som-lv: Migrate to OF_UPSTREAM

2024-05-01 Thread Adam Ford
updated, the U-Boot device tree files can be deleted. Signed-off-by: Adam Ford --- V2: Remove DT from Makefile diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index b163ae18fc..a4c2ef2aaa 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -1141,10 +1141,6 @@ dtb

Re: [PATCH] ARM: dts: renesas: Remove leftovers after OF_UPSTREAM conversion

2024-05-20 Thread Adam Ford
On Sun, May 19, 2024 at 3:40 PM Marek Vasut wrote: > > Remove leftover DTSI files after OF_UPSTREAM conversion. > Those are no longer used and no longer necessary, remove them. > No functional change. > This seems like the right thing to do. > Signed-off-by: Marek Vasut A

[PATCH 1/3] arm64: imx: imx8mp-beacon: Migrate to OF_UPSTREAM

2024-04-03 Thread Adam Ford
The imx8mp-beacon boards can migrate to OF_UPSTREAM which also allows for the removal the device tree files. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index d85a33055c..04ffa1f165 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -1095,7

[PATCH 2/3] arm64: imx: imx8mm-beacon: Migrate to OF_UPSTREAM

2024-04-03 Thread Adam Ford
The imx8mm-beacon boards can migrate to OF_UPSTREAM which also allows for the removal the device tree files. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 04ffa1f165..443d651827 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -1091,7

[PATCH 3/3] arm64: imx: imx8mn-beacon: Migrate to OF_UPSTREAM

2024-04-03 Thread Adam Ford
The imx8mn-beacon boards can migrate to OF_UPSTREAM which also allows for the removal the device tree files. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 443d651827..6ddd6e311e 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -1091,7

[PATCH 1/4] arm: davinci: Migrate da850-evm to OF_UPSTREAM

2024-04-03 Thread Adam Ford
The da850-evm can remove the U-Boot device trees if migrated to OF_UPSTREAM. This means pointing the device trees to the ti/davinci directory. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/da850-evm.dts b/arch/arm/dts/da850-evm.dts deleted file mode 100644 index 378af9f344..00

[PATCH 2/4] arm: ti: am3517_evm: Migrate to OF_UPSTREAM

2024-04-03 Thread Adam Ford
With the feature of OF_UPSTREAM now available, the device trees for the SOM and baseboard can now deleted and the device tree locations need to point to the ti/omap directory. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/am3517-evm.dts b/arch/arm/dts/am3517-evm.dts deleted file mode

[PATCH 3/4] arm: ti: logicpd-torpedo: Migrate to OF_UPSTREAM

2024-04-03 Thread Adam Ford
updated, the U-Boot device tree files can be deleted. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/logicpd-torpedo-35xx-devkit-u-boot.dtsi b/arch/arm/dts/logicpd-torpedo-35xx-devkit-u-boot.dtsi index 4744872f7c..d14d68e458 100644 --- a/arch/arm/dts/logicpd-torpedo-35xx-devkit-u-boot.dtsi

[PATCH 4/4] arm: ti: logicpd-som-lv: Migrate to OF_UPSTREAM

2024-04-03 Thread Adam Ford
updated, the U-Boot device tree files can be deleted. 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 6f11852a33..d77fa38746 100644 --- a/arch/arm/dts/logicpd-som-lv-35xx-devkit-u-boot.dtsi

Re: [PATCH 1/4] arm: davinci: Migrate da850-evm to OF_UPSTREAM

2024-04-16 Thread Adam Ford
On Thu, Apr 11, 2024 at 7:05 PM Tom Rini wrote: > > On Wed, Apr 03, 2024 at 10:00:09PM -0500, Adam Ford wrote: > > > The da850-evm can remove the U-Boot device trees if migrated > > to OF_UPSTREAM. This means pointing the device trees to the > > ti/davinci directory.

Re: [PATCH 1/4] arm: davinci: Migrate da850-evm to OF_UPSTREAM

2024-04-24 Thread Adam Ford
On Tue, Apr 16, 2024 at 6:53 AM Adam Ford wrote: > > On Thu, Apr 11, 2024 at 7:05 PM Tom Rini wrote: > > > > On Wed, Apr 03, 2024 at 10:00:09PM -0500, Adam Ford wrote: > > > > > The da850-evm can remove the U-Boot device trees if migrated > > > to OF

Re: [PATCH] arm: imx: imx8m: Enable the SError exception

2024-02-02 Thread Adam Ford
On Fri, Jan 12, 2024 at 1:07 AM Ye Li wrote: > > To work with commit 2f3c920(imx8m: workaround ROM serror), > we need to enable the SError exception and install vector in SPL. > > Signed-off-by: Ye Li > Reviewed-by: Peng Fan > --- > arch/arm/mach-imx/imx8m/Kconfig | 3 +++ > 1 file changed, 3 i

Re: [PATCH 7/7] verdin-imx8mp_defconfig: Enable PCIe/NVMe support

2024-02-21 Thread Adam Ford
On Wed, Feb 21, 2024 at 6:27 AM Marek Vasut wrote: > > On 2/21/24 13:12, Sumit Garg wrote: > > On Wed, 21 Feb 2024 at 16:11, Marek Vasut wrote: > >> > >> On 2/21/24 10:18, Marcel Ziswiler wrote: > >>> Hi Sumit > >>> > >>> On Wed, 2024-02-21 at 08:55 +0100, Francesco Dolcini wrote: > Hello Su

Re: [PATCH v2 5/8] phy: phy-imx8m-pcie: Add support for i.MX8M{M/P} PCIe PHY

2024-02-27 Thread Adam Ford
On Mon, Feb 26, 2024 at 2:05 AM Sumit Garg wrote: > > Add initial support for i.MX8M{M/P} PCIe PHY. On i.MX8M{M/P} SoCs PCIe > PHY initialization moved to this standalone PHY driver. > > Inspired from counterpart Linux kernel v6.8-rc3 driver: > drivers/phy/freescale/phy-fsl-imx8m-pcie.c. I have a

Re: [PATCH v2 6/8] pci: Add DW PCIe controller support for iMX8MP SoC

2024-02-27 Thread Adam Ford
On Mon, Feb 26, 2024 at 2:05 AM Sumit Garg wrote: > > pcie_imx doesn't seem to share any useful code for iMX8 SoC and it is > tied to quite old port of pcie_designware driver from Linux which > suffices only iMX6 specific needs. > > But currently we have the common DWC specific bits which alligns

Re: [PATCH 03/13] imx: ddr: imx8m: add print for DRAM rate

2020-12-28 Thread Adam Ford
On Mon, Dec 28, 2020 at 7:27 AM Peng Fan (OSS) wrote: > > From: Ye Li > > Enable print to show the DRAM rate of current setting and training > result. > > Signed-off-by: Ye Li > Reviewed-by: Peng Fan > Signed-off-by: Peng Fan > --- > drivers/ddr/imx/imx8m/ddr_init.c | 7 --- > drivers

Re: [PATCH 05/13] imx: imx8mn_evk: correct stack/malloc adress

2020-12-29 Thread Adam Ford
On Mon, Dec 28, 2020 at 7:28 AM Peng Fan (OSS) wrote: > > From: Peng Fan > > Move SP to end of OCRAM space. Drop MALLOC_F to make it alloc from > stack space. > > Signed-off-by: Peng Fan > --- > drivers/power/power_i2c.c| 8 > include/configs/imx8mn_evk.h | 9 +++-- > 2 files c

[PATCH 1/2] imx8mm_beacon: Enable fixed regulator in SPL

2020-12-30 Thread Adam Ford
Because SPL can support SD UHS, the fixed regulator needs to be enabled in SPL to reset the SD card. Fixes: 1a5d9c84b472 ("imx8mm_beacon: Enable HS400 on MMC controller") Signed-off-by: Adam Ford diff --git a/configs/imx8mm_beacon_defconfig b/configs/imx8mm_beacon_defconfig index

[PATCH 2/2] ARM: dts: imx8mm-beacon: add UHS and HS400/HS400ES properties

2020-12-30 Thread Adam Ford
-beacon-kit-u-boot.dtsi Suggested-by: Andrey Zhizhikin 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 6d80a529ae..d7da29c592 100644 --- a/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi +++ b/arch/arm/dts/imx8mm

Re: [PATCH 2/2] ARM: dts: imx8mm-beacon: add UHS and HS400/HS400ES properties

2020-12-30 Thread Adam Ford
On Wed, Dec 30, 2020 at 8:22 AM Fabio Estevam wrote: > > Hi Adam, > > On Wed, Dec 30, 2020 at 11:14 AM Adam Ford wrote: > > > &usdhc2 { > > u-boot,dm-spl; > > + sd-uhs-sdr104; > > + sd-uhs-ddr50; > > Shouldn't these

  1   2   3   4   5   6   7   8   9   10   >