[U-Boot] [PATCH v5 3/4] arm: add initial support for Amlogic Meson and ODROID-C2

2016-04-23 Thread Beniamino Galvani
This adds platform code for the Amlogic Meson GXBaby (S905) SoC and a board definition for ODROID-C2. This initial submission only supports UART and Ethernet (through the existing Designware driver). DTS files are the ones submitted to Linux arm-soc for 4.7 [1]. [1] https://patchwork.ozlabs.org/pa

[U-Boot] [PATCH v5 4/4] arm: meson: implement calls to secure monitor

2016-04-23 Thread Beniamino Galvani
Implement calls to secure monitor to read the MAC address from e-fuse. Signed-off-by: Beniamino Galvani --- arch/arm/include/asm/arch-meson/sm.h | 12 +++ arch/arm/mach-meson/Makefile | 2 +- arch/arm/mach-meson/board.c| 1 + arch/arm/mach-meson/sm.c |

[U-Boot] [PATCH v5 2/4] net: designware: fix descriptor layout and warnings on 64-bit archs

2016-04-23 Thread Beniamino Galvani
All members of the DMA descriptor must be 32-bit, even on 64-bit architectures: change the type to u32 to ensure this. Also, fix other warnings. Signed-off-by: Beniamino Galvani --- drivers/net/designware.c | 59 ++-- drivers/net/designware.h | 4 ++--

[U-Boot] [PATCH v5 1/4] arm: implement generic PSCI reset call for armv8

2016-04-23 Thread Beniamino Galvani
Add a psci_system_reset() which calls the SYSTEM_RESET function of PSCI 0.2 and can be used by boards that support it to implement reset_cpu(). Signed-off-by: Beniamino Galvani --- arch/arm/cpu/armv8/fwcall.c | 16 arch/arm/include/asm/psci.h | 17 - arch/arm

[U-Boot] [PATCH v5 0/4] Amlogic Meson GXBaby and ODROID-C2 support

2016-04-23 Thread Beniamino Galvani
Hi, this series adds a very basic support for Amlogic S905 SoC (GXBaby) and for the ODROID-C2 board [1], and is based on u-boot sources available from the board vendor [2]. At the moment the only supported devices are the integrated UART and Ethernet adapter. Changes since v4: - added patch to i

Re: [U-Boot] [PATCH v4 00/13] ARM: uniphier: add ARMv8 SoCs support

2016-04-23 Thread Masahiro Yamada
2016-04-21 14:43 GMT+09:00 Masahiro Yamada : > > Masahiro Yamada (13): > pinctrl: uniphier: rename function/array names > pinctrl: uniphier: fix NAND and SD pin-mux settings for PH1-LD11/LD20 > ARM: uniphier: avoid unaligned access to DT on 64bit SoC > ARM: dts: uniphier: use Ref Daughter b

[U-Boot] pull request: u-boot-uniphier/master

2016-04-23 Thread Masahiro Yamada
Hi Tom, Finally, this series adds support for the first ARMv8 SoC from Socionext Inc. The following changes since commit 65341967ce9ef2656c61dcd3126536e8865c349d: Merge branch 'master' of git://git.denx.de/u-boot-x86 (2016-04-22 07:25:18 -0400) are available in the git repository at: gi

Re: [U-Boot] [PATCH] Revert "rockchip: rk3288: correct sdram setting"

2016-04-23 Thread Simon Glass
On 20 April 2016 at 13:25, Simon Glass wrote: > On 15 April 2016 at 14:43, Vagrant Cascadian wrote: >> This reverts commit b5788dc0dd9570e98552833767f4373db965985d. >> >> Ram size is incorrectly reported as 512MB on a firefly-rk3288 board >> with 2GB of ram. Reverting this patch displays the full

Re: [U-Boot] [PATCH 38/60] ARM: tegra: remove tegra_get_chip()

2016-04-23 Thread Simon Glass
Hi Stephen, On 19 April 2016 at 14:59, Stephen Warren wrote: > From: Stephen Warren > > U-Boot is compiled for a single board, which in turn uses a specific SoC. > There's no need to make runtime decisions based on SoC ID. While there's > certainly an argument for making the code support differe

Re: [U-Boot] [PATCH 37/60] ARM: tegra: move SDIOCFG_DRV* to pinmux.h

2016-04-23 Thread Simon Glass
On 19 April 2016 at 14:59, Stephen Warren wrote: > From: Stephen Warren > > These defines are used with APIs in pinmux.h, so it makes sense to put > them into the same header. It also allows all includes of gp_padctrl.h > to be removed from code outside arch/arm/mach-tegra/. > > Signed-off-by: St

Re: [U-Boot] [PATCH V4] dm: gpio: pca953x: introduce driver model support for pca953x

2016-04-23 Thread Simon Glass
On 14 April 2016 at 07:54, Michal Simek wrote: > On 14.4.2016 15:45, Peng Fan wrote: >> Introduce a new driver that supports driver model for pca953x. >> The pca953x chips are used as I2C I/O expanders. >> This driver is designed to support the following chips: >> " >> 4 bits: pca9536, pca9537 >>

Re: [U-Boot] [PATCH v3 4/8] serial: s5p: get the port id number from the alias of the device node

2016-04-23 Thread Simon Glass
On 23 April 2016 at 10:48, Thomas Abraham wrote: > From: Thomas Abraham > > The port id, if not specified in the device node, can be obtained from > the alias of the device node listed in the aliases node. > > Cc: Minkyu Kang > Signed-off-by: Thomas Abraham > --- > drivers/serial/serial_s5p.c

Re: [U-Boot] [PATCH v3 3/8] clk: exynos: add clock driver for Exynos7420 Soc

2016-04-23 Thread Simon Glass
On 23 April 2016 at 10:48, Thomas Abraham wrote: > From: Thomas Abraham > > Add a clock driver for Exynos7420 SoC. There are about 25 clock controller > blocks in Exynos7420 out of which support for topc, top0 and peric1 blocks > are added in this initial version of the driver. > > Cc: Minkyu Kan

Re: [U-Boot] [PATCH v3 6/8] arm: exynos: realign the code to allow support for newer 64-bit platforms

2016-04-23 Thread Simon Glass
On 23 April 2016 at 10:48, Thomas Abraham wrote: > From: Thomas Abraham > > The existing Exynos 32-bit platform support needs to be realigned in > order to support newer 64-bit Exynos platforms. The driver model will > be utlized for drivers on the 64-bit Exynos platforms and so some of > the old

Re: [U-Boot] [PATCH 0/9] Add support for Espresso7420 board

2016-04-23 Thread Thomas Abraham
Hi Alim, On Wed, Apr 20, 2016 at 2:47 PM, Alim Akhtar wrote: > Hi Thomas, > > On 04/13/2016 04:13 PM, Thomas Abraham wrote: >> >> This patch series add support for Espresso7420 board. This board is >> the development/evaluation platform for Exynos7420 SoC. The SoC is >> composed of quad Cortex-A5

[U-Boot] [PATCH v3 7/8] arm: exynos: add support for Exynos7420 SoC

2016-04-23 Thread Thomas Abraham
From: Thomas Abraham Add support for Exynos7420 SoC. The Exynos7420 SoC has four Cortex-A57 and four Cortex-A53 CPUs and includes various peripheral controllers. Signed-off-by: Thomas Abraham Reviewed-by: Simon Glass --- arch/arm/dts/exynos7420.dtsi| 83 + ar

[U-Boot] [PATCH v3 8/8] board: samsung: add initial Espresso7420 board support

2016-04-23 Thread Thomas Abraham
From: Thomas Abraham Espresso7420 is a development/evaluation board for Exynos7420 SoC. It includes multiple onboard compoments (EMMC/Codec) and various interconnects (USB/HDMI). Signed-off-by: Thomas Abraham Reviewed-by: Simon Glass --- arch/arm/dts/Makefile |1 + arc

[U-Boot] [PATCH v3 6/8] arm: exynos: realign the code to allow support for newer 64-bit platforms

2016-04-23 Thread Thomas Abraham
From: Thomas Abraham The existing Exynos 32-bit platform support needs to be realigned in order to support newer 64-bit Exynos platforms. The driver model will be utlized for drivers on the 64-bit Exynos platforms and so some of the older platform support code would not be required for the newer

[U-Boot] [PATCH v3 5/8] serial: s5p: use clock api to get clock rate

2016-04-23 Thread Thomas Abraham
From: Thomas Abraham On Exynos platforms that support clock driver API, allow the driver to use clock api get the SCLK clock rate. Cc: Minkyu Kang Signed-off-by: Thomas Abraham Reviewed-by: Simon Glass --- drivers/serial/serial_s5p.c | 15 ++- 1 files changed, 14 insertions(+),

[U-Boot] [PATCH v3 4/8] serial: s5p: get the port id number from the alias of the device node

2016-04-23 Thread Thomas Abraham
From: Thomas Abraham The port id, if not specified in the device node, can be obtained from the alias of the device node listed in the aliases node. Cc: Minkyu Kang Signed-off-by: Thomas Abraham --- drivers/serial/serial_s5p.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) dif

[U-Boot] [PATCH v3 2/8] pinctrl: Add pinctrl driver support for Exynos7420 SoC

2016-04-23 Thread Thomas Abraham
From: Thomas Abraham Add pinctrl driver support for Samsung's Exynos7420 SoC. The changes have been split into Exynos7420 specific and common Exynos specific portions so that this implementation is reusable on other Exynos SoCs as well. The Exynos pinctrl driver supports only device tree based p

[U-Boot] [PATCH v3 3/8] clk: exynos: add clock driver for Exynos7420 Soc

2016-04-23 Thread Thomas Abraham
From: Thomas Abraham Add a clock driver for Exynos7420 SoC. There are about 25 clock controller blocks in Exynos7420 out of which support for topc, top0 and peric1 blocks are added in this initial version of the driver. Cc: Minkyu Kang Cc: Simon Glass Signed-off-by: Thomas Abraham --- driver

[U-Boot] [PATCH v3 1/8] pinctrl: add the DM_UC_FLAG_SEQ_ALIAS flag for numbering the devices

2016-04-23 Thread Thomas Abraham
From: Thomas Abraham It is possible to have multiple pin controllers in the system. Use the DM_UC_FLAG_SEQ_ALIAS flag so that the pinctrl instances are assigned a sequence number. Cc: Masahiro Yamada Cc: Simon Glass Signed-off-by: Thomas Abraham Reviewed-by: Simon Glass --- drivers/pinctrl/

[U-Boot] [PATCH v3 0/8] Add support for Espresso7420 board

2016-04-23 Thread Thomas Abraham
Changes since v2: - changes based on comments from Simon Glass and Minkyu Kang. This patch series add support for Espresso7420 board. This board is the development/evaluation platform for Exynos7420 SoC. The SoC is composed of quad Cortex-A57 block, a quad Cortex-A53 block and various other periph

Re: [U-Boot] [PATCH 9/9] board: samsung: add initial Espresso7420 board support

2016-04-23 Thread Thomas Abraham
Hi Simon, On Wed, Apr 20, 2016 at 8:11 PM, Simon Glass wrote: > Hi Thomas, > > On 13 April 2016 at 04:43, Thomas Abraham wrote: >> From: Thomas Abraham >> >> Espresso7420 is a development/evaluation board for Exynos7420 SoC. It >> includes multiple onboard compoments (EMMC/Codec) and various >>

Re: [U-Boot] [PATCH 8/9] arm: exynos: add support for Exynos7420 SoC

2016-04-23 Thread Thomas Abraham
Hi Simon, On Wed, Apr 20, 2016 at 8:11 PM, Simon Glass wrote: > Hi Thomas, > > On 13 April 2016 at 04:43, Thomas Abraham wrote: >> From: Thomas Abraham >> >> Add support for Exynos7420 SoC. The Exynos7420 SoC has four Cortex-A57 >> and four Cortex-A53 CPUs and includes various peripheral contro

Re: [U-Boot] [PATCH 7/9] arm: exynos: realign the code to allow support for newer 64-bit platforms

2016-04-23 Thread Thomas Abraham
Hi Mr. Kang, On Thu, Apr 21, 2016 at 7:21 PM, Minkyu Kang wrote: > Hi, > > On 18/04/16 23:11, Thomas Abraham wrote: >> Hi Mr. Kang, >> >> On Mon, Apr 18, 2016 at 4:39 PM, Minkyu Kang wrote: >>> Dear Thomas Abraham, >>> >>> On 13/04/16 19:43, Thomas Abraham wrote: From: Thomas Abraham

Re: [U-Boot] [PATCH 4/9] clk: exynos: add clock driver for Exynos7420 Soc

2016-04-23 Thread Thomas Abraham
Hi Simon, On Wed, Apr 20, 2016 at 8:11 PM, Simon Glass wrote: > Hi Thomas, > > On 13 April 2016 at 04:43, Thomas Abraham wrote: >> From: Thomas Abraham >> >> Add a clock driver for Exynos7420 SoC. There are about 25 clock controller >> blocks in Exynos7420 out of which support for topc, top0 an

Re: [U-Boot] [PATCH] pci: Device scanning range fix.

2016-04-23 Thread Simon Glass
Hi Yoshinori, On 18 April 2016 at 02:02, Yoshinori Sato wrote: > Don't lookup pci device 1f.7 > > Signed-off-by: Yoshinori Sato > --- > drivers/pci/pci-uclass.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c > index c