Re: [PATCH v2] ARM: phyCORE-i.MX8M SOM support

2019-02-24 Thread Sam Ravnborg
Hi Christian. On Thu, Feb 21, 2019 at 08:24:11PM +0100, Christian Hemp wrote: > The phyCORE-i.MX8M aka PCL-066 is a SoM containing a i.MX8M SoC. > > phyCORE-i.MX8M: > - 1GB LPDDR4 RAM > - eMMC > - microSD > - Ethernet > > Signed-off-by: Christian Hemp I browsed the patch - and everything

[PATCH v4 05/11] clk: at91: add at91sam9260

2019-02-24 Thread Sam Ravnborg
Add at91sam9260 as part of supporting the PMC bindings for ARM at91. The file will be wired into the build in a follow-up patch. The file is a copy from kernel 5.0-rc6 modified to build with barebox. Signed-off-by: Sam Ravnborg Tested-by: Ladislav Michl --- drivers/clk/at91/at91sam9260.c |

[PATCH v4 11/11] clk: at91: update to PMC bindings

2019-02-24 Thread Sam Ravnborg
Based on kernel 5.0-rc6 update at91 clk support to match the new PMC bindings. Manually added all changes done in the kernel from 4.9-rc3 to 5.0-rc6. New drivers required was added as seperate commits. This includes dt-compat code required to support at91sam5d3, as this is not yet ported to use

[PATCH v4 06/11] clk: at91: add at91sam9rl

2019-02-24 Thread Sam Ravnborg
Add at91sam9rl as part of supporting the PMC bindings for ARM at91. The file will be wired into the build in a follow-up patch. The file is a copy from kernel 5.0-rc6 modified to build with barebox. Signed-off-by: Sam Ravnborg --- drivers/clk/at91/at91sam9rl.c | 177

[PATCH v4 07/11] clk: at91: add at91sam9x5

2019-02-24 Thread Sam Ravnborg
Add at91sam9x5 as part of supporting the PMC bindings for ARM at91. The file will be wired into the build in a follow-up patch. The file is a copy from kernel 5.0-rc6 modified to build with barebox. Signed-off-by: Sam Ravnborg --- drivers/clk/at91/at91sam9x5.c | 315

[PATCH v4 08/11] clk: at91: add sama5d2

2019-02-24 Thread Sam Ravnborg
Add sama5d2 as part of supporting the PMC bindings for ARM at91. The file will be wired into the build in a follow-up patch. The file is a copy from kernel 5.0-rc6 modified to build with barebox. Signed-off-by: Sam Ravnborg --- drivers/clk/at91/sama5d2.c | 342

[PATCH v4 0/11] at91: Support PMC clock bindings

2019-02-24 Thread Sam Ravnborg
Hi all. The following patchset add supports for the PMC clk bindings for at91. The patchset was tested on: - at91sam9264ek - DT enabled - sama5d4-xplained - non DT Ladislav and Ahmad did some additional testing on the boards they have available. Please await feedback from Ahmad and Ladislav

[PATCH v4 10/11] clk: at91: add dt-compat to PMC bindings

2019-02-24 Thread Sam Ravnborg
From: Ahmad Fatoum As the sama5d3 based microchip-ksz9477-evb board still uses the old bindings, the dt-compat.c code is ported as well. This can be removed when all in-kernel at91 boards have been ported to the new bindings. Signed-off-by: Ahmad Fatoum Signed-off-by: Sam Ravnborg ---

[PATCH v4 01/11] arm: at91: fix at91_configure_usart6 warning

2019-02-24 Thread Sam Ravnborg
Add declaration to silence following warning: arch/arm/mach-at91/sama5d4_devices.c:487:24: warning: no previous prototype for ‘at91_configure_usart6’ Signed-off-by: Sam Ravnborg --- arch/arm/mach-at91/include/mach/board.h | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v4 09/11] clk: at91: add sama5d4

2019-02-24 Thread Sam Ravnborg
Add sama5d4 as part of supporting the PMC bindings for ARM at91. The file will be wired into the build in a follow-up patch. The file is a copy from kernel 5.0-rc6 modified to build with barebox. Signed-off-by: Sam Ravnborg --- drivers/clk/at91/sama5d4.c | 270

[PATCH v4 04/11] arm: at91: add SOC_SAMA5{D2,D3,D4}

2019-02-24 Thread Sam Ravnborg
This split allows us to distingush between the SOC types. The SOC symbols will be used in following patches. SOC_SAMA5D2 is essential unused for now,, and only added to prepare for future use Signed-off-by: Sam Ravnborg Tested-by: Ladislav Michl --- arch/arm/mach-at91/Kconfig | 20

[PATCH v4 03/11] clocksource: Do not mix depends and select for ATMEL_PIT

2019-02-24 Thread Sam Ravnborg
CLOCKSOURCE_ATMEL_PIT was both set to yes using depends on and using select. Use only select to set this non-visible symbol to 'y' Signed-off-by: Sam Ravnborg Tested-by: Ladislav Michl --- drivers/clocksource/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH v4 02/11] regmap: Implement syscon_regmap_lookup_by_compatible()

2019-02-24 Thread Sam Ravnborg
From: Ahmad Fatoum Implement syscon_regmap_lookup_by_compatible() to simplify porting kernel code. Signed-off-by: Ahmad Fatoum Signed-off-by: Sam Ravnborg --- drivers/mfd/syscon.c | 14 ++ include/mfd/syscon.h | 5 + 2 files changed, 19 insertions(+) diff --git

Re: [PATCH v2 00/16] ARM: at91: microchip-kz9477-evb: support first stage boot

2019-02-24 Thread Sam Ravnborg
Hi Ahmad. On Tue, Feb 19, 2019 at 06:21:34PM +0100, Ahmad Fatoum wrote: > v1 is at <20190116174559.17416-1-a.fat...@pengutronix.de>. > > I tried to strip down barebox, so the first stage can be device tree > based as well. It boots up to trying to load the first stage from MMC, > where it fails.

Re: [PATCH 4/4] ARM: at91: remove duplicate get_ddram_size code

2019-02-24 Thread Sam Ravnborg
Hi Ahmad. On Tue, Feb 19, 2019 at 01:06:12PM +0100, Ahmad Fatoum wrote: > Both at91_get_ddram_size and at91sama5_get_ddram_size are the > same if is_sdram == false and is_nb == true. > > is_sdram is always false, because according to the sama5d{2,3,4} > datasheets, the lowest possible value for

Re: [PATCH v4 0/11] at91: Support PMC clock bindings

2019-02-24 Thread Ladislav Michl
On Sun, Feb 24, 2019 at 07:52:48PM +0100, Sam Ravnborg wrote: > Hi all. > > The following patchset add supports for the PMC clk > bindings for at91. > The patchset was tested on: > - at91sam9264ek - DT enabled > - sama5d4-xplained - non DT > > Ladislav and Ahmad did some additional testing on

[PATCH] usb: imx: Do not disable VBUS on ehci_register()'s success

2019-02-24 Thread Andrey Smirnov
Original code was written to exit early on ehci_register()'s success. As a part of e3eb0c729b, however, it was modified to to early exit on failure instead. This resulted in VBUS being erroneously disabled after EHCI controller was added, thus breaking USB on some i.MX boards (confirmed on ZII's