[U-Boot] [PATCH 1/3] arm: dts: meson: import dts files from Linux 4.12-rc6

2017-06-25 Thread Beniamino Galvani
Import Amlogic Meson DTS files from Linux kernel version 4.12-rc6. Signed-off-by: Beniamino Galvani --- arch/arm/dts/meson-gx.dtsi| 97 -- arch/arm/dts/meson-gxbb-odroidc2.dts | 82 ++- arch/arm/dts/meson-gxbb.dtsi | 187

[U-Boot] [PATCH 2/3] pinctrl: meson: add GPIO support

2017-06-25 Thread Beniamino Galvani
This commit adds GPIO support to the Amlogic Meson pin controller driver, based on code from Linux kernel. Signed-off-by: Beniamino Galvani --- drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 21 drivers/pinctrl/meson/pinctrl-meson.c | 167

[U-Boot] [PATCH 3/3] odroid-c2: enable GPIO

2017-06-25 Thread Beniamino Galvani
GPIOs are now supported on Meson GXBB, enable driver and command in the config. Signed-off-by: Beniamino Galvani --- configs/odroid-c2_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/odroid-c2_defconfig b/configs/odroid-c2_defconfig index

Re: [U-Boot] [RFC 1/1] omap3: incorrect logical check in do_emif4_init - Please, pull.

2017-06-25 Thread Tom Rini
On Sun, Jun 25, 2017 at 08:13:19AM +0200, Heinrich Schuchardt wrote: > Hello Tom, > > could you, please, pull the patch > https://patchwork.ozlabs.org/patch/751043/ > which has been reviewed in April. I actually want to run-test this patch. I happen to have a platform, and I even set it up the

[U-Boot] [PATCH 0/3] GPIO support for Meson GXBB and Odroid-C2

2017-06-25 Thread Beniamino Galvani
Hi, this series adds a GPIO driver for Meson GXBB and enables it on Odroid-C2. Beniamino Galvani (3): arm: dts: meson: import dts files from Linux 4.12-rc6 pinctrl: meson: add GPIO support odroid-c2: enable GPIO arch/arm/dts/meson-gx.dtsi | 97 +--

Re: [U-Boot] [ANN] U-Boot v2017.07-rc2 released

2017-06-25 Thread Kostya Porotchkin
Hi, Andreas, What is your PCB revision (silkscreen)? Possible variants: - Rev 1.0 (2 pluggable modules with eMMC/SD) - Rev 2.0 (single module, eMMC soldered on board) Thanks Kosta > -Original Message- > From: Andreas Färber [mailto:afaer...@suse.de] > Sent: Friday, June 23, 2017 19:20

[U-Boot] [PATCH] igep003x: Falcon mode

2017-06-25 Thread Ladislav Michl
Implement spl_start_uboot to let Falcon mode work. Signed-off-by: Ladislav Michl --- board/isee/igep003x/board.c | 8 configs/am335x_igep003x_defconfig | 1 + 2 files changed, 9 insertions(+) diff --git a/board/isee/igep003x/board.c

Re: [U-Boot] [RFC 1/1] omap3: incorrect logical check in do_emif4_init - Please, pull.

2017-06-25 Thread Heinrich Schuchardt
Hello Tom, could you, please, pull the patch https://patchwork.ozlabs.org/patch/751043/ which has been reviewed in April. Best regards Heinrich Schuchardt On 04/16/2017 09:34 PM, Simon Glass wrote: > On 15 April 2017 at 08:11, Heinrich Schuchardt wrote: >>

Re: [U-Boot] [U-Boot,RFC] efi: variable support

2017-06-25 Thread Rob Clark
On Sun, Jun 25, 2017 at 1:06 AM, Heinrich Schuchardt wrote: > On 06/25/2017 12:29 AM, Rob Clark wrote: >> Mapping from EFI variables to grub variables. Still almost as many >> TODOs as lines of code, but just figured I'd send out an early version >> for comments. >> >> I was

[U-Boot] [PATCH] dtc: mkimage: Add the possibility to specify DTC

2017-06-25 Thread Emmanuel Vadot
FreeBSD recently switch to it's BSDL dtc. While it support most of the features of the GPL one it still lacks the incbin directive. Add the possibility to specify which dtc we want to use for compiling dts and generating fit image. Signed-off-by: Emmanuel Vadot ---

Re: [U-Boot] [U-Boot,RFC] efi: variable support

2017-06-25 Thread Heinrich Schuchardt
On 06/25/2017 02:12 PM, Rob Clark wrote: > On Sun, Jun 25, 2017 at 1:06 AM, Heinrich Schuchardt > wrote: >> On 06/25/2017 12:29 AM, Rob Clark wrote: >>> Mapping from EFI variables to grub variables. Still almost as many >>> TODOs as lines of code, but just figured I'd send

Re: [U-Boot] [U-Boot,RFC] efi: variable support

2017-06-25 Thread Rob Clark
On Sun, Jun 25, 2017 at 1:16 PM, Heinrich Schuchardt wrote: > On 06/25/2017 02:12 PM, Rob Clark wrote: >> On Sun, Jun 25, 2017 at 1:06 AM, Heinrich Schuchardt >> wrote: >>> On 06/25/2017 12:29 AM, Rob Clark wrote: Mapping from EFI variables to grub

[U-Boot] [PATCH 1/1] efi_loader: abort on unsupported relocation type

2017-06-25 Thread Heinrich Schuchardt
If a relocation type is not supported loading the EFI binary should be aborted. Writing a message only is insufficient. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_image_loader.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH] net: usb: r8152: fix "duplicate 'const' declaration specifier"

2017-06-25 Thread Philipp Tomsich
After upgrading to GCC 7.1, the duplicate const specifies in the r8152 driver trigger the following build warnings with buildman (observed on a 'buildman rockchip' test):: ../drivers/usb/eth/r8152.c:62:35: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static

Re: [U-Boot] [U-Boot,RFC] efi: variable support

2017-06-25 Thread Rob Clark
On Sun, Jun 25, 2017 at 5:07 PM, Heinrich Schuchardt wrote: > On 06/25/2017 09:06 PM, Rob Clark wrote: >> On Sun, Jun 25, 2017 at 1:16 PM, Heinrich Schuchardt >> wrote: >>> On 06/25/2017 02:12 PM, Rob Clark wrote: On Sun, Jun 25, 2017 at 1:06 AM,

Re: [U-Boot] [PATCH v6 3/3] GPT: provide commands to selectively rename partitions

2017-06-25 Thread Alison Chaiken
On Sun, Jun 18, 2017 at 4:03 AM, Wolfgang Denk wrote: > Dear Alison, > > In message

Re: [U-Boot] [U-Boot,RFC] efi: variable support

2017-06-25 Thread Heinrich Schuchardt
On 06/25/2017 09:06 PM, Rob Clark wrote: > On Sun, Jun 25, 2017 at 1:16 PM, Heinrich Schuchardt > wrote: >> On 06/25/2017 02:12 PM, Rob Clark wrote: >>> On Sun, Jun 25, 2017 at 1:06 AM, Heinrich Schuchardt >>> wrote: On 06/25/2017 12:29 AM, Rob

Re: [U-Boot] [PATCH] libfdt: fix build with Python 3

2017-06-25 Thread Stephen Arnold
Sorry, I got stuck in Android-land for a while, but this does not fix the build on a fresh build box with python 3.4 as default system python. Switching to python 2.7 does build u-boot successfully. Note this is with u-boot v2017.05 (which does have --force in setup.py) and DE1 SoC config, which

[U-Boot] [PATCH 1/1] efi_loader: provide meaningful status code

2017-06-25 Thread Heinrich Schuchardt
Currenty any EFI status other than EFI_SUCCESS is reported as Application terminated, r = -22 With the patch the status code and its mnemonic is printed. Signed-off-by: Heinrich Schuchardt --- cmd/bootefi.c | 17 - include/efi.h

[U-Boot] [PATCH] spl: Make UBI fastmap support Kconfig selectable

2017-06-25 Thread Ladislav Michl
Fastmap was always enabled in ubispl, make it selectable by CONFIG_MTD_UBI_FASTMAP. Signed-off-by: Ladislav Michl --- common/spl/spl_ubi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/spl/spl_ubi.c b/common/spl/spl_ubi.c index

[U-Boot] [PATCH] igep00x0: Enable UBI fastmap

2017-06-25 Thread Ladislav Michl
Fastmap significantly reduces flash scan time, enable it by default. Signed-off-by: Ladislav Michl --- configs/igep0020_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/igep0020_defconfig b/configs/igep0020_defconfig index 3856d3faec..a86a00997f 100644

Re: [U-Boot] [PATCH v4] powerpc: Restore core of mpc8xx

2017-06-25 Thread Heiko Schocher
Hello All, Am 23.06.2017 um 21:54 schrieb Tom Rini: On Fri, Jun 23, 2017 at 08:39:15PM +0200, Wolfgang Denk wrote: Dear Tom, In message <20170623140934.GD27196@bill-the-cat> you wrote: [...] To make this clear: I am in no way against continuing to support mpc8xx. But we should not let him

Re: [U-Boot] [PATCH] igep00x0: Enable UBI fastmap

2017-06-25 Thread Heiko Schocher
Hello Ladislav, Am 25.06.2017 um 10:29 schrieb Ladislav Michl: Fastmap significantly reduces flash scan time, enable it by default. Signed-off-by: Ladislav Michl --- configs/igep0020_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [U-Boot] [PATCH] igep003x: Falcon mode

2017-06-25 Thread Heiko Schocher
Hello Ladislav, Am 25.06.2017 um 10:30 schrieb Ladislav Michl: Implement spl_start_uboot to let Falcon mode work. Signed-off-by: Ladislav Michl --- board/isee/igep003x/board.c | 8 configs/am335x_igep003x_defconfig | 1 + 2 files changed, 9

Re: [U-Boot] [PATCH] spl: Make UBI fastmap support Kconfig selectable

2017-06-25 Thread Heiko Schocher
Hello Ladislav, Am 25.06.2017 um 10:26 schrieb Ladislav Michl: Fastmap was always enabled in ubispl, make it selectable by CONFIG_MTD_UBI_FASTMAP. Signed-off-by: Ladislav Michl --- common/spl/spl_ubi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH] i2c_eeprom: add static to i2c_eeprom_std_ops/probe

2017-06-25 Thread Heiko Schocher
Hello Masahiro, Am 22.06.2017 um 09:51 schrieb Masahiro Yamada: These are only used in drivers/mis/i2c_eeprom.c Signed-off-by: Masahiro Yamada --- drivers/misc/i2c_eeprom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Thanks! Reviewed-by:

[U-Boot] drivers: usb: dfu: set serial number from board code was: [ANN] U-Boot v2017.05-rc2 released

2017-06-25 Thread Heiko Schocher
Hello all, Am 19.04.2017 um 14:07 schrieb Lukasz Majewski: Dear All, On 04/19/2017 12:39 PM, Heiko Schocher wrote: Hello Marek, Am 19.04.2017 um 11:51 schrieb Marek Vasut: On 04/19/2017 11:46 AM, Heiko Schocher wrote: Hello Marek, Am 19.04.2017 um 10:43 schrieb Marek Vasut: On

Re: [U-Boot] [U-Boot, 4/7] rockchip: mmc: dm: convert fdt_get to dev_read

2017-06-25 Thread Philipp Tomsich
> With the new dev_read functions available, we can convert the rockchip > architecture-specific drivers and common drivers used by these devices > over to the dev_read family of calls. > > This covers the dw_mmc and sdhci wrapper drivers for Rockchip. > > Signed-off-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 3/7] rockchip: xhci: dm: convert fdt_get to dev_read

2017-06-25 Thread Philipp Tomsich
> With the new dev_read functions available, we can convert the rockchip > architecture-specific drivers and common drivers used by these devices > over to the dev_read family of calls. > > This change covers the USB3 (xhci) driver for the Rockchip devices. > > Signed-off-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 5/7] rockchip: net: dm: convert fdt_get to dev_read

2017-06-25 Thread Philipp Tomsich
> With the new dev_read functions available, we can convert the rockchip > architecture-specific drivers and common drivers used by these devices > over to the dev_read family of calls. > > This covers the Gigabit Ethernet MAC (i.e. common designware driver and > rockchip-specific wrapper). > >

Re: [U-Boot] [U-Boot, 1/7] rockchip: pinctrl: dm: convert fdt_get to dev_read

2017-06-25 Thread Philipp Tomsich
> With the new dev_read functions available, we can convert the rockchip > architecture-specific drivers and common drivers used by these devices > over to the dev_read family of calls. > > This change covers the pinctrl drivers for the Rockchip devices. > > Signed-off-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 7/7] rockchip: dm: convert fdt_get to dev_read

2017-06-25 Thread Philipp Tomsich
> With the new dev_read functions available, we can convert the rockchip > architecture-specific drivers and common drivers used by these devices > over to the dev_read family of calls. > > This covers the DRAM controller initialisation for the RK3188, RK3288 > and RK3399... all of these read

Re: [U-Boot] rockchip: rk3328: correct mem_region

2017-06-25 Thread Philipp Tomsich
> According to rk3328 TRM: > 0~0xff00 is ddr space; > 0xff00~0x is device space. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > arch/arm/mach-rockchip/rk3328/rk3328.c | 8 > 1 file changed, 4

Re: [U-Boot] [U-Boot,v2,2/7] rockchip: rk322x: add clock driver

2017-06-25 Thread Philipp Tomsich
> Add clock driver init support for: > - cpu, bus clock init; > - emmc, sdmmc clock; > - ddr clock; > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > --- > > Changes in v2: > - update copyright > - fix typo > >

Re: [U-Boot] [U-Boot, 5/7] rockchip: firefly-rk3399: dts: enable sdmmc device

2017-06-25 Thread Philipp Tomsich
> Enable sdmmc device and add the spl boot device sequence. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > arch/arm/dts/rk3399-firefly.dts | 7 +++ > 1 file changed, 7 insertions(+) > Applied to u-boot-rockchip/next,

Re: [U-Boot] [U-Boot, 1/7] rockchip: rk3036: dtsi use max-frequency for mmc node

2017-06-25 Thread Philipp Tomsich
> Since the 'clock-freq-min-max' is deprecated, we use max-frequency. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > arch/arm/dts/rk3036.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Applied to

Re: [U-Boot] [U-Boot, 7/7] Revert "mmc: dw_mmc: rockchip: select proper card clock"

2017-06-25 Thread Philipp Tomsich
> The origin patch get rockchip dwmmc by name 'ciu', which lead > to the SPL not able to remove 'clock-names' node in dts. > I'm not saying this is not correct, but I would prefer to handle > this in dts or clock driver to save memory for SPL. > For example the rk3288 SPL size has out of memory if

Re: [U-Boot] [U-Boot,03/13] rockchip: rk3066: add sysreset driver

2017-06-25 Thread Philipp Tomsich
> Add support for system reset for rk3066 socs. > > Signed-off-by: Paweł Jarosz > Reviewed-by: Simon Glass > --- > drivers/sysreset/Makefile | 1 + > drivers/sysreset/sysreset_rk3066.c | 62 > ++ > 2

Re: [U-Boot] [U-Boot, v3, 2/3] rockchip: video: mipi: Split mipi driver into common and specific parts

2017-06-25 Thread Philipp Tomsich
> To compatible with different rockchip soc, we split the mipi dirver into > common and soc specific parts, and all the soc share the common > functions from common driver part. > > Signed-off-by: Eric Gao > --- > > Changes in v2: > -Use dev_read_addr to replace

Re: [U-Boot] [U-Boot, v2, 1/4] rockchip: evb-rk3328: set uart2 io routing to M1

2017-06-25 Thread Philipp Tomsich
> 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 choice(setting in com_iomux): > - M0 which mux with GPIO1A0/GPIO1A1 > - M1 which mux with GPIO2A0/GPIO2A1 > - usb2phy which mux with USB2.0

Re: [U-Boot] [U-Boot, 13/13] rockchip: rk3066: add sdram init code for tpl

2017-06-25 Thread Philipp Tomsich
> Add sdram initialisation code which will be ussed by tpl first boot stage. > We need to implement sdram initialisation in tpl due to size issues on rk3066 > platform. > > Signed-off-by: Paweł Jarosz > --- > arch/arm/include/asm/arch-rockchip/ddr_rk3188.h | 5 + >

Re: [U-Boot] [U-Boot, v2] rockchip: video: mipi: Modify format type for debug message

2017-06-25 Thread Philipp Tomsich
> Modify format type for debug message. > > Signed-off-by: Eric Gao > --- > > Changes in v1: > -Change the debug message format type because of the change the variable. > > drivers/video/rockchip/rk_mipi.c | 8 > 1 file changed, 4 insertions(+), 4

Re: [U-Boot] [U-Boot, v2, 8/8] rockchip: rv1108: disable CONFIG_RAM before we have driver

2017-06-25 Thread Philipp Tomsich
> The rv1108 do not have DRAM driver now, so disable it first, > or else it will get conflict with the sdram common code. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > > configs/evb-rv1108_defconfig | 1 - > 1 file changed, 1 deletion(-) > Applied

Re: [U-Boot] [U-Boot,v2,7/8] rockchip: correct the bank0 ram size

2017-06-25 Thread Philipp Tomsich
> The bank0 ram size should be the DRAM size minus reserved size, > the DRAM size may be 1GB, 2GB, 4GB, we can not hard code it. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - move the dram_init_banksize() from board file into soc file for we > have the

Re: [U-Boot] [U-Boot,v2,7/8] rockchip: correct the bank0 ram size

2017-06-25 Thread Philipp Tomsich
> The bank0 ram size should be the DRAM size minus reserved size, > the DRAM size may be 1GB, 2GB, 4GB, we can not hard code it. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - move the dram_init_banksize() from board file into soc file for we > have the

Re: [U-Boot] [U-Boot, v2] rockchip: doc: update latest info to document

2017-06-25 Thread Philipp Tomsich
> - Add some rk3399 and rk3328 boards; > - use rkdeveloptool; > - add link to opensource.rock-chips.com instead of wikidot; > - other update. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - add rkflashtool info back > > doc/README.rockchip | 48

Re: [U-Boot] rockchip: rk3288: Add reset reason detection

2017-06-25 Thread Philipp Tomsich
> Sometimes it's helpful to know the reset reason caused in the SoC. > Add reset reason detection for the RK3288 SoC. > This will set an environemt variable which represents the reset reason. > > Signed-off-by: Wadim Egorov > --- > arch/arm/mach-rockchip/rk3288-board.c | 28

Re: [U-Boot] [U-Boot, v7, 2/8] usb: host: xhci-rockchip: use fixed regulator to control vbus

2017-06-25 Thread Philipp Tomsich
> Use fixed regulator to control the voltage of vbus. Enable vbus > supply when usb start and disable vbus supply when usb stop. > > Signed-off-by: Meng Dongyang > --- > > Changes in v7: None > Changes in v6: > - Remove #ifdef DM_REGULATOR and DM_USB due to the

Re: [U-Boot] [U-Boot,v2,6/8] rockchip: dts: rk3368: add dmc node

2017-06-25 Thread Philipp Tomsich
> Add dmc node to enable sdram driver. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > > arch/arm/dts/rk3368.dtsi | 7 +++ > 1 file changed, 7 insertions(+) > Applied to u-boot-rockchip/next, thanks!

Re: [U-Boot] [U-Boot, v7, 7/8] rockchip: dts: rk3328: support and enable dwc2

2017-06-25 Thread Philipp Tomsich
> Enable dwc2 controller and add fixed regulator for dwc2 controller to > control vbus. > > Signed-off-by: Meng Dongyang > Reviewed-by: Simon Glass > --- > > Changes in v7: None > Changes in v6: None > Changes in v5: None > Changes in v4: None >

Re: [U-Boot] [U-Boot,v2,5/8] rockchip: dts: rk3328: add dmc node

2017-06-25 Thread Philipp Tomsich
> Add a dmc node for sdram driver. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > > arch/arm/dts/rk3328.dtsi | 7 +++ > 1 file changed, 7 insertions(+) > Applied to u-boot-rockchip/next, thanks! ___

Re: [U-Boot] [U-Boot,v2,6/8] rockchip: dts: rk3368: add dmc node

2017-06-25 Thread Philipp Tomsich
> Add dmc node to enable sdram driver. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > > arch/arm/dts/rk3368.dtsi | 7 +++ > 1 file changed, 7 insertions(+) > Applied to u-boot-rockchip/next, thanks!

Re: [U-Boot] [U-Boot,v2,7/7] rockchip: add evb_rk3229 board

2017-06-25 Thread Philipp Tomsich
> evb_rk3229 is a RK3229 based board, with: > - 8GB eMMC; > - 1GB DDR SDRAM; > - 2 USB2.0 HOST port; > - 1 MAC port; > - 1 HDMI port; > - IR; > - WiFi; > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > --- > >

Re: [U-Boot] [U-Boot, v4, 4/4] doc: rockchip: Add phyCORE-RK3288 RDK to board list

2017-06-25 Thread Philipp Tomsich
> Signed-off-by: Wadim Egorov > Acked-by: Simon Glass > Reviewed-by: Simon Glass > --- > Changes in v4: > - Added Reviewed-by: Simon Glass > > doc/README.rockchip | 3 ++- > 1 file changed, 2 insertions(+), 1

[U-Boot] [PATCH v7 0/9] add support for GPT partition name manipulation

2017-06-25 Thread alison
From: Alison Chaiken Here is a resubmission of the 9-part patch series, the first 8 of which have already been marked 'applied', 'reviewed', or 'ack'ed' by Lukasz Majewski, Simon Glass or Tom Rini. I'm reposting them all as a set at Tom Rini's suggestion. Those earlier

Re: [U-Boot] [U-Boot,v2,2/8] rockchip: use common sdram function

2017-06-25 Thread Philipp Tomsich
> Replace the sdram_init() in board init and rockchip_sdram_size() in > sdram driver for all the Rockchip SoCs which enable CONFIG_RAM. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - add evb-px5 and geekbox board > - use CONFIG_SYS_SDRAM_BASE for ram_base

Re: [U-Boot] [U-Boot, v2, 8/8] rockchip: rv1108: disable CONFIG_RAM before we have driver

2017-06-25 Thread Philipp Tomsich
> The rv1108 do not have DRAM driver now, so disable it first, > or else it will get conflict with the sdram common code. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > > configs/evb-rv1108_defconfig | 1 - > 1 file changed, 1 deletion(-) > Applied

Re: [U-Boot] [U-Boot, v2, 3/8] rockchip: rk3328: add sdram driver in U-Boot

2017-06-25 Thread Philipp Tomsich
> Add sdram driver in U-Boot for get the correct sdram size from > sys_reg, so that U-Boot can co-work with Rockchip loader or SPL > to get different dram capability and then tell the kernel. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > >

Re: [U-Boot] [U-Boot, v4] rockchip: video: mipi: Modify variable type for arm32 compatibility

2017-06-25 Thread Philipp Tomsich
> Some address relevant varibable is defined originally as u64. To > compatible with arm32, this patch change them to uintptr_t type. > > Signed-off-by: Eric Gao > Reviewed-by: Simon Glass > --- > > Changes in v3: > -Cancel the force convert for

Re: [U-Boot] [PATCH v2 2/2] atmel, at91: fix smartweb board

2017-06-25 Thread Yang, Wenyou
On 2017/6/24 2:13, Heiko Schocher wrote: since commit: f8b7fff1d5c5 "serial: atmel_usart: Add clk support" smartweb board comes not up anymore. Fix it. Signed-off-by: Heiko Schocher Acked-by: Wenyou Yang --- Changes in v2: None

[U-Boot] [PATCH v7 9/9] GPT: provide commands to selectively rename partitions

2017-06-25 Thread alison
From: Alison Chaiken This patch provides support in u-boot for renaming GPT partitions. The renaming is accomplished via new 'gpt swap' and 'gpt rename' commands. The 'swap' mode returns an error if no matching partition names are found, or if the number of partitions

Re: [U-Boot] rockchip: rk3328: correct mem_region

2017-06-25 Thread Philipp Tomsich
> According to rk3328 TRM: > 0~0xff00 is ddr space; > 0xff00~0x is device space. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > arch/arm/mach-rockchip/rk3328/rk3328.c | 8 > 1 file changed, 4

Re: [U-Boot] [U-Boot,v2,2/7] rockchip: rk322x: add clock driver

2017-06-25 Thread Philipp Tomsich
> Add clock driver init support for: > - cpu, bus clock init; > - emmc, sdmmc clock; > - ddr clock; > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > --- > > Changes in v2: > - update copyright > - fix typo > >

Re: [U-Boot] [U-Boot, 7/7] rockchip: dm: convert fdt_get to dev_read

2017-06-25 Thread Philipp Tomsich
> With the new dev_read functions available, we can convert the rockchip > architecture-specific drivers and common drivers used by these devices > over to the dev_read family of calls. > > This covers the DRAM controller initialisation for the RK3188, RK3288 > and RK3399... all of these read

Re: [U-Boot] [U-Boot, 6/7] rockchip: ns16550: dm: convert fdt_get to dev_read

2017-06-25 Thread Philipp Tomsich
> With the new dev_read functions available, we can convert the rockchip > architecture-specific drivers and common drivers used by these devices > over to the dev_read family of calls. > > This covers the serial driver (ns16550 and compatible) used for the > Rockchip devices. > > Signed-off-by:

Re: [U-Boot] [U-Boot, v2, 1/7] rockchip: mkimage: add support for rk322x soc

2017-06-25 Thread Philipp Tomsich
> Add support for rk322x package header in mkimage tool. > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > --- > > Changes in v2: None > > tools/rkcommon.c | 1 + > 1 file changed, 1 insertion(+) > Applied to

Re: [U-Boot] [U-Boot, 6/7] rockchip: ns16550: dm: convert fdt_get to dev_read

2017-06-25 Thread Philipp Tomsich
> With the new dev_read functions available, we can convert the rockchip > architecture-specific drivers and common drivers used by these devices > over to the dev_read family of calls. > > This covers the serial driver (ns16550 and compatible) used for the > Rockchip devices. > > Signed-off-by:

Re: [U-Boot] [U-Boot, 3/7] rockchip: xhci: dm: convert fdt_get to dev_read

2017-06-25 Thread Philipp Tomsich
> With the new dev_read functions available, we can convert the rockchip > architecture-specific drivers and common drivers used by these devices > over to the dev_read family of calls. > > This change covers the USB3 (xhci) driver for the Rockchip devices. > > Signed-off-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, v2, 1/7] rockchip: mkimage: add support for rk322x soc

2017-06-25 Thread Philipp Tomsich
> Add support for rk322x package header in mkimage tool. > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > --- > > Changes in v2: None > > tools/rkcommon.c | 1 + > 1 file changed, 1 insertion(+) > Applied to

Re: [U-Boot] [U-Boot, 02/13] rockchip: rk3066: add rk3066 pinctrl driver

2017-06-25 Thread Philipp Tomsich
> Add driver supporting pin multiplexing on rk3066 platform. > > Signed-off-by: Paweł Jarosz > --- > drivers/pinctrl/Kconfig | 9 + > drivers/pinctrl/rockchip/Makefile | 1 + > drivers/pinctrl/rockchip/pinctrl_rk3066.c | 342 >

Re: [U-Boot] [U-Boot, 04/13] rockchip: rk3066: add clock driver for rk3066 soc

2017-06-25 Thread Philipp Tomsich
> Add clock driver for rk3066 platform. > > Signed-off-by: Paweł Jarosz > --- > arch/arm/include/asm/arch-rockchip/cru_rk3066.h | 189 > drivers/clk/rockchip/Makefile | 1 + > drivers/clk/rockchip/clk_rk3066.c | 586 >

Re: [U-Boot] [U-Boot, v7, 5/8] usb: dwc2: use dev_read_bool() instead of fdt_getprop()

2017-06-25 Thread Philipp Tomsich
> Use dev_read_bool() instead of fdt_getprop() to get the property > from DTS. And add a comment for "hnp-srp-disable" property to > fully describe its effect. > > Signed-off-by: Meng Dongyang > --- > > Changes in v7: > - Romove unused variable ‘prop’ in dwc2 driver

Re: [U-Boot] [U-Boot, v4] rockchip: video: mipi: Modify variable type for arm32 compatibility

2017-06-25 Thread Philipp Tomsich
> Some address relevant varibable is defined originally as u64. To > compatible with arm32, this patch change them to uintptr_t type. > > Signed-off-by: Eric Gao > Reviewed-by: Simon Glass > --- > > Changes in v3: > -Cancel the force convert for

Re: [U-Boot] [U-Boot, v2, 2/4] rockchip: pinctrl: rk3328: use gpio instead of sdmmc-pwren

2017-06-25 Thread Philipp Tomsich
> SDMMC-PWREN is a pin to control voltage for SDMMC IO, it may > be high active or low active, the dwmmc driver always assume > the sdmmc-pwren as high active. > > Kernel treat this pin as fixed regulator instead of a pin from > controller, and then it can set in dts file upon board schematic, >

Re: [U-Boot] [U-Boot, v2, 1/8] rockchip: add sdram_common for common functions

2017-06-25 Thread Philipp Tomsich
> There are some functions like sdram_size_mb can be re-used for > different rockchip SoCs, just put them into common file. > Add board_get_usable_ram_top() for ram_top init base on > SDRAM_MAX_SIZE. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - add

Re: [U-Boot] [U-Boot,v2,2/8] rockchip: use common sdram function

2017-06-25 Thread Philipp Tomsich
> Replace the sdram_init() in board init and rockchip_sdram_size() in > sdram driver for all the Rockchip SoCs which enable CONFIG_RAM. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - add evb-px5 and geekbox board > - use CONFIG_SYS_SDRAM_BASE for ram_base

Re: [U-Boot] [U-Boot,v2,3/7] rockchip: rk322x: add pinctrl driver

2017-06-25 Thread Philipp Tomsich
> Add init pinctrl driver support for: > - i2c; > - spi; > - uart; > - pwm; > - emmc/sdmmc; > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > --- > > Changes in v2: None > >

Re: [U-Boot] [U-Boot, v2] rockchip: video: mipi: Modify format type for debug message

2017-06-25 Thread Philipp Tomsich
> Modify format type for debug message. > > Signed-off-by: Eric Gao > --- > > Changes in v1: > -Change the debug message format type because of the change the variable. > > drivers/video/rockchip/rk_mipi.c | 8 > 1 file changed, 4 insertions(+), 4

Re: [U-Boot] [U-Boot, v4, 1/4] power: regulator: rk8xx: Build get_ldo_reg only for SPL

2017-06-25 Thread Philipp Tomsich
> Enabling CONFIG_SPL_POWER_SUPPORT will cause a compiler warning: > ‘get_ldo_reg’ defined but not used [-Wunused-function] > > Let's wrap get_ldo_reg(), rk808_ldo and rk818_ldo with ENABLE_DRIVER > which is only set for non SPL builds. > > Signed-off-by: Wadim Egorov >

Re: [U-Boot] [U-Boot,v2,4/7] rockchip: rk322x: add dts file

2017-06-25 Thread Philipp Tomsich
> The dts files are from kernel and with modify to adapt U-Boot. > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > --- > > Changes in v2: None > > arch/arm/dts/rk3229-evb.dts| 77 >

[U-Boot] [PATCH v7 9/9] GPT: provide commands to selectively rename partitions

2017-06-25 Thread alison
From: Alison Chaiken This patch provides support in u-boot for renaming GPT partitions. The renaming is accomplished via new 'gpt swap' and 'gpt rename' commands. The 'swap' mode returns an error if no matching partition names are found, or if the number of partitions

Re: [U-Boot] [U-Boot, v3, 3/3] rockchip: video: defconfig: Add mipi dsi support for evb-rk3288

2017-06-25 Thread Philipp Tomsich
> Add support for rk3288 mipi dsi. > > Signed-off-by: Eric Gao > Reviewed-by: Simon Glass > --- > > Changes in v2: None > Changes in v1: > -Make the subject more intelligible. > > configs/evb-rk3288_defconfig | 8 ++-- > 1 file changed, 6

[U-Boot] [PATCH v7 1/9] EFI: replace number with UUID_STR_LEN macro

2017-06-25 Thread alison
From: Alison Chaiken Changes since v6: none. Signed-off-by: Alison Chaiken --- disk/part_efi.c | 2 +- include/part.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/disk/part_efi.c b/disk/part_efi.c index

Re: [U-Boot] [U-Boot,v2,4/7] rockchip: rk322x: add dts file

2017-06-25 Thread Philipp Tomsich
> The dts files are from kernel and with modify to adapt U-Boot. > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > --- > > Changes in v2: None > > arch/arm/dts/rk3229-evb.dts| 77 >

[U-Boot] [PATCH v7 7/9] GPT: add accessor function for disk GUID

2017-06-25 Thread alison
From: Alison Chaiken In order to read the GPT, modify the partition name strings, and then write out a new GPT, the disk GUID is needed. While there is an existing accessor for the partition UUIDs, there is none yet for the disk GUID. Changes since v6: none.

Re: [U-Boot] [U-Boot, v3, 1/3] rockchip: video: mipi: Add rk3288 soc specific driver for mipi dsi

2017-06-25 Thread Philipp Tomsich
> Add rk3288 soc specific driver for mipi dsi. > > Signed-off-by: Eric Gao > Reviewed-by: Simon Glass > --- > > Changes in v2: > -Cancel the force convert for dev_read_addr return value type. > -Change regs type from "void __iomem" to "uintptr_t". >

[U-Boot] [PATCH v7 2/9] disk_partition: introduce macros for description string lengths

2017-06-25 Thread alison
From: Alison Chaiken Changes since v6: none. Signed-off-by: Alison Chaiken --- include/part.h | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/part.h b/include/part.h index 6ace09f..87b 100644 ---

Re: [U-Boot] [PATCH v7 9/9] GPT: provide commands to selectively rename partitions

2017-06-25 Thread Bin Meng
Hi On Mon, Jun 26, 2017 at 7:43 AM, wrote: > From: Alison Chaiken > > This patch provides support in u-boot for renaming GPT > partitions. The renaming is accomplished via new 'gpt swap' > and 'gpt rename' commands. > > The 'swap' mode returns

Re: [U-Boot] [U-Boot, 2/7] rockchip: spi: dm: convert fdt_get to dev_read

2017-06-25 Thread Philipp Tomsich
> With the new dev_read functions available, we can convert the rockchip > architecture-specific drivers and common drivers used by these devices > over to the dev_read family of calls. > > This change covers the rk_spi.c (SPI driver) used in Rockchip devices. > > Signed-off-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 1/7] rockchip: pinctrl: dm: convert fdt_get to dev_read

2017-06-25 Thread Philipp Tomsich
> With the new dev_read functions available, we can convert the rockchip > architecture-specific drivers and common drivers used by these devices > over to the dev_read family of calls. > > This change covers the pinctrl drivers for the Rockchip devices. > > Signed-off-by: Philipp Tomsich

Re: [U-Boot] [U-Boot,01/13] rockchip: rk3066: add grf header file

2017-06-25 Thread Philipp Tomsich
> grf is needed by various drivers for rk3066 soc. > > Signed-off-by: Paweł Jarosz > --- > arch/arm/include/asm/arch-rockchip/grf_rk3066.h | 621 > > 1 file changed, 621 insertions(+) > create mode 100644

Re: [U-Boot] [U-Boot, v2, 3/8] rockchip: rk3328: add sdram driver in U-Boot

2017-06-25 Thread Philipp Tomsich
> Add sdram driver in U-Boot for get the correct sdram size from > sys_reg, so that U-Boot can co-work with Rockchip loader or SPL > to get different dram capability and then tell the kernel. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > >

Re: [U-Boot] [U-Boot, 09/13] rockchip: dts: set fifo mode as default for mmc

2017-06-25 Thread Philipp Tomsich
> rk3066 and rk3188 designware mmc ip doesn't support internal dma > transfer mode. So set fifo mode as default. > > Signed-off-by: Paweł Jarosz > Acked-by: Simon Glass > --- > arch/arm/dts/rk3xxx.dtsi | 3 +++ > 1 file changed, 3 insertions(+) >

Re: [U-Boot] [U-Boot, v2, 5/7] rockchip: rk322x: add basic soc support

2017-06-25 Thread Philipp Tomsich
> Enable soc support for SPL and U-boot skeleton. > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > --- > > Changes in v2: > - some update for sdram common code > > arch/arm/include/asm/arch-rockchip/clock.h|

Re: [U-Boot] [U-Boot, 12/13] armv7: support rk3066 early back to bootrom in start.S

2017-06-25 Thread Philipp Tomsich
> Rockchip bootrom first reads 1KB data from nand at offset 0x10080C00 and > executes it. Then waits for back to bootrom and loads another 32KB to sram > which also executes. Sdram initialisation code needs to be in one of these two > steps. Then bootloader loads another ~200KB of data at offset

Re: [U-Boot] [U-Boot, v4, 3/4] rockchip: Add basic support for phyCORE-RK3288 SoM based carrier board

2017-06-25 Thread Philipp Tomsich
> 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 Development Kit option is using the following setup: > > - 1 GB DDR3 RAM (2

Re: [U-Boot] [U-Boot, v2, 4/8] rockchip: rk3368: add sdram driver for U-Boot

2017-06-25 Thread Philipp Tomsich
> Add sdram driver in U-Boot for get the correct sdram size from > sys_reg, so that U-Boot can co-work with Rockchip loader or SPL > to get different dram capability and then tell the kernel. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > >

Re: [U-Boot] [U-Boot, v7, 8/8] rockchip: dts: rk3399: control vbus of typec by fixed regulator

2017-06-25 Thread Philipp Tomsich
> Add fixed regulator for the port of typec0 and typec1 to control vbus > instead of gpio. > > Signed-off-by: Meng Dongyang > Reviewed-by: Simon Glass > --- > > Changes in v7: None > Changes in v6: None > Changes in v5: None > Changes in v4: None

Re: [U-Boot] [U-Boot, v4, 2/4] power: regulator: rk8xx: Allow input current/charger shutdown configuration

2017-06-25 Thread Philipp Tomsich
> The RK818 PMIC contains a charger. Add very basic charger functionality > to be able to regulate the USB input current and charger shutdown limits. > > Signed-off-by: Wadim Egorov > Reviewed-by: Simon Glass > --- > Changes in v4: > - Added Reviewed-by:

Re: [U-Boot] [U-Boot, v7, 1/8] usb: Kconfig: config USB_XHCI_ROCKCHIP depends on DM_REGULATOR and DM_USB

2017-06-25 Thread Philipp Tomsich
> The xhci-rockchip driver depends on DM_REGULATOR and DM_USB. > So add dependent features for xhci-rockchip driver in Kconfig. > > Signed-off-by: Meng Dongyang > --- > > Changes in v7: None > Changes in v6: > - New patch, add depends on features for xhci-rockchip in

  1   2   >