Re: [PATCH] imx8m: fixup thermal trips

2022-05-25 Thread Adam Ford
On Wed, May 25, 2022 at 7:19 AM Andrejs Cainikovs wrote: > > Hi Adam, > > On Wed, 2022-05-25 at 06:41 -0500, Adam Ford wrote: > > On Thu, May 12, 2022 at 5:13 AM Andrejs Cainikovs > > wrote: > > > > > > Fixup thermal trips in Linux device

Re: [PATCH] imx8m: fixup thermal trips

2022-05-25 Thread Adam Ford
laying catch up from being away for 2 weeks. thanks adam > > Best regards, > Andrejs Cainikovs. > > On Wed, 2022-05-25 at 07:21 -0500, Adam Ford wrote: > > On Wed, May 25, 2022 at 7:19 AM Andrejs Cainikovs > > wrote: > > > > > > Hi Adam, > > > >

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

2021-08-20 Thread Adam Ford
On Wed, Jun 30, 2021 at 7:32 AM Adam Ford wrote: > > 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

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

2021-08-23 Thread Adam Ford
On Thu, Jun 3, 2021 at 8:22 AM Adam Ford wrote: > > 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 dev

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

2021-08-23 Thread Adam Ford
On Mon, Aug 23, 2021 at 8:50 AM Marek Vasut wrote: > > On 8/23/21 2:23 PM, Adam Ford wrote: > > On Thu, Jun 3, 2021 at 8:22 AM Adam Ford wrote: > >> > >> There is a QSPI NOR flash part on the board. Because this chip isn't > >> yet supported in L

[PATCH] i2c: rcar_i2c: Enable configuring SCL rise and fall times

2021-08-24 Thread Adam Ford
The Linux i2c driver supports i2c-scl-rising-time-ns, and i2c-scl-falling-time-ns, but U-Boot uses hard-coded values for these values. Update the calculation by fetching them from the device tree if present and use the previous values as the default if they are missing. Signed-off-by: Adam Ford

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

2021-08-24 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 --- V3: Rebase, and combine into som.dsti file V2: Add note to commit message about TF-A No functional changes diff --git a/arch/arm/dts/beacon-renesom-som.dt

[PATCH 1/2] ARM: rmobile: beacon-renesom: Enable USB and ethernet ref clocks

2021-08-24 Thread Adam Ford
There are two versaclock programmable clock chips used to provide reference clocks for both USB and Ethernet. Enable the driver in the configs to run these clocks. Signed-off-by: Adam Ford diff --git a/configs/r8a774a1_beacon_defconfig b/configs/r8a774a1_beacon_defconfig index 7ba4ac05f5

[PATCH 2/2] ARM: rmobile: beacon-renesom: Enable Ethernet

2021-08-24 Thread Adam Ford
Now that the versaclock driver is available, point the ethernet node at these clocks and configure the RGMII to enable Ethernet. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/beacon-renesom-som.dtsi b/arch/arm/dts/beacon-renesom-som.dtsi index d30bab3c8b..9fe541b607 100644 --- a/arch/arm

Re: [PATCH 1/2] ARM: rmobile: beacon-renesom: Enable USB and ethernet ref clocks

2021-08-24 Thread Adam Ford
On Tue, Aug 24, 2021 at 1:02 PM Marek Vasut wrote: > > On 8/24/21 6:43 PM, Adam Ford wrote: > > There are two versaclock programmable clock chips used to provide > > reference clocks for both USB and Ethernet. Enable the driver > > in the configs to run these clocks. >

Re: [PATCH 1/2] ARM: rmobile: beacon-renesom: Enable USB and ethernet ref clocks

2021-08-24 Thread Adam Ford
On Tue, Aug 24, 2021 at 1:13 PM Adam Ford wrote: > > On Tue, Aug 24, 2021 at 1:02 PM Marek Vasut wrote: > > > > On 8/24/21 6:43 PM, Adam Ford wrote: > > > There are two versaclock programmable clock chips used to provide > > > reference clocks for both

[PATCH V2 1/2] ARM: dts: rmobile: beacon-renesom: Enable USB and ethernet ref clocks

2021-08-24 Thread Adam Ford
There are two versaclock programmable clock chips used to provide reference clocks for both USB and Ethernet. Enable the driver in the configs to run these clocks. Signed-off-by: Adam Ford --- V2: Move from defconfig to kconfig diff --git a/arch/arm/mach-rmobile/Kconfig.64 b/arch/arm/mach

[PATCH V2 2/2] ARM: dts: rmobile: beacon-renesom: Enable Ethernet

2021-08-24 Thread Adam Ford
Now that the versaclock driver is available, point the ethernet node at these clocks and configure the RGMII to enable Ethernet. Signed-off-by: Adam Ford --- V2: Fix subject heading diff --git a/arch/arm/dts/beacon-renesom-som.dtsi b/arch/arm/dts/beacon-renesom-som.dtsi index d30bab3c8b

[PATCH 1/2] arm: mach-rmobile: Move cpu_reset to rzg2-reset.c

2021-08-27 Thread Adam Ford
Various RZ/G2[MNH] boards have copies of cpu_reset which creates duplicate code, so move this to a common file shared among all users of the RZG2 and declare it weak so it can be overwritten if necessary. Signed-off-by: Adam Ford diff --git a/arch/arm/mach-rmobile/Makefile b/arch/arm/mach

[PATCH 2/2] arm: rmobile: Remove duplicate code from beacon-rzg2m and hihope-rzg2

2021-08-27 Thread Adam Ford
With reset_cpu() now existing in common code, there is no need to have this exist in each board. Signed-off-by: Adam Ford diff --git a/board/beacon/beacon-rzg2m/beacon-rzg2m.c b/board/beacon/beacon-rzg2m/beacon-rzg2m.c index c12ff77fb2..f5146594b5 100644 --- a/board/beacon/beacon-rzg2m/beacon

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

2022-07-31 Thread Adam Ford
On Thu, Jul 21, 2022 at 8:44 AM Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > Synchronise device tree with linux v5.19-rc5. > > Signed-off-by: Marcel Ziswiler For what it's worth to others who may have been impacted, this patch broke my nano booting because the imx8mn.dtsi now has the U

[PATCH] arm: dts: imx8mn-beacon-kit-u-boot: Fix broken booting

2022-07-31 Thread Adam Ford
g the spba node to the spl device tree to restore normal booting. Fixes: 4e5114daf9eb ("imx8mn: synchronise device tree with linux") 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 5f83952402..0efa6862

Re: [PATCH] arm: dts: imx8mn-beacon-kit-u-boot: Fix broken booting

2022-07-31 Thread Adam Ford
On Sun, Jul 31, 2022 at 12:28 PM Michael Nazzareno Trimarchi wrote: > > Hi Adam > > On Sun, Jul 31, 2022 at 7:16 PM Adam Ford wrote: > > > > When the imx8mm.dtsi file was pulled in from Linux, the UARTs > > were moved into an spba sub-node which wasn't being

Re: [PATCH] arm: dts: imx8mn-beacon-kit-u-boot: Fix broken booting

2022-07-31 Thread Adam Ford
On Sun, Jul 31, 2022 at 12:36 PM Adam Ford wrote: > > On Sun, Jul 31, 2022 at 12:28 PM Michael Nazzareno Trimarchi > wrote: > > > > Hi Adam > > > > On Sun, Jul 31, 2022 at 7:16 PM Adam Ford wrote: > > > > > > When the imx8mm.dtsi file was pulle

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

2022-07-31 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 1/7] arm: dts: imx8mn-u-boot: Create common imx8mn-u-boot.dtsi

2022-07-31 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 --- Patches on top of [1] [1] - https://patchwork.ozlabs.org/project/uboot/patch

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

2022-07-31 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 3/7] arm: dts: imx8mn-bsh-smm-s2: Consolidate with imx8mn-u-boot

2022-07-31 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 4/7] arm: dts: imx8mn-ddr4-evk: Consolidate with imx8mn-u-boot

2022-07-31 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 78773c198e..54f3ebe88b 100644

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

2022-07-31 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 6/7] arm: dts: imx8mn-var-som-symphony: Consolidate with imx8mn-u-boot

2022-07-31 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 7/7] arm: dts: imx8mn-venice: Consolidate with imx8mn-u-boot

2022-07-31 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 9fb3871452..aea48f2d79 100644 --- a

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

2022-07-31 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 --- This won't fully function without this series: https://patchwork.ozlabs.org/project/uboot

[PATCH 1/3] imx: imx8mm: Update clock bindings header

2020-12-04 Thread Adam Ford
Import clock bindings header file from Linux 5.10-rc6 Signed-off-by: Adam Ford diff --git a/include/dt-bindings/clock/imx8mm-clock.h b/include/dt-bindings/clock/imx8mm-clock.h index 07e6c686f3..e63a5530ae 100644 --- a/include/dt-bindings/clock/imx8mm-clock.h +++ b/include/dt-bindings/clock

[PATCH 2/3] arm: dts: imx8mm: sync dts from Linux Kernel 5.10-rc6

2020-12-04 Thread Adam Ford
There have been some updates to the device tree since 5.6. This also includes some clocks, and makes it easier to keep board device tree files in sync with Linux Signed-off-by: Adam Ford diff --git a/arch/arm/dts/imx8mm.dtsi b/arch/arm/dts/imx8mm.dtsi index 1e5e11592f..05ee062548 100644 --- a

[PATCH 3/3] arm64: dts: imx8mm-beacon: Re-sync dts file with Linux 5.10-rc6

2020-12-04 Thread Adam Ford
There have been some updates to the device trees, so re-sync. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/imx8mm-beacon-baseboard.dtsi b/arch/arm/dts/imx8mm-beacon-baseboard.dtsi index baa5f997d0..d6b9dedd16 100644 --- a/arch/arm/dts/imx8mm-beacon-baseboard.dtsi +++ b/arch/arm/dts

Re: [PATCH 2/2] ARM: dts: imx8m: add UHS or HS400/HS400ES properties

2020-12-04 Thread Adam Ford
On Tue, Dec 1, 2020 at 7:32 AM Andrey Zhizhikin wrote: > > i.MX8M series provide support for high speed grades in their > usdhc controllers, which has eMMC and SDHC connected to them. > > Enable this support across the entire i.MX8M family by providing quirks > to usdhc controllers designated by s

[PATCH] imx8mm_beacon: Enable HS400 on MMC controller

2020-12-04 Thread Adam Ford
The i.MX8MM is capable of HS400. Enable it in both U-Boot and SPL for faster throughput. Signed-off-by: Adam Ford diff --git a/configs/imx8mm_beacon_defconfig b/configs/imx8mm_beacon_defconfig index c5d331f617..49d5453078 100644 --- a/configs/imx8mm_beacon_defconfig +++ b/configs

Re: [PATCH 2/2] ARM: dts: imx8m: add UHS or HS400/HS400ES properties

2020-12-05 Thread Adam Ford
On Sat, Dec 5, 2020 at 8:21 AM ZHIZHIKIN Andrey wrote: > > Hello Adam, > > > -Original Message- > > From: Adam Ford > > Sent: Saturday, December 5, 2020 1:43 AM > > To: ZHIZHIKIN Andrey > > Cc: U-Boot Mailing List ; Stefano Babic > > ; Ye Li

Re: [PATCH] imx8mm_beacon: Enable HS400 on MMC controller

2020-12-05 Thread Adam Ford
On Sat, Dec 5, 2020 at 8:54 AM ZHIZHIKIN Andrey wrote: > > Hello Adam, > > > -Original Message- > > From: U-Boot On Behalf Of Adam Ford > > Sent: Saturday, December 5, 2020 2:00 AM > > To: u-boot@lists.denx.de > > Cc: af...@beaconembed

Re: [PATCH 2/2] ARM: dts: imx8m: add UHS or HS400/HS400ES properties

2020-12-05 Thread Adam Ford
On Sat, Dec 5, 2020 at 10:55 AM ZHIZHIKIN Andrey wrote: > > Hello Adam, > > > -Original Message- > > From: U-Boot On Behalf Of ZHIZHIKIN Andrey > > Sent: Saturday, December 5, 2020 4:09 PM > > To: Adam Ford > > Cc: U-Boot Mailing List ; Stefano Bab

Re: Boot problems imx8mp_evk

2020-12-08 Thread Adam Ford
On Wed, Sep 30, 2020 at 6:06 AM Peter Bergin wrote: > > Hi, > > I'm following the README > (https://gitlab.denx.de/u-boot/u-boot/-/tree/master/board/freescale/imx8mp_evk) > to bring up u-boot on a imx8mp EVK board. My boot ends up in this on the > console: > > U-Boot SPL 2020.10-rc5-00049-gd4

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

2020-12-10 Thread Adam Ford
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 Ford diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 02d04f5a8c

U-Boot statistics update

2020-12-10 Thread Adam Ford
Wolfgang, The stats on the U-Boot 2020.10 release haven't been updated yet. Is there any chance you could post them? thanks, adam

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

2020-12-11 Thread Adam Ford
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 Ford --- V2: Update README file to reference newer DDR firmware diff --git a/arch/arm/dts

Re: [PATCH v4 0/4] Add Renesas SoC identification driver support

2020-12-11 Thread Adam Ford
On Mon, Nov 30, 2020 at 3:18 AM Biju Das wrote: > > Hi All, > > Gentle Ping. Please let me know, are we happy with this patch series? > I have a series pending this as well. thank you, adam > The patch series[1] is blocked by this. > [1] > http://u-boot.10912.n7.nabble.com/PATCH-v7-0-4-Add-CPU

[U-Boot] [PATCH] ARM: omap3_logic: Fix pin muxing

2015-11-07 Thread Adam Ford
>From 83fc9aee5fa80a3f671966e0ca9569eeb372b160 Mon Sep 17 00:00:00 2001 From: Adam Ford Date: Sat, 7 Nov 2015 05:52:10 -0600 Subject: [PATCH 41/41] ARM: omap3_logic: Fix pin muxing Enhance pin muxing to enable more board features and reduce power based on Tony's device tree work. Signe

[U-Boot] [PATCH] Convert omap3_logic to ti_omap3_common.h

2015-09-02 Thread Adam Ford
Convert to using the common config files. Signed-off-by: Adam Ford --- arch/arm/cpu/armv7/omap3/Kconfig|3 ++ board/logicpd/omap3som/omap3logic.c | 14 + include/configs/omap3_logic.h | 59 +++ 3 files changed, 28 insertions(+), 48

[U-Boot] [PATCH] omap3_logic: Cleanup and remove redundant defines make bootz easier

2015-11-04 Thread Adam Ford
>From 3af52a1a6d71ac3d78e0dec56da2fd8eb07a91d1 Mon Sep 17 00:00:00 2001 From: Adam Ford Date: Wed, 4 Nov 2015 17:13:15 -0600 Subject: [PATCH] omap3_logic: Cleanup and remove redundant defines make bootz easier Some unnecesary includes still exist from the initial conversion

Re: [U-Boot] [PATCH v2 01/32] spi: davinci: Full dm conversion

2018-11-26 Thread Adam Ford
On Sun, Nov 25, 2018 at 11:29 AM Jagan Teki wrote: > > davinci_spi now support dt along with platform data, > respective boards need to switch into dm for the same. > > Cc: Adam Ford > Cc: Vitaly Andrianov > Cc: Stefano Babic > Cc: Peter Howard > Cc: Tom Rini

Re: [U-Boot] [RFC for-v2019.01 1/4] dm: MIGRATION: Add migration plan for DM_MMC

2018-11-26 Thread Adam Ford
On Sun, Nov 25, 2018 at 12:19 PM Tom Rini wrote: > > Given that at this point the MMC subsystem itself has been migrated > along with a number of subsystem drivers, formalize a deadline for > migration. > > Cc: Simon Glass > Cc: Jaehoon Chung > Signed-off-by: Tom Rini Out of curiosity, the ser

Re: [U-Boot] [PATCH v2 01/32] spi: davinci: Full dm conversion

2018-11-26 Thread Adam Ford
On Mon, Nov 26, 2018 at 12:20 PM Jagan Teki wrote: > > On Mon, Nov 26, 2018 at 7:03 PM Adam Ford wrote: > > > > On Sun, Nov 25, 2018 at 11:29 AM Jagan Teki > > wrote: > > > > > > davinci_spi now support dt along with platform data, > > > re

Re: [U-Boot] [PATCH v3 00/19] DM_I2C_COMPAT removal for all ti platforms

2018-11-26 Thread Adam Ford
On Sat, Oct 27, 2018 at 4:46 PM Adam Ford wrote: > > On Mon, Oct 22, 2018 at 9:13 AM Jean-Jacques Hiblot wrote: > > > > This series remove the usage of the DM_I2C_COMPAT option for all the ti > > platforms. It also takes this opportunity to not disable DM_I2C in the

Re: [U-Boot] [PATCH v2 28/32] spi: omap3: Drop non-dm code

2018-11-26 Thread Adam Ford
gic board shows the SPI bus in the 'dm tree' so from that perspective, I am not seeing any issues with SPI. Tested-by: Adam Ford #omap3_logic > --- > Makefile| 2 +- > drivers/spi/Makefile| 2 +- > drivers/spi/omap3_spi.c | 126 -

[U-Boot] [PATCH] ARM: DTS: Resync am3517-evm.dts with Linux 4.20

2018-12-03 Thread Adam Ford
The DTS file for the AM3517 had the incorrect CD polarity. Resync with the fixed DTS file from Linux. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/am3517-evm-ui.dtsi b/arch/arm/dts/am3517-evm-ui.dtsi new file mode 100644 index 00..e841918c1c --- /dev/null +++ b/arch/arm/dts

[U-Boot] [PATCH] ARM: DTS: Resync LogicPD SOM-LV with Linux 4.20

2018-12-03 Thread Adam Ford
There have been a few fixes to the device trees, so this re-syncs the dts/dtsi files with Linux Signed-off-by: Adam Ford diff --git a/arch/arm/dts/logicpd-som-lv-35xx-devkit.dts b/arch/arm/dts/logicpd-som-lv-35xx-devkit.dts index 4cd72b5e61..32d0dc371f 100644 --- a/arch/arm/dts/logicpd-som-lv

[U-Boot] [PATCH] ARM: DTS: Resync LogicPD-Torpedo-37xx-devkit with Linux 4.20

2018-12-03 Thread Adam Ford
Migrate some small device tree fixes from Linux 4.20. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/logicpd-torpedo-37xx-devkit.dts b/arch/arm/dts/logicpd-torpedo-37xx-devkit.dts index 9d5d53fbe9..c39cf2ca54 100644 --- a/arch/arm/dts/logicpd-torpedo-37xx-devkit.dts +++ b/arch/arm/dts

[U-Boot] [PATCH 1/3] ARM: DTS: da850: Sync from Linux 4.20

2018-12-03 Thread Adam Ford
Re-sync with 4.20 due some some natural evolution. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/da850.dtsi b/arch/arm/dts/da850.dtsi index c66cf78953..47aa53ba6b 100644 --- a/arch/arm/dts/da850.dtsi +++ b/arch/arm/dts/da850.dtsi @@ -7,10 +7,19 @@ * Free Software Foundation; either

[U-Boot] [PATCH 2/3] ARM: dts: da850-lcdk: Sync from Linux 4.20

2018-12-03 Thread Adam Ford
Re-synce the device tree files from Linux 4.20 Signed-off-by: Adam Ford diff --git a/arch/arm/dts/da850-lcdk.dts b/arch/arm/dts/da850-lcdk.dts index a1f4d6d5a5..0177e3ed20 100644 --- a/arch/arm/dts/da850-lcdk.dts +++ b/arch/arm/dts/da850-lcdk.dts @@ -21,8 +21,8 @@ stdout-path

[U-Boot] [PATCH 3/3] ARM: DTS: da850-evm: Re-sync da850-evm.dts from Linux 4.20

2018-12-03 Thread Adam Ford
There has been some natural evolution of the device tree, so resync with 4.20 Signed-off-by: Adam Ford diff --git a/arch/arm/dts/da850-evm.dts b/arch/arm/dts/da850-evm.dts index 0e82bb988f..a3c9b34672 100644 --- a/arch/arm/dts/da850-evm.dts +++ b/arch/arm/dts/da850-evm.dts @@ -27,6 +27,65

Re: [U-Boot] [PATCH v3 00/19] DM_I2C_COMPAT removal for all ti platforms

2018-12-06 Thread Adam Ford
On Tue, Nov 27, 2018 at 11:04 PM Heiko Schocher wrote: > > Hello Adam, > > Am 26.11.2018 um 20:18 schrieb Adam Ford: > > On Sat, Oct 27, 2018 at 4:46 PM Adam Ford wrote: > >> > >> On Mon, Oct 22, 2018 at 9:13 AM Jean-Jacques Hiblot > >> wrote: &g

[U-Boot] [PATCH] ARM: omap3_logic/omap35_logic: Move to DM_USB

2018-12-07 Thread Adam Ford
The existing config is setup as a gadget but it doesn't use DM_USB. This patch converts all boards to DM_USB, but as host. As host, it is able to mount USB drives and browse them. Signed-off-by: Adam Ford diff --git a/configs/omap35_logic_defconfig b/configs/omap35_logic_defconfig

[U-Boot] [PATCH] ARM: omap3logic: Remove legacy USB code in favor of DM_USB

2018-12-07 Thread Adam Ford
With the defconfig options enabling DM_USB, the legacy code can be removed. Signed-off-by: Adam Ford diff --git a/board/logicpd/omap3som/omap3logic.c b/board/logicpd/omap3som/omap3logic.c index 691d38fdf2..144e6f68a4 100644 --- a/board/logicpd/omap3som/omap3logic.c +++ b/board/logicpd/omap3som

Re: [U-Boot] [PATCH v2 0/2] Read default speed and mode values from DT

2018-12-10 Thread Adam Ford
On Mon, Nov 19, 2018 at 12:01 PM Patrick Delaunay wrote: > > > This serie generalize the commit 96907c0fe50a > ("dm: spi: Read default speed and mode values from DT") > > In case of DT boot, don't read default speed and mode for SPI from > CONFIG_*, instead read from DT node. This will make sure t

[U-Boot] [PATCH] Drivers: USB: Remove Legacy CONFIG_USB_DAVINCI

2018-12-10 Thread Adam Ford
This patch removes CONFIG_USB_DAVINCI. It's a legacy option that isn't defined anywhere, and there is a newer MUSB driver. Signed-off-by: Adam Ford diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig index dd42f69a6b..7e6be03f4a 100644 --- a/drivers/usb/musb/Kconfig +++

[U-Boot] [PATCH] Drivers: USB: MUSB: Remove legacy CONFIG_USB_DA8XX

2018-12-10 Thread Adam Ford
There don't appear to be any boards enabling CONFIG_USB_DA8XX, and there is a newer version of the MUSB driver, so let's remove the legacy version of it. Signed-off-by: Adam Ford diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig index 7e6be03f4a..2508b6ed0d 100644 ---

Re: [U-Boot] [PATCH 0/7] Remove defines for SPI default speed and mode

2018-12-10 Thread Adam Ford
On Mon, Dec 10, 2018 at 4:54 AM Patrick Delaunay wrote: > > > This patch-set finish (after the last Simmon comment) > and depends on the previous serie named: > "Read default speed and mode values from DT" > > http://patchwork.ozlabs.org/project/uboot/list/?series=76834 > > This patchset remove th

Re: [U-Boot] [PATCH 0/7] Remove defines for SPI default speed and mode

2018-12-10 Thread Adam Ford
On Mon, Dec 10, 2018 at 1:20 PM Simon Goldschmidt wrote: > > Am 10.12.2018 um 16:42 schrieb Adam Ford: > > On Mon, Dec 10, 2018 at 4:54 AM Patrick Delaunay > > wrote: > >> > >> > >> This patch-set finish (after the last Simmon comment) > >&g

[U-Boot] [PATCH] am3517_evm: Use ttyS2 instead of ttyO2

2018-12-10 Thread Adam Ford
The serial driver in the kernel moved from ttyOx to ttySx a while ago. This patch updates the console parameter to align with the kernel change. Signed-off-by: Adam Ford diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h index 4e7e5209d4..eb50012ff7 100644 --- a/include

Re: [U-Boot] [PATCH v2 1/2] spl_spi: Read default speed and mode values from DT

2018-12-10 Thread Adam Ford
On Mon, Nov 19, 2018 at 11:55 AM Patrick Delaunay wrote: > > In case of DT boot, don't read default speed and mode for SPI from > CONFIG_*, instead read from DT node. > > Signed-off-by: Christophe Kerello > Signed-off-by: Patrick Delaunay > --- > > Changes in v2: > - use variables to avoid dupli

[U-Boot] [PATCH] ARM: davinci: Orphan Spectrum Digital AM18xx EVM

2018-12-11 Thread Adam Ford
mpany. Since I don't have the hardware to test/verify changes, I would prefer to not be responsible for this board. Signed-off-by: Adam Ford diff --git a/board/davinci/da8xxevm/MAINTAINERS b/board/davinci/da8xxevm/MAINTAINERS index 59589867b3..b77a5f6622 100644 --- a/board/davinci/da8xxevm/M

Re: [U-Boot] [PATCH] Drivers: USB: MUSB: Remove legacy CONFIG_USB_DA8XX

2018-12-12 Thread Adam Ford
On Tue, Dec 11, 2018 at 3:51 AM Jean-Jacques Hiblot wrote: > > > On 11/12/2018 10:47, Jean-Jacques Hiblot wrote: > > > > On 10/12/2018 20:01, Marek Vasut wrote: > >> On 12/10/2018 05:35 PM, Adam Ford wrote: > >>> There don't appear to be any boards

[U-Boot] [PATCH V2] Drivers: USB: MUSB: Remove legacy CONFIG_USB_DA8XX

2018-12-12 Thread Adam Ford
There don't appear to be any boards enabling CONFIG_USB_DA8XX, and there is a newer version of the MUSB driver, so let's remove the legacy version of it. Signed-off-by: Adam Ford Reviewed-by: Jean-Jacques Hiblot --- V2: Rebase on u-boot-usb master after applying patch

[U-Boot] [PATCH V2] Drivers: USB: Remove Legacy CONFIG_USB_DAVINCI

2018-12-12 Thread Adam Ford
This patch removes CONFIG_USB_DAVINCI. It's a legacy option that isn't defined anywhere, and there is a newer MUSB driver. Signed-off-by: Adam Ford Reviewed-by: Jean-Jacques Hiblot --- V2: Rebase on origin/master Remove drivers/usb/musb/davinci.c Remove drivers/usb/musb

[U-Boot] [PATCH] ARM: mach-omap2: omap3: Fix GPIO clocking in SPL

2018-12-14 Thread Adam Ford
to #if defined and also makes Kconfig select the banks if CMD_GPIO is used which makes the checks in the code less cumbersome. Fixes: bd8a9c14c91c ("arm: mach-omap2/omap3/clock.c: Enable all GPIO with CMD_GPIO") Reported-by: Liam O'Shaughnessy Signed-off-by: Adam Ford diff --g

[U-Boot] [PATCH V2] ARM: mach-omap2: omap3: Fix GPIO clocking in SPL

2018-12-14 Thread Adam Ford
to #if defined and also makes Kconfig select the banks if CMD_GPIO is used which makes the checks in the code less cumbersome. Fixes: bd8a9c14c91c ("arm: mach-omap2/omap3/clock.c: Enable all GPIO with CMD_GPIO") Reported-by: Liam O'Shaughnessy Signed-off-by: Adam Ford --- V2:

Re: [U-Boot] [PATCH] ARM: mach-omap2: omap3: Fix GPIO clocking in SPL

2018-12-14 Thread Adam Ford
refix. My bad. A V2 is now avaiable with the CONFIG_ back. adam > On Fri, Dec 14, 2018 at 12:49 PM Adam Ford wrote: >> >> OMAP3_GPIO_x is needed to enable each GPIO bank on the OMAP3 >> boards. At one point, the #ifdef's were replaced with >> if CONFIG_IS_ENABLED bu

Re: [U-Boot] [PATCH] omap3: beagle: Enable DM_MMC and BLK for u-boot only, not SPL

2018-12-17 Thread Adam Ford
On Mon, Dec 17, 2018 at 11:04 AM Guillaume Gardet wrote: > > > Le 21/11/2018 à 18:06, Tom Rini a écrit : > > On Wed, Nov 21, 2018 at 04:13:20PM +0100, Guillaume GARDET wrote: > > > >> Also disable USB_STORAGE as it is not ready for the switch. > >> Tested on a Beagleboard xM rev. B. > >> > >> Sign

[U-Boot] [PATCH 1/2] USB: musb-new: omap2430: Prep driver for Peripheral support.

2018-12-17 Thread Adam Ford
The omap2430 driver only currently supports host only. In preparation for supporting peripheral mode, this patch makes the driver support only the host by creating a ofdata_to_platdata function host/peripheral agnostic with a host helper version. Signed-off-by: Adam Ford diff --git a/drivers

[U-Boot] [PATCH 2/2] USB: musb-new: omap2430: Add hooks for Peripheral support.

2018-12-17 Thread Adam Ford
rking yet. Signed-off-by: Adam Ford diff --git a/drivers/usb/musb-new/omap2430.c b/drivers/usb/musb-new/omap2430.c index b6e1320538..780d21c693 100644 --- a/drivers/usb/musb-new/omap2430.c +++ b/drivers/usb/musb-new/omap2430.c @@ -203,7 +203,7 @@ static int omap2430_musb_ofdata_to_platdata(s

Re: [U-Boot] [PATCH] omap3: beagle: Enable DM_MMC and BLK for u-boot only, not SPL

2018-12-17 Thread Adam Ford
On Mon, Dec 17, 2018 at 1:34 PM Adam Ford wrote: > > On Mon, Dec 17, 2018 at 11:04 AM Guillaume Gardet > wrote: > > > > > > Le 21/11/2018 à 18:06, Tom Rini a écrit : > > > On Wed, Nov 21, 2018 at 04:13:20PM +0100, Guillaume GARDET wrote: > > > >

Re: [U-Boot] [PATCH v4 06/10] dm: usb: create a new UCLASS ID for USB gadget devices

2018-12-18 Thread Adam Ford
On Tue, Dec 18, 2018 at 6:08 AM Jagan Teki wrote: > > On Thu, Nov 29, 2018 at 3:30 PM Jean-Jacques Hiblot wrote: > > > > UCLASS_USB_DEV_GENERIC was meant for USB devices connected to host > > controllers, not gadget devices. > > Adding a new UCLASS for gadget devices alone. > > > > Also move the

[U-Boot] [PATCH] arm: armv7-a: Compile and tune for armv7-a instead of armv5

2018-08-04 Thread Adam Ford
hex filename 50916 429 67580 118925 1d08d spl/u-boot-spl 540719 22700 327064 890483 d9673 u-boot mtune=generic-armv7-a text data bss dec hex filename 50932 429 67580 118941 1d09d spl/u-boot-spl 540519 22700 327080 890299 d95bb u-boot Signed-off-by: Adam Ford diff --git a/arch/arm/Makefile

[U-Boot] MMC_DAVINCI not compliant with CONFIG_BLK

2018-08-06 Thread Adam Ford
From what I gathered over the weekend, the MMC_DAVINCI hasn't migrated to DM_MMC nor does CONFIG_BLK successfully build on ARCH_DAVINCI boards that enable MMC_DAVINCI. I started work to attempt to make it DM_MMC and OF_CONTROL compliant using the da850evm. Before I go too far, I just want to make

[U-Boot] DM_SPI, DM_SPI_FLASH due 2018.09

2018-08-06 Thread Adam Ford
Tom / Jagan, Per MIGRATION.txt, (dated 14 March 2018) it shows the deadline for CONFIG_DM_SPI and CONFIG_DM_SPI_FLASH to be 2018.09 which is already in RC1 status. This document also lists some boards which were partially converted and some boards which have not yet started. Is there an update o

Re: [U-Boot] [PATCHv2 2/2] Convert all of CONFIG_CONS_INDEX to Kconfig

2018-08-06 Thread Adam Ford
rences now that we have CONS_INDEX? If you think so, I'll submit a patch to remove these and their corresponding whitelist entries. adam > Signed-off-by: Adam Ford > [trini: Rework a lot of the logic here, such that I took authorship from > Adam, but kept hi

[U-Boot] [PATCH] Convert CONFIG_TWL4030_LED et al to Kconfig

2018-08-06 Thread Adam Ford
This converts the following to Kconfig: CONFIG_TWL4030_LED CONFIG_TWL4030_INPUT This also removes dead references to: CONFIG_TWL4030_KEYPAD Signed-off-by: Adam Ford --- configs/cairo_defconfig | 1 + configs/cm_t35_defconfig | 1 + configs/devkit8000_defconfig

Re: [U-Boot] MMC_DAVINCI not compliant with CONFIG_BLK

2018-08-06 Thread Adam Ford
t introducing the DM into the > SPL build (for NAND) currently overruns the SRAM area by 4K or so. > > If you want to have a look I'm happy to send you my changes so-far. > I would love to give them a try. Adam > > PJH > > -Original Message- > From: A

Re: [U-Boot] MMC_DAVINCI not compliant with CONFIG_BLK

2018-08-06 Thread Adam Ford
On Mon, Aug 6, 2018, 5:22 PM Peter Howard wrote: > Sorry a clarification - my main focus is the LCDK board - it's that one > which has the 4K overrun. > > -Original Message- > From: Peter Howard > Sent: Tuesday, 7 August 2018 8:22 AM > To: 'Adam Ford&#x

Re: [U-Boot] MMC_DAVINCI not compliant with CONFIG_BLK

2018-08-06 Thread Adam Ford
On Mon, Aug 6, 2018, 6:30 PM Peter Howard wrote: > > > >From: Adam Ford > >Sent: Tuesday, 7 August 2018 9:12 AM > >To: Peter Howard > >Cc: U-Boot Mailing List ; David Lechner < > da...@lechnology.com>; Stefano Babic ; Heiko Schocher < > h...@denx

[U-Boot] [PATCH] Removed unused references to CONFIG_SERIALx

2018-08-07 Thread Adam Ford
After creating CONS_INDEX and migrating a bunch of boards to it, there are a bunch of defined references to CONFIG_SERIALx which are not referenced in any C code or #ifdef, so they can now be removed Signed-off-by: Adam Ford --- include/configs/am3517_crane.h | 1 - include/configs

[U-Boot] [PATCH] arm: omap: configs: various: Remove references to OMAP34XX_UARTx

2018-08-07 Thread Adam Ford
Two boards include a reference to ti_omap3_common.h which points the UART driver to OMAP34XX_UARTx so the extra define should be unnecessary. Signed-off-by: Adam Ford --- include/configs/omap3_evm.h | 1 - include/configs/omap3_pandora.h | 1 - 2 files changed, 2 deletions(-) diff --git a

Re: [U-Boot] [PATCH v4] spi: davinci: Full dm conversion

2018-08-07 Thread Adam Ford
On Tue, Aug 7, 2018 at 1:30 AM Jagan Teki wrote: > > davinci_spi now support dt along with platform data, > respective boards need to switch into dm for the same. > > Cc: Adam Ford > Cc: Vitaly Andrianov > Cc: Stefano Babic > Cc: Peter Howard > Cc: Tom Rini

Re: [U-Boot] [PATCH] spi: davinci: Full dm conversion

2018-08-08 Thread Adam Ford
On Tue, Aug 7, 2018 at 1:29 AM Jagan Teki wrote: > > davinci_spi now support dt along with platform data, > respective boards need to switch into dm for the same. > > Cc: Adam Ford > Cc: Vitaly Andrianov > Cc: Stefano Babic > Cc: Peter Howard > Cc: Tom Rini

Re: [U-Boot] MMC_DAVINCI not compliant with CONFIG_BLK

2018-08-08 Thread Adam Ford
ginal Message- > From: Peter Howard > Sent: Tuesday, 7 August 2018 8:22 AM > To: 'Adam Ford' ; U-Boot Mailing List > > Cc: David Lechner ; Stefano Babic ; > Heiko Schocher ; Christoph Rüdisser > ; Manfred Rudigier > > Subject: RE: MMC_DAVINCI not compliant

[U-Boot] [PATCH 2/3] ARM: davinci: da850evm: Support DM_MMC

2018-08-09 Thread Adam Ford
With the updated driver available to support DM_MMC, this patch enables DM_MMC for da850evm. Signed-off-by: Adam Ford diff --git a/board/davinci/da8xxevm/da850evm.c b/board/davinci/da8xxevm/da850evm.c index 5583b45792..e8ec553f99 100644 --- a/board/davinci/da8xxevm/da850evm.c +++ b/board

[U-Boot] [PATCH 1/3] MMC: Enable DM_MMC for Davinci

2018-08-09 Thread Adam Ford
Signed-off-by: Adam Ford diff --git a/drivers/mmc/davinci_mmc.c b/drivers/mmc/davinci_mmc.c index d7cb88a40a..db950ea5ec 100644 --- a/drivers/mmc/davinci_mmc.c +++ b/drivers/mmc/davinci_mmc.c @@ -7,9 +7,10 @@ #include #include -#include +#include #include #include +#include #include

[U-Boot] [PATCH 3/3] ARM: davinci: omapl138_lcdk: Enable DM_MMC

2018-08-09 Thread Adam Ford
With DM_MMC now available, this patch enables DM_MMC for the omapl138_lcdk in U-Boot and keeps the older style for SPL. Signed-off-by: Peter Howard Signed-off-by: Adam Ford diff --git a/board/davinci/da8xxevm/omapl138_lcdk.c b/board/davinci/da8xxevm/omapl138_lcdk.c index 15ffc3bfac

Re: [U-Boot] [PATCH] omap3_logic: Fix CONS_INDEX

2018-08-09 Thread Adam Ford
On Sat, Jul 28, 2018 at 2:03 PM Adam Ford wrote: > > The console index for SPL should be 1 not 3 in order to see text during > SPL. > > Fixes 6f6b7cfa89e5 ("Convert all of CONFIG_CONS_INDEX to Kconfig") > Tom, Is there any way this can be applied for the next RC can

Re: [U-Boot] [PATCH 5/6] serial: ns16550: fix debug uart putc called before init

2018-08-09 Thread Adam Ford
On Thu, Aug 9, 2018 at 2:08 PM Simon Goldschmidt wrote: > > If _debug_uart_putc() is called before _debug_uart_init(), the > ns16550 debug uart driver hangs in a tight loop waiting for the > tx FIFO to get empty. > > As this can happen via a printf sneaking in before the port calls > debug_uart_in

[U-Boot] [PATCH] Convert CONFIG_SYS_I2C_DAVINCI to Kconfig

2018-08-10 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SYS_I2C_DAVINCI Signed-off-by: Adam Ford diff --git a/configs/da850_am18xxevm_defconfig b/configs/da850_am18xxevm_defconfig index abb2295951..31e0529e40 100644 --- a/configs/da850_am18xxevm_defconfig +++ b/configs/da850_am18xxevm_defconfig

Re: [U-Boot] [PATCH] spi: davinci: Full dm conversion

2018-08-10 Thread Adam Ford
On Fri, Aug 10, 2018 at 12:14 AM Jagan Teki wrote: > > On Wed, Aug 8, 2018 at 6:47 PM, Adam Ford wrote: > > On Tue, Aug 7, 2018 at 1:29 AM Jagan Teki > > wrote: > >> > >> davinci_spi now support dt along with platform data, > >> respecti

[U-Boot] [PATCH] configs: da850evm: Remove DM_I2C_COMPAT

2018-08-10 Thread Adam Ford
bss dec hex filename 342924 13380 123440 479744 75200 u-boot Signed-off-by: Adam Ford diff --git a/configs/da850evm_defconfig b/configs/da850evm_defconfig index ea56d01344..56d87334a7 100644 --- a/configs/da850evm_defconfig +++ b/configs/da850evm_defconfig @@ -39,7 +39,6 @@ CONFIG

Re: [U-Boot] [PATCH] spi: davinci: Full dm conversion

2018-08-10 Thread Adam Ford
On Fri, Aug 10, 2018 at 8:38 AM Jagan Teki wrote: > > On Wed, Aug 8, 2018 at 6:47 PM, Adam Ford wrote: > > On Tue, Aug 7, 2018 at 1:29 AM Jagan Teki > > wrote: > >> > >> davinci_spi now support dt along with platform data, > >> respecti

Re: [U-Boot] [PATCH] serial: omap: Introduce DM specific omap serial

2018-08-10 Thread Adam Ford
On Fri, Aug 10, 2018 at 8:07 AM Lokesh Vutla wrote: > > Add driver model support for OMAP_SERIAL while reusing > the functions in ns16550.c > > Signed-off-by: Lokesh Vutla > --- > > Based on the conclusion on the thread[1], added a separate driver for > omap uart. > > [1] https://patchwork.ozlabs

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