Re: [U-Boot] [PATCH] LS1012A: change the size of flash

2017-05-23 Thread Suresh Gupta
> -Original Message- > From: york sun > Sent: Tuesday, May 23, 2017 9:50 PM > To: Suresh Gupta ; u-boot@lists.denx.de > Cc: ja...@openedev.com > Subject: Re: [PATCH] LS1012A: change the size of flash > > On 04/25/2017 02:20 AM, Suresh Gupta wrote: > > LS1012A has

[U-Boot] [PATCH] power: pmic: tps65218: Fix tps65218_voltage_update function

2017-05-23 Thread Keerthy
Currently while setting the vsel value for dcdc1 and dcdc2 the driver is wrongly masking the entire 8 bits in the process clearing PFM (bit7) field as well. Hence describe an appropriate mask for vsel field and modify only those bits in the vsel mask. Source:

Re: [U-Boot] [PATCH] edid: Fix gcc 7.1 warning

2017-05-23 Thread Jernej Škrabec
Hi, Dne sreda, 24. maj 2017 ob 03:00:16 CEST je Tom Rini napisal(a): > On Tue, May 23, 2017 at 11:05:30PM +0200, Jernej Skrabec wrote: > > This commit fixes the warning produced by gcc 7.1. > > > > Signed-off-by: Jernej Skrabec > > Reviewed-by: Tom Rini

[U-Boot] Heads-up: Compilation error with arm-none-eabi-gcc version 7.1

2017-05-23 Thread Kernel Hacker
Hi, I just upgraded my Arch Linux system to the latest arm-none-eabi-gcc version which is "7.1.0-1" (from 6.3.1-1). After I did this I ran into two issues. First, u-boot no longer links. I get several linker errors [1]. Secondly, if I build a Linux kernel v4.10 image with this compiler it

Re: [U-Boot] [PATCH 11/11] ARM: am437x-gp-evm-u-boot.dtsi: Enable nodes for USB device boot

2017-05-23 Thread Lokesh Vutla
On Tuesday 23 May 2017 05:25 PM, Vignesh R wrote: > Enable USB nodes required to support RNDIS boot in SPL. > > Signed-off-by: Vignesh R > --- > arch/arm/dts/am437x-gp-evm-u-boot.dtsi | 20 > 1 file changed, 20 insertions(+) > > diff --git

Re: [U-Boot] [PATCH 3/6] rockchip: evb-rk3328: set uart2 and sdmmc io routing

2017-05-23 Thread Kever Yang
Hi Simon, On 05/20/2017 10:29 AM, Simon Glass wrote: Hi Kever, On 16 May 2017 at 21:44, Kever Yang wrote: In rk3328, some function pin may have more than one choice, and muxed with more than one IO, for example, the UART2 controller IO, TX and RX, have 3

[U-Boot] [PATCH v6 5/6] arm: socfpga: Move FPGA manager driver to FPGA driver

2017-05-23 Thread tien . fong . chee
From: Tien Fong Chee Move FPGA manager driver which is Gen5 specific code from arch/arm/ into FPGA driver at driver/fpga/. No functional change. Signed-off-by: Tien Fong Chee --- arch/arm/mach-socfpga/Makefile | 1 -

[U-Boot] [PATCH v6 4/6] arm: socfpga: Enable FPGA driver build on SPL

2017-05-23 Thread tien . fong . chee
From: Tien Fong Chee Enable FPGA driver build for SPL because FPGA driver is needed for SPL to configure and getting DDR up before loading U-boot into DDR and booting from there. Signed-off-by: Tien Fong Chee --- drivers/Makefile | 1 + 1

[U-Boot] [PATCH v6 6/6] arm: socfpga: Add FPGA driver support for Arria 10

2017-05-23 Thread tien . fong . chee
From: Tien Fong Chee Add FPGA driver support for Arria 10. Signed-off-by: Tien Fong Chee --- arch/arm/mach-socfpga/include/mach/fpga_manager.h | 2 + .../include/mach/fpga_manager_arria10.h| 100 + drivers/fpga/Makefile

[U-Boot] [PATCH v6 3/6] arm: socfpga: Enable FPGA driver on SPL

2017-05-23 Thread tien . fong . chee
From: Tien Fong Chee This patch is for enabling the FPGA driver support on SPL. Signed-off-by: Tien Fong Chee --- include/configs/socfpga_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/socfpga_common.h

[U-Boot] [PATCH v6 2/6] arm: socfpga: Restructure FPGA driver in the preparation to support A10

2017-05-23 Thread tien . fong . chee
From: Tien Fong Chee Move FPGA driver which is Gen5 specific code into Gen5 driver file and keeping common FPGA driver intact. All the changes are still keeping in driver/fpga/ and no functional change. Subsequent patch would move FPGA manager driver from arch/arm into

[U-Boot] [PATCH v6 1/6] arm: socfpga: Remove unused passing parameter of socfpga_bridges_reset

2017-05-23 Thread tien . fong . chee
From: Tien Fong Chee Remove parameter from socfpga_bridges_reset(), and keeping this function for single purpose which is just triggering reset on bridges. socfpga_reset_deassert_bridges_handoff() can be called for releasing reset on any bridges based on the bridge

[U-Boot] [PATCH v6 0/6] Add Intel Arria 10 SoC FPGA driver

2017-05-23 Thread tien . fong . chee
From: Tien Fong Chee This is the 6th version of patchset to adds support for Intel Arria 10 SoC FPGA driver. This version mainly resolved comments from Dinh in [v5]. This series is working on top of u-boot-socfpga-next branch

[U-Boot] [PATCH] nds32: mmc: Support ftsdc010 DM.

2017-05-23 Thread Andes
From: rick Support Andestech ftsdc010 SD/MMC device tree flow on AG101P/AE3XX platforms. Verification : boot linux kernel from sd card NDS32 # mmc rescan NDS32 # fatls mmc 0:1 13938796 boomimage-310y-ag101p.bin 1 file(s) NDS32 # fatload mmc 0:1 0x60

[U-Boot] Uboot send pull request

2017-05-23 Thread uboot
Hi Tom, Please pull the following patch from u-boot-nds32 into your tree. Thanks! The following changes since commit be71a179bdd935336fb0bee8283be729144ac965: nds32: eth: Support ftmac100 DM. (2017-05-23 13:48:27 +0800) are available in the git repository at:

Re: [U-Boot] [PATCH v5 3/5] arm: socfpga: Enable FPGA driver on SPL

2017-05-23 Thread Chee, Tien Fong
On Sel, 2017-05-23 at 09:11 -0500, Dinh Nguyen wrote: > > On 05/23/2017 01:25 AM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > Enable FPGA driver build for SPL. FPGA driver is needed for SPL > > to configure and getting DDR up before loading

Re: [U-Boot] [PATCH V6 4/4] rockchip: rk3288: enable rockusb support on rk3288 based device

2017-05-23 Thread Eddie Cai
2017-05-24 8:44 GMT+08:00 Simon Glass : > Hi Eddie, > > On 22 May 2017 at 00:43, Eddie Cai wrote: >> this patch enable rockusb support on rk3288 based device. >> >> Signed-off-by: Eddie Cai >> >> Changes in v6: >> -enable

Re: [U-Boot] [PATCH] rockchip: rk8xx: allocate priv structure for driver

2017-05-23 Thread sjg
On 5 May 2017 at 00:50, Kever Yang wrote: > The rk8xx_priv structure need to allocate for driver, or else > it will cause data abort when CPU access it. > > This is a bug fix for below patch set: > https://www.mail-archive.com/u-boot@lists.denx.de/msg247345.html > >

Re: [U-Boot] [PATCH] edid: Fix gcc 7.1 warning

2017-05-23 Thread Tom Rini
On Tue, May 23, 2017 at 11:05:30PM +0200, Jernej Skrabec wrote: > This commit fixes the warning produced by gcc 7.1. > > Signed-off-by: Jernej Skrabec Reviewed-by: Tom Rini And I'm curious, where is your gcc-7.1 toolchain from, self built or

Re: [U-Boot] [PATCH] regulator: pwm: Fix handling of missing init voltage

2017-05-23 Thread sjg
Since priv->init_voltage is an unsigned integer it can never be negative. So the current code fails to detect a missing 'regulator-init-microvolt' property and instead misconfigures the PWM device. Fix this by making the relevant members of 'struct pwm_regulator_info' signed integers.

Re: [U-Boot] [PATCH v2 1/7] rockchip: rk3368: Add clock driver

2017-05-23 Thread sjg
On 15 May 2017 at 03:49, Andy Yan wrote: > Add driver to setup the various PLLs and peripheral > clocks on the RK3368. > > Signed-off-by: Andy Yan > --- > > Changes in v2: > - fix typo in subject > - remove CRU base definition in cru head file

Re: [U-Boot] [PATCH v2 3/7] rockchip: rk3368: Add core start-up code for RK3368

2017-05-23 Thread sjg
From: Andreas Färber The RK3368 is an octa-core Cortex-A53 SoC from Rockchip. This adds basic support to chain-load U-Boot from Rockchip's miniloader. Signed-off-by: Andreas Färber Signed-off-by: Andy Yan Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v3 4/4] rockchip: defconfig: puma-rk3399: enable RK3399 efuse driver

2017-05-23 Thread sjg
On 5 May 2017 at 11:21, Philipp Tomsich wrote: > With everything in place (i.e. the new efuse driver, the clk-support > for the non-secure efuse block, and the board-specific functions to > derive 'serial#' from the cpu-id within the efuses), enable this in

Re: [U-Boot] [PATCH v3 2/4] rockchip: board: puma_rk3399: add support for serial# and cpuid# via efuses

2017-05-23 Thread sjg
On 5 May 2017 at 11:21, Philipp Tomsich wrote: > With our efuse driver for the RK3399 ready, we can add the > board-specific code that consumes the cpuid from the efuse block and > postprocesses it into the system serial (using the same CRC32 based >

Re: [U-Boot] [PATCH 2/8] rockchip: dts: rk3328: add ehci and ohci node and enable host0 port

2017-05-23 Thread sjg
On 17 May 2017 at 04:21, Meng Dongyang wrote: Commit message? > Signed-off-by: Meng Dongyang > --- > arch/arm/dts/rk3328-evb.dts | 8 > arch/arm/dts/rk3328.dtsi| 14 ++ > 2 files changed, 22 insertions(+)

Re: [U-Boot] [PATCH v2 2/7] rockchip: rk3368: Add pinctrl driver

2017-05-23 Thread sjg
On 15 May 2017 at 03:50, Andy Yan wrote: > Add driver to support iomux setup for the most commonly > used peripherals on rk3368. > > Signed-off-by: Andy Yan > --- > > Changes in v2: > - remove GRF base definition in cru head file > - remove

Re: [U-Boot] [PATCH 5/8] rockchip: dts: rk3328: support and enable xhci

2017-05-23 Thread sjg
On 17 May 2017 at 04:25, Meng Dongyang wrote: Commit message? > Signed-off-by: Meng Dongyang > --- > arch/arm/dts/rk3328-evb.dts | 5 + > arch/arm/dts/rk3328.dtsi| 11 +++ > 2 files changed, 16 insertions(+) >

Re: [U-Boot] [PATCH v2 5/7] rockchip: rk3368: add Sheep board

2017-05-23 Thread sjg
Hi Simon: On 2017年05月17日 09:38, Simon Glass wrote: > On 15 May 2017 at 03:53, Andy Yan wrote: >> Sheep board is designed by Rockchip as a EVB for rk3368. >> Currently it is able to boot a linux kernel and system >> to console with the miniloader run as fist level

Re: [U-Boot] [PATCH v2 1/3] rockchip: rk3036: clean mask definition for cru reg

2017-05-23 Thread sjg
On 15 May 2017 at 06:52, Kever Yang wrote: > Embeded the shift in mask MACRO definition in cru header file > and clock driver. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - split into two patches > >

Re: [U-Boot] [PATCH] power: rk808: fix ldo register offset

2017-05-23 Thread sjg
On 6 May 2017 at 13:21, Heiko Stuebner wrote: > Till now get_ldo_reg did a return _ldo[num - 1]; to return > the ldo register offset but didn't take into account that its > calling functions already created the ldo as ldo = dev->driver_data - 1. > > This resulted in the setting

Re: [U-Boot] [PATCH v2 7/7] rockchip: rk3368: Add PX5 Evaluation board

2017-05-23 Thread sjg
PX5 EVB is designed by Rockchip for automotive field with integrated CVBS (TP2825) / MIPI DSI / CSI / LVDS HDMI video input/output interface, audio codec ES8396, WIFI / BT (on RTL8723BS), Gsensor BMA250E and light sensor STK3410. Signed-off-by: Andy Yan Reviewed-by:

Re: [U-Boot] [PATCH v2 6/7] rockchip: rk3368: Add initial support for RK3368 based GeekBox

2017-05-23 Thread sjg
On 15 May 2017 at 03:54, Andy Yan wrote: > From: Andreas Färber > > The GeekBox is a TV box from GeekBuying, based on an MXM3 module. > The module can be used with base boards such as the GeekBox Landingship. > This adds basic support to chain-load

Re: [U-Boot] [PATCH] rockchip: board: puma_rk3399: build FIT image via u-boot.itb

2017-05-23 Thread sjg
On 5 May 2017 at 11:22, Philipp Tomsich wrote: Commit message? > Signed-off-by: Philipp Tomsich > --- > > board/theobroma-systems/puma_rk3399/README | 5 ++--- > configs/puma-rk3399_defconfig | 1 + > 2

Re: [U-Boot] [PATCH 1/8] configs: rk3328: add support for usb and config ehci and ohci driver

2017-05-23 Thread sjg
On 17 May 2017 at 04:21, Meng Dongyang wrote: > Add defconfig for usb and ehci and ohci controller, config maximal > number of ports of the root hub for ohci driver. > > Signed-off-by: Meng Dongyang > --- > configs/evb-rk3328_defconfig

Re: [U-Boot] [PATCH v3 3/4] rockchip: board: puma_rk3399: derive ethaddr from cpuid

2017-05-23 Thread sjg
From: Klaus Goger Generate a MAC address based on the cpuid available in the efuse block: Use the first 6 byte of the cpuid's SHA256 hash and set the locally administered bits. Also ensure that the multicast bit is cleared. The MAC address is only generated

Re: [U-Boot] [PATCH v3 1/4] rockchip: efuse: add (misc) driver for RK3399 non-secure efuse block

2017-05-23 Thread sjg
This adds a simple driver for reading the efuse block of the RK3399. It should be easy enough to add drivers for other devices (e.g. the RK3328, RK3368, etc.) by passing the device details via driver_data. Unlike the kernel driver (using the nvmem subsystem), we don't expose the efuse as multiple

Re: [U-Boot] [PATCH v2 2/3] rockchip: clock: rk3036: some fix according TRM

2017-05-23 Thread sjg
On 15 May 2017 at 06:52, Kever Yang wrote: > - hclk/pclk_div range should use '<=' instead of '<' > - use GPLL for pd_bus clock source > - pd_bus HCLK/PCLK clock rate should not bigger than ACLK > > Signed-off-by: Kever Yang > --- > > Changes

Re: [U-Boot] [PATCH] defconfig: firefly-rk3399: fix pinctrl config option

2017-05-23 Thread sjg
On 3 May 2017 at 17:29, Heiko Stuebner wrote: > > The option is named PINCTRL_ROCKCHIP_RK3399 not ROCKCHIP_RK3399_PINCTRL. > Set the correct option. > > Signed-off-by: Heiko Stuebner > --- > configs/firefly-rk3399_defconfig | 2 +- > 1 file changed, 1

Re: [U-Boot] [PATCH v2 3/3] rockchip: rk3036: clean mask definition for grf reg

2017-05-23 Thread sjg
On 15 May 2017 at 06:52, Kever Yang wrote: > U-Boot prefer to use MASKs with SHIFT embeded, clean the Macro > definition in grf header file and pinctrl driver. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - add grf code clean > >

Re: [U-Boot] [PATCH v2 4/7] rockchip: rk3368: Add sysreset driver

2017-05-23 Thread sjg
Add sysreset driver to reset rk3368 SOC. Signed-off-by: Andy Yan Reviewed-by: Simon Glass --- Changes in v2: - slect soft reset source before reset drivers/sysreset/Makefile | 1 + drivers/sysreset/sysreset_rk3368.c | 62

Re: [U-Boot] [PATCH] rockchip; rk3399: disable SRAM security region

2017-05-23 Thread sjg
On 4 May 2017 at 21:01, Kever Yang wrote: > Some host like SD and eMMC may use DMA to transter data to SRAM, > set memory to non-secure to make sure the address can be accessed. > > The security of SRAM in OS suppose to initialized in ATF bl31, and > the SPL is before

Re: [U-Boot] [PATCH 3/8] configs: rk3328: config xhci controller

2017-05-23 Thread sjg
On 17 May 2017 at 04:21, Meng Dongyang wrote: > Add config of max root ports and add config to enable xhci > controller. > > Signed-off-by: Meng Dongyang > --- > configs/evb-rk3328_defconfig| 3 +++ > include/configs/rk3328_common.h |

Re: [U-Boot] [PATCH v2 1/2] rockchip: Add basic support for phyCORE-RK3288 SoM based carrier board

2017-05-23 Thread Simon Glass
Hi Wadim, On 15 May 2017 at 08:19, Wadim Egorov wrote: > The phyCORE-RK3288 is a SoM (System on Module) containing a RK3288 SoC. > The module can be connected to different carrier boards. > It can be also equipped with different RAM, SPI flash and eMMC variants. > The Rapid

Re: [U-Boot] [PATCH] buildman: Fix bloat option when 'new' only drops functions

2017-05-23 Thread Simon Glass
On 22 May 2017 at 11:48, Tom Rini wrote: > In the case where a new build only decreases sizes and does not increase > any size we still want to report what functions have been dropped when > doing a bloat comparison. > > Cc: Simon Glass > Signed-off-by: Tom

Re: [U-Boot] [PATCH] rockchip: dts: rk3328: add aliases for mmc controller

2017-05-23 Thread Simon Glass
Hi, On 23 May 2017 at 16:18, Andreas Färber wrote: > Hi Heiko, > > Am 23.05.2017 um 23:27 schrieb Heiko Stuebner: >> Am Dienstag, 23. Mai 2017, 17:14:19 CEST schrieb Tom Rini: >>> On Tue, May 23, 2017 at 11:03:23PM +0200, Mark Kettenis wrote: > From: Heiko Stuebner

Re: [U-Boot] [PATCH v2 3/3] usb: host: xhci-dwc3: Add generic PHY support

2017-05-23 Thread Simon Glass
On 22 May 2017 at 01:42, wrote: > From: Patrice Chotard > > Add support of generic PHY framework support > > Signed-off-by: Patrice Chotard > --- > > v2: _ none > > drivers/usb/host/xhci-dwc3.c | 32

Re: [U-Boot] [PATCH 00/26] dm: tegra: Move nyan-big to livetree

2017-05-23 Thread Simon Glass
Hi Tom, On 22 May 2017 at 16:15, Tom Rini wrote: > On Fri, May 19, 2017 at 08:30:43AM -0600, Simon Glass wrote: >> This moves an entire board to use a live device tree as an example of the >> impact. >> >> Nyan-big was chosen because I can easily and boot U-Boot without any

Re: [U-Boot] [PATCH v2 2/3] usb: host: xhci-dwc3: Add dual role mode support from DT

2017-05-23 Thread Simon Glass
On 22 May 2017 at 01:42, wrote: > From: Patrice Chotard > > DWC3 dual role mode is selected using DT "dr_mode" > property. If not found, DWC3 controller is configured > in HOST mode by default > > Signed-off-by: Patrice Chotard

Re: [U-Boot] [PATCH v2 1/3] usb: host: xhci-dwc3: Convert driver to DM

2017-05-23 Thread Simon Glass
On 22 May 2017 at 01:42, wrote: > From: Patrice Chotard > > Add Driver Model support with use of generic DT > compatible string "snps,dwc3" > > Signed-off-by: Patrice Chotard > --- > > v2: _ use dev_get_addr() and

Re: [U-Boot] [PATCH V6 4/4] rockchip: rk3288: enable rockusb support on rk3288 based device

2017-05-23 Thread Simon Glass
Hi Eddie, On 22 May 2017 at 00:43, Eddie Cai wrote: > this patch enable rockusb support on rk3288 based device. > > Signed-off-by: Eddie Cai > > Changes in v6: > -enable rockusb in defconfig > > Changes in v5: > -none > > Changes in v4: >

Re: [U-Boot] [GIT PULL] u-boot-sh/rmobile

2017-05-23 Thread Tom Rini
On Wed, May 24, 2017 at 04:49:41AM +0900, Nobuhiro Iwamatsu wrote: > Hi Tom, > > Please pull ARM/r-mobile updates for v2017.07. > > The following changes since commit a375ff8e14bea0a5cbfff99d6456aa8d9a3320ab: > > Merge branch 'master' of git://www.denx.de/git/u-boot-imx > (2017-05-18

[U-Boot] [PATCH] rockchip: Set up default PWM flags

2017-05-23 Thread Simon Glass
At present if the PWM set_invert() method is not called then the flags are not set up and the driver does not work properly. Fix this by setting up the default flags when probing. Signed-off-by: Simon Glass Fixes: 874ee59 (rockchip: pwm: implement pwm_set_invert()) ---

Re: [U-Boot] [PATCH v2 0/2] sunxi: update Pine64 device tree

2017-05-23 Thread Andreas Färber
Hi Andre, Am 23.05.2017 um 12:09 schrieb Andre Przywara: > an updated version: the first patch is unchanged (still the exact > same DT as in Linux), but the second patch reformats the Ethernet nodes > as a .dtsi and uses the new U-Boot specific DT addon feature to make > it clear that these nodes

Re: [U-Boot] [PATCH] rockchip: dts: rk3328: add aliases for mmc controller

2017-05-23 Thread Andreas Färber
Hi Heiko, Am 23.05.2017 um 23:27 schrieb Heiko Stuebner: > Am Dienstag, 23. Mai 2017, 17:14:19 CEST schrieb Tom Rini: >> On Tue, May 23, 2017 at 11:03:23PM +0200, Mark Kettenis wrote: From: Heiko Stuebner Date: Tue, 23 May 2017 22:29:33 +0200 Hi Kever, Tom,

Re: [U-Boot] [PATCH] rockchip: dts: rk3328: add aliases for mmc controller

2017-05-23 Thread Heiko Stuebner
Hi, Am Dienstag, 23. Mai 2017, 17:14:19 CEST schrieb Tom Rini: > On Tue, May 23, 2017 at 11:03:23PM +0200, Mark Kettenis wrote: > > > From: Heiko Stuebner > > > Date: Tue, 23 May 2017 22:29:33 +0200 > > > > > > Hi Kever, Tom, > > > > > > Am Dienstag, 23. Mai 2017, 14:32:44

Re: [U-Boot] [PATCH] rockchip: dts: rk3328: add aliases for mmc controller

2017-05-23 Thread Tom Rini
On Tue, May 23, 2017 at 11:03:23PM +0200, Mark Kettenis wrote: > > From: Heiko Stuebner > > Date: Tue, 23 May 2017 22:29:33 +0200 > > > > Hi Kever, Tom, > > > > Am Dienstag, 23. Mai 2017, 14:32:44 CEST schrieb Kever Yang: > > > This is not from kernel, seems the kernel mmc

[U-Boot] [PATCH] edid: Fix gcc 7.1 warning

2017-05-23 Thread Jernej Skrabec
This commit fixes the warning produced by gcc 7.1. Signed-off-by: Jernej Skrabec --- common/edid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/edid.c b/common/edid.c index 19410aa4fc..854d40c8f8 100644 --- a/common/edid.c +++

Re: [U-Boot] [PATCH] rockchip: dts: rk3328: add aliases for mmc controller

2017-05-23 Thread Mark Kettenis
> From: Heiko Stuebner > Date: Tue, 23 May 2017 22:29:33 +0200 > > Hi Kever, Tom, > > Am Dienstag, 23. Mai 2017, 14:32:44 CEST schrieb Kever Yang: > > This is not from kernel, seems the kernel mmc driver does not > > support aliases now, > > > > thought I hope they both

Re: [U-Boot] [PATCH] rockchip: dts: rk3328: add aliases for mmc controller

2017-05-23 Thread Tom Rini
On Tue, May 23, 2017 at 10:29:33PM +0200, Heiko Stuebner wrote: > Hi Kever, Tom, > > Am Dienstag, 23. Mai 2017, 14:32:44 CEST schrieb Kever Yang: > > This is not from kernel, seems the kernel mmc driver does not > > support aliases now, > > > > thought I hope they both support the aliases

Re: [U-Boot] [PATCH] rockchip: dts: rk3328: add aliases for mmc controller

2017-05-23 Thread Heiko Stuebner
Hi Kever, Tom, Am Dienstag, 23. Mai 2017, 14:32:44 CEST schrieb Kever Yang: > This is not from kernel, seems the kernel mmc driver does not > support aliases now, > > thought I hope they both support the aliases for ordering. there was a lengthy discussion about the pros and cons of

Re: [U-Boot] [PATCH v2 4/4] sunxi: video: Add H3/H5 TV out driver

2017-05-23 Thread Maxime Ripard
Hi Jernej, On Mon, May 22, 2017 at 08:49:57PM +0200, Jernej Škrabec wrote: > Dne ponedeljek, 22. maj 2017 ob 09:35:56 CEST je Maxime Ripard napisal(a): > > On Fri, May 19, 2017 at 05:41:17PM +0200, Jernej Skrabec wrote: > > > This commit adds support for TV (composite) output. > > > > > >

[U-Boot] [GIT PULL] u-boot-sh/rmobile

2017-05-23 Thread Nobuhiro Iwamatsu
Hi Tom, Please pull ARM/r-mobile updates for v2017.07. The following changes since commit a375ff8e14bea0a5cbfff99d6456aa8d9a3320ab: Merge branch 'master' of git://www.denx.de/git/u-boot-imx (2017-05-18 17:17:45 -0400) are available in the git repository at: git://git.denx.de/u-boot-sh.git

[U-Boot] [PATCH 3/4] mips: bmips: add bcm63xx-hsspi driver support for BCM63268

2017-05-23 Thread Álvaro Fernández Rojas
This driver manages the high speed SPI controller present on this SoC. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm63268.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/mips/dts/brcm,bcm63268.dtsi

[U-Boot] [PATCH 1/4] dm: spi: add BCM63xx HSSPI driver

2017-05-23 Thread Álvaro Fernández Rojas
This driver is a simplified version of linux/drivers/spi/spi-bcm63xx-hsspi.c Signed-off-by: Álvaro Fernández Rojas --- drivers/spi/Kconfig | 8 + drivers/spi/Makefile| 1 + drivers/spi/bcm63xx_hsspi.c | 392 3

[U-Boot] [PATCH 0/4] mips: bmips: add HSSPI support

2017-05-23 Thread Álvaro Fernández Rojas
BCM63xx HSSPI controller has the same issue as BCM63xx SPI controller: it doesn't allow keeping CS active between transfers. However, this controller allows changing CS polarities, which is used in the linux upstream driver to manage CS as desired. Álvaro Fernández Rojas (4): dm: spi: add

[U-Boot] [PATCH v2 29/30] ARM: k2g: Add K2G ICE DTB to the list of possible DTBs

2017-05-23 Thread Franklin S Cooper Jr
K2G ICE evm will have its own dtb. Therefore, add it to the list of dtbs located in the appended U-boot dtb FIT image. Therefore, when swapping out dtbs K2G ICE boards can grab the correct one. Signed-off-by: Franklin S Cooper Jr Reviewed-by: Tom Rini ---

[U-Boot] [PATCH v2 28/30] ARM: dts: k2g: Add DT support for K2G Industrial Communication Engine evm

2017-05-23 Thread Franklin S Cooper Jr
Add basic DT support for K2G ICE evm. Only minimal peripherals are supported to allow console output and MMC boot. Signed-off-by: Franklin S Cooper Jr --- Version 2 changes: Updated to the dts recently accepted into the Linux kernel. arch/arm/dts/Makefile |

[U-Boot] [PATCH v2 20/30] ARM: k2g: Add pinmux support for K2G ICE evm

2017-05-23 Thread Franklin S Cooper Jr
Add basic pinmux data for new K2G ICE evm. Also add pinmuxing for a generic K2G evm which includes I2C 0 and 1 used for board detection purposes. Since multiple K2G boards are supported that means initially generic pinmuxing should be used when board detection hasn't ran. Once board detection

[U-Boot] [PATCH v2 23/30] ARM: k2g: Use board detection to wrap K2G GP specific calls

2017-05-23 Thread Franklin S Cooper Jr
Certain peripherals used by K2G GP aren't used on K2G ICE evm. Or configuration is slightly different. Therefore, use board detection to deal with these variations. Signed-off-by: Franklin S Cooper Jr Reviewed-by: Tom Rini --- board/ti/ks2_evm/board_k2g.c |

[U-Boot] [PATCH v2 04/30] fdt: Enable selecting correct DTB from appended FIT Image

2017-05-23 Thread Franklin S Cooper Jr
This patch gives U-boot the runtime support to have the board specific code decide which FDT to use. This is especially useful for devices that need this type of runtime determination and also doesn't use SPL. Signed-off-by: Franklin S Cooper Jr Reviewed-by: Lokesh Vutla

[U-Boot] [PATCH v2 30/30] defconfig: k2g_evm_defconfig: Add K2G ICE to OF_LIST

2017-05-23 Thread Franklin S Cooper Jr
Include K2G ICE to OF_LIST so it can be used for runtime board detection. Signed-off-by: Franklin S Cooper Jr --- configs/k2g_evm_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/k2g_evm_defconfig b/configs/k2g_evm_defconfig index

[U-Boot] [PATCH v2 01/30] ti: common: board_detect: Allow settings board detection variables manually

2017-05-23 Thread Franklin S Cooper Jr
From: Nishanth Menon In some situations the EEPROM used for board detection may not be programmed or simply programmed incorrectly. Therefore, it may be necessary to "simulate" reading the contents of the EEPROM to set appropriate variables used in the board detection code. This

[U-Boot] [PATCH v2 09/30] board_f: Add new function to allow runtime DTB selection

2017-05-23 Thread Franklin S Cooper Jr
Runtime U-boot dtb selection is generally a two step process. First step is to simply use an initial generic dtb. The second step is to select the dtb and perhaps execute additional code ones U-boot knows what board it is running on. Embedded_dtb_select handles the second step by allowing board

[U-Boot] [PATCH v2 22/30] board: ks2: Use board detection to wrap code not specific to K2G ICE evm

2017-05-23 Thread Franklin S Cooper Jr
Some code doesn't apply to K2G ICE evm. Therefore, use board detection to wrap these calls. Signed-off-by: Franklin S Cooper Jr Reviewed-by: Tom Rini --- board/ti/ks2_evm/board.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff

[U-Boot] [PATCH v2 07/30] ARM: dts: k2g: Introduce U-boot specific dtsi file

2017-05-23 Thread Franklin S Cooper Jr
Introduce K2G evm specific dtsi file for U-boot specific configurations. This will help seperate U-boot only configurations thus making it easier to keep device tree files synced between U-boot and Linux. For now only add nodes to allow i2c drivers to be probed early during the boot process.

[U-Boot] [PATCH v2 24/30] ARM: k2g: Update board_name u-boot env variable at runtime

2017-05-23 Thread Franklin S Cooper Jr
Enable CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG to allow "board_name" to be set depending on the board it is being ran on. Update findfdt to use this new dynamic board_name value to determine which dtb should be used. Signed-off-by: Franklin S Cooper Jr Reviewed-by: Tom Rini

[U-Boot] [PATCH v2 14/30] ks2_evm: Add EEPROM based board detection

2017-05-23 Thread Franklin S Cooper Jr
Some K2G evms have their EEPROM programming while most do not. Therefore, add EEPROM board detection to be used as the default method and fall back to the alternative board detection when needed. Also reorder board configuration. Perform bare minimal configuration initially since board detection

[U-Boot] [PATCH v2 27/30] ARM: dts: k2g: Disable netcp by default

2017-05-23 Thread Franklin S Cooper Jr
Disable netcp by default like all other peripherals in the dtsi file. Enable the peripheral explicitly in the board specific dts file. Signed-off-by: Franklin S Cooper Jr --- arch/arm/dts/keystone-k2g-evm.dts| 4 arch/arm/dts/keystone-k2g-netcp.dtsi | 1 + 2 files

[U-Boot] [PATCH v2 19/30] ks2_evm: Add EEPROM based board detection helper functions

2017-05-23 Thread Franklin S Cooper Jr
Add a function that can be used to determine if the board being ran on is a K2G Industrial Communication Engine EVM or K2G General Purpose EVM based on values programmed on the EEPROM. Signed-off-by: Franklin S Cooper Jr Reviewed-by: Tom Rini ---

[U-Boot] [PATCH v2 11/30] ARM: keystone2: Allow to build with all image formats

2017-05-23 Thread Franklin S Cooper Jr
u-boot.bin is a copy of: u-boot-fit-dtb.bin if CONFIG_FIT_EMBED is enabled, u-boot-dtb.bin if CONFIG_OF_SEPARATE is enabled, u-boot-nodtb.bin if DT is not enabled. So, use u-boot.bin to to generate keystone images instead of u-boot-dtb.bin Signed-off-by: Franklin S Cooper Jr

[U-Boot] [PATCH v2 15/30] defconfig: keystone2: Enable U-boot runtime DTB detection

2017-05-23 Thread Franklin S Cooper Jr
Enable various config options to allow U-boot at runtime to select the proper dtb to use from the list of dtb's within the FIT image. Signed-off-by: Franklin S Cooper Jr Reviewed-by: Tom Rini --- configs/k2e_evm_defconfig | 3 +++ configs/k2g_evm_defconfig

[U-Boot] [PATCH v2 21/30] ARM: k2g: Add DDR3 configuration for K2G ICE evm

2017-05-23 Thread Franklin S Cooper Jr
Add configuration settings used by the K2G ICE evm. Also use board detection to determine which DDR3 configuration to use. Signed-off-by: Franklin S Cooper Jr Reviewed-by: Tom Rini --- board/ti/ks2_evm/ddr3_k2g.c | 62

[U-Boot] [PATCH v2 25/30] ARM: dts: keystone-k2g: Remove skeleton.dtsi

2017-05-23 Thread Franklin S Cooper Jr
Adding the unit address to the memory node was causing the below error: Warning (reg_format): "reg" property in /memory has invalid length (8 bytes) (#address-cells == 2, #size-cells == 2) Further debugging showed that this was due to the memory node added by default to skeleton.dtsi which was

[U-Boot] [PATCH v2 18/30] ARM: k2g: Program DDRPHY_DATX8 registers via mask and value variables

2017-05-23 Thread Franklin S Cooper Jr
Different K2G evms may need to program the various KS2_DDRPHY_DATX8_X_OFFSET registers in different ways. Therefore, use the mask and val registers for each KS2_DDRPHY_DATAX_X_OFFSET to properly program the register. Signed-off-by: Franklin S Cooper Jr Reviewed-by: Tom Rini

[U-Boot] [PATCH v2 08/30] arm: dts: Add new "generic" 66AK2Gx device tree file.

2017-05-23 Thread Franklin S Cooper Jr
With U-boot runtime board detect for DTB selection a "default" dtb needs to be created. This will be used temporarily until the "proper" dtb is selected. Signed-off-by: Franklin S Cooper Jr Reviewed-by: Tom Rini --- Version 2 changes: Added -u-boot.dtsi with

[U-Boot] [PATCH v2 26/30] ARM: dts: keystone-k2g-evm: Add unit address to memory node

2017-05-23 Thread Franklin S Cooper Jr
Upstream Linux has the unit address being added to the various 66AK2Gx boards dts. Therefore, update the dts to mimic this change. Also remove memory node from the base K2G dtsi file. Signed-off-by: Franklin S Cooper Jr --- Version 2 changes: This patch attempts to get the dts

[U-Boot] [PATCH v2 16/30] ARM: keystone2: Add additional fields used for DDR3 configuration

2017-05-23 Thread Franklin S Cooper Jr
Future boards will need to configure DDR3 registers in a slightly different manner. Support this by defining additional variables and defines that will be utilized later. Signed-off-by: Franklin S Cooper Jr Reviewed-by: Tom Rini ---

[U-Boot] [PATCH v2 12/30] ARM: k2g: Define embedded_dtb_select for runtime DTB selection in U-boot

2017-05-23 Thread Franklin S Cooper Jr
For K2G, runtime DTB selection utilizes the embedded_dtb_select function. Therefore, define the function which will perform a EEPROM read and then retries selecting the correct dtb now that it can detect which board its on. For other Keystone devices use an empty function since they will still use

[U-Boot] [PATCH v2 06/30] dts: Allow OF_LIST to depend on FIT_EMBED

2017-05-23 Thread Franklin S Cooper Jr
OF_LIST will be useable by SPL and U-boot. Therefore, update its dependency to allow it to be enable by either SPL or U-boot specific config option. Signed-off-by: Franklin S Cooper Jr Reviewed-by: Tom Rini Reviewed-by: Lokesh Vutla

[U-Boot] [PATCH v2 13/30] ARM: keystone2: Define board_fit_config_name_match for Keystone 2 boards

2017-05-23 Thread Franklin S Cooper Jr
Now with support for U-boot runtime dtb selection each board needs to define board_fit_config_name_match so U-boot can determine what the correct dtb is within the FIT blob. Signed-off-by: Franklin S Cooper Jr Reviewed-by: Tom Rini ---

[U-Boot] [PATCH v2 10/30] Makefile: Build additional binaries for dtb FIT blobs appended to U-boot

2017-05-23 Thread Franklin S Cooper Jr
Add additional make targets and options for building embedded FIT U-boot images. Signed-off-by: Franklin S Cooper Jr Reviewed-by: Tom Rini --- .gitignore | 1 + Makefile | 18 -- 2 files changed, 17 insertions(+), 2 deletions(-) diff

[U-Boot] [PATCH v2 17/30] ARM: k2g: Program DDR PHY MR2 register with the default value

2017-05-23 Thread Franklin S Cooper Jr
K2G GP doesn't require the MR2 register to be programed since the default is good enough. However, newer K2G boards do need to change this register value. Therefore, instead of not writing this register if ran on a K2G board just program the value to be written to match the default/reset value.

[U-Boot] [PATCH v2 03/30] boot_fit: Create helper functions that can be used to select DTB out of FIT

2017-05-23 Thread Franklin S Cooper Jr
Some platforms may append a FIT image to the U-boot image. This function aids in parsing the FIT image and selecting the correct DTB at runtime. Signed-off-by: Franklin S Cooper Jr Reviewed-by: Tom Rini --- common/Kconfig | 8 common/Makefile

[U-Boot] [PATCH v2 05/30] ti: common: board_detect: Add function to determine if EEPROM was read

2017-05-23 Thread Franklin S Cooper Jr
When the EEPROM is first read its contents are stored in memory as a cache to avoid further I2C operations. To determine if the EEPROM was previously read the easiest way is to check the memory to see if the EEPROM's magic header value is set. Create a new function that can determine if the EEPROM

[U-Boot] [PATCH v2 02/30] spl: fit: Break out some functions into a common file

2017-05-23 Thread Franklin S Cooper Jr
Some of the functions within spl_fit will be used for non spl purposes. Instead of duplicating functions simply break the functions to be reused into its own file. Signed-off-by: Franklin S Cooper Jr Reviewed-by: Tom Rini Reviewed-by: Simon Glass

[U-Boot] [PATCH v2 00/30] ARM: k2g: Add support for new K2G ICE EVM.

2017-05-23 Thread Franklin S Cooper Jr
This patchset adds support for the new Keystone 2 Industrial Communication Engine board. This patchset includes the introduction of embedded FIT images in U-boot. This creates a FIT image of dtb files that enables board specific code to select which DTB to use at runtime. Initially during boot a

Re: [U-Boot] [PATCH v2 0/4] sunxi: Add support for NanoPi M1

2017-05-23 Thread Jagan Teki
On Wed, May 10, 2017 at 11:56 AM, Mylène Josserand wrote: > Hi everyone, > > Here is a V2 of the support of the Sun8i NanoPi M1 platform. > I created a patch serie instead on a standalone patch > because the kernel device tree for Nanopi uses a dtsi file >

Re: [U-Boot] [PATCH] sunxi: Use uart0 as console for Sinlinx SinA33

2017-05-23 Thread Jagan Teki
On Wed, May 10, 2017 at 12:39 AM, Maxime Ripard wrote: > On Sun, May 07, 2017 at 03:51:17PM +0800, Chen-Yu Tsai wrote: >> On the A33, uart0 is muxed on the PB pins. On SBCs these pins may be >> available for use. Such is the case on the Sinlinx SinA33. >> >> Set

Re: [U-Boot] [PATCH 1/2][v2] armv8: fsl-layerscape: Add NXP LS2081A, LS2041A SoC support

2017-05-23 Thread york sun
On 04/27/2017 02:38 AM, Priyanka Jain wrote: > The QorIQ LS2081A SoC has eight 64-bit ARM v8 Cortex A-72 CPUs and > is built on layerscape architecture. > > It is 40-pin derivative of LS2084A (non-AIOP personality of LS2088A). > So feature-wise it is same as LS2084A. Please clarify what is 40-pin

Re: [U-Boot] [PATCH] LS1012A: change the size of flash

2017-05-23 Thread york sun
On 04/25/2017 02:20 AM, Suresh Gupta wrote: > LS1012A has S25FS512S flash of 64M size > > Signed-off-by: Suresh Gupta > --- > include/configs/ls1012a_common.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/configs/ls1012a_common.h >

  1   2   >