Re: [U-Boot] [PATCH 02/28] Convert SILENT_CONSOLE options to Kconfig

2016-09-23 Thread Simon Glass
Hi Tom, On 23 September 2016 at 13:58, Tom Rini wrote: > On Mon, Sep 19, 2016 at 04:32:46PM -0600, Simon Glass wrote: > >> Move these option to Kconfig and tidy up existing uses. >> >> The Power PC boards don't have a suitable common element: the common header >> files don't

Re: [U-Boot] [PATCH v2 2/2] Sync config_whitelist.txt

2016-09-23 Thread Simon Glass
On 23 September 2016 at 10:00, Masahiro Yamada wrote: > It is a good practice to drop a option from the whitelist when we > convert it to Kconfig, but we may sometimes forget to do that. > > So, it might be a good idea to sync the whitelist from time to time. > >

Re: [U-Boot] [PATCH 04/28] Convert CONFIG_SYS_CONSOLE_IS_IN_ENV et al to Kconfig

2016-09-23 Thread Simon Glass
Hi Tom, On 23 September 2016 at 13:58, Tom Rini wrote: > On Mon, Sep 19, 2016 at 04:32:48PM -0600, Simon Glass wrote: > >> This converts the following to Kconfig: >>CONFIG_SYS_CONSOLE_IS_IN_ENV >>CONFIG_CONSOLE_MUX >> >> Signed-off-by: Simon Glass

Re: [U-Boot] U-boot Driver Model - MMC - missing uclass implementation?

2016-09-23 Thread Simon Glass
Hi Philipp, On 23 September 2016 at 11:33, Philipp Rossak wrote: > > Hi Simon, > > I missed the CONFIG_GENERIC_MMC option. > Thank you very much !! Thanks for your follow-up. Good to hear that fixed it. > > Regards, > Philipp Regards, Simon [...]

Re: [U-Boot] [PATCH v7 10/12] dm: syscon: Provide a generic syscon driver

2016-09-23 Thread Simon Glass
Hi Paul, On 23 September 2016 at 10:12, Paul Burton wrote: > On Thursday, 22 September 2016 22:15:48 BST Simon Glass wrote: > >> Hi, > >> > >> On 8 September 2016 at 00:47, Paul Burton wrote: > >> > Provide a trivial syscon driver matching the

Re: [U-Boot] [PATCH 06/13] buildman: Tidy up the 'cloning' message

2016-09-23 Thread Simon Glass
Hi Tom, On 23 September 2016 at 12:42, Tom Rini wrote: > On Thu, Sep 22, 2016 at 10:14:01PM -0600, Simon Glass wrote: >> Hi Tom, >> >> On 19 September 2016 at 13:14, Tom Rini wrote: >> > On Sun, Sep 18, 2016 at 04:48:31PM -0600, Simon Glass wrote: >> > >>

Re: [U-Boot] [PATCH v2 1/2] build-whitelist: do not add new options to whitelist when update

2016-09-23 Thread Simon Glass
On 23 September 2016 at 10:00, Masahiro Yamada wrote: > If somebody adds references to new CONFIG options in source files, > they will be added in the whitelist when we sync it. (For example, > if we run scripts/build-whitelist.sh against commit 201c9d884dca, > new

Re: [U-Boot] [U-Boot,v3,6/8] libfdt: simplify fdt_del_mem_rsv()

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 10:17:37PM +0900, Masahiro Yamada wrote: > The variable "err" is unneeded. > > [ Device Tree Compiler commit: 36fd7331fb11276c09a6affc0d8cd4977f2fe100 ] > > Signed-off-by: Masahiro Yamada > Signed-off-by: David Gibson

Re: [U-Boot] [U-Boot, v3, 5/8] x86: squash lines for immediate return

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 10:17:36PM +0900, Masahiro Yamada wrote: > arch_cpu_init() can be simpler by this refactoring. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Bin Meng > Reviewed-by: Simon Glass Applied to

Re: [U-Boot] [U-Boot, v3, 3/8] usb: replace ehci_*_remove() with usb_deregister()

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 10:17:34PM +0900, Masahiro Yamada wrote: > The remove callbacks of EHCI drivers are often just a wrapper of > ehci_deregister. > > Signed-off-by: Masahiro Yamada > Acked-by: Stephen Warren Applied to u-boot/master,

Re: [U-Boot] [U-Boot, v3, 4/8] usb: squash lines for immediate return

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 10:17:35PM +0900, Masahiro Yamada wrote: > This makes functions much simpler. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v3, 7/8] arch, board: squash lines for immediate return

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 10:17:38PM +0900, Masahiro Yamada wrote: > Remove unneeded variables and assignments. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Minkyu Kang > Reviewed-by: Angelo Dureghello Applied to

Re: [U-Boot] [U-Boot, v3, 2/8] video: squash lines for immediate return

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 10:17:33PM +0900, Masahiro Yamada wrote: > For vidconsole_post_probe(), it is common coding style to let a > probe method return the value of a register function. > > The others will become simple wrapper functions. > > Signed-off-by: Masahiro Yamada

Re: [U-Boot] [U-Boot, v3, 8/8] drivers: squash lines for immediate return

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 10:17:39PM +0900, Masahiro Yamada wrote: > Remove unneeded variables and assignments. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 04/28] Convert CONFIG_SYS_CONSOLE_IS_IN_ENV et al to Kconfig

2016-09-23 Thread Tom Rini
On Fri, Sep 23, 2016 at 03:09:49PM -0600, Simon Glass wrote: > Hi Tom, > > On 23 September 2016 at 13:58, Tom Rini wrote: > > On Mon, Sep 19, 2016 at 04:32:48PM -0600, Simon Glass wrote: > > > >> This converts the following to Kconfig: > >>CONFIG_SYS_CONSOLE_IS_IN_ENV >

Re: [U-Boot] [PATCH 06/13] buildman: Tidy up the 'cloning' message

2016-09-23 Thread Tom Rini
On Fri, Sep 23, 2016 at 03:09:53PM -0600, Simon Glass wrote: > Hi Tom, > > On 23 September 2016 at 12:42, Tom Rini wrote: > > On Thu, Sep 22, 2016 at 10:14:01PM -0600, Simon Glass wrote: > >> Hi Tom, > >> > >> On 19 September 2016 at 13:14, Tom Rini

Re: [U-Boot] [PATCH v3 3/7] power: regulator: add pwm regulator

2016-09-23 Thread Simon Glass
On 23 September 2016 at 01:57, Kever Yang wrote: > add driver support for pwm regulator. > > Signed-off-by: Elaine Zhang > Signed-off-by: Kever Yang > Acked-by: Simon Glass > --- > > Changes in

Re: [U-Boot] [PATCH] rockchip: miniarm: remove eMMC support

2016-09-23 Thread Simon Glass
On 18 September 2016 at 18:57, Simon Glass wrote: > On 9 September 2016 at 07:44, Ziyuan Xu wrote: >> The latest rk3288-miniarm board doesn't have eMMC device, so remove it. >> >> Signed-off-by: Ziyuan Xu >> --- >> >>

Re: [U-Boot] [PATCH v3 7/7] config: evb-rk3399: enable pwm regulator

2016-09-23 Thread Simon Glass
On 23 September 2016 at 01:57, Kever Yang wrote: > Enable the pwm regulator for evb-rk3399. > > Signed-off-by: Kever Yang > Acked-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: None > >

Re: [U-Boot] [PATCH v3 6/7] dts: evb-rk3399: add init voltage node for vdd-center

2016-09-23 Thread Simon Glass
On 23 September 2016 at 01:57, Kever Yang wrote: > Add a regulator-init-microvolt for vdd_center regulator > so that we can get a init value for driver probe. > Not like pmic regulator, the PWM regulator do not have a > known default output value, so we would like to

Re: [U-Boot] [PATCH 1/2] Makefile: use if_change_dep for u-boot.cfg

2016-09-23 Thread Simon Glass
Hi Masahiro, On 23 September 2016 at 03:32, Masahiro Yamada wrote: > 2016-09-23 13:16 GMT+09:00 Simon Glass : >> On 19 September 2016 at 12:20, Stephen Warren wrote: >>> From: Stephen Warren >>> >>>

Re: [U-Boot] [PATCH v3] net: Fix cache misalignment message after network load operations

2016-09-23 Thread Joe Hershberger
On Tue, Sep 13, 2016 at 10:49 PM, wrote: > After any operation that downloads a file (e.g., pxe get, or dhcp), the > buffer containing the downloaded data is flushed. This is unnecessary > and annoying. Unnecessary, because > the network driver should already have

Re: [U-Boot] [PATCH 1/2] at91: video: Support driver-model for the HLCD driver

2016-09-23 Thread Anatolij Gustschin
On Mon, 8 Aug 2016 15:34:47 +0800 Songjun Wu songjun...@microchip.com wrote: > Add driver-model support to this driver. > > Signed-off-by: Songjun Wu > --- > > drivers/video/Kconfig| 7 + > drivers/video/Makefile | 2 +- >

Re: [U-Boot] [PATCH 1/2] at91: video: Support driver-model for the HLCD driver

2016-09-23 Thread Anatolij Gustschin
On Fri, 23 Sep 2016 23:05:00 +0200 Anatolij Gustschin ag...@denx.de wrote: ... > applied to u-boot-video/master, thanks! this patch breaks building for at91 boards, so I drop it. Please fix and resubmit. Thanks. -- Anatolij ___ U-Boot mailing list

Re: [U-Boot] [U-Boot, RESEND, 08/10] errno.h: sync error macros with linux 4.8-rc7

2016-09-23 Thread Tom Rini
On Wed, Sep 21, 2016 at 11:29:00AM +0900, Masahiro Yamada wrote: > For synchronization, import macros from > - include/uapi/asm-generic/errno-base.h > - include/uapi/asm-generic/errno.h > - include/linux/errno.h > > of Linux 4.8-rc7. > > Signed-off-by: Masahiro Yamada

Re: [U-Boot] [U-Boot, RESEND, 10/10] usb: ehci-generic: support reset control for generic EHCI

2016-09-23 Thread Tom Rini
On Wed, Sep 21, 2016 at 11:29:02AM +0900, Masahiro Yamada wrote: > This driver is designed in a generic manner, so resets should be > handled generically as well. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, RESEND, 06/10] Move error macros from to

2016-09-23 Thread Tom Rini
On Wed, Sep 21, 2016 at 11:28:58AM +0900, Masahiro Yamada wrote: > There are no files that include any more. > Move error macro defines to include/linux/errno.h and remove > include/asm-generic/errno.h. > > Going forward, please include when you need error > macros. > > Signed-off-by:

Re: [U-Boot] [U-Boot, RESEND, 07/10] Move ENOTSUPP defines to include/linux/errno.h

2016-09-23 Thread Tom Rini
On Wed, Sep 21, 2016 at 11:28:59AM +0900, Masahiro Yamada wrote: > Collect a couple of duplicated defines into a single place. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, RESEND, 03/10] treewide: replace #include with

2016-09-23 Thread Tom Rini
On Wed, Sep 21, 2016 at 11:28:55AM +0900, Masahiro Yamada wrote: > Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h have > the same content. (both just wrap ) > > Replace all include directives for with . > > Signed-off-by: Masahiro Yamada

Re: [U-Boot] [U-Boot, RESEND, 05/10] treewide: replace #include with

2016-09-23 Thread Tom Rini
On Wed, Sep 21, 2016 at 11:28:57AM +0900, Masahiro Yamada wrote: > Now, include/linux/errno.h is a wrapper of . > Replace all include directives for with > . > > is supposed to be included from when > arch-headers fall back into generic implementation. Generally, they > should not be directly

Re: [U-Boot] [U-Boot, RESEND, 09/10] reset: add no-op stubs for optional reset control

2016-09-23 Thread Tom Rini
On Wed, Sep 21, 2016 at 11:29:01AM +0900, Masahiro Yamada wrote: > My motivation for this patch is to make reset control handling > optional for generic drivers. > > I want to add reset control to drivers/usb/host/ehci-generic.c, > but it is used by several platforms, some will implement a reset

Re: [U-Boot] [U-Boot, RESEND, 01/10] treewide: use #include <...> to include public headers

2016-09-23 Thread Tom Rini
On Wed, Sep 21, 2016 at 11:28:53AM +0900, Masahiro Yamada wrote: > We are supposed to use #include <...> to include headers in the > public include paths. We should use #include "..." only for headers > in local directories. > > Signed-off-by: Masahiro Yamada >

Re: [U-Boot] [U-Boot, RESEND, 02/10] Add as a wrapper of

2016-09-23 Thread Tom Rini
On Wed, Sep 21, 2016 at 11:28:54AM +0900, Masahiro Yamada wrote: > This will be used to consolidate errno.h variants. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, RESEND, 04/10] Remove arch/${ARCH}/include/asm/errno.h

2016-09-23 Thread Tom Rini
On Wed, Sep 21, 2016 at 11:28:56AM +0900, Masahiro Yamada wrote: > Unlike Linux, nothing about errno.h is arch-specific in U-Boot. > As you see, all of arch/${ARCH}/include/asm/errno.h is just a > wrapper of . Actually, U-Boot does not > export headers to user-space, so we just have to care

Re: [U-Boot] Patch v1 - Update to support MSCC VSC8530/31 and VSC8540/41 PHY's

2016-09-23 Thread Joe Hershberger
Hi John, On Wed, Sep 21, 2016 at 11:16 AM, John Haechten wrote: > Tom, > I have added support for the "MINI" Phy family of devices. This includes > VSC8530/VSC8531, VSC8540/VSC8541. > The VSC8530/VSC8540 are PHY's capable of 10/100, so the only difference is in >

Re: [U-Boot] [PATCH 2/2] at91: video: DT binding for HLCDC driver

2016-09-23 Thread Anatolij Gustschin
On Mon, 8 Aug 2016 15:34:48 +0800 Songjun Wu songjun...@microchip.com wrote: > DT binding documentation for atmel HLCDC driver. > > Signed-off-by: Songjun Wu > --- > > doc/device-tree-bindings/video/atme-hlcdc.txt | 38 > +++ > 1 file

Re: [U-Boot] [PATCH 2/2] net: add driver for Synopsys Ethernet QoS device

2016-09-23 Thread Joe Hershberger
Hi Stephen, Thanks for sending this! I have some comments below. Cheers, -Joe On Mon, Sep 12, 2016 at 12:48 PM, Stephen Warren wrote: > From: Stephen Warren > > This driver supports the Synopsys Designware Ethernet QoS (Quality of > Service) a/k/a

[U-Boot] [PATCH] ARM: tegra: fix clock_get_periph_rate() for UART clocks

2016-09-23 Thread Stephen Warren
From: Stephen Warren Make clock_get_periph_rate() return the correct value for UART clocks. This change needs to be applied before the patches that enable CONFIG_CLK for Tegra SoCs before Tegra186, since enabling that option causes ns16550_serial_ofdata_to_platdata() to rely

Re: [U-Boot] [PATCH] rockchip: Fix SPL console output when ROCKCHIP_SPL_BACK_TO_BROM is enabled

2016-09-23 Thread Simon Glass
On 22 September 2016 at 20:28, Simon Glass wrote: > Acked-by: Simon Glass > > On 13 August 2016 at 05:08, Ziyuan Xu wrote: >> Acked-by: Ziyuan Xu >> >> >> On 2016年08月11日 19:08, Sandy Patterson wrote: >>> >>>

Re: [U-Boot] [PATCH] rockchip: rk3288: sdram: fix DDR address range

2016-09-23 Thread Simon Glass
On 22 September 2016 at 20:54, Ziyuan Xu wrote: > Hi Simon, > > > On 2016年09月23日 10:39, Simon Glass wrote: >> >> Hi, >> >> On 4 September 2016 at 19:39, Ziyuan Xu wrote: >>> >>> The all current Rockchip SoCs supporting 4GB of ram have problems >>>

Re: [U-Boot] [PATCH v3 2/2] Enable ROCKCHIP_SPL_BACK_TO_BROM for rock2 board

2016-09-23 Thread Simon Glass
On 5 September 2016 at 19:02, Simon Glass wrote: > On 29 August 2016 at 05:31, Sandy Patterson wrote: >> Rock2 has been tested with back to brom feature. The tricky part is that >> with this feature the default environment is inside u-boot, and it's

Re: [U-Boot] [PATCH 2/3] rockchip: add usb mass storage feature support for rk3036

2016-09-23 Thread Simon Glass
On 8 September 2016 at 20:59, 陈豪 wrote: > Hi, > > > 2016-09-06 9:03 GMT+08:00 Simon Glass : >> On 29 August 2016 at 11:26, Jacob Chen wrote: >>> From: "jacob2.chen" >>> >>> Enable ums feature for

Re: [U-Boot] [PATCH v3 1/2] Disable SPL_MMC_SUPPORT if ROCKCHIP_SPL_BACK_TO_BROM is enabled.

2016-09-23 Thread Simon Glass
On 5 September 2016 at 19:02, Simon Glass wrote: > On 29 August 2016 at 05:31, Sandy Patterson wrote: >> Default SPL_MMC_SUPPORT to false when ROCKCHIP_SPL_BACK_TO_BROM is enabled. >> >> Acked-by: Ziyuan Xu >> Signed-off-by:

Re: [U-Boot] [PATCH v3 1/7] rockchip: rk3399: update PPLL and pmu_pclk frequency

2016-09-23 Thread Simon Glass
On 23 September 2016 at 01:57, Kever Yang wrote: > Update PPLL to 676MHz and PMU_PCLK to 48MHz, because: > 1. 48MHz can make sure the pwm can get exact 50% duty ratio, but 99MHz > can not, > 2. We think 48MHz is fast enough for pmu pclk and it is lower power cost > than

Re: [U-Boot] [PATCH v3 5/7] Kconfig: rockchip: enable DM_PWM and DM_REGULATOR

2016-09-23 Thread Simon Glass
On 23 September 2016 at 01:57, Kever Yang wrote: > Enable DM_PWM and DM_REGULATOR on rockchip SoCs. > > Signed-off-by: Kever Yang > Acked-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: None > >

Re: [U-Boot] [PATCH v3 4/7] rockchip: evb_rk3399: init vdd_center regulator

2016-09-23 Thread Simon Glass
On 23 September 2016 at 01:57, Kever Yang wrote: > Add vdd_center pwm regulator get_device to > enable this regulator. > > Signed-off-by: Kever Yang > Acked-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: >

Re: [U-Boot] [PATCH v3 2/7] rockchip: rkpwm: fix the register sequence

2016-09-23 Thread Simon Glass
On 23 September 2016 at 01:57, Kever Yang wrote: > Reference to kernel source code, rockchip pwm has three > type, we are using v2 for rk3288 and rk3399, so let's > update the register to sync with pwm_data_v2 in kernel. > > Signed-off-by: Kever Yang

Re: [U-Boot] [PATCH] test: add NFS download test

2016-09-23 Thread Joe Hershberger
On Wed, Sep 14, 2016 at 3:29 AM, Guillaume GARDET wrote: > Add a NFS download test, based on TFTP test. > Tested on i.MX6 SabreLite board. > > Signed-off-by: Guillaume GARDET > > Cc: Tom Rini > Cc: Joe Hershberger

Re: [U-Boot] [PATCH 02/28] Convert SILENT_CONSOLE options to Kconfig

2016-09-23 Thread Tom Rini
On Fri, Sep 23, 2016 at 02:47:49PM -0600, Simon Glass wrote: > Hi Tom, > > On 23 September 2016 at 13:58, Tom Rini wrote: > > On Mon, Sep 19, 2016 at 04:32:46PM -0600, Simon Glass wrote: > > > >> Move these option to Kconfig and tidy up existing uses. > >> > >> The Power PC

[U-Boot] [PATCH] ARM: tegra: flush caches via SMC call

2016-09-23 Thread Stephen Warren
From: Stephen Warren On Tegra186, it is necessary to perform an SMC to fully flush all caches; flushing/cleaning by set/way is not enough. Implement the required hook to make this happen. Signed-off-by: Stephen Warren ---

Re: [U-Boot] [U-Boot, v3, 1/8] mmc: squash lines for immediate return

2016-09-23 Thread Tom Rini
On Tue, Sep 06, 2016 at 10:17:32PM +0900, Masahiro Yamada wrote: > These functions can be much simpler by squashing lines for immediate > return. > > For *_bind() callbacks, they will be a simple wrapper function of an > upper-level bind API. > > For mmc_set_{boot_bus_width,part_conf}, they

[U-Boot] [PATCH v3 0/7] add pwm regulator driver

2016-09-23 Thread Kever Yang
This patch set add pwm regulator driver and enable it on rk3399, also do some update and fix to make the regulator driver work properly. Changes in v3: - remove priv->boot_on to fix compile error Changes in v2: - add comments for pwm_regulator_info struct member - do not init pwm_id if there

[U-Boot] [PATCH] arm: ls102xa: Remove reduplicate definition for Generic Timer frequency

2016-09-23 Thread Alison Wang
GENERIC_TIMER_CLK and CONFIG_TIMER_CLK_FREQ are both used to define Generic Timer frequency. It is reduplicate. This patch will remove GENERIC_TIMER_CLK macro. Signed-off-by: Alison Wang --- arch/arm/cpu/armv7/ls102xa/psci.S | 2 +- arch/arm/cpu/armv7/ls102xa/timer.c | 2

Re: [U-Boot] [v2, 2/5] mmc: send STOP command when the READ/WRITE commands fail

2016-09-23 Thread Y.B. Lu
> -Original Message- > From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] > Sent: Monday, September 19, 2016 8:09 AM > To: Y.B. Lu; u-boot@lists.denx.de > Cc: york sun > Subject: Re: [v2, 2/5] mmc: send STOP command when the READ/WRITE > commands fail > > Hi Yangbo, > > On 08/02/2016

Re: [U-Boot] [PATCH 4/5] imx: mx6ullevk: support plugin

2016-09-23 Thread Peng Fan
On Thu, Sep 22, 2016 at 11:48:16AM -0400, Tom Rini wrote: >On Mon, Sep 19, 2016 at 11:55:43AM +0800, van.free...@gmail.com wrote: > >> From: Peng Fan >> >> Add plugin code for mx6ullevk. >> Define CONFIG_USE_PLUGIN in include/configs/mx6ullevk.h to use plugin code. >> >>

Re: [U-Boot] [PATCH v1] ARM: dts: Makefile: Use board to decide to compile dts

2016-09-23 Thread Wenyou.Yang
> -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: 2016年9月23日 12:17 > To: Wenyou Yang - A41535 > Cc: U-Boot Mailing List ; Stephen Warren > ; Andreas Bießmann

Re: [U-Boot] [RFC PATCH 1/2] dm: Add support for scsi/sata based devices

2016-09-23 Thread Michal Simek
Hi Simon, 2016-09-08 15:57 GMT+02:00 Michal Simek : > All sata based drivers are bind and corresponding block > device is created. Based on this find_scsi_device() is able > to get back block device based on scsi_curr_dev pointer. > > intr_scsi() is commented now but it

[U-Boot] [PATCH v4] drivers: usb: xhci-fsl: Implement Erratum A-010151 for FSL USB3 controller

2016-09-23 Thread Sriram Dash
Currently the controller by default enables the Receive Detect feature in P3 mode in USB 3.0 PHY. However, USB 3.0 PHY does not reliably support receive detection in P3 mode. Enabling the USB3 controller to configure USB in P2 mode whenever the Receive Detect feature is required. Signed-off-by:

Re: [U-Boot] Rockchip patches for testing

2016-09-23 Thread Kever Yang
Hi Simon, On 09/23/2016 11:17 AM, Simon Glass wrote: Hi, I have pushed a branch to u-boot-rockchip/testing. Please take a look and let me know if any of these patches need rework. Are there more patches coming for this merge window? Re rk3399, one of the patches causes a build error on

[U-Boot] [PATCH v3 1/7] rockchip: rk3399: update PPLL and pmu_pclk frequency

2016-09-23 Thread Kever Yang
Update PPLL to 676MHz and PMU_PCLK to 48MHz, because: 1. 48MHz can make sure the pwm can get exact 50% duty ratio, but 99MHz can not, 2. We think 48MHz is fast enough for pmu pclk and it is lower power cost than 99MHz, 3. PPLL 676 MHz and PMU_PCLK 48MHz are the clock rate we are using internally

[U-Boot] [PATCH v3 4/7] rockchip: evb_rk3399: init vdd_center regulator

2016-09-23 Thread Kever Yang
Add vdd_center pwm regulator get_device to enable this regulator. Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v3: None Changes in v2: - add Acked-by tag from Simon and commit message fix board/rockchip/evb_rk3399/evb-rk3399.c |

[U-Boot] [PATCH v3 2/7] rockchip: rkpwm: fix the register sequence

2016-09-23 Thread Kever Yang
Reference to kernel source code, rockchip pwm has three type, we are using v2 for rk3288 and rk3399, so let's update the register to sync with pwm_data_v2 in kernel. Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v3: None Changes in

[U-Boot] [PATCH v3 6/7] dts: evb-rk3399: add init voltage node for vdd-center

2016-09-23 Thread Kever Yang
Add a regulator-init-microvolt for vdd_center regulator so that we can get a init value for driver probe. Not like pmic regulator, the PWM regulator do not have a known default output value, so we would like to init the regulator when driver probe. Signed-off-by: Kever Yang

[U-Boot] [PATCH v3 5/7] Kconfig: rockchip: enable DM_PWM and DM_REGULATOR

2016-09-23 Thread Kever Yang
Enable DM_PWM and DM_REGULATOR on rockchip SoCs. Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/arm/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/Kconfig

[U-Boot] [PATCH v3 3/7] power: regulator: add pwm regulator

2016-09-23 Thread Kever Yang
add driver support for pwm regulator. Signed-off-by: Elaine Zhang Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v3: - remove priv->boot_on to fix compile error Changes in v2: - add comments for

[U-Boot] [PATCH v3 7/7] config: evb-rk3399: enable pwm regulator

2016-09-23 Thread Kever Yang
Enable the pwm regulator for evb-rk3399. Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v3: None Changes in v2: None configs/evb-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/evb-rk3399_defconfig

Re: [U-Boot] [PATCH 1/2] Makefile: use if_change_dep for u-boot.cfg

2016-09-23 Thread Masahiro Yamada
2016-09-23 13:16 GMT+09:00 Simon Glass : > On 19 September 2016 at 12:20, Stephen Warren wrote: >> From: Stephen Warren >> >> cmd_cpp_cfg generates a dependency output, but because it's invoked using >> if_changed rather than

Re: [U-Boot] [v2, 4/5] mmc: add workaround for eSDHC erratum A009620

2016-09-23 Thread Y.B. Lu
> -Original Message- > From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] > Sent: Monday, September 19, 2016 8:16 AM > To: Y.B. Lu; u-boot@lists.denx.de > Cc: york sun > Subject: Re: [v2, 4/5] mmc: add workaround for eSDHC erratum A009620 > > On 08/02/2016 06:20 PM, Yangbo Lu wrote: > >

[U-Boot] [PATCH 04/15 v2] net: mvneta: Add support for Armada 3700 SoC

2016-09-23 Thread Stefan Roese
This patch adds support for the Armada 3700 SoC to the Marvell mvneta network driver. Not like A380, in Armada3700, there are two layers of decode windows for GBE: First layer is: GbE Address window that resides inside the GBE unit, Second layer is: Fabric address window which is located in the

[U-Boot] [PATCH 09/15 v2] arm64: mvebu: Armada 3700: Add SPI device tree nodes

2016-09-23 Thread Stefan Roese
This patch adds the SPI device tree nodes that are still missing to the Armada 3700 dts files. Signed-off-by: Stefan Roese Cc: Nadav Haklai Cc: Kostya Porotchkin Cc: Wilson Ding Cc: Victor Gu Cc: Hua

Re: [U-Boot] [PATCH 09/15 v2] arm64: mvebu: Armada 3700: Add SPI device tree nodes

2016-09-23 Thread Jagan Teki
On Fri, Sep 23, 2016 at 5:07 PM, Stefan Roese wrote: > This patch adds the SPI device tree nodes that are still missing to > the Armada 3700 dts files. > > Signed-off-by: Stefan Roese > Cc: Nadav Haklai > Cc: Kostya Porotchkin

Re: [U-Boot] [v2, 1/5] mmc: fsl_esdhc: don't set XFERTYP_RSPTYP_48_BUSY for CMD with busy response

2016-09-23 Thread Y.B. Lu
> -Original Message- > From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] > Sent: Monday, September 19, 2016 8:17 AM > To: Y.B. Lu; york sun; u-boot@lists.denx.de; Pantelis Antoniou > Subject: Re: [v2, 1/5] mmc: fsl_esdhc: don't set XFERTYP_RSPTYP_48_BUSY > for CMD with busy response > >

[U-Boot] [PATCH] mmc: dw_mmc: remove the unnecessary arguments for dwmci_setup_cfg

2016-09-23 Thread Jaehoon Chung
Some arguments don't need to pass to dwmci_setup_cfg. They are already included in dwmci_host structure. Signed-off-by: Jaehoon Chung --- drivers/mmc/dw_mmc.c | 13 ++--- drivers/mmc/exynos_dw_mmc.c | 3 +-- drivers/mmc/rockchip_dw_mmc.c | 3 +--

[U-Boot] [PATCH 1/2] mmc: sdhci: use the host version value in sdhci_setup_cfg

2016-09-23 Thread Jaehoon Chung
"host->version" isn't a SoC specific value. It doesn't need to get in each SoC drivers. Signed-off-by: Jaehoon Chung --- drivers/mmc/atmel_sdhci.c | 1 - drivers/mmc/bcm2835_sdhci.c | 1 - drivers/mmc/kona_sdhci.c| 5 - drivers/mmc/msm_sdhci.c | 3 ---

[U-Boot] [PATCH 2/2] mmc: sdhci: use the generic error number

2016-09-23 Thread Jaehoon Chung
Use the generic error number instead of meaningless value. Signed-off-by: Jaehoon Chung --- drivers/mmc/kona_sdhci.c | 6 +++--- drivers/mmc/mv_sdhci.c | 2 +- drivers/mmc/s5p_sdhci.c | 8 drivers/mmc/sdhci.c | 12 ++-- 4 files changed, 14

Re: [U-Boot] [RFC v2] bootm: fix passing argc to standalone apps

2016-09-23 Thread Zubair Lutfullah Kakakhel
Hi, comments at end On 09/19/2016 01:57 AM, Simon Glass wrote: On 9 September 2016 at 02:18, Zubair Lutfullah Kakakhel wrote: This bug appears in b6396403 which makes u-boot unable to pass arguments via bootm to a standalone application without this patch. Steps

Re: [U-Boot] [PATCH 4/5] imx: mx6ullevk: support plugin

2016-09-23 Thread Peng Fan
On Thu, Sep 22, 2016 at 11:48:16AM -0400, Tom Rini wrote: >On Mon, Sep 19, 2016 at 11:55:43AM +0800, van.free...@gmail.com wrote: > >> From: Peng Fan >> >> Add plugin code for mx6ullevk. >> Define CONFIG_USE_PLUGIN in include/configs/mx6ullevk.h to use plugin code. >> >>

[U-Boot] couple questions on driver model for gpio, and gpio in sandbox

2016-09-23 Thread Robert P. J. Day
currently crawling through the gpio code in u-boot so, question one, i see in include/asm-generic/gpio.h, the explicitly listed as "deprecated" old API routines: int gpio_request(unsigned gpio, const char *label) int gpio_free(unsigned gpio) int gpio_direction_input(unsigned gpio) int

Re: [U-Boot] [PATCH 2/2] mmc: sdhci: use the generic error number

2016-09-23 Thread Stefan Roese
On 23.09.2016 12:14, Jaehoon Chung wrote: Use the generic error number instead of meaningless value. Signed-off-by: Jaehoon Chung --- drivers/mmc/kona_sdhci.c | 6 +++--- drivers/mmc/mv_sdhci.c | 2 +- drivers/mmc/s5p_sdhci.c | 8 drivers/mmc/sdhci.c

Re: [U-Boot] [PATCH 03/15] net: mvneta: Make driver 64bit safe

2016-09-23 Thread Stefan Roese
On 16.09.2016 19:30, Joe Hershberger wrote: On Fri, Sep 16, 2016 at 8:09 AM, Stefan Roese wrote: The mvneta driver is also used on the ARMv8 64bit Armada 3700 SoC. This patch fixes the compilation warnings seen on this 64bit platform. Signed-off-by: Stefan Roese

Re: [U-Boot] [PATCH] ns16650: Make sure we have CONFIG_CLK set before using infrastructure

2016-09-23 Thread Tom Rini
On Fri, Sep 23, 2016 at 11:27:25AM +0900, Masahiro Yamada wrote: > Hi Tom, > > > 2016-09-23 10:11 GMT+09:00 Tom Rini : > > We cannot call on the CONFIG_CLK based clk_get_rate function unless > > CONFIG_CLK is set. > > > > Signed-off-by: Tom Rini > > --- >

[U-Boot] [PATCH v2 1/2] mtd: nand : zynq_nand: Add nand driver support for zynq

2016-09-23 Thread Siva Durga Prasad Paladugu
Add nand flash controller driver support for zynq SoC. Signed-off-by: Siva Durga Prasad Paladugu --- Changes for v2: - corrected the from address --- drivers/mtd/nand/Kconfig |7 + drivers/mtd/nand/Makefile|1 + drivers/mtd/nand/zynq_nand.c | 1186

Re: [U-Boot] [PATCH v3 00/16] imx6: Add Engicam i.CoreM6 QDL support

2016-09-23 Thread Jagan Teki
Hi Stefano, On Thu, Sep 22, 2016 at 8:52 PM, Jagan Teki wrote: > This series supports Engicam i.CoreM6 QDL modules on top of > u-boot-imx.git/next > and test on the respective starter kits as well. > > Changes for v3: > - Remove "v2 01/17 imx: iomux-v3: Fix

Re: [U-Boot] disabling mmc in spl when booting using bootrom

2016-09-23 Thread Sandy Patterson
> > My concern with the Rockchip back-to-brom feature is that then U-Boot > cannot load U-Boot normally as SPL likes to do. I think it is fine > when we are short on space, but OF_PLATDATA fixes that. > > So I think the back-to-rom feature need to be optional on boards which > don't have to use

Re: [U-Boot] [v2, 1/5] mmc: fsl_esdhc: don't set XFERTYP_RSPTYP_48_BUSY for CMD with busy response

2016-09-23 Thread Y.B. Lu
> -Original Message- > From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] > Sent: Monday, September 19, 2016 8:07 AM > To: Y.B. Lu; u-boot@lists.denx.de > Cc: york sun > Subject: Re: [v2, 1/5] mmc: fsl_esdhc: don't set XFERTYP_RSPTYP_48_BUSY > for CMD with busy response > > Hi Yangbo, >

[U-Boot] [PATCH 02/15 v2] spi: Add driver for Marvell Armada 3700 SoC

2016-09-23 Thread Stefan Roese
The SPI IP core in the Marvell Armada 3700 is similar to the one in the other Armada SoCs. But the differences are big enough that it makes sense to introduce a new driver instead of cluttering the old kirkwood driver with #ifdef's. Signed-off-by: Stefan Roese Cc: Nadav Haklai

Re: [U-Boot] [PATCH 02/15 v2] spi: Add driver for Marvell Armada 3700 SoC

2016-09-23 Thread Stefan Roese
On 23.09.2016 14:53, Jagan Teki wrote: On Fri, Sep 23, 2016 at 5:47 PM, Stefan Roese wrote: The SPI IP core in the Marvell Armada 3700 is similar to the one in the other Armada SoCs. But the differences are big enough that it makes sense to introduce a new driver instead of

Re: [U-Boot] Rockchip patches for testing

2016-09-23 Thread Sandy Patterson
On Thu, Sep 22, 2016 at 11:17 PM, Simon Glass wrote: > Hi, > > I have pushed a branch to u-boot-rockchip/testing. Please take a look > and let me know if any of these patches need rework. > > Are there more patches coming for this merge window? > > Re rk3399, one of the

[U-Boot] [PATCH] fs-test.sh: Update expected results

2016-09-23 Thread Tom Rini
Thanks to Stefan Brüns we have more tests and a few more passes too, update the expected output now. Cc: Stefan Brüns Signed-off-by: Tom Rini --- test/fs/fs-test.sh | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff

Re: [U-Boot] [PATCH 02/15] spi: Add driver for Marvell Armada 3700 SoC

2016-09-23 Thread Stefan Roese
On 21.09.2016 09:56, Jagan Teki wrote: > On Fri, Sep 16, 2016 at 6:39 PM, Stefan Roese wrote: >> The SPI IP core in the Marvell Armada 3700 is similar to the one in the >> other Armada SoCs. But the differences are big enough that it makes >> sense to introduce a new driver instead

Re: [U-Boot] [PATCH 02/15 v2] spi: Add driver for Marvell Armada 3700 SoC

2016-09-23 Thread Jagan Teki
On Fri, Sep 23, 2016 at 5:47 PM, Stefan Roese wrote: > The SPI IP core in the Marvell Armada 3700 is similar to the one in the > other Armada SoCs. But the differences are big enough that it makes > sense to introduce a new driver instead of cluttering the old > kirkwood driver with

Re: [U-Boot] [PATCH 02/15 v2] spi: Add driver for Marvell Armada 3700 SoC

2016-09-23 Thread Jagan Teki
On Fri, Sep 23, 2016 at 6:54 PM, Stefan Roese wrote: > On 23.09.2016 14:53, Jagan Teki wrote: >> >> On Fri, Sep 23, 2016 at 5:47 PM, Stefan Roese wrote: >>> >>> The SPI IP core in the Marvell Armada 3700 is similar to the one in the >>> other Armada SoCs. But the

Re: [U-Boot] [PATCH 2/2] zynq: nand: Enable Nand flash controller driver a zynq board

2016-09-23 Thread Siva Durga Prasad Paladugu
Hi, Please ignore this series. I will resend the patch. Regards, Siva > -Original Message- > From: root [mailto:root@xhdsivadur40] > Sent: Friday, September 23, 2016 6:00 PM > To: u-boot@lists.denx.de > Cc: o...@buserror.net; Michal Simek ; Siva Durga > Prasad

Re: [U-Boot] [PATCH 04/15 v2] net: mvneta: Add support for Armada 3700 SoC

2016-09-23 Thread Joe Hershberger
On Fri, Sep 23, 2016 at 6:26 AM, Stefan Roese wrote: > This patch adds support for the Armada 3700 SoC to the Marvell mvneta > network driver. > > Not like A380, in Armada3700, there are two layers of decode windows for GBE: > First layer is: GbE Address window that resides inside

Re: [U-Boot] U-boot Driver Model - MMC - missing uclass implementation?

2016-09-23 Thread Simon Glass
Hi Phllipp, On 23 September 2016 at 09:30, Philipp Rossak wrote: > Hi, > > I would like to develop an mmc driver for the STM32 boards with the new > driver model. > > I already built up the basic structure and I discovered some strange > behaviour compared to net or serial

Re: [U-Boot] [PATCH 02/15 v3] spi: Add driver for Marvell Armada 3700 SoC

2016-09-23 Thread Jagan Teki
On Fri, Sep 23, 2016 at 7:58 PM, Stefan Roese wrote: > The SPI IP core in the Marvell Armada 3700 is similar to the one in the > other Armada SoCs. But the differences are big enough that it makes > sense to introduce a new driver instead of cluttering the old > kirkwood driver with

Re: [U-Boot] [PATCH 03/15] net: mvneta: Make driver 64bit safe

2016-09-23 Thread Joe Hershberger
Hi Stefan, On Fri, Sep 23, 2016 at 6:05 AM, Stefan Roese wrote: > On 16.09.2016 19:30, Joe Hershberger wrote: >> >> On Fri, Sep 16, 2016 at 8:09 AM, Stefan Roese wrote: >>> >>> The mvneta driver is also used on the ARMv8 64bit Armada 3700 SoC. This >>> patch fixes

Re: [U-Boot] [PATCH] vexpress: disable cci ace slave ports when booting in non-sec/hyp mode

2016-09-23 Thread Marc Zyngier
On 23/09/16 16:10, Sudeep Holla wrote: > Commit f225d39d3093 ("vexpress: Check TC2 firmware support before defaulting > to nonsec booting") added support to check if the firmware on TC2 is > configured appropriately before booting in nonsec/hyp mode. > > However when booting in non-secure/hyp

[U-Boot] [PATCH v2 2/2] zynq: nand: Enable Nand flash controller driver a zynq board

2016-09-23 Thread Siva Durga Prasad Paladugu
Enable zynq Nand flash controller driver for a zynq ZC770 XM011(dc2) board. Signed-off-by: Siva Durga Prasad Paladugu --- Changes for v2: - Corrected the from address --- configs/zynq_zc770_xm011_defconfig | 2 ++ include/configs/zynq-common.h | 7 +++ 2 files

[U-Boot] [PATCH 02/15 v3] spi: Add driver for Marvell Armada 3700 SoC

2016-09-23 Thread Stefan Roese
The SPI IP core in the Marvell Armada 3700 is similar to the one in the other Armada SoCs. But the differences are big enough that it makes sense to introduce a new driver instead of cluttering the old kirkwood driver with #ifdef's. Signed-off-by: Stefan Roese Cc: Nadav Haklai

  1   2   >