[U-Boot] [PATCH v5 0/3] board: at91sam9x5ek: Convert to support DM and DT

2017-04-18 Thread Wenyou Yang
The purpose of the patch set is to convert the board to support the driver model and device tree. It is based on the patch set: 1./ [PATCH v3 0/6] ARM: dts: at91: Add dts files for AT91 SoCs' boards https://lists.denx.de/pipermail/u-boot/2017-April/287845.html Changes in v5: - Adjust CONFI

[U-Boot] [PATCH v5 2/3] board: at91sam9x5ek: Clean up code

2017-04-18 Thread Wenyou Yang
Since the introduction of the pinctrl and clock driver and the device tree files, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: - Remove Atmel mci related code. Change

[U-Boot] [PATCH v5 1/3] configs: at91sam9x5ek: Update to support DM/DT

2017-04-18 Thread Wenyou Yang
Update the configuration files to support the device tree and driver model. The device clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Because the limitation of internal SRAM size, the SPL with driver model can't be supported, disable the SPL option. Si

[U-Boot] [PATCH v5 3/3] board: at91sam9x5ek: Enable early debug UART

2017-04-18 Thread Wenyou Yang
Enable the early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v5: - Rebase on the master branch(ad46af0e76) of u-boot-dm git tree. - Update the cover-letter. Changes in v4: - Rebase on

[U-Boot] [PATCH v4 0/3] board: at91sam9n12ek: Convert to support DM and DT

2017-04-18 Thread Wenyou Yang
The purpose of the patch set is to convert the board to support the driver model and the device tree. The patch set is based on the patch set: 1./ [PATCH v3 0/6] ARM: dts: at91: Add dts files for AT91 SoCs' boards https://lists.denx.de/pipermail/u-boot/2017-April/287845.html Changes in v4:

[U-Boot] [PATCH v4 2/3] board: at91sam9n12ek: Clean up code

2017-04-18 Thread Wenyou Yang
Since the introduction of the pinctrl and clk driver and the device tree files, remove unneeded related code from the board file. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None board/atmel/at91sam9n12ek/at91sam9n12ek.c | 53

[U-Boot] [PATCH v4 1/3] configs: at91sam9n12ek: Update for DT and DM support

2017-04-18 Thread Wenyou Yang
Update the configuration files to support the device tree and driver model. The device clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Because the limitation of internal SRAM size, the SPL with driver model can't be supported, disable the SPL option. Si

[U-Boot] [PATCH v4 3/3] board: at91sam9n12ek: Enable early debug UART

2017-04-18 Thread Wenyou Yang
Enable the early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v4: - Rebase on the master branch(ad46af0e76) of u-boot-dm git tree. - Update the cover-letter. - Add Reviewed-by tag. Chan

[U-Boot] [PATCH v2 0/8] Add mipi display support for rk3399

2017-04-18 Thread Eric Gao
Changes in v2: -Add mipi driver and it's header file -Add Kconfig and Makefile additions for mipi driver. -Add necessary Grf declaration for mipi driver. -Add mipi display mode for vop. -Add compatible items for rk3399 vop. -Change the bitwidth for different display mode. -Extend frame buffer siz

[U-Boot] [PATCH v2 1/8] rockchip: video: Add mipi dsi driver for rk3399

2017-04-18 Thread Eric Gao
Signed-off-by: Eric Gao --- Changes in v2: -Add mipi driver and it's header file -Add Kconfig and Makefile additions for mipi driver. -Add necessary Grf declaration for mipi driver. arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 25 ++ arch/arm/include/asm/arch-rockchip/mipi_rk3399.h | 195

[U-Boot] [PATCH v2 2/8] rockchip: video: vop: Add mipi display mode for rk3399

2017-04-18 Thread Eric Gao
Add mipi display mode for rk3399 vop, so that we can use mipi panel for display. Signed-off-by: Eric Gao --- Changes in v2: -Add mipi display mode for vop. -Add compatible items for rk3399 vop. arch/arm/include/asm/arch-rockchip/vop_rk3288.h | 1 + drivers/video/rockchip/rk_vop.c

[U-Boot] [PATCH v2 5/8] rockchip: board: evb_rk3399: initialize pwm0 for dispaly backlight

2017-04-18 Thread Eric Gao
Signed-off-by: Eric Gao --- Changes in v2: -Add pwm0 pinctrl init for lcd backlight. board/rockchip/evb_rk3399/evb-rk3399.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/board/rockchip/evb_rk3399/evb-rk3399.c b/board/rockchip/evb_rk3399/evb-rk3399.c index 362fa0b..76ab467 100644

[U-Boot] [PATCH v2 4/8] rockchip: video: vop: Reserve enough space for mipi dispaly

2017-04-18 Thread Eric Gao
plat->size here is used to reserve enough frame buffer space befor relocation. our mipi display mode need more space, so reset it. Signed-off-by: Eric Gao --- Changes in v2: -Extend frame buffer size for mipi display drivers/video/rockchip/rk_vop.c | 2 +- 1 file changed, 1 insertion(+), 1 de

[U-Boot] [PATCH v2 3/8] rockchip: video: vop: Set different bitwidth for different display mode

2017-04-18 Thread Eric Gao
Because the bitwidth is different for different display mode, so we need to set them according to demand. Signed-off-by: Eric Gao --- Changes in v2: -Change the bitwidth for different display mode. drivers/video/rockchip/rk_vop.c | 20 1 file changed, 16 insertions(+), 4

[U-Boot] [PATCH v2 6/8] rockchip: dts: Add mipi dsi support for rk3399

2017-04-18 Thread Eric Gao
Add dts config for mipi display, include vop, mipi controller, panel, backlight . And Enable rk808 for lcd_3v3 in another patch. Signed-off-by: Eric Gao --- Changes in v2: -Add dts config for mipi display. arch/arm/dts/rk3399-evb.dts | 84 + arch/ar

Re: [U-Boot] [PATCH v3 0/9] sunxi: Remove SYS_EXTRA_OPTIONS

2017-04-18 Thread Maxime Ripard
On Tue, Apr 18, 2017 at 10:38:19AM +0530, Jagan Teki wrote: > On Tue, Apr 4, 2017 at 5:04 PM, Maxime Ripard > wrote: > > On Tue, Apr 04, 2017 at 03:26:55PM +0530, Jagan Teki wrote: > >> On Tue, Apr 4, 2017 at 3:11 PM, Maxime Ripard > >> wrote: > >> > On Tue, Apr 04, 2017 at 02:25:09PM +0530, Jaga

[U-Boot] [PATCH v2 8/8] rockchip: video: vop: Fix rk_display_init() return error

2017-04-18 Thread Eric Gao
The function clk_set_rate() will return it's input parameter, so it's return value in normal condition is nonzero. In this case, we should report an error when it return zero rather than return a nonzero value. Signed-off-by: Eric Gao --- Changes in v2: -Fix rk_display_init() function report err

[U-Boot] [PATCH v2 7/8] rockchip: configs: Enable mipi dsi for rk3399

2017-04-18 Thread Eric Gao
Enable mipi dsi by default for rk3399-evb board Signed-off-by: Eric Gao --- Changes in v2: -Add defconfigs for mipi display, so that it can be enabled by default. configs/evb-rk3399_defconfig| 6 ++ drivers/video/rockchip/Kconfig | 2 +- drivers/video/rockchip/Makefile | 2 +- 3 file

[U-Boot] [PATCH v4 0/3] board: at91sam9m10g45ek: Convert to support DM and DT

2017-04-18 Thread Wenyou Yang
The purpose of the patch set is to convert the board to support the driver model and the device tree. The patch set is based on the patch set: 1./ [PATCH v3 0/6] ARM: dts: at91: Add dts files for AT91 SoCs' boards https://lists.denx.de/pipermail/u-boot/2017-April/287845.html Changes in v4:

[U-Boot] [PATCH v4 2/3] board: at91sam9m10g45ek: Clean up code

2017-04-18 Thread Wenyou Yang
Since the introduction of the pinctrl and clk drivers and the device tree files, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None board/atmel/at91sam9m10g45ek/at91sa

[U-Boot] [PATCH v4 1/3] configs: at91sam9m10g45ek: Update to support DM/DT

2017-04-18 Thread Wenyou Yang
Update the configuration files to support the device tree and driver model. The device clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Because the limitation of internal SRAM size, the SPL with driver model can't be supported, disable the SPL option. Si

[U-Boot] [PATCH v4 3/3] board: at91sam9m10g45ek: Enable early debug UART

2017-04-18 Thread Wenyou Yang
Enable the early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v4: - Rebase on the master branch(ad46af0e76) of u-boot-dm git tree. - Update the cover-letter. - Add Reviewed-by tag Chang

[U-Boot] [PATCH v5 0/3] board: at91sam9260ek/9g20ek: Convert to support DM and DT

2017-04-18 Thread Wenyou Yang
The purpose of the patch set is to convert the boards to support the driver model and the device tree. The patch set is based on the patch set: 1./ [PATCH v3 0/6] ARM: dts: at91: Add dts files for AT91 SoCs' boards https://lists.denx.de/pipermail/u-boot/2017-April/287845.html Changes in v5:

[U-Boot] [PATCH v5 1/3] configs: at91sam9260ek/9g20ek: Update for DT and DM

2017-04-18 Thread Wenyou Yang
Update the configuration files to support the device tree and driver model. The device clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v5: - Adjust CONFIG_ENV_OFFSET for NAND to avoid

[U-Boot] [PATCH v5 2/3] board: at91sam9260ek: Clean up code

2017-04-18 Thread Wenyou Yang
Since the introduction of the pinctrl and clk drivers and the device tree files, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None board/atmel/at9

[U-Boot] [PATCH v5 3/3] board: at91sam9260ek/9g20ek: Enable early debug UART

2017-04-18 Thread Wenyou Yang
Enable the early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v5: - Rebase on the master branch(ad46af0e76) of u-boot-dm git tree. - Update the cover-letter. - Add Reviewed-by tag. Chan

Re: [U-Boot] [PATCH 02/16] x86: Display the SPL banner only once

2017-04-18 Thread Bin Meng
On Wed, Apr 12, 2017 at 11:29 AM, Simon Glass wrote: > Hi Bin, > > On 11 April 2017 at 21:09, Bin Meng wrote: >> >> Hi Simon, >> >> On Mon, Mar 20, 2017 at 2:59 AM, Simon Glass wrote: >> > At present on a cold reboot we must reset the CPU to get it to full speed. >> > With 64-bit U-Boot this hap

Re: [U-Boot] [PATCH 01/16] x86: Drop leading spaces in cpu_x86_get_desc()

2017-04-18 Thread Bin Meng
On Wed, Apr 12, 2017 at 11:09 AM, Bin Meng wrote: > On Mon, Mar 20, 2017 at 2:59 AM, Simon Glass wrote: >> The Intel CPU name can have leading spaces. Remove them since they are not >> useful. >> >> Signed-off-by: Simon Glass >> --- >> >> arch/x86/cpu/cpu_x86.c | 6 +- >> 1 file changed, 5

Re: [U-Boot] [PATCH 03/16] x86: config: Enable dhrystone command for link

2017-04-18 Thread Bin Meng
On Wed, Apr 12, 2017 at 11:09 AM, Bin Meng wrote: > On Mon, Mar 20, 2017 at 2:59 AM, Simon Glass wrote: >> Enable this command so we can get an approximate performance measurement. >> >> Signed-off-by: Simon Glass >> --- >> >> configs/chromebook_link64_defconfig | 1 + >> configs/chromebook_lin

Re: [U-Boot] [PATCH 02/16] x86: Display the SPL banner only once

2017-04-18 Thread Bin Meng
On Tue, Apr 18, 2017 at 3:30 PM, Bin Meng wrote: > On Wed, Apr 12, 2017 at 11:29 AM, Simon Glass wrote: >> Hi Bin, >> >> On 11 April 2017 at 21:09, Bin Meng wrote: >>> >>> Hi Simon, >>> >>> On Mon, Mar 20, 2017 at 2:59 AM, Simon Glass wrote: >>> > At present on a cold reboot we must reset the C

[U-Boot] [PATCH v4 0/3] board: at91sam9rlek: Convert to support DM and DT

2017-04-18 Thread Wenyou Yang
The purpose of the patch set is to convert the board to support the driver model and the device tree. The patch set is based on the patch set: 1./ [PATCH v3 0/6] ARM: dts: at91: Add dts files for AT91 SoCs' boards https://lists.denx.de/pipermail/u-boot/2017-April/287845.html Changes in v4:

[U-Boot] [PATCH v4 2/3] board: at91sam9rlek: Clean up code

2017-04-18 Thread Wenyou Yang
Since the introduction of the pinctrl and clk drivers and the device tree files, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None board/atmel/at91sam9rlek/at91sam9rl

[U-Boot] [PATCH v4 3/3] board: at91sam9rlek: Enable early debug UART

2017-04-18 Thread Wenyou Yang
Enable the early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v4: - Rebase on the master branch(ad46af0e76) of u-boot-dm git tree. - Update the cover-letter. - Add Reviewed-by tag. Chan

[U-Boot] [PATCH v4 1/3] configs: at91sam9rlek: Update for DT and DM support

2017-04-18 Thread Wenyou Yang
Update the configuration files to support the device tree and driver model. The device clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v4: - Adjust CONFIG_ENV_OFFSET for NAND to avoid

[U-Boot] [PATCH v4 0/3] board: at91sam9263ek: Convert to support DM and DT

2017-04-18 Thread Wenyou Yang
The purpose of the patch set is to convert the board to support the driver model and the device Tree. The patch set is based on the patch set: 1./ [PATCH v3 0/6] ARM: dts: at91: Add dts files for AT91 SoCs' boards https://lists.denx.de/pipermail/u-boot/2017-April/287845.html Changes in v4:

[U-Boot] [PATCH v4 2/3] board: at91sam9263ek: Clean up code

2017-04-18 Thread Wenyou Yang
Because the introduction of the pinctrl and clk drivers and the device tree files, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None board/atmel/at91sam9263ek/at91sam

[U-Boot] [PATCH v4 3/3] board: at91sam9263ek: Enable early debug UART

2017-04-18 Thread Wenyou Yang
Enable the early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v4: - Rebase on the master branch(ad46af0e76) of u-boot-dm git tree. - Update the cover-letter. - Add Reviewed-by tag. Chan

[U-Boot] [PATCH v4 1/3] configs: at91sam9263ek: Update for DT and DM support

2017-04-18 Thread Wenyou Yang
Update the configuration files to support the device tree and driver model. The device clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v4: - Adjust CONFIG_ENV_OFFSET for NAND to avoid

Re: [U-Boot] [PATCH] rockchip: reserve memory for rk3399 ATF data

2017-04-18 Thread Dr. Philipp Tomsich
Kever, Thanks for clarifying regarding what versions of ATF are out in production. I still feel a bit uneasy, as the size of the Cortex-M0 firmware could grow in the future (but then again, if that happens an alternative solution can be used). Given that this is needed for backward compatiblity,

[U-Boot] [PATCH] net: macb: Fix GMAC not work when enable DM_ETH

2017-04-18 Thread Wenyou Yang
Always search the PHY to determine the macb->phy_addr before using the PHY to fix "No PHY present" error. Fix the wrong test of the GMAC's phy interface mode, it should be PHY_INTERFACE_MODE_RGMII. Signed-off-by: Wenyou Yang --- drivers/net/macb.c | 6 +- 1 file changed, 1 insertion(+), 5

Re: [U-Boot] [PATCH v3 0/6] ARM: dts: at91: Add dts files for AT91 SoCs' boards

2017-04-18 Thread Yang, Wenyou
Hi Simon, The patches has been rebased on the master branch of u-boot-dm git tree Could you help take them? Best Regards, Wenyou Yang On 2017/4/18 13:49, Wenyou Yang wrote: The device tree source files of AT91 SoCs's board are copied from the Linux v4.10, and have some changes. Changes in

Re: [U-Boot] [PATCH v5 3/3] board: at91sam9x5ek: Enable early debug UART

2017-04-18 Thread Yang, Wenyou
Hi Simon, The patches has been rebased on the master branch of u-boot-dm git tree, and you added Reviewed-by tag before. Could you help take them? Best Regards, Wenyou Yang On 2017/4/18 14:51, Wenyou Yang wrote: Enable the early debug UART to debug problems when an ICE or other debug mecha

Re: [U-Boot] [PATCH v4 3/3] board: at91sam9n12ek: Enable early debug UART

2017-04-18 Thread Yang, Wenyou
Hi Simon, The patches has been rebased on the master branch of u-boot-dm git tree Could you help take them? Best Regards, Wenyou Yang On 2017/4/18 14:54, Wenyou Yang wrote: Enable the early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: W

Re: [U-Boot] [PATCH v5 3/3] board: at91sam9260ek/9g20ek: Enable early debug UART

2017-04-18 Thread Yang, Wenyou
Hi Simon, The patches has been rebased on the master branch of u-boot-dm git tree Could you help take them? Best Regards, Wenyou Yang On 2017/4/18 15:18, Wenyou Yang wrote: Enable the early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: W

Re: [U-Boot] [PATCH v4 3/3] board: at91sam9m10g45ek: Enable early debug UART

2017-04-18 Thread Yang, Wenyou
Hi Simon, The patches has been rebased on the master branch of u-boot-dm git tree Could you help take them? Best Regards, Wenyou Yang On 2017/4/18 15:15, Wenyou Yang wrote: Enable the early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: W

Re: [U-Boot] [PATCH v4 3/3] board: at91sam9rlek: Enable early debug UART

2017-04-18 Thread Yang, Wenyou
Hi Simon, The patches has been rebased on the master branch of u-boot-dm git tree Could you help take them? Best Regards, Wenyou Yang On 2017/4/18 15:28, Wenyou Yang wrote: Enable the early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: W

Re: [U-Boot] [PATCH v4 3/3] board: at91sam9263ek: Enable early debug UART

2017-04-18 Thread Yang, Wenyou
Hi Simon, The patches has been rebased on the master branch of u-boot-dm git tree Could you help take them? Best Regards, Wenyou Yang On 2017/4/18 15:31, Wenyou Yang wrote: Enable the early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: W

[U-Boot] Please pull u-boot-x86

2017-04-18 Thread Bin Meng
Hi Tom, The following changes since commit f6c1df44b815a08585e7fd3805a1db51a5955d09: Prepare v2017.05-rc2 (2017-04-17 18:16:49 -0400) are available in the git repository at: git://git.denx.de/u-boot-x86.git for you to fetch changes up to 363f67a96b2b2f6ec5a211eddf349d7b76a09159: x86: co

[U-Boot] [PATCH v1 0/2]

2017-04-18 Thread Eric Gao
Add bmp logo display support for evb-rk3399 Changes in v1: -Add bmp logo display support. -Enable logo display for evb-rk3399 Eric Gao (2): board: rockchip: common: Add bmp logo support rockchip: include: Enable logo display for evb-rk3399 board/rockchip/common/Makefile |9 + board/r

[U-Boot] [PATCH v1 0/2]

2017-04-18 Thread Eric Gao
Add bmp logo display support for evb-rk3399 Changes in v1: -Add bmp logo display support. -Enable logo display for evb-rk3399 Eric Gao (2): board: rockchip: common: Add bmp logo support rockchip: include: Enable logo display for evb-rk3399 board/rockchip/common/Makefile |9 + board/r

[U-Boot] [PATCH v1 2/2] rockchip: include: Enable logo display for evb-rk3399

2017-04-18 Thread Eric Gao
Signed-off-by: Eric Gao --- Changes in v1: -Enable logo display for evb-rk3399 include/configs/evb_rk3399.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/evb_rk3399.h b/include/configs/evb_rk3399.h index 8fdefa2..af44e45 100644 --- a/include/configs/evb_rk3399.h ++

Re: [U-Boot] [PATCH 1/2] include: config: am335x: disable DM_MMC_OPS if DM_MMC is disabled

2017-04-18 Thread Jean-Jacques Hiblot
On 16/04/2017 21:33, Simon Glass wrote: Hi, On 14 April 2017 at 11:50, Jean-Jacques Hiblot wrote: Signed-off-by: Jean-Jacques Hiblot --- include/configs/am335x_evm.h | 1 + include/configs/am335x_shc.h | 1 + include/configs/chiliboard.h | 1 + 3 files changed, 3 insertions(+) Reviewe

Re: [U-Boot] [PATCH 3/3] spl: Makefile: include /config in the (reduced) FDT used by the SPL stage

2017-04-18 Thread Dr. Philipp Tomsich
On 18 Apr 2017, at 06:00, Simon Glass wrote: > > On 17 April 2017 at 09:45, Philipp Tomsich > wrote: > > When OF control is enabled for the SPL stage, nodes are removed from > > the DTB to reduce its size. While /chosen is kept, /config is removed. > > > > There's no reason why /chosen should b

[U-Boot] [PATCH v2] rockchip: dts: evb-rk3399: correct pwm3 polarity

2017-04-18 Thread Kever Yang
The pwm3 on evb-rk3399 is used for pwm regulator, need to invert the polarity to make it work correctly. Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v2: - commit message description fix arch/arm/dts/rk3399-evb.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [U-Boot] [PATCH 12/22] x86: Add an early CMOS access library

2017-04-18 Thread Bin Meng
Hi Simon, On Wed, Mar 22, 2017 at 4:06 AM, Simon Glass wrote: > Hi Bin, > > On 16 March 2017 at 08:26, Bin Meng wrote: >> This adds a library that provides CMOS (inside RTC SRAM) access >> at a very early stage when driver model is not available yet. >> >> Signed-off-by: Bin Meng >> --- >> >>

Re: [U-Boot] [PATCH v3 0/9] sunxi: Remove SYS_EXTRA_OPTIONS

2017-04-18 Thread Jagan Teki
On Tue, Apr 18, 2017 at 12:43 PM, Maxime Ripard wrote: > On Tue, Apr 18, 2017 at 10:38:19AM +0530, Jagan Teki wrote: >> On Tue, Apr 4, 2017 at 5:04 PM, Maxime Ripard >> wrote: >> > On Tue, Apr 04, 2017 at 03:26:55PM +0530, Jagan Teki wrote: >> >> On Tue, Apr 4, 2017 at 3:11 PM, Maxime Ripard >> >

Re: [U-Boot] [PATH V2] usb: dwc2: invalidate the dcache before starting the DMA

2017-04-18 Thread Eddie Cai
Hi 2017-04-18 11:55 GMT+08:00 Kever Yang : > Hi Marek, > > > On 04/06/2017 06:20 PM, Marek Vasut wrote: > >> On 04/06/2017 10:34 AM, Kever Yang wrote: >> >>> Hi Eddie, >>> >>> >>> On 04/06/2017 10:14 AM, Marek Vasut wrote: >>> On 04/06/2017 04:03 AM, Eddie Cai wrote: > We should inv

Re: [U-Boot] [PATCH v5 14/16] arm: socfpga: Add config and defconfig for Arria 10

2017-04-18 Thread Marek Vasut
On 04/18/2017 05:12 AM, Ley Foon Tan wrote: > On Mon, Apr 17, 2017 at 6:39 PM, Marek Vasut wrote: >> On 04/17/2017 05:05 AM, Ley Foon Tan wrote: >>> On Fri, Apr 14, 2017 at 6:25 PM, Marek Vasut wrote: On 04/13/2017 07:41 PM, Ley Foon Tan wrote: > Add config and defconfig for the Arria10

[U-Boot] rockchip: enable debug uart

2017-04-18 Thread Eddie Cai
enable debug uart for rk3288 and print something to let people know where we are Signed-off-by: Eddie Cai --- arch/arm/mach-rockchip/rk3288-board-spl.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-rockchip/rk3288-board-spl.c b/arch/arm/mach-rockchip/rk

[U-Boot] [PATCH 0/5] QSPI: Falcon or single stage boot mode support

2017-04-18 Thread Ravi Babu
This patch series fixes the Falcon or single stage boot mode for dra7xx platform. FDT fixup is added to update the memory DT node based DDR configuration for specific platform. Test verfied on dra7xx paltforms. Lokesh Vutla (2): spl: reorder the assignment of board info to global data arch:

[U-Boot] [PATCH 1/5] spl: reorder the assignment of board info to global data

2017-04-18 Thread Ravi Babu
From: Lokesh Vutla Move the assignment of board info to global data a bit early which is safe, so that ram details can be used to enable caches. Signed-off-by: Lokesh Vutla Signed-off-by: Ravi Babu --- common/spl/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common

[U-Boot] [PATCH 2/5] arch: arm: omap: Declare size of ddr very early

2017-04-18 Thread Ravi Babu
From: Lokesh Vutla Declare the size of ddr very early in spl, so that this can be used to enable cache. Signed-off-by: Lokesh Vutla Signed-off-by: Ravi Babu --- arch/arm/mach-omap2/am33xx/board.c | 4 arch/arm/mach-omap2/hwinit-common.c | 1 + 2 files changed, 5 insertions(+) diff --gi

[U-Boot] [PATCH 4/5] spl: fdt: support for fdt fixup for falcon boot

2017-04-18 Thread Ravi Babu
Adding support for fdt fixup to update the memory node in device tree for falcon boot. This is needed for single stage or falcon bootmode, to pass memory configuration to kernel through DT memory node. Signed-off-by: Ravi Babu --- arch/arm/lib/Makefile| 1 + arch/arm/lib/bootm-fdt.c | 7 +++

[U-Boot] [PATCH 3/5] qspi: dra7xx: enable qspi-boot for dra7x paltform

2017-04-18 Thread Ravi Babu
Enables qspi boot configuration for dra7xx platform. Signed-off-by: Ravi Babu --- configs/dra7xx_evm_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig index 42f87b3..c510146 100644 --- a/configs/dra7xx_evm_defconfig ++

[U-Boot] [PATCH 5/5] boot: fdt: fixup the memory dt nodes falcon boot

2017-04-18 Thread Ravi Babu
In single stage bootmode or falcon boot mode, the SPL shall update the memory dt nodes spl_fixup_fdt() based on DDR configuration for specific platform. Signed-off-by: Ravi Babu --- common/spl/spl.c | 40 1 file changed, 40 insertions(+) diff --git a/com

Re: [U-Boot] [PATCH v3 0/9] sunxi: Remove SYS_EXTRA_OPTIONS

2017-04-18 Thread Maxime Ripard
On Tue, Apr 18, 2017 at 03:41:32PM +0530, Jagan Teki wrote: > On Tue, Apr 18, 2017 at 12:43 PM, Maxime Ripard > wrote: > > On Tue, Apr 18, 2017 at 10:38:19AM +0530, Jagan Teki wrote: > >> On Tue, Apr 4, 2017 at 5:04 PM, Maxime Ripard > >> wrote: > >> > On Tue, Apr 04, 2017 at 03:26:55PM +0530, Ja

[U-Boot] [PATCH 1/2] imx: thermal: update imx6 thermal driver according new equation

2017-04-18 Thread Peng Fan
From IC guys: " After a thorough accuracy study of the Temp sense circuit, we found that with our current equation, an average part can read 7 degrees lower than a known forced temperature. We also found out that the standard variance was around 2C; which is the tightest distribution that we could

[U-Boot] [PATCH 2/2] thermal: imx: fix calculation

2017-04-18 Thread Peng Fan
Fix calculation. do_div can not handle negative values. Use div_s64_rem to handle the calculation. Signed-off-by: Peng Fan Cc: Stefano Babic --- drivers/thermal/imx_thermal.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/thermal/imx_thermal.c b/drivers/t

Re: [U-Boot] [PATCH 5/5] boot: fdt: fixup the memory dt nodes falcon boot

2017-04-18 Thread Lukasz Majewski
Hi Ravi, > In single stage bootmode or falcon boot mode, > the SPL shall update the memory dt nodes > spl_fixup_fdt() based on DDR configuration for > specific platform. > > Signed-off-by: Ravi Babu > --- > common/spl/spl.c | 40 > 1 file changed, 40 ins

Re: [U-Boot] [PATCH 1/5] spl: reorder the assignment of board info to global data

2017-04-18 Thread Lukasz Majewski
Hi Ravi, > From: Lokesh Vutla > > Move the assignment of board info to global data a bit early which is > safe, > so that ram details can be used to enable caches. > > Signed-off-by: Lokesh Vutla > Signed-off-by: Ravi Babu > --- > common/spl/spl.c | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [U-Boot] [PATCH 2/5] arch: arm: omap: Declare size of ddr very early

2017-04-18 Thread Lukasz Majewski
Hi Ravi, > From: Lokesh Vutla > > Declare the size of ddr very early in spl, so that this can be > used to enable cache. > > Signed-off-by: Lokesh Vutla > Signed-off-by: Ravi Babu > --- > arch/arm/mach-omap2/am33xx/board.c | 4 > arch/arm/mach-omap2/hwinit-common.c | 1 + > 2 files cha

Re: [U-Boot] [PATCH 03/11] drivers: phy: add generic PHY framework

2017-04-18 Thread Jean-Jacques Hiblot
On 15/04/2017 19:10, Simon Glass wrote: Hi Jean-Jacques, On 14 April 2017 at 05:08, Jean-Jacques Hiblot wrote: The PHY framework provides a set of APIs to control a PHY. This API is derived from the linux version of the generic PHY framework. Currently the API supports init(), deinit(), powe

Re: [U-Boot] [PATCH 3/5] qspi: dra7xx: enable qspi-boot for dra7x paltform

2017-04-18 Thread Lukasz Majewski
Hi Ravi, > Enables qspi boot configuration for dra7xx platform. > > Signed-off-by: Ravi Babu > --- > configs/dra7xx_evm_defconfig | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/configs/dra7xx_evm_defconfig > b/configs/dra7xx_evm_defconfig index 42f87b3..c510146 100644 > --- a/c

Re: [U-Boot] [PATCH 4/5] spl: fdt: support for fdt fixup for falcon boot

2017-04-18 Thread Lukasz Majewski
Hi Ravi, > Adding support for fdt fixup to update the > memory node in device tree for falcon boot. > > This is needed for single stage or falcon > bootmode, to pass memory configuration to > kernel through DT memory node. > > Signed-off-by: Ravi Babu > --- > arch/arm/lib/Makefile| 1 + >

Re: [U-Boot] [PATCH 1/3] net: fec: do not access reserved register for i.MX6ULL

2017-04-18 Thread Peng Fan
Hi Stefano, > -Original Message- > From: Stefano Babic [mailto:sba...@denx.de] > Sent: Thursday, April 13, 2017 12:22 AM > To: Peng Fan ; joe.hershber...@ni.com > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH 1/3] net: fec: do not access reserved register > for > i.MX6ULL > > O

Re: [U-Boot] [PATCH 1/5] spl: reorder the assignment of board info to global data

2017-04-18 Thread Tom Rini
On Tue, Apr 18, 2017 at 05:27:23PM +0530, Ravi Babu wrote: > From: Lokesh Vutla > > Move the assignment of board info to global data a bit early which is > safe, > so that ram details can be used to enable caches. > > Signed-off-by: Lokesh Vutla > Signed-off-by: Ravi Babu Reviewed-by: Tom Ri

[U-Boot] [PATCH v1] watchdog: Introduce watchdog driver for Intel Tangier

2017-04-18 Thread Andy Shevchenko
From: Felipe Balbi Add watchdog driver for Intel Tangier based platforms. Signed-off-by: Vincent Tinelli Signed-off-by: Felipe Balbi Signed-off-by: Andy Shevchenko --- common/board_f.c | 1 + drivers/watchdog/Kconfig | 8 ++ drivers/watchdog/Makefile | 1 + dr

Re: [U-Boot] [PATCH 1/3] net: fec: do not access reserved register for i.MX6ULL

2017-04-18 Thread Stefano Babic
On 18/04/2017 15:39, Peng Fan wrote: > Hi Stefano, > >> -Original Message- >> From: Stefano Babic [mailto:sba...@denx.de] >> Sent: Thursday, April 13, 2017 12:22 AM >> To: Peng Fan ; joe.hershber...@ni.com >> Cc: u-boot@lists.denx.de >> Subject: Re: [U-Boot] [PATCH 1/3] net: fec: do not ac

Re: [U-Boot] [PATCH 5/5] boot: fdt: fixup the memory dt nodes falcon boot

2017-04-18 Thread B, Ravi
Hi Lukasz >> /* >> * Weak default function for board specific cleanup/preparation >> before >> * Linux boot. Some boards/platforms might not need it, so just >> provide @@ -323,6 +359,9 @@ void board_init_r(gd_t *dummy1, ulong >> dummy2) >> debug(">>spl:board_init_r()\n"); >> gd-

Re: [U-Boot] [PATCH 2/5] arch: arm: omap: Declare size of ddr very early

2017-04-18 Thread B, Ravi
Hi >> diff --git a/arch/arm/mach-omap2/am33xx/board.c >> b/arch/arm/mach-omap2/am33xx/board.c index 2bfc864..568f36f 100644 >> --- a/arch/arm/mach-omap2/am33xx/board.c >> +++ b/arch/arm/mach-omap2/am33xx/board.c >> @@ -327,6 +327,10 @@ void board_init_f(ulong dummy) >> early_system_init(); >>

Re: [U-Boot] [PATCH v2 1/8] rockchip: video: Add mipi dsi driver for rk3399

2017-04-18 Thread Eddie Cai
Hi Eric 2017-04-18 15:09 GMT+08:00 Eric Gao : > Signed-off-by: Eric Gao > --- > > Changes in v2: > -Add mipi driver and it's header file > -Add Kconfig and Makefile additions for mipi driver. > -Add necessary Grf declaration for mipi driver. > > arch/arm/include/asm/arch-rockchip/grf_rk3399.h

Re: [U-Boot] [PATCH v1 0/2]

2017-04-18 Thread Eddie Cai
Hi Eric Please don't forget the title of cover letter next time. 2017-04-18 16:21 GMT+08:00 Eric Gao : > Add bmp logo display support for evb-rk3399 > Can you elaborate the commit message? > > > Changes in v1: > -Add bmp logo display support. > -Enable logo display for evb-rk3399 > > Eric Gao (

Re: [U-Boot] [PATCH v2 2/8] rockchip: video: vop: Add mipi display mode for rk3399

2017-04-18 Thread Eddie Cai
2017-04-18 15:09 GMT+08:00 Eric Gao : > Add mipi display mode for rk3399 vop, so that we can use mipi panel > for display. > > Signed-off-by: Eric Gao > Reviewed-by: Eddie Cai > > --- > > Changes in v2: > -Add mipi display mode for vop. > -Add compatible items for rk3399 vop. > > arch/arm/incl

[U-Boot] [PATCH v1] cpu: Add Intel Tangier support

2017-04-18 Thread Andy Shevchenko
From: Felipe Balbi Add Intel Tangier SoC support. Intel Tangier SoC is a core part of Intel Merrifield platform. For example, Intel Edison board is based on such platform. The patch is based on work done by the following people (in alphabetical order): Aiden Park Dukjoon Jeon

Re: [U-Boot] [PATCH v2 3/8] rockchip: video: vop: Set different bitwidth for different display mode

2017-04-18 Thread Eddie Cai
2017-04-18 15:09 GMT+08:00 Eric Gao : > Because the bitwidth is different for different display mode, so we need > to set them according to demand. > > Signed-off-by: Eric Gao > Reviewed-by: Eddie Cai > > --- > > Changes in v2: > -Change the bitwidth for different display mode. > > drivers/vid

[U-Boot] [PATCH] spl: dfu: compilation fixes for spl-dfu

2017-04-18 Thread Ravi Babu
This patch fixes the compilation error common/cli_hush.c:3349: undefined reference to 'realloc_simple' The dfu uses run_command(), it is part of cli_hush.c but defining CONFIG_HUSH_PARSER for spl-dfu causes this compilation error. Signed-off-by: Ravi Babu --- common/cli.c | 2 +- 1 file changed

Re: [U-Boot] [PATCH v1] mmc: sdhci: SDHCI controllers also need power

2017-04-18 Thread Andy Shevchenko
On Fri, 2017-04-07 at 19:05 +0900, Jaehoon Chung wrote: > Hi Andy, > > On 04/06/2017 07:58 PM, Andy Shevchenko wrote: > > On Thu, Apr 6, 2017 at 1:50 PM, Jaehoon Chung > m> wrote: > > > On 04/06/2017 06:46 PM, Andy Shevchenko wrote: > > > > On Thu, 2017-04-06 at 18:24 +0900, Jaehoon Chung wrote:

[U-Boot] [PATCH] board: Remove orphan SPARC boards

2017-04-18 Thread Tom Rini
Since 936478e797a8 SPARC as been removed as an architecture. Remove these now orphan boards. Signed-off-by: Tom Rini --- board/gaisler/gr_cpci_ax2000/Kconfig | 9 -- board/gaisler/gr_cpci_ax2000/MAINTAINERS | 6 board/gaisler/gr_cpci_ax2000/Makefile | 8 --

Re: [U-Boot] [PATCH v2 4/8] rockchip: video: vop: Reserve enough space for mipi dispaly

2017-04-18 Thread Eddie Cai
2017-04-18 15:09 GMT+08:00 Eric Gao : > plat->size here is used to reserve enough frame buffer space befor > relocation. > our mipi display mode need more space, so reset it. > I don't understand why need reserve more space. Can you explain more? > > Signed-off-by: Eric Gao > > --- > > Changes i

Re: [U-Boot] [PATCH v2 5/8] rockchip: board: evb_rk3399: initialize pwm0 for dispaly backlight

2017-04-18 Thread Eddie Cai
2017-04-18 15:09 GMT+08:00 Eric Gao : > Signed-off-by: Eric Gao > > --- > > Changes in v2: > -Add pwm0 pinctrl init for lcd backlight. > > board/rockchip/evb_rk3399/evb-rk3399.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/board/rockchip/evb_rk3399/evb-rk3399.c > b/board/rockc

Re: [U-Boot] [PATCH v1] mmc: sdhci: SDHCI controllers also need power

2017-04-18 Thread Simon Glass
Hi Andy, On 18 April 2017 at 08:29, Andy Shevchenko wrote: > On Fri, 2017-04-07 at 19:05 +0900, Jaehoon Chung wrote: >> Hi Andy, >> >> On 04/06/2017 07:58 PM, Andy Shevchenko wrote: >> > On Thu, Apr 6, 2017 at 1:50 PM, Jaehoon Chung > > m> wrote: >> > > On 04/06/2017 06:46 PM, Andy Shevchenko wro

Re: [U-Boot] [PATCH v2 7/8] rockchip: configs: Enable mipi dsi for rk3399

2017-04-18 Thread Eddie Cai
some part of mipi driver should move here. see comment in patch 1 please. 2017-04-18 15:09 GMT+08:00 Eric Gao : > Enable mipi dsi by default for rk3399-evb board > > Signed-off-by: Eric Gao > > --- > > Changes in v2: > -Add defconfigs for mipi display, so that it can be enabled by default. > >

Re: [U-Boot] [PATCH v2 8/8] rockchip: video: vop: Fix rk_display_init() return error

2017-04-18 Thread Eddie Cai
2017-04-18 15:09 GMT+08:00 Eric Gao : > The function clk_set_rate() will return it's input parameter, so it's > return > value in normal condition is nonzero. In this case, we should report an > error > when it return zero rather than return a nonzero value. > > Signed-off-by: Eric Gao > --- > >

Re: [U-Boot] [PATCH] spl: dfu: compilation fixes for spl-dfu

2017-04-18 Thread Lukasz Majewski
Hi Ravi, > This patch fixes the compilation error > common/cli_hush.c:3349: undefined reference to 'realloc_simple' > > The dfu uses run_command(), it is part of cli_hush.c > but defining CONFIG_HUSH_PARSER for spl-dfu causes > this compilation error. > > Signed-off-by: Ravi Babu > --- > commo

Re: [U-Boot] [PATCH v1] mmc: sdhci: SDHCI controllers also need power

2017-04-18 Thread Andy Shevchenko
On Tue, 2017-04-18 at 08:33 -0600, Simon Glass wrote: > Hi Andy, > > On 18 April 2017 at 08:29, Andy Shevchenko > wrote: > > On Fri, 2017-04-07 at 19:05 +0900, Jaehoon Chung wrote: > > > Hi Andy, > > > > > > On 04/06/2017 07:58 PM, Andy Shevchenko wrote: > > > > On Thu, Apr 6, 2017 at 1:50 PM, J

Re: [U-Boot] [PATCH v1] watchdog: Introduce watchdog driver for Intel Tangier

2017-04-18 Thread Lukasz Majewski
Hi Andy, > From: Felipe Balbi > > Add watchdog driver for Intel Tangier based platforms. > > Signed-off-by: Vincent Tinelli > Signed-off-by: Felipe Balbi > Signed-off-by: Andy Shevchenko > --- > common/board_f.c | 1 + > drivers/watchdog/Kconfig | 8 ++ > drivers/w

Re: [U-Boot] [PATCH] rockchip: tinker: set ethaddr in late init

2017-04-18 Thread Eddie Cai
2017-04-18 12:01 GMT+08:00 Simon Glass : > Hi Jonas, > > On 17 April 2017 at 15:13, Jonas Karlman wrote: > > Set ethernet mac address in late init for Tinker Board, > > prevents getting a random mac address each boot. > > > > Read mac address from eeprom, first 6 bytes from 0x50 on i2c2. > > Same

Re: [U-Boot] [PATCH v1] watchdog: Introduce watchdog driver for Intel Tangier

2017-04-18 Thread Andy Shevchenko
On Tue, 2017-04-18 at 16:49 +0200, Lukasz Majewski wrote: > Hi Andy, > > > From: Felipe Balbi > > > > Add watchdog driver for Intel Tangier based platforms. > > > > Signed-off-by: Vincent Tinelli > > Signed-off-by: Felipe Balbi > > Signed-off-by: Andy Shevchenko > > --- > >  common/board_f.c

[U-Boot] [PATCH] arm: socfpga: add cyclone5 based de10-nano board

2017-04-18 Thread Dalon Westergreen
Add support for the Terasic DE10-Nano board. The board is based on the DE0-Nano-Soc board but adds a larger FPGA and an HDMI output. Signed-off-by: Dalon Westergreen --- arch/arm/dts/Makefile | 1 + arch/arm/dts/socfpga_cyclone5_de10_nano.dts | 68 +++ arch/arm/mach-soc

Re: [U-Boot] [PATCH] sunxi: Fix arm64 fdtfile variable

2017-04-18 Thread Andreas Färber
Am 18.04.2017 um 07:45 schrieb Jagan Teki: > On Fri, Apr 14, 2017 at 10:14 PM, Andreas Färber wrote: >> Currently $fdtfile is constructed from CONFIG_DEFAULT_TREE, containing >> the filename. However on arm64 that file is located in an allwinner >> subdirectory. >> >> To avoid the need for users/d

  1   2   3   >