[PATCH] imx: imx8mm-beacon: Remove relocation restrictions

2020-12-30 Thread Adam Ford
The system is capable of relocating RAM disks and the kernel. Remove these restrictions to prevent it. Signed-off-by: Adam Ford diff --git a/include/configs/imx8mm_beacon.h b/include/configs/imx8mm_beacon.h index 3c9541187f..9742d1310d 100644 --- a/include/configs/imx8mm_beacon.h +++ b/include

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 9:24 AM Fabio Estevam wrote: > > On Wed, Dec 30, 2020 at 11:45 AM Adam Ford wrote: > > > Linux doesn't appear to need it, and no 64-bit imx boards in Linux > > appear to use them. Some layerscape boards appear to use these flags. > > If i

[RFC] mmc: fsl_esdhc_imx: Use esdhc_soc_data flags to set host caps

2020-12-30 Thread Adam Ford
host caps where applicable. Suggested-by: Fabio Estevam Signed-off-by: Adam Ford --- I am not an expert on the SD/MMC standards, but I used the Linux driver as a model, and made the assumption that the USDHC flag needs to be set in order to use the extra speeds. diff --git a/drivers/mmc/fsl_esdhc_

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 10:34 AM Fabio Estevam wrote: > > On Wed, Dec 30, 2020 at 1:29 PM Adam Ford wrote: > > > In the meantime, would you be opposed to this patch since other imx8m > > kits have the equivalent patch already applied? They could be removed > > if

Re: IMX8MM SD UHS support

2020-12-30 Thread Adam Ford
On Wed, Dec 30, 2020 at 11:50 AM Fabio Estevam wrote: > > Hi Tim, > > On Wed, Dec 30, 2020 at 1:54 PM Tim Harvey wrote: > > > Andrey, > > > > I did mention that I am using the imx8mm-evk. When I saw that my > > custom board was having issues with sd_get_capabilities() I switched > > to the imx8mm

Re: IMX8MM SD UHS support

2020-12-30 Thread Adam Ford
On Wed, Dec 30, 2020 at 12:47 PM Tim Harvey wrote: > > On Wed, Dec 30, 2020 at 10:22 AM Adam Ford wrote: > > > > On Wed, Dec 30, 2020 at 11:50 AM Fabio Estevam wrote: > > > > > > Hi Tim, > > > > > > On Wed, Dec 30, 2020 at 1:54 PM Tim Harv

[PATCH] spi: renesas_rpc_spi: Fix fallback compatibility string

2021-01-04 Thread Adam Ford
ty string") Signed-off-by: Adam Ford diff --git a/drivers/spi/renesas_rpc_spi.c b/drivers/spi/renesas_rpc_spi.c index d0ff918af8..0724a03a34 100644 --- a/drivers/spi/renesas_rpc_spi.c +++ b/drivers/spi/renesas_rpc_spi.c @@ -454,7 +454,7 @@ static const struct udevice_id rpc_spi_ids[] = {

Re: [RFC] mmc: fsl_esdhc_imx: Use esdhc_soc_data flags to set host caps

2021-01-05 Thread Adam Ford
On Tue, Jan 5, 2021 at 4:07 PM Jaehoon Chung wrote: > > Hi Adam, > +CC: Tim Harvey, > On 12/31/20 2:39 AM, Adam Ford wrote: > > The Linux driver automatically can detect and enable UHS, HS200, HS400 > > and HS400_ES automatically without extra flags being placed

Re: [RFC] mmc: fsl_esdhc_imx: Use esdhc_soc_data flags to set host caps

2021-01-07 Thread Adam Ford
On Wed, Jan 6, 2021 at 7:06 PM Tim Harvey wrote: > > On Tue, Jan 5, 2021 at 2:20 PM Adam Ford wrote: > > > > On Tue, Jan 5, 2021 at 4:07 PM Jaehoon Chung wrote: > > > > > > Hi Adam, > > > > > +CC: Tim Harvey, > > > > > On 12/31/2

Re: [PATCH 1/1] image: usage of value ~0UL for intrd_high

2021-01-10 Thread Adam Ford
On Sat, Jan 9, 2021 at 5:23 PM Heinrich Schuchardt wrote: > > Am 9. Januar 2021 22:23:01 MEZ schrieb Tom Rini : > >On Sat, Jan 09, 2021 at 08:59:01PM +0100, Heinrich Schuchardt wrote: > >> Am 9. Januar 2021 20:40:04 MEZ schrieb Tom Rini : > >> >On Sat, Jan 09, 2021 at 08:33:40PM +0100, Heinrich Sc

Re: [PATCH] spi: renesas_rpc_spi: Fix fallback compatibility string

2021-01-12 Thread Adam Ford
On Tue, Jan 5, 2021 at 6:08 AM Biju Das wrote: > > Hi Adam, > > Thanks for the patch. > > > -Original Message- > > From: Adam Ford > > Sent: 04 January 2021 17:38 > > To: u-boot@lists.denx.de > > Cc: ja...@amarulasolutions.com; Biju

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

2021-01-12 Thread Adam Ford
On Fri, Dec 11, 2020 at 6:02 AM Adam Ford wrote: > > Beacon EmbeddedWorks is releasing a devkit based on the i.MX8M > Nano SoC consisting of baseboard + SOM. > > The kit is based on the same design as the Beacon dev kit with > the i.MX8M Mini. > > Signed-off-by: Adam Fo

[PATCH 1/5] arm: dts: r8a774a1: Import DTS queued for Linux 5.12-rc1

2021-01-12 Thread Adam Ford
Update the RZ/G2M dtsi and r8a774a1-beacon-rzg2m-kit kit from Renesas repo destined to become 5.12-rc1. Signed-off-by: Adam Ford --- arch/arm/dts/beacon-renesom-baseboard.dtsi | 359 - arch/arm/dts/beacon-renesom-som.dtsi | 57 +++- arch/arm/dts/r8a774a1-beacon-rzg2m

[PATCH 3/5] arm: dts: r8a774b1: Import DTS queued for Linux 5.12-rc1

2021-01-12 Thread Adam Ford
Update the RZ/G2N dtsi from Renesas repo destined to become 5.12-rc1. Signed-off-by: Adam Ford --- arch/arm/dts/r8a774b1.dtsi | 76 +- 1 file changed, 74 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/r8a774b1.dtsi b/arch/arm/dts/r8a774b1.dtsi index

[PATCH 4/5] ARM: rmobile: Add Beacon EmbeddedWorks RZG2N Dev Kit

2021-01-12 Thread Adam Ford
: Adam Ford --- arch/arm/dts/Makefile | 1 + .../dts/r8a774b1-beacon-rzg2n-kit-u-boot.dtsi | 34 + arch/arm/dts/r8a774b1-beacon-rzg2n-kit.dts| 66 + arch/arm/mach-rmobile/Kconfig.64 | 5 ++ board/beacon/beacon-rzg2m/Kconfig

[PATCH 5/5] ARM: rmobile: Add Beacon EmbeddedWorks RZG2H Dev Kit

2021-01-12 Thread Adam Ford
. Signed-off-by: Adam Ford --- arch/arm/dts/Makefile | 1 + .../dts/r8a774e1-beacon-rzg2h-kit-u-boot.dtsi | 44 arch/arm/dts/r8a774e1-beacon-rzg2h-kit.dts| 71 +++ arch/arm/mach-rmobile/Kconfig.64 | 5 ++ board/beacon/beacon

[PATCH 2/5] arm: dts: r8a774e1: Import DTS queued for Linux 5.12-rc1

2021-01-12 Thread Adam Ford
Update the RZ/G2H dtsi from Renesas repo destined to become 5.12-rc1. Signed-off-by: Adam Ford --- arch/arm/dts/r8a774e1.dtsi | 1374 +++- 1 file changed, 1347 insertions(+), 27 deletions(-) diff --git a/arch/arm/dts/r8a774e1.dtsi b/arch/arm/dts/r8a774e1.dtsi

[PATCH 1/2] spi: nxp_fspi: Fix error reporting

2021-01-18 Thread Adam Ford
_fspi: new driver for the FlexSPI controller") Signed-off-by: Adam Ford diff --git a/drivers/spi/nxp_fspi.c b/drivers/spi/nxp_fspi.c index 006dd04b9e..d74561578a 100644 --- a/drivers/spi/nxp_fspi.c +++ b/drivers/spi/nxp_fspi.c @@ -815,7 +815,7 @@ static int nxp_fspi_default_setup(struct n

[PATCH 2/2] spi: nxp_fspi: Enable support for nxp,imx8mm-fspi

2021-01-18 Thread Adam Ford
The i.MX8M Mini can use the FlexSPI driver. Add support for it to the driver. Signed-off-by: Adam Ford diff --git a/drivers/spi/nxp_fspi.c b/drivers/spi/nxp_fspi.c index d74561578a..6c5bad4c2c 100644 --- a/drivers/spi/nxp_fspi.c +++ b/drivers/spi/nxp_fspi.c @@ -320,6 +320,14 @@ static const

[PATCH 1/2] imx8mm_beacon: Enable QSPI Support

2021-01-18 Thread Adam Ford
There is a QSPI chip connected to the FSPI. Enable the defconfig to support it. Signed-off-by: Adam Ford diff --git a/configs/imx8mm_beacon_defconfig b/configs/imx8mm_beacon_defconfig index 49d5453078..2970e5dc71 100644 --- a/configs/imx8mm_beacon_defconfig +++ b/configs

[PATCH 2/2] arm64: dts: imx8mm-beacon: Resync imx8mm-beacon-som with 5.11-rc4

2021-01-18 Thread Adam Ford
In order to support the QSPI chip on the SOM, the Flexspi bus needs to be configured to talk with the SPI chip. Resync the som device tree with 5.11-rc4 Signed-off-by: Adam Ford diff --git a/arch/arm/dts/imx8mm-beacon-som.dtsi b/arch/arm/dts/imx8mm-beacon-som.dtsi index b88c3c99b0..d897913537

Re: [PATCH 2/2] arm64: dts: imx8mm-beacon: Resync imx8mm-beacon-som with 5.11-rc4

2021-01-19 Thread Adam Ford
I chip. > > Resync the som device tree with 5.11-rc4 > > > > Signed-off-by: Adam Ford > > > > diff --git a/arch/arm/dts/imx8mm-beacon-som.dtsi > > b/arch/arm/dts/imx8mm-beacon-som.dtsi > > index b88c3c99b0..d897913537 100644 > > --- a/arch/arm/dts/imx8m

Re: IMX8MM SD UHS support

2021-01-19 Thread Adam Ford
On Tue, Jan 19, 2021 at 2:47 PM ZHIZHIKIN Andrey wrote: > > Hello Tim, > > > -Original Message- > > From: Tim Harvey > > Sent: Tuesday, January 19, 2021 6:32 PM > > To: ZHIZHIKIN Andrey > > Cc: haibo.c...@nxp.com; Adam Ford ; Fabio Estevam > &

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

2020-08-17 Thread Adam Ford
On Mon, Aug 17, 2020 at 9:41 AM Tom Rini wrote: > > On Sun, Aug 16, 2020 at 07:17:37AM -0500, 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. > > > > Thi

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

2020-08-18 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 --- V2: Fix typo diff --git a/drivers/net

[PATCH] arm: imx6q_logic: Enable I2C PMIC

2020-08-18 Thread Adam Ford
The PMIC which powers the whole board is connected to the I2C1 bus. This patch enables I2C. With this enabled, the PMIC needs to told to keep the rail enabled, or it gets shutdown before the system boots. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/imx6q-logicpd-u-boot.dtsi b/arch/arm

Re: [PATCH] arm: imx6q_logic: Enable I2C PMIC

2020-08-19 Thread Adam Ford
On Tue, Aug 18, 2020 at 9:33 PM Fabio Estevam wrote: > > Hi Adam, > > On Tue, Aug 18, 2020 at 6:20 PM Adam Ford wrote: > > > > The PMIC which powers the whole board is connected to the I2C1 > > bus. This patch enables I2C. With this enabled, the PMIC needs > &

[PATCH] ARM: imx6q_logic: Fix broken booting by moving fdt_addr_r address

2020-08-19 Thread Adam Ford
The loading address is too close to the kernel address, so newer kernels may overlap memory space, so loading the device tree may corrupt zImage. This patch moves the fdt_addr_r to 0x1800 which is also consistent with some other i.MX6Q boards. Signed-off-by: Adam Ford diff --git a/include

Re: [PATCH] ARM: imx6q_logic: Fix broken booting by moving fdt_addr_r address

2020-08-20 Thread Adam Ford
On Thu, Aug 20, 2020 at 7:17 AM Tom Rini wrote: > > On Wed, Aug 19, 2020 at 02:11:08PM -0500, Adam Ford wrote: > > > The loading address is too close to the kernel address, so newer kernels > > may overlap memory space, so loading the device tree may corrupt zImage. > &g

Re: [PATCH] ARM: imx6q_logic: Fix broken booting by moving fdt_addr_r address

2020-08-20 Thread Adam Ford
On Thu, Aug 20, 2020 at 8:11 AM Tom Rini wrote: > > On Thu, Aug 20, 2020 at 07:42:13AM -0500, Adam Ford wrote: > > On Thu, Aug 20, 2020 at 7:17 AM Tom Rini wrote: > > > > > > On Wed, Aug 19, 2020 at 02:11:08PM -0500, Adam Ford wrote: > > > > > >

[PATCH V2] ARM: imx6q_logic: Fix broken booting by moving fdt_addr_r address

2020-08-20 Thread Adam Ford
place as the ramdisk, so this patch moves the ramdisk address 512KB after the fdt. Signed-off-by: Adam Ford --- V2: Use 0x1400 instead of 0x1800 and move ramdisk to 0x1408 diff --git a/include/configs/imx6_logic.h b/include/configs/imx6_logic.h index 63662dd18d..6b992f9ab8 100644

Re: [PATCH u-boot v2 32/38] ARM: omap3: fix LTO for DM3730 (and possibly other omap3 boards)

2021-03-12 Thread Adam Ford
On Fri, Mar 12, 2021 at 4:35 AM Marek Behún wrote: > > Adam Ford says that DM3730 needs board.c compiled without LTO flags. > > Also add clock.c, since it says in Makefile that it need different > flags. > Tested-by: Adam Ford #omap3_logic > Signed-off-by: Marek Behún

Re: [PATCH u-boot v2 32/38] ARM: omap3: fix LTO for DM3730 (and possibly other omap3 boards)

2021-03-13 Thread Adam Ford
On Fri, Mar 12, 2021 at 7:43 AM Adam Ford wrote: > > On Fri, Mar 12, 2021 at 4:35 AM Marek Behún wrote: > > > > Adam Ford says that DM3730 needs board.c compiled without LTO flags. > > > > Also add clock.c, since it says in Makefile that it need different > >

Re: [PATCH] configs: omap3_logic: Enable CONFIG_SPL_ALLOC_BD

2021-03-13 Thread Adam Ford
On Thu, Mar 4, 2021 at 10:32 AM Adam Ford wrote: > > With bd_info dropped from the data section, the Logic PD OMAP3 boards > and AM3517 fail to boot. Enabling CONFIG_SPL_ALLOC_BD restores > them. > > Fixes: 38d6b7ebdaee ("spl: Drop bd_info in the data section") > Si

[PATCH] configs: omap35_logic_somlv: Fix MMC booting

2021-03-13 Thread Adam Ford
omap3/35_logic_somlv: Reduce SPL size") Signed-off-by: Adam Ford diff --git a/configs/omap35_logic_somlv_defconfig b/configs/omap35_logic_somlv_defconfig index e6655c7828..a8eab408f6 100644 --- a/configs/omap35_logic_somlv_defconfig +++ b/configs/omap35_logic_somlv_defconfig @@ -4,6 +4,7 @@ CO

Re: [PATCH u-boot v2 32/38] ARM: omap3: fix LTO for DM3730 (and possibly other omap3 boards)

2021-03-13 Thread Adam Ford
On Sat, Mar 13, 2021 at 10:05 AM Marek Behun wrote: > > On Sat, 13 Mar 2021 09:23:05 -0600 > Adam Ford wrote: > > > I have tested this on omap35_logic_somlv and the LTO flag removal > > isn't necessary for the clock.o > > Having the clock built with

Re: [PATCH] arm: omap3: Make try_unlock_memory() static

2021-03-16 Thread Adam Ford
On Mon, Mar 15, 2021 at 1:43 AM Lokesh Vutla wrote: > > > > On 07/03/21 9:23 am, Adam Ford wrote: > > try_unlock_memory() is only used in one file, so make it static > > in that file and remove it from the sys_proto header file. This > > may help with some furt

Re: [PATCH 1/2] arm: omap3: Make secureworld_exit() static

2021-03-17 Thread Adam Ford
On Sat, Mar 6, 2021 at 10:04 PM Adam Ford wrote: > > secureworld_exit() is only used in one file, so make it static > to that file and remove it from sys_proto.h. This > may help with some further optimization in the future. > > Signed-off-by: Adam Ford > Lokesh, Is this

[PATCH V2 3/3] arm: omap3: Make secure_unlock_mem() static

2021-03-18 Thread Adam Ford
secure_unlock_mem() is only used in one file, so make it static in that file. This may help with some further optimization in the future. Signed-off-by: Adam Ford --- arch/arm/mach-omap2/omap3/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/omap3

[PATCH V2 1/3] arm: omap3: Make try_unlock_memory() static

2021-03-18 Thread Adam Ford
future. Signed-off-by: Adam Ford --- arch/arm/include/asm/arch-omap3/sys_proto.h | 1 - arch/arm/mach-omap2/omap3/board.c | 17 + 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm/include/asm/arch-omap3/sys_proto.h b/arch/arm/include/asm/arch-omap3

[PATCH V2 0/3] arm: omap3: Make functions static when possible

2021-03-18 Thread Adam Ford
textdata bss dec hex filename 5098810531888 53929d2a9 spl/u-boot-spl After: textdata bss dec hex filename 5097210531888 53913d299 spl/u-boot-spl While not significant, a few bytes can be very helpful when SPL is limited. Adam Fo

[PATCH V2 2/3] arm: omap3: Make secureworld_exit() static

2021-03-18 Thread Adam Ford
secureworld_exit() is only used in one file, so make it static to that file and remove it from sys_proto.h. This may help with some further optimization in the future. Signed-off-by: Adam Ford --- arch/arm/include/asm/arch-omap3/sys_proto.h | 1 - arch/arm/mach-omap2/omap3/board.c | 2

OMAP3 clocks with ARM vs Thumb

2021-03-18 Thread Adam Ford
The arch/arm/mach-omap2/omap3/clock.c is being forced to compile with an ARM target even when thumb2 is the preferred target. The note in the makefile states it's due to a bootup issue with OMAP35. Since Thumb2 can help reduce code size, I thought I'd run some tests. The DM3730 can boot with clo

Re: OMAP3 clocks with ARM vs Thumb

2021-03-19 Thread Adam Ford
On Thu, Mar 18, 2021 at 8:25 PM Adam Ford wrote: > > The arch/arm/mach-omap2/omap3/clock.c is being forced to compile with > an ARM target even when thumb2 is the preferred target. The note in > the makefile states it's due to a bootup issue with OMAP35. > > Since Thum

[PATCH 1/2] arm: dts: imx8mn, imx8mn-beacon: Sync dts files with Kernel 5.12-rc5

2021-04-02 Thread Adam Ford
There have been a few updates including flexspi, so it's necessary to re-sync. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/imx8mn-beacon-baseboard.dtsi b/arch/arm/dts/imx8mn-beacon-baseboard.dtsi index 49bff19a78..376ca8ff72 100644 --- a/arch/arm/dts/imx8mn-beacon-baseboard.dtsi

[PATCH 2/2] configs: imx8mn_beacon: Enable QSPI Support

2021-04-02 Thread Adam Ford
There is a QSPI chip connected to the FSPI. Enable the defconfig to support it. Signed-off-by: Adam Ford diff --git a/configs/imx8mn_beacon_defconfig b/configs/imx8mn_beacon_defconfig index d6a3385d8d..567a6e5e1e 100644 --- a/configs/imx8mn_beacon_defconfig +++ b/configs

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

2020-05-03 Thread Adam Ford
Beacon EmbeddedWorks, formerly known as Logic PD, is releasing a devkit based on the i.MX8M Mini SoC consisting of baseboard + SOM. It supports eMMC on the SOM, microSD on the baseboard, various GPIO, the PINCTRL, and UART. Signed-off-by: Adam Ford --- V2: Remove do_reset from SPL and enable

[PATCH V2] ARM: omap3_logic boards: Convert to DM_ETH

2020-05-09 Thread Adam Ford
s and GPMC configuration for the Ethernet controller which is now being moved around to board_late_init(). Lastly, this patch updates the various config files to add the reference for DM_ETH and remove the SMC address, which is now fetched from the newly created device tree nodes. Signed-off-by: Adam Fo

[PATCH V2] usb: ehci-omap: Add Support DM_USB and OF_CONTROL

2020-05-10 Thread Adam Ford
er is completed and the phandle reference is made. Signed-off-by: Adam Ford --- V2: Rebase on master. There was some discussion a year ago, but I could not replicate the build issues on Travis, and Heiko beleives it was related to a different patch. I'd like to at least

Re: [PATCH 3/5] imx8mm_beacon: Select the watchdog driver

2020-05-11 Thread Adam Ford
Thanks for doing that! Reviewed-by: Adam Ford > Signed-off-by: Fabio Estevam > --- > configs/imx8mm_beacon_defconfig | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/configs/imx8mm_beacon_defconfig b/configs/imx8mm_beacon_defconfig > index b935d72360..a518963f48 100644 >

Re: [PATCH 4/8] drivers: ddr: imx8m: add print for DRAM rate

2020-05-11 Thread Adam Ford
On Mon, May 11, 2020 at 9:13 AM Fabio Estevam wrote: > > Hi Peng, > > On Mon, May 11, 2020 at 6:30 AM Peng Fan wrote: > > > > From: Ye Li > > > > Enable print to show the DRAM rate of current setting and training > > result. I am not a fan of this. > > > > Reviewed-by: Peng Fan > > Signed-off

Re: [PATCH 1/4] clk: clk-imx8mm: Add flexspi clock and fix set parent

2020-05-12 Thread Adam Ford
On Sun, May 3, 2020 at 7:37 AM Peng Fan wrote: > > From: Ye Li > > Add flexspi relevant clocks, and fix set parent clock, so we can > assign clocks through DTB In one place it's called flexspi, but in two other places it's called QSPI. I recognize that the FlexSPI is controlling a quad-spi no

[PATCH V3] usb: ehci-omap: Add Support for DM_USB and OF_CONTROL

2020-05-15 Thread Adam Ford
er is completed and the phandle reference is made. Signed-off-by: Adam Ford --- V3: The omap3 device tree shows a parent node called usbhshost and a subnode called usbhsehci. V3 splits this into two different drivers: one for the parent which initializes the HCD, and one for the a

Re: [PATCH 00/12] net: smc911x: Convert to DM

2020-03-23 Thread Adam Ford
On Sat, Mar 21, 2020 at 11:57 AM Marek Vasut wrote: > > On 3/17/20 7:17 AM, Masahiro Yamada wrote: > > Hi Marek, > > Hi, > > > On Mon, Mar 16, 2020 at 1:59 AM Marek Vasut wrote: > >> > >> Perform DM conversion of the SMC911x driver. Note that as I do not have Thanks for taking this on. > >> any

Re: [PATCH V4 00/13] net: smc911x: Convert to DM

2020-03-26 Thread Adam Ford
57 > examples/standalone/Makefile | 5 +- > examples/standalone/smc911x_eeprom.c | 150 +++ > 5 files changed, 602 insertions(+), 271 deletions(-) > > Cc: Joe Hershberger > Cc: Masahiro Yamada For the series: Tested-by: Adam Ford #omap3_logic > > -- > 2.25.1 >

Re: [PATCH V4 00/13] net: smc911x: Convert to DM

2020-03-26 Thread Adam Ford
On Thu, Mar 26, 2020 at 5:51 AM Marek Vasut wrote: > > On 3/26/20 11:47 AM, Adam Ford wrote: > > On Wed, Mar 25, 2020 at 11:47 AM Marek Vasut wrote: > >> > >> Perform DM conversion of the SMC911x driver. > >> > >> Note that the DT compatible is s

[PATCH] ARM: omap3_logic boards: Convert to DM_ETH

2020-03-26 Thread Adam Ford
s and GPMC configuration for the Ethernet controller which is now being moved around to board_late_init(). Lastly, this patch updates the various config files to add the reference for DM_ETH and remove the SMC address, which is now fetched from the newly created device tree nodes. Signed-off-by: Adam F

Re: [PATCH] ARM: rmobile: Add missing rcar-common/common.c to Beacon RZG2M kit

2021-05-12 Thread Adam Ford
gned-off-by: Marek Vasut Reviewed-by: Adam Ford > Cc: Adam Ford > --- > board/beacon/beacon-rzg2m/Makefile | 2 +- > board/beacon/beacon-rzg2m/beacon-rzg2m.c | 15 --- > 2 files changed, 1 insertion(+), 16 deletions(-) > > diff --git a/board/beacon/beacon-

Re: [PATCH u-boot v4 36/36] ARM: enable LTO for some boards

2021-05-20 Thread Adam Ford
On Thu, May 20, 2021 at 6:25 AM Marek Behún wrote: > > Enable LTO for some boards that were tested by people on U-Boot Mailing > List. > > Signed-off-by: Marek Behún > Tested-by: Adam Ford > Tested-by: Pali Rohár > Tested-by: Tim Harvey Since the imx8mm beacon boar

[PATCH] clk: clk_versaclock: Add support for versaclock driver

2021-05-24 Thread Adam Ford
`-- clock-controller@6a.out0_sel_i2cb A translation function is added so the references to <&versaclock X> get routed to the corresponding clock-control...@6a.outx. Signed-off-by: Adam Ford diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 40a5a5dd88..75adccc138 100644 ---

[PATCH] net: ravb: Add additional refclk

2021-05-25 Thread Adam Ford
ble clocks. Signed-off-by: Adam Ford --- This was also done in the Linux kernel, see: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/net/ethernet/renesas/ravb_main.c?id=8ef7adc6beb2ef0bce83513dc9e4505e7b21e8c2 diff --git a/drivers/net/ravb.c b/drivers/net/ravb.c index

RZ/G2 USB tree question

2021-05-26 Thread Adam Ford
I have a board with multiple USB controllers, but they all seem to show in index of 1 with usb tree. USB device tree: 1 Hub (5 Gb/s, 0mA) U-Boot XHCI Host Controller 1 Hub (480 Mb/s, 0mA) u-boot EHCI Host Controller 1 Hub (480 Mb/s, 0mA) | u-boot EHCI Host Controller |

[PATCH] ARM: rmobile: beacon-renesom: Enable QSPI NOR Flash

2021-05-27 Thread Adam Ford
There is a QSPI NOR flash part on the board. Because this chip isn't yet supported in Linux, but it is supported in U-Boot, and the face that the RPC_SPI compatible names are different in U-Boot and Linux, the device tree updates are confined to -u-boot.dtsi files. Signed-off-by: Adam

Re: [PATCH] clk: clk_versaclock: Add support for versaclock driver

2021-06-03 Thread Adam Ford
On Thu, Jun 3, 2021 at 3:34 AM Luca Ceresoli wrote: > > On 24/05/21 19:53, Adam Ford wrote: > > The driver is based on the Versaclock driver from the Linux code, but > > do differences in the clock API between them, some pieces had to change. > > s/do/due to/ ? > s/had

[PATCH V2] clk: clk_versaclock: Add support for versaclock driver

2021-06-03 Thread Adam Ford
0`-- clock-controller@6a.out0_sel_i2cb A translation function is added so the references to <&versaclock X> get routed to the corresponding clock-control...@6a.outx. Signed-off-by: Adam Ford diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index

[PATCH V2] ARM: rmobile: beacon-renesom: Enable QSPI NOR Flash

2021-06-03 Thread Adam Ford
TF-A must leave RPC unlocked by compiling TF-A with RZG_RPC_HYPERFLASH_LOCKED=0. Signed-off-by: Adam Ford Reviewed-by: Biju Bas --- V2: Add note to commit message about TF-A No functional changes diff --git a/arch/arm/dts/r8a774a1-beacon-rzg2m-kit-u-boot.dtsi b/arch/arm/dts/r8a774a1-b

Re: [PATCH] clk: clk_versaclock: Add support for versaclock driver

2021-06-03 Thread Adam Ford
On Thu, Jun 3, 2021 at 9:52 AM Sean Anderson wrote: > > > > On 6/3/21 4:34 AM, Luca Ceresoli wrote: > > On 24/05/21 19:53, Adam Ford wrote: > >> The driver is based on the Versaclock driver from the Linux code, but > >> do differences in the clock API bet

[PATCH V3] clk: clk_versaclock: Add support for versaclock driver

2021-06-04 Thread Adam Ford
`-- clock-controller@6a.out0_sel_i2cb A translation function is added so the references to <&versaclock X> get routed to the corresponding clock-control...@6a.outx. Signed-off-by: Adam Ford --- V3: Streamline finding the out OUTx subnodes. Add error handling. Replace

Re: [PATCH V3] clk: clk_versaclock: Add support for versaclock driver

2021-06-04 Thread Adam Ford
On Fri, Jun 4, 2021 at 9:29 AM Sean Anderson wrote: > > > > On 6/4/21 10:22 AM, Adam Ford wrote: > > The driver is based on the Versaclock driver from the Linux code, but > > due differences in the clock API between them, some pieces had to be > > changed. >

[PATCH V4] clk: clk_versaclock: Add support for versaclock driver

2021-06-04 Thread Adam Ford
`-- clock-controller@6a.out0_sel_i2cb A translation function is added so the references to <&versaclock X> get routed to the corresponding clock-control...@6a.outx. Signed-off-by: Adam Ford --- V4: Remove a few printf's that I missed when removing debug. V3: Streamline

Re: [maemo-leste] [PATCH] arm: Remove nokia_rx51 board

2021-06-16 Thread Adam Ford
On Wed, Jun 16, 2021 at 6:26 AM Ivaylo Dimitrov wrote: > > Hi, > > On 15.06.21 г. 15:34 ч., Tom Rini wrote: > > On Tue, Jun 15, 2021 at 08:40:30AM +0300, Ivaylo Dimitrov wrote: > >> Hi, > >> > >> On 22.05.21 г. 0:36 ч., Pali Rohár wrote: > >>> On Friday 21 May 2021 10:44:18 Tom Rini wrote: >

[PATCH] ARM: rmobile: beacon: Set CONFIG_RZ_G2 on Beacon boards

2021-06-24 Thread Adam Ford
The board detection is incorrectly stating it's an rcar3 variant instead of an RZ/G2 variant on all the r8a774*1_beacon boards. Set the flag to correctly display as RZ/G2[M/N/H] Signed-off-by: Adam Ford diff --git a/configs/r8a774a1_beacon_defconfig b/configs/r8a774a1_beacon_defconfig

[PATCH V2] ARM: rmobile: beacon: Set CONFIG_RZ_G2 on Beacon boards

2021-06-24 Thread Adam Ford
The board detection is incorrectly stating it's an rcar3 variant instead of an RZ/G2 variant on all the r8a774*1_beacon boards. Set the flag to correctly display as RZ/G2[M/N/H] Signed-off-by: Adam Ford --- V2: Move the RZ_G2 option to Kconfig from defconfig diff --git a/arch/arm/mach-rm

[PATCH] configs: omap3x_logic: Fix boot hang by reducing SYS_MALLOC_F_LEN

2021-06-25 Thread Adam Ford
The AM3517 uses SYS_MALLOC_F_LEN of size 0x3000, but the rest of the OMAP3 boards from LogicPD / BeaconEmbedded use 0x4000, but they don't boot SPL. Reduce the malloc size to restore booting. Signed-off-by: Adam Ford diff --git a/configs/omap35_logic_defconfig b/configs/omap35_logic_defc

[PATCH V2 0/3] Make omap3 board functions static

2021-06-25 Thread Adam Ford
1888 52943cecf spl/u-boot-spl 605972 29244 53020 688236 a806c u-boot After Patch 3/3: textdata bss dec hex filename 605744 29244 52996 687984 a7f70 u-boot 4991810571888 52863ce7f spl/u-boot-spl Adam Ford (3): arm: omap3: Make

[PATCH V2 2/3] arm: omap3: Make secureworld_exit() static

2021-06-25 Thread Adam Ford
secureworld_exit() is only used in one file, so make it static to that file and remove it from sys_proto.h. This may help with some further optimization in the future. Signed-off-by: Adam Ford --- V2: Move secureworld_exit into area encompassed by ifdef to only define when potentially used

[PATCH V2 3/3] arm: omap3: Make secure_unlock_mem() static

2021-06-25 Thread Adam Ford
secure_unlock_mem() is only used in one file, so make it static in that file. Signed-off-by: Adam Ford --- V2: Move secure_unlock_mem into area encompassed by ifdef to only define it when potentially used to avoid errors. diff --git a/arch/arm/mach-omap2/omap3/board.c b/arch/arm/mach

[PATCH V2 1/3] arm: omap3: Make try_unlock_memory() static

2021-06-25 Thread Adam Ford
future. Signed-off-by: Adam Ford diff --git a/arch/arm/include/asm/arch-omap3/sys_proto.h b/arch/arm/include/asm/arch-omap3/sys_proto.h index 32ac033515..656f848a73 100644 --- a/arch/arm/include/asm/arch-omap3/sys_proto.h +++ b/arch/arm/include/asm/arch-omap3/sys_proto.h @@ -60,7 +60,6 @@ u32

[PATCH] configs: omap3x_logic: Enable LTO on more LogicPD OMAP3 boards

2021-06-26 Thread Adam Ford
There are five omap3 based boards from LogicPD. Two of them have added LTO support. Add the remaining three to use LTO. Signed-off-by: Adam Ford diff --git a/configs/omap35_logic_defconfig b/configs/omap35_logic_defconfig index 9ff5929b96..d359e32a36 100644 --- a/configs/omap35_logic_defconfig

[PATCH] configs: am3517_evm: Fix boot hang

2021-06-26 Thread Adam Ford
SPL is really tight on space, so decrease a little memory that we allocate in order to fix boot hang. Signed-off-by: Adam Ford diff --git a/configs/am3517_evm_defconfig b/configs/am3517_evm_defconfig index 0b9bd0e475..9611d33bec 100644 --- a/configs/am3517_evm_defconfig +++ b/configs

Re: [PATCH V4] clk: clk_versaclock: Add support for versaclock driver

2021-06-30 Thread Adam Ford
On Fri, Jun 4, 2021 at 12:27 PM Sean Anderson wrote: > > > > On 6/4/21 1:26 PM, Adam Ford wrote: > > The driver is based on the Versaclock driver from the Linux code, but > > due differences in the clock API between them, some pieces had to be > > changed. > >

Re: [PATCH 1/5] arm: dts: r8a774a1: Import DTS queued for Linux 5.12-rc1

2021-01-24 Thread Adam Ford
On Sun, Jan 24, 2021 at 11:10 AM Marek Vasut wrote: > > On 1/13/21 12:52 AM, Adam Ford wrote: > > Update the RZ/G2M dtsi and r8a774a1-beacon-rzg2m-kit kit > > from Renesas repo destined to become 5.12-rc1. > > I picked a DT sync for Linux 5.10 from Biju (on CC), does you

Re: [PATCH 1/5] arm: dts: r8a774a1: Import DTS queued for Linux 5.12-rc1

2021-02-01 Thread Adam Ford
On Mon, Jan 25, 2021 at 6:40 AM Marek Vasut wrote: > > On 1/25/21 12:22 AM, Adam Ford wrote: > > On Sun, Jan 24, 2021 at 11:10 AM Marek Vasut wrote: > >> > >> On 1/13/21 12:52 AM, Adam Ford wrote: > >>> Update the RZ/G2M dtsi and r8a774a1-beacon-rzg2m-k

Re: [PATCH 1/5] arm: dts: r8a774a1: Import DTS queued for Linux 5.12-rc1

2021-02-02 Thread Adam Ford
On Tue, Feb 2, 2021 at 4:11 AM Biju Das wrote: > > Hi Marek and Adam, > > > Subject: Re: [PATCH 1/5] arm: dts: r8a774a1: Import DTS queued for Linux > > 5.12-rc1 > > > > On 2/1/21 4:19 PM, Adam Ford wrote: > > > On Mon, Jan 25, 2021 at 6:40 AM Marek Vasut

[PATCH V2 1/6] dt-bindings: Sync versaclock.h with upcoming 5.12-rc1

2021-02-02 Thread Adam Ford
The versaclock doesn't have a driver yet, but there are a bunch of device tree updates for the Beacon RZ/G2 boards that won't compile without these. A driver is coming, so sync the bindings for now Signed-off-by: Adam Ford --- include/dt-bindings/clk/versaclock.h | 13 +++

[PATCH V2 2/6] arm: dts: r8a774a1: Import DTS queued for Linux 5.12-rc1

2021-02-02 Thread Adam Ford
Update the RZ/G2M dtsi and r8a774a1-beacon-rzg2m-kit kit from Renesas repo destined to become 5.12-rc1. Signed-off-by: Adam Ford --- arch/arm/dts/beacon-renesom-baseboard.dtsi | 359 - arch/arm/dts/beacon-renesom-som.dtsi | 57 +++- arch/arm/dts/r8a774a1-beacon-rzg2m

[PATCH V2 5/6] ARM: rmobile: Add Beacon EmbeddedWorks RZG2N Dev Kit

2021-02-02 Thread Adam Ford
: Adam Ford --- arch/arm/dts/Makefile | 1 + .../dts/r8a774b1-beacon-rzg2n-kit-u-boot.dtsi | 34 + arch/arm/dts/r8a774b1-beacon-rzg2n-kit.dts| 66 + arch/arm/mach-rmobile/Kconfig.64 | 5 ++ board/beacon/beacon-rzg2m/Kconfig

[PATCH V2 4/6] arm: dts: r8a774b1: Import DTS queued for Linux 5.12-rc1

2021-02-02 Thread Adam Ford
Update the RZ/G2N dtsi from Renesas repo destined to become 5.12-rc1. Signed-off-by: Adam Ford --- arch/arm/dts/r8a774b1.dtsi | 76 +- 1 file changed, 74 insertions(+), 2 deletions(-) V2: No Change diff --git a/arch/arm/dts/r8a774b1.dtsi b/arch/arm/dts

[PATCH V2 6/6] ARM: rmobile: Add Beacon EmbeddedWorks RZG2H Dev Kit

2021-02-02 Thread Adam Ford
. Signed-off-by: Adam Ford --- arch/arm/dts/Makefile | 1 + .../dts/r8a774e1-beacon-rzg2h-kit-u-boot.dtsi | 44 arch/arm/dts/r8a774e1-beacon-rzg2h-kit.dts| 71 +++ arch/arm/mach-rmobile/Kconfig.64 | 5 ++ board/beacon/beacon

[PATCH V2 3/6] arm: dts: r8a774e1: Import DTS queued for Linux 5.12-rc1

2021-02-02 Thread Adam Ford
Update the RZ/G2H dtsi from Renesas repo destined to become 5.12-rc1. Signed-off-by: Adam Ford --- arch/arm/dts/r8a774e1.dtsi | 1374 +++- 1 file changed, 1347 insertions(+), 27 deletions(-) V2: No Change diff --git a/arch/arm/dts/r8a774e1.dtsi b/arch/arm/dts

[PATCH V3 1/6] dt-bindings: Sync versaclock.h with upcoming 5.12-rc1

2021-02-03 Thread Adam Ford
The versaclock doesn't have a driver yet, but there are a bunch of device tree updates for the Beacon RZ/G2 boards that won't compile without these. A driver is coming, so sync the bindings for now Signed-off-by: Adam Ford --- include/dt-bindings/clk/versaclock.h | 13 +++

[PATCH V3 2/6] arm: dts: r8a774a1: Import DTS queued for Linux 5.12-rc1

2021-02-03 Thread Adam Ford
Update the RZ/G2M dtsi and r8a774a1-beacon-rzg2m-kit kit from Renesas repo destined to become 5.12-rc1. Signed-off-by: Adam Ford --- arch/arm/dts/beacon-renesom-baseboard.dtsi | 359 - arch/arm/dts/beacon-renesom-som.dtsi | 57 +++- arch/arm/dts/r8a774a1-beacon-rzg2m

[PATCH V3 4/6] arm: dts: r8a774b1: Import DTS queued for Linux 5.12-rc1

2021-02-03 Thread Adam Ford
Update the RZ/G2N dtsi from Renesas repo destined to become 5.12-rc1. Signed-off-by: Adam Ford --- arch/arm/dts/r8a774b1.dtsi | 76 +- 1 file changed, 74 insertions(+), 2 deletions(-) V2: No change V3: No change diff --git a/arch/arm/dts/r8a774b1.dtsi b

[PATCH V3 6/6] ARM: rmobile: Add Beacon EmbeddedWorks RZG2H Dev Kit

2021-02-03 Thread Adam Ford
. Signed-off-by: Adam Ford --- arch/arm/dts/Makefile | 1 + .../dts/r8a774e1-beacon-rzg2h-kit-u-boot.dtsi | 44 arch/arm/dts/r8a774e1-beacon-rzg2h-kit.dts| 71 +++ arch/arm/mach-rmobile/Kconfig.64 | 5 ++ board/beacon/beacon

[PATCH V3 5/6] ARM: rmobile: Add Beacon EmbeddedWorks RZG2N Dev Kit

2021-02-03 Thread Adam Ford
: Adam Ford --- arch/arm/dts/Makefile | 1 + .../dts/r8a774b1-beacon-rzg2n-kit-u-boot.dtsi | 34 + arch/arm/dts/r8a774b1-beacon-rzg2n-kit.dts| 66 + arch/arm/mach-rmobile/Kconfig.64 | 5 ++ board/beacon/beacon-rzg2m/Kconfig

[PATCH V3 3/6] arm: dts: r8a774e1: Import DTS queued for Linux 5.12-rc1

2021-02-03 Thread Adam Ford
Update the RZ/G2H dtsi from Renesas repo destined to become 5.12-rc1. Signed-off-by: Adam Ford --- arch/arm/dts/r8a774e1.dtsi | 1374 +++- 1 file changed, 1347 insertions(+), 27 deletions(-) V2: No change V3: No change diff --git a/arch/arm/dts/r8a774e1.dtsi

RZ/G2 USB quirks U-Boot

2021-07-09 Thread Adam Ford
I recently broke my dominant wrist, so I apologize if this message is hard to read. I have been running some tests with the RZ/G2 MNH processors, and I noticed a difference in behavior between a cold boot, a soft reset, and a hardware reset. If I'm in u-boot, an issue the reset instruction, and I

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

2021-02-16 Thread Adam Ford
There is a second lpddr configuration with 2GB of RAM, but this requires different RAM timings, so in addition to adding the timing file, a separate defconfig is necessary. Signed-off-by: Adam Ford diff --git a/board/beacon/imx8mn/Kconfig b/board/beacon/imx8mn/Kconfig index 6ed17c00d8

Re: [PATCH 1/2] spi: nxp_fspi: Fix error reporting

2021-02-23 Thread Adam Ford
On Tue, Jan 19, 2021 at 6:12 AM Pratyush Yadav wrote: > > On 18/01/21 03:32PM, Adam Ford wrote: > > On the i.MX8M Mini, ret = clk_set_rate() sets ret to the value of the > > rate the clock was able to set. When checking for errors, it only > > checks that it is not NULL.

Re: [PATCH 2/2] mmc: fsl_esdhc_imx: remove redundant cmd11 related code.

2021-03-03 Thread Adam Ford
series, Tested-by: Adam Ford #imx8mn_beacon adam > Signed-off-by: Haibo Chen > --- > drivers/mmc/fsl_esdhc_imx.c | 10 +- > 1 file changed, 1 insertion(+), 9 deletions(-) > > diff --git a/drivers/mmc/fsl_esdhc_imx.c b/drivers/mmc/fsl_esdhc_imx.c > index af36558b3c

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