Re: [U-Boot] [PATCH V3 3/4] rockchip:usb: add a simple readme for rockusb

2017-04-29 Thread Simon Glass
Hi Eddie, On 28 April 2017 at 18:41, Eddie Cai wrote: > add a simple readme to introduce rockusb and tell people how to use it > > Signed-off-by: Eddie Cai > > Changes in v3: > -fix checkpatch error > --- > doc/README.rockusb | 37

Re: [U-Boot] [PATCH 1/3] edid: Set timings flags according to edid

2017-04-29 Thread Simon Glass
On 29 April 2017 at 06:43, Jernej Skrabec wrote: > Timing flags are never set, so they may contain garbage. Since some > drivers check them, video output may be broken on those drivers. > > Initialize them to 0 and check for few common flags. > > Signed-off-by: Jernej

Re: [U-Boot] [PATCH] rockchip: video: introduce CONFIG_DESIGNWARE_HDMI and select for Rockchip HDMI

2017-04-29 Thread Simon Glass
Hi Philipp, On 28 April 2017 at 08:55, Philipp Tomsich wrote: > Instead of having drivers/video/rockchip/Kconfig point outside of its > hierarchy for dw_hdmi.o, we should use a configuration-option to > include the Designware HDMI support. > > This change

Re: [U-Boot] [PATCH 2/3] edid: Add HDMI flag to timing info

2017-04-29 Thread Simon Glass
On 29 April 2017 at 06:43, Jernej Skrabec wrote: > Some DVI monitors don't show anything in HDMI mode since audio stream > confuses them. To solve this situation, this commit adds HDMI flag in > timing data and sets it accordingly during edid parsing. > > First existence

Re: [U-Boot] [PATCH V3 1/4] usb: rockchip: add the rockusb gadget

2017-04-29 Thread Simon Glass
Hi Eddie, On 28 April 2017 at 18:41, Eddie Cai wrote: > this patch implement rockusb protocol on the device side. this is based on USB > download gadget infrastructure. the rockusb function implements the rd, wl, > rid > commands. it can work with rkdeveloptool. > >

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

2017-04-29 Thread Simon Glass
On 28 April 2017 at 09:11, Philipp Tomsich wrote: > With everything in place (i.e. the new efuse driver, the clk-support > for the non-secure efuse block, and the board-specific functions to > derive 'serial#' from the cpu-id within the efuses), enable this

Re: [U-Boot] [PATCH V3 2/4] usb: rockchip: add rockusb command

2017-04-29 Thread Simon Glass
Hi Eddie, On 28 April 2017 at 18:41, Eddie Cai wrote: > this patch add rockusb command. the usage is > rockusb > e.g. rockusb 0 mmc 0 > > Signed-off-by: Eddie Cai > > Changes in v3: > -fix comment from Simon and Lukasz > -fix

Re: [U-Boot] [PATCH 3/3] video: dw_hdmi: Select HDMI mode only if monitor supports it

2017-04-29 Thread Simon Glass
On 29 April 2017 at 06:43, Jernej Skrabec wrote: > Some DVI monitors don't work in HDMI mode. Set it only if edid data > explicitly states that it is supported. > > Signed-off-by: Jernej Skrabec > --- > > drivers/video/dw_hdmi.c | 31

Re: [U-Boot] [PATCH 2/2] power: twl4030: Remove CONFIG_TWL4030_POWER from include/configs

2017-04-29 Thread Simon Glass
Hi Adam, On 29 April 2017 at 09:21, Adam Ford wrote: > On Fri, Apr 28, 2017 at 7:28 PM, Simon Glass wrote: >> On 26 April 2017 at 12:41, Adam Ford wrote: >>> With the addition of Kconfig now having CONFIG_TWL4030_POWER and >>> with

Re: [U-Boot] [PATCH V3 4/4] rockchip: usb: enable rockusb on rk3288 based board

2017-04-29 Thread Simon Glass
On 28 April 2017 at 18:41, Eddie Cai wrote: > all rk3288 based boards support rockusb, so enable it > > Signed-off-by: Eddie Cai > > Changes in v3: > -move to defconfig > --- > configs/evb-rk3288_defconfig | 3 +++ >

Re: [U-Boot] [PATCH v2 2/5] rockchip: efuse: add (misc) driver for RK3399 non-secure efuse block

2017-04-29 Thread Simon Glass
Hi Philipp, On 28 April 2017 at 09:11, Philipp Tomsich wrote: > This adds a simple driver for reading the efuse block of the RK3399. > It should be easy enough to add drivers for other devices (e.g. the > RK3328, RK3368, etc.) by passing the device details

Re: [U-Boot] [PATCH v2 1/5] rockchip: clk: rk3399: allow requests for PCLK_EFUSE1024NS

2017-04-29 Thread Simon Glass
On 28 April 2017 at 09:11, Philipp Tomsich wrote: > The (non-secure) efuse node in the DTS requests PCLK_EFUSE1024NS. > To allow us to add a efuse-driver (and more importantly, to allow > probes of such a driver to succeed), we need need to accept requests >

Re: [U-Boot] [PATCH 4/5] rockchip: video: rk3399: add HDMI TX support on the RK3399

2017-04-29 Thread Simon Glass
Hi Philipp, On 28 April 2017 at 09:53, Philipp Tomsich wrote: > This commit enables the RK3399 HDMI TX, which is very similar to the > one found on the RK3288. The differences between the two SoCs (mainly > the input VOP selection) is abstracted away

Re: [U-Boot] [PATCH] fdt: Move fdt_fixup_ethernet to a common place

2017-04-29 Thread Simon Glass
On 28 April 2017 at 06:51, Tom Rini wrote: > With 3f66149d9fb4 we no longer have a common call fdt_fixup_ethernet. > This was fine to do on PowerPC as they largely had calls already in > ft_cpu_fixup. On ARM however we largely relied on this call. Rather > than introduce a

Re: [U-Boot] [PATCH v2 2/5] rockchip: pinctrl: rk3399: add support for the HDMI I2C pins

2017-04-29 Thread Simon Glass
On 28 April 2017 at 10:33, Philipp Tomsich wrote: > To add HDMI support for the RK3399, this commit provides the needed > pinctrl functionality to configure the HDMI I2C pins (used for reading > the screen's EDID). > > Signed-off-by: Philipp Tomsich

Re: [U-Boot] [PATCH] video: bmp: rename CONFIG_BMP_24BMP to CONFIG_BMP_24BPP

2017-04-29 Thread Simon Glass
On 28 April 2017 at 09:13, Philipp Tomsich wrote: > Due to a typo, the 24 bit-per-pixel configuration ends in 24BMP > instead of 24BPP. This change renames it throughout the source tree > for consistency and to make moving these options into Kconfig easier >

Re: [U-Boot] [PATCH 3/5] rockchip: video: rk3399: enable HDMI output (from the rk_vop) for the RK3399

2017-04-29 Thread Simon Glass
Hi Philipp, On 28 April 2017 at 09:53, Philipp Tomsich wrote: > This commit enables RK3399 support for HDMI through the following > changes: > - adds a driverdata structure to mirror some subtle version > differences between the RK3399 VOPs and those in

Re: [U-Boot] [PATCH v2 5/5] rockchip: dts: rk3399: enable HDMI output in the DTS

2017-04-29 Thread Simon Glass
On 28 April 2017 at 10:34, Philipp Tomsich wrote: > This commit enables HDMI output in the DTS by adding the necessary > nodes to vopl/vopb and by adding the HDMI node. > > Signed-off-by: Philipp Tomsich > --- > >

Re: [U-Boot] [PATCH v2 5/5] rockchip: board: puma_rk3399: derive ethaddr from cpuid

2017-04-29 Thread Simon Glass
On 28 April 2017 at 09:11, Philipp Tomsich wrote: > From: Klaus Goger > > Generate a MAC address based on the cpuid available in the efuse > block: Use the first 6 byte of the cpuid's SHA256 hash and set the > locally

Re: [U-Boot] [PATCH] rockchip: ARM64: puma-rk3399: get DRAM size from DMC init

2017-04-29 Thread Simon Glass
On 28 April 2017 at 09:31, Philipp Tomsich wrote: > With the RK3399 DRAM controller (DMC) driver providing all the > infrastructure, retrieve the DRAM size from the DMC init in the > board-specific code (instead of hard-coding) for the RK3399-Q7 (Puma). > >

Re: [U-Boot] [PATCH v2 4/4] rockchip: configs: Add config support for rk3288 mipi dsi

2017-04-29 Thread Simon Glass
On 28 April 2017 at 03:09, Eric Gao wrote: > Signed-off-by: Eric Gao > > --- > > Changes in v2: > -Add configs support for rk3288 mipi dsi > > Changes in v1: None > > configs/evb-rk3288_defconfig | 6 -- > 1 file changed, 4 insertions(+), 2

Re: [U-Boot] [PATCH v2 3/4] rockchip: dts: evb_rk3288: Add mipi display support

2017-04-29 Thread Simon Glass
On 28 April 2017 at 03:09, Eric Gao wrote: > Add mipi dsi configuration for evb-rk3288 device tree. > > Signed-off-by: Eric Gao > > --- > > Changes in v2: > -Move panel and backlight configuration to it's define node. > > Changes in v1: > -Add

Re: [U-Boot] [PATCH v2 2/4] rockchip: video: Add mipi display support for rk3288

2017-04-29 Thread Simon Glass
On 28 April 2017 at 03:09, Eric Gao wrote: > Because rk3288 and rk3399 use the same mipi dsi controller and phy with > only a few difference in grf register. So we share the mipi driver, and > handle the difference. > > Signed-off-by: Eric Gao >

Re: [U-Boot] [PATCH v2 1/4] rockchip: rk3288: grf: Add grf define for mipi dsi

2017-04-29 Thread Simon Glass
On 28 April 2017 at 03:09, Eric Gao wrote: > Add grf register define for rk3288 mipi dsi > > Signed-off-by: Eric Gao > > --- > > Changes in v2: None > Changes in v1: > -Add grf define for mipi dsi > >

[U-Boot] [PATCH] arm: Re-sync ARCH_MX5 / MX51 / MX53 CONFIG options

2017-04-29 Thread Tom Rini
A few boards had not been fully re-synced with CONFIG_ARCH_MX5 / CONFIG_MX51 / CONFIG_MX53 being in Kconfig. Do so now. Signed-off-by: Tom Rini --- arch/arm/Kconfig | 46 -- arch/arm/cpu/armv7/mx5/Kconfig | 46

[U-Boot] [PATCH] warp7: MAINTAINERS: Add warp7_secure_defconfig entry

2017-04-29 Thread Fabio Estevam
From: Fabio Estevam Add warp7_secure_defconfig entry to avoid the following warning: WARNING: no maintainers for 'warp7_secure' Signed-off-by: Fabio Estevam --- board/warp7/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [U-Boot] [PATCH V3 0/4] introduce Rockchip rockusb

2017-04-29 Thread Lukasz Majewski
On Sat, 29 Apr 2017 08:41:34 +0800 Eddie Cai wrote: > rockusb is a protocol run between host pc and device. it help people > get device info, flash image to device. this patch implement rockusb > on device side > > Changes in v3: > -switch back to use g_dnl code >

Re: [U-Boot] [PATCH 1/8] armv7: Add workaround for USB erratum A-009008

2017-04-29 Thread Tom Rini
On Fri, Apr 28, 2017 at 12:03:47PM +0800, yinbo.zhu wrote: > From: Suresh Gupta > > USB High Speed (HS) EYE Height Adjustment > This patch is adding the erratum for LS1021. > > Signed-off-by: Sriram Dash > --- > arch/arm/cpu/armv7/ls102xa/soc.c

Re: [U-Boot] [PATCH 2/2] power: twl4030: Remove CONFIG_TWL4030_POWER from include/configs

2017-04-29 Thread Adam Ford
On Fri, Apr 28, 2017 at 7:28 PM, Simon Glass wrote: > On 26 April 2017 at 12:41, Adam Ford wrote: >> With the addition of Kconfig now having CONFIG_TWL4030_POWER and >> with that being the default when OMAP34XX is selected, this >> is no longer needed in

[U-Boot] [PATCH 3/3] video: dw_hdmi: Select HDMI mode only if monitor supports it

2017-04-29 Thread Jernej Skrabec
Some DVI monitors don't work in HDMI mode. Set it only if edid data explicitly states that it is supported. Signed-off-by: Jernej Skrabec --- drivers/video/dw_hdmi.c | 31 --- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git

[U-Boot] [PATCH 2/3] edid: Add HDMI flag to timing info

2017-04-29 Thread Jernej Skrabec
Some DVI monitors don't show anything in HDMI mode since audio stream confuses them. To solve this situation, this commit adds HDMI flag in timing data and sets it accordingly during edid parsing. First existence of extension block is checked. If it exists and it is CEA861 extension, then data

[U-Boot] [PATCH 1/3] edid: Set timings flags according to edid

2017-04-29 Thread Jernej Skrabec
Timing flags are never set, so they may contain garbage. Since some drivers check them, video output may be broken on those drivers. Initialize them to 0 and check for few common flags. Signed-off-by: Jernej Skrabec --- common/edid.c | 14 ++ 1 file

[U-Boot] [PATCH 0/3] video: Fix issues with edid parsing

2017-04-29 Thread Jernej Skrabec
This series fixes some issues with edid parsing, which prevents some board/monitors combinations to work properly. Those issues were mainly found by using sunxi board (OrangePi 2) and DVI screen (Waveshare 10 inch, 1024x600). However, improvements should help other platforms too. Patch 1

[U-Boot] [PATCH v4 0/3] DS1307 RTC update

2017-04-29 Thread Chris Packham
The first patch is a cleanup that can be dropped if it's not wanted, The second patch is the addition of a KConfig option for the date command. The third patch is the change I really want to see. As it allows me to switch a board I'm working on over to the driver model. I've tried to replicate

Re: [U-Boot] [PATCH 0/4] sunxi: i2c: Add DM I2C support for A64/H3/H5

2017-04-29 Thread Heiko Schocher invitel
Hello Maxime, Am 28.04.2017 um 08:44 schrieb Maxime Ripard: Hello Heiko, On Fri, Apr 28, 2017 at 05:46:05AM +0200, Heiko Schocher wrote: Hello Jagan, Am 27.04.2017 um 00:03 schrieb Jernej Skrabec: This series implements DM I2C support, but allows old I2C to be selected when needed. Patch 1

Re: [U-Boot] [PATCH v2 1/2] rockchip: dts: rk3399: sync with kernel dts

2017-04-29 Thread Kever Yang
Hi Philipp, I didn't search the history of kernel about the "clock-freq-min-max" when I find the regression. You patch for rockchip_dw_mmc would be better if it can apply. Hi Simon, You can decide which version to use. If using V2, should pull with Philipp's patch for remove

[U-Boot] [PATCH 6/8] armv8: Add workaround for USB erratum A-008997

2017-04-29 Thread yinbo . zhu
From: Suresh Gupta USB3 LFPS Peak-Peak Differential Output Voltage Adjustment This patch is adding the erratum for LS1043 and LS2080 SoCs. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat ---

[U-Boot] [PATCH 8/8] USB: config: fix compiler problem for ls1021atwr

2017-04-29 Thread yinbo . zhu
--- arch/arm/include/asm/arch-ls102xa/config.h | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/arm/include/asm/arch-ls102xa/config.h b/arch/arm/include/asm/arch-ls102xa/config.h index 20a7baf..2f7233f 100644 --- a/arch/arm/include/asm/arch-ls102xa/config.h +++

[U-Boot] [PATCH 7/8] armv8: Add workaround for USB erratum A-009007

2017-04-29 Thread yinbo . zhu
From: Suresh Gupta USB3PHY Observing Intermittent Failure in Rx This patch is adding the erratum for LS1043 and LS2080 SoCs. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat ---

Re: [U-Boot] [PATCH 01/11] i2c: Drop use of CONFIG_I2C_HARD

2017-04-29 Thread Heiko Schocher
Hello Simon, Am 23.04.2017 um 17:35 schrieb Simon Glass: This option is pretty old. It predates CONFIG_SYS_I2C which is itself deprecated in favour of driver model. Disable it for all boards. Also drop I2C options which depend on this. Signed-off-by: Simon Glass ---

[U-Boot] [PATCH 5/8] armv8: Add workaround for USB erratum A-009798

2017-04-29 Thread yinbo . zhu
From: Suresh Gupta USB High Speed Squelch Threshold Adjustment This patch is adding the erratum for LS1043 and LS2080 SoCs. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat ---

[U-Boot] [PATCH 4/8] armv7: Add workaround for USB erratum A-009007

2017-04-29 Thread yinbo . zhu
From: Suresh Gupta USB3PHY Observing Intermittent Failure in Rx This patch is adding the erratum for LS1021. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- arch/arm/cpu/armv7/ls102xa/soc.c |

[U-Boot] [PATCH 3/8] armv7: Add workaround for USB erratum A-008997

2017-04-29 Thread yinbo . zhu
From: Suresh Gupta USB3 LFPS Peak-Peak Differential Output Voltage Adjustment This patch is adding the erratum for LS1021. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- arch/arm/cpu/armv7/ls102xa/soc.c

[U-Boot] [PATCH 2/8] armv7: Add workaround for USB erratum A-009798

2017-04-29 Thread yinbo . zhu
From: Suresh Gupta USB High Speed Squelch Threshold Adjustment This patch is adding the erratum for LS1021. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- arch/arm/cpu/armv7/ls102xa/soc.c |

[U-Boot] [PATCH 1/8] armv7: Add workaround for USB erratum A-009008

2017-04-29 Thread yinbo . zhu
From: Suresh Gupta USB High Speed (HS) EYE Height Adjustment This patch is adding the erratum for LS1021. Signed-off-by: Sriram Dash --- arch/arm/cpu/armv7/ls102xa/soc.c | 12

[U-Boot] [Patch v2] ls1088a: add VID support for QDS and RDB platforms

2017-04-29 Thread Amrita Kumari
This patch adds the support for VID on LS1088AQDS and LS1088ARDB systems. It reads the fusesr register and changes the VDD accordingly by adjusting the voltage via LTC3882 regulator. This patch also takes care of the special case of 0.9V VDD. In that case, it also changes the SERDES voltage by

Re: [U-Boot] [PATCH 1/7] rockchip: rk3368: Add clok drvier

2017-04-29 Thread Andreas Färber
Am 29.04.2017 um 02:28 schrieb Simon Glass: > Hi Andy, > > On 20 April 2017 at 20:31, Andy Yan wrote: >> Add driver to setup the various PLLs and peripheral >> clocks on the RK3368. > > Subject: clock Also: driver Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5,