[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] [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:

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] 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] 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 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

[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] [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] [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

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

[U-Boot] [PATCH v7 4/9] sandbox: README: fix partition command invocation

2017-06-25 Thread alison
From: Alison Chaiken The instructions for creating a disk image that are presently in README.sandbox fail because sfdisk doesn't know about GPT. Changes since v6: none. Signed-off-by: Alison Chaiken --- board/sandbox/README.sandbox | 2 +- 1

Re: [U-Boot] [U-Boot, v1] rockchip: pwm: fix: pwm dosen't work on rk3288

2017-06-25 Thread Philipp Tomsich
> According to rk3288 spec, the pwm register order is: > PWM_PWM0_CNT, > PWM_PWM0_PERIOD_HPR, > PWM_PWM0_DUTY_LPR, > PWM_PWM0_CTRL > > but the source code's order is: > struct rk3288_pwm { > u32 cnt; > u32 duty_lpr; > u32 period_hpr; > u32 ctrl; > }; > > So,

[U-Boot] [PATCH v7 5/9] cmd gpt: test in sandbox

2017-06-25 Thread alison
From: Alison Chaiken Make minor changes to README.gpt and sandbox_defconfig to support testing of the gpt command's functionality in the sandbox. Changes since v6: none. Signed-off-by: Alison Chaiken --- doc/README.gpt | 10 ++ 1 file

[U-Boot] [PATCH v7 6/9] partitions: increase MAX_SEARCH_PARTITIONS and move to part.h

2017-06-25 Thread alison
From: Alison Chaiken Move MAX_SEARCH_PARTITIONS to part.h so that functions in cmd directory can find it. At the same time, increase the value to 64 since some operating systems use many, and the resources consumed by a larger value are minimal. Changes since v6: none.

[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, 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

[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

[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] [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". >

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 3/9] GPT: fix error in partitions string doc

2017-06-25 Thread alison
From: Alison Chaiken The existing partitions-list parsing in cmd/gpt.c passes a value from gpt_default() to set_gpt_info() that README.gpt suggests should begin with 'partitions='. Partition-list strings should in fact begin with 'uuid_disk', as otherwise the call from

Re: [U-Boot] [U-Boot, v3, 3/3] rockchop: video: mipi: Makefile: Add soc specfic driver for rk3399 mipi dsi

2017-06-25 Thread Philipp Tomsich
> Add Makefile item for soc specific driver for rk3399 mipi dsi. > > Signed-off-by: Eric Gao > --- > > Changes in v2: None > Changes in v1: None > > drivers/video/rockchip/Makefile | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > Acked-by: Philipp Tomsich

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 >

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] 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,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

[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, 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, v7, 4/8] rockchip: configs: rk3328: enable dwc2 driver and config fastboot

2017-06-25 Thread Philipp Tomsich
> Config dwc2 driver support host and gadget function. Add support > of fastboot function. > > 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,6/7] rockchip: rk322x: add sysreset driver

2017-06-25 Thread Philipp Tomsich
> Rockchip rk322x sysreset is much like rk3036 and other Rockchip SoCs, > only difference is that the target register address is different. > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > --- > > Changes in v2:

[U-Boot] [PATCH v7 8/9] GPT: read partition table from device into a data structure

2017-06-25 Thread alison
From: Alison Chaiken Make the partition table available for modification by reading it from the user-specified device into a linked list. Provide an accessor function for command-line testing. Change since v6: -- Removed a cast in allocate_disk_part() as suggested by

Re: [U-Boot] [U-Boot, 11/13] rockchip: serial: support rockchip rk3066

2017-06-25 Thread Philipp Tomsich
> update driver to support rk3066 serial > > Signed-off-by: Paweł Jarosz > --- > drivers/serial/serial_rockchip.c | 19 ++- > 1 file changed, 18 insertions(+), 1 deletion(-) > Acked-by: Philipp Tomsich

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, 3/4] rockchip: evb-rk3328: enable boot on regulator

2017-06-25 Thread Philipp Tomsich
> Enable all the boot-on regulator in default. > > Signed-off-by: Kever Yang > Acked-by: Simon Glass > --- > > Changes in v2: None > > board/rockchip/evb_rk3328/evb-rk3328.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) >

Re: [U-Boot] [U-Boot, v2, 4/4] rockchip: dts: rk3328-evb: add sdmmc-pwren regulator

2017-06-25 Thread Philipp Tomsich
> Use fixed regulator for sdmmc-pwren for sdmmc power. > > Signed-off-by: Kever Yang > Acked-by: Simon Glass > --- > > Changes in v2: None > > arch/arm/dts/rk3328-evb.dts | 8 > 1 file changed, 8 insertions(+) > Acked-by: Philipp

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

2017-06-25 Thread Philipp Tomsich
> Signed-off-by: Eric Gao > --- > > Changes in v2: None > Changes in v1: None > > drivers/video/rockchip/Makefile | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Philipp Tomsich

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, 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, 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

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

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, 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,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, 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, 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] 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,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, 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, 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,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,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, 1/2] rockchip: rk3036 remove CONFIG_RAM from defconfig

2017-06-25 Thread Philipp Tomsich
> rk3036 sdram driver does not use DM, remove CONFIG_RAM first. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > configs/evb-rk3036_defconfig | 1 - > configs/kylin-rk3036_defconfig | 1 - > 2 files changed, 2 deletions(-) >

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, 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, 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, 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, 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, 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, 05/13] rockchip: rk3066: add rk3066 platform devicetree file

2017-06-25 Thread Philipp Tomsich
> rk3066 peripherials include usb, i2c, pwm, gpio, sdio, sdmmc, emmc, spi, > watchdog and uart > > Signed-off-by: Paweł Jarosz > Reviewed-by: Simon Glass > --- > arch/arm/dts/rk3066a.dtsi | 699 > ++ > 1

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, v1] rockchip: pwm: fix: pwm dosen't work on rk3288

2017-06-25 Thread Philipp Tomsich
> According to rk3288 spec, the pwm register order is: > PWM_PWM0_CNT, > PWM_PWM0_PERIOD_HPR, > PWM_PWM0_DUTY_LPR, > PWM_PWM0_CTRL > > but the source code's order is: > struct rk3288_pwm { > u32 cnt; > u32 duty_lpr; > u32 period_hpr; > u32 ctrl; > }; > > So,

Re: [U-Boot] [U-Boot, v7, 3/8] rockchip: dts: rk3328: add fixed regulator node for xhci

2017-06-25 Thread Philipp Tomsich
> The driver changes gpio to fixed regulator to control vbus, so add > fixed regulator node in DTS for xhci driver. > > Signed-off-by: Meng Dongyang > --- > > Changes in v7: None > Changes in v6: > - New patch, splited from [PATCH,v5,06/11] > >

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, 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, 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,10/13] rockchip: rk3066: add sdram driver

2017-06-25 Thread Philipp Tomsich
> Signed-off-by: Paweł Jarosz > Acked-by: Simon Glass > --- > arch/arm/mach-rockchip/rk3066/Makefile | 1 + > arch/arm/mach-rockchip/rk3066/sdram_rk3066.c | 111 > +++ > 2 files changed, 112 insertions(+) > create

Re: [U-Boot] [U-Boot, 2/2] rockchip: rk3036: sync os_reg2 define with other soc

2017-06-25 Thread Philipp Tomsich
> Rockchip using the same bit definition for dram info and write > to os_reg, the col and bw info is not correct and let's fix it. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > arch/arm/mach-rockchip/rk3036/sdram_rk3036.c | 5

Re: [U-Boot] [U-Boot, v3, 1/3] rockchip: defconfig: Increase max video resolution for mipi panel

2017-06-25 Thread Philipp Tomsich
> The mipi panel used on evb-rk3399 has a 1920x1200 resolution. But now > the max resolution is 1920x1080. So increase it. > > Signed-off-by: Eric Gao > --- > > Changes in v2: None > Changes in v1: > -Add title. > > configs/evb-rk3399_defconfig | 8 +++- > 1 file

Re: [U-Boot] [U-Boot,v2,6/7] rockchip: rk322x: add sysreset driver

2017-06-25 Thread Philipp Tomsich
> Rockchip rk322x sysreset is much like rk3036 and other Rockchip SoCs, > only difference is that the target register address is different. > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > --- > > Changes in v2:

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, 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,06/13] rockchip: rk3066: add core support

2017-06-25 Thread Philipp Tomsich
> Add core skeleton for rk3066 > > Signed-off-by: Paweł Jarosz > --- > arch/arm/mach-rockchip/Kconfig| 16 +++ > arch/arm/mach-rockchip/Makefile | 4 + > arch/arm/mach-rockchip/rk3066-board-spl.c | 173 + >

Re: [U-Boot] [U-Boot, v7, 6/8] rockchip: rk3328: board: add support of dwc2 gadget

2017-06-25 Thread Philipp Tomsich
> Probe dwc2 udc in the function of board_usb_start to enable > usb gadget function. > > Signed-off-by: Meng Dongyang > Reviewed-by: Simon Glass > --- > > Changes in v7: None > Changes in v6: None > Chagnes in v5: None > Changes in v4: None >

Re: [U-Boot] [U-Boot, 07/13] rockchip: rk3066: add mk808 board files

2017-06-25 Thread Philipp Tomsich
> mk808 is a tv stick with two usb ports, micro sd card slot, hdmi and > nand onboard. > > Signed-off-by: Paweł Jarosz > Acked-by: Simon Glass > --- > arch/arm/dts/Makefile | 1 + > arch/arm/dts/rk3066a-mk808.dts

Re: [U-Boot] [U-Boot,08/13] rockchip: mmc: support rk3066 mmc

2017-06-25 Thread Philipp Tomsich
> rk3066 and rk3288 mmc designware ip's are very similiar. They differ in > internal dma support and max driver frequency. > > Signed-off-by: Paweł Jarosz > --- > drivers/mmc/rockchip_dw_mmc.c | 31 +-- > 1 file changed, 29 insertions(+), 2

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, 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,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, 4/7] rockchip: dwmmc: use max-frequency when OF_PLATDATA enabled

2017-06-25 Thread Philipp Tomsich
> Since the 'clock-freq-min-max' is deprecated, we use max-frequency for > all rockchip SoC dwmmc controller. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > drivers/mmc/rockchip_dw_mmc.c | 3 ++- > 1 file changed, 2

Re: [U-Boot] [U-Boot, 6/7] rockchip: firefly-rk3399: enable dwmmc driver for the board

2017-06-25 Thread Philipp Tomsich
> Enable mmc_dw_rockchip driver, disable CONFIG_SPL_OF_PLATDATA > first for some dependence patches still not merged. > > Signed-off-by: Kever Yang > Tested-by: Vagrant Cascadian > Reviewed-by: Simon Glass > --- > >

Re: [U-Boot] [U-Boot, 3/7] rockchip: rk3328: 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/rk3328.dtsi | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > Applied to

Re: [U-Boot] [U-Boot, 2/7] rockchip: rk3288: 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/rk3288.dtsi | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > Applied to

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, 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] 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

  1   2   >