[U-Boot] [PATCH v2 5/6] moveconfig: Support building a simple config database

2017-06-01 Thread Simon Glass
Add a -b option which scans all the defconfigs and builds a database of all the CONFIG options used by each. This is useful for querying later. At present this only works with the separate -b option, which does not move any configs. It would be possible to adjust the script to build the database

Re: [U-Boot] Please pull u-boot-dm (take 4)

2017-06-01 Thread Tom Rini
On Thu, Jun 01, 2017 at 10:24:21AM -0600, Simon Glass wrote: > Hi Tom, > > Hopefully this can sneak in before other things. It includes a rebase of > 'dm: Rename dev_addr..() functions' to fix build errors. > > > buildman -b dm-push --step 0 -su > boards.cfg is up to date. Nothing to do. >

Re: [U-Boot] [PATCH 4/6] rockchip: defconfig: puma-rk3399: enable I2C

2017-06-01 Thread Simon Glass
On 31 May 2017 at 10:18, Philipp Tomsich wrote: > The RK3399-Q7 exposes I2C on its edge connector and uses it as one of > the interfaces towards the on-module STM32 (for the emulated RTC and > fan-controller). > > Enable I2C and CMD_I2C support in the

Re: [U-Boot] [PATCH 3/6] rockchip: defconfig: puma-rk3399: enable CONFIG_PHY_MICREL_KSZ9031

2017-06-01 Thread Simon Glass
On 31 May 2017 at 10:18, Philipp Tomsich wrote: > The RK3399-Q7 has a KSZ9031 GbE PHY. Enable support for it in defconfig. > > Signed-off-by: Philipp Tomsich > --- > > Changes in v2: None > >

Re: [U-Boot] [PATCH 1/2] WIP: Disable SCSI on x86

2017-06-01 Thread Bin Meng
Hi Simon, On Thu, Jun 1, 2017 at 9:14 PM, Simon Glass wrote: > Hi Bin, > > On 1 June 2017 at 01:27, Bin Meng wrote: >> >> Hi Simon, >> >> On Wed, May 17, 2017 at 8:42 AM, Bin Meng wrote: >> > Hi Simon, >> > >> > On Sat, May 13, 2017 at

Re: [U-Boot] [PATCH 2/4] rockchip: arm64: rk3399: support DDR3-1866 (i.e. 933MHz clock)

2017-06-01 Thread Simon Glass
On 31 May 2017 at 10:16, Philipp Tomsich wrote: > The RK3399 is capable of driving DDR3 at 933MHz (i.e. DDR3-1866), > if the PCB layout permits and appropriate memory timings are used. > > This changes the sanity checks to allow a DTS to request DDR3-1866 >

Re: [U-Boot] [PATCH 3/4] rockchip: dts: rk3399-puma: set spl-payload-offset

2017-06-01 Thread Simon Glass
On 31 May 2017 at 10:17, Philipp Tomsich wrote: > From: Klaus Goger > > defines the spl-payload to 256k (0x4) > > Signed-off-by: Klaus Goger > Signed-off-by: Philipp Tomsich

Re: [U-Boot] [PATCH v4 7/9] rockchip: video: rk3399: add HDMI TX support on the RK3399

2017-06-01 Thread Simon Glass
On 31 May 2017 at 09:59, Philipp Tomsich wrote: > This commit enables the RK3399 HDMI TX, which is very similar to the > one found on the RK3288. As requested by Simon, this splits the HDMI > driver into a SOC-specific portion (rk3399_hdmi.c, rk3288_hdmi.c)

Re: [U-Boot] [PATCH 4/4] rockchip: dts: rk3399-puma: select DRAM timing via Kconfig

2017-06-01 Thread Simon Glass
On 31 May 2017 at 10:16, Philipp Tomsich wrote: > The RK3399-Q7 has multiple build-options for its DRAM configuration, > including the timing of the DRAM components populated. > > While DDR3-1600 is the standard configuration, custom-configurations > are

Re: [U-Boot] [PATCH v4 8/9] rockchip: dts: rk3399: enable HDMI output in the DTS

2017-06-01 Thread Simon Glass
On 31 May 2017 at 09:59, 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 12/28] tegra: video: Don't power up the SOR twice

2017-06-01 Thread Anatolij Gustschin
Hi Simon, On Wed, 31 May 2017 17:57:20 -0600 Simon Glass s...@chromium.org wrote: > If U-Boot is the secondary boot loader, or has been run from itself, the > SOR may already be powered up. Powering it up again causes a hang, so > detect this situation and skip it. > > Signed-off-by: Simon

[U-Boot] [PATCH v2 3/6] moveconfig: Tidy up the documentation and add hints

2017-06-01 Thread Simon Glass
The newest clean-up features are not mentioned in the docs. Fix this and add a few hints for particular workflows that are hopefully helpful. Signed-off-by: Simon Glass --- Changes in v2: - Adjust hints to include Tom Rini's <(...) approach - Drop change of 'headers' to

[U-Boot] [PATCH v2 1/6] moveconfig: Support providing a path to the defconfig files

2017-06-01 Thread Simon Glass
It is convenient to provide the full patch to the defconfig files in some situations, e.g. when the file was generated by a shell command (e.g. 'ls configs/zynq*'). Add support for this, and move the globbing code into a function with its own documentation. Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 3/4] rockchip: dts: rk3399-puma: Add DDR3-1866 timings

2017-06-01 Thread Simon Glass
On 31 May 2017 at 10:16, Philipp Tomsich wrote: > With the validation done for DDR3-1866 (i.e. 933 MHz bus clock), we > can now add the timings (rk3399-sdram-ddr3-1866.dtsi) for boards built > with the DDR3-1866 option. > > Signed-off-by: Philipp Tomsich

Re: [U-Boot] [PATCH 2/4] rockchip: dts: rk3399-puma: release reset of on-module USB3 hub via vbus-gpio

2017-06-01 Thread Simon Glass
On 31 May 2017 at 10:17, Philipp Tomsich wrote: > On the RK3399-Q7, the on-module USB3 hub is held in reset at boot-up > to save power and needs to be woken up using GPIO4A3. > > Note that this is not a negated reset-signal (due to a level shifter > being

Re: [U-Boot] [PATCH] arm: Add support for poweroff via PSCI

2017-06-01 Thread Simon Glass
+Tom On 31 May 2017 at 23:40, Michal Simek wrote: > On 1.6.2017 05:11, Simon Glass wrote: >> On 29 May 2017 at 01:11, Michal Simek wrote: >>> Add support for calling poweroff in case of psci is wired. >>> Based on the same solution as is used

Re: [U-Boot] [PATCH v2 07/10] usb: dwc2: fix macro error and change default config for rk3328

2017-06-01 Thread Simon Glass
On 1 June 2017 at 05:25, Meng Dongyang wrote: > Fix macro error of dwc2 driver, add macro definition to config force mode > and HNP/SRP capability. > > Signed-off-by: Meng Dongyang > --- > > Changes in v2: > - Splited from patch [07/08] of

Re: [U-Boot] [PATCH 3/5] rockchip: clk: Add rv1108 clock driver

2017-06-01 Thread Simon Glass
On 1 June 2017 at 04:00, Andy Yan wrote: > Add clock driver support for Rockchip rv1108 soc > > Signed-off-by: Andy Yan > --- > > arch/arm/include/asm/arch-rockchip/cru_rv1108.h | 111 ++ > arch/arm/include/asm/arch-rockchip/periph.h

Re: [U-Boot] [PATCH 5/6] rockchip: defconfig: puma-rk3399: do not filter clock-names for SPL

2017-06-01 Thread Simon Glass
On 31 May 2017 at 10:18, Philipp Tomsich wrote: > For the RK3399-Q7 module, we use full OF_CONTROL (i.e. not > OF_PLATDATA) for SPL. In this configuration, the rockchip_dw_mmc > driver retrieves one of its clocks via clk_get_by_name and fails if > this is

Re: [U-Boot] [PATCH v5 02/11] reset: add reset_count()

2017-06-01 Thread Simon Glass
On 1 June 2017 at 05:36, wrote: > From: Patrice Chotard > > Add reset_count() method to be able to get the number > of resets contained into a resets property. This will allow > to allocate the right amount of memory in order to keep resets >

Re: [U-Boot] [PATCH v2 09/10] rockchip: dts: rk3328: support and enable dwc2

2017-06-01 Thread Simon Glass
On 1 June 2017 at 05:25, Meng Dongyang wrote: > Enable dwc2 controller and add fixed regulator for dwc2 controller to > control vbus. > > Signed-off-by: Meng Dongyang > --- > > Changes in v2: > - Add fixed regulator to control vbus > >

Re: [U-Boot] [PATCH v4 6/9] rockchip: video: split RK3228-specific part off from rk_hdmi

2017-06-01 Thread Eric
headline is wrong. it should be "rockchip: video: splitRK3288-specific part off from rk_hdmi" On 2017年05月31日 23:59, Philipp Tomsich wrote: To prepare for the addition of RK3399 HDMI support, the HDMI driver is refactored and broken into a chip-specific and a generic part. This change adds

Re: [U-Boot] [PATCH v4 3/9] rockchip: video: refactor rk_vop and split RK3328-specific code off

2017-06-01 Thread Eric
headline is wrong. it should be "rockchip: video: refactor rk_vop and split RK3288-specific code off On 2017年05月31日 23:59, Philipp Tomsich wrote: To prepare for adding the RK3399 VOP driver (which shares most of its registers and config logic with the RK3228 VOP), this change refactors the

Re: [U-Boot] [PATCH 4/5] rockchip: Add core Soc start-up code for rv1108

2017-06-01 Thread Simon Glass
On 1 June 2017 at 04:00, Andy Yan wrote: > RV1108 is embedded with an ARM Cortex-A7 single core and a DSP core > from Rockchip. It is designed for varies application scenario such > as car DVR, sports DV, secure camera and UAV camera. > > Signed-off-by: Andy Yan

Re: [U-Boot] [PATCH 8/8] tegra: Convert MMC to use driver model for operations

2017-06-01 Thread Simon Glass
Hi Marcel, On 29 May 2017 at 08:49, Marcel Ziswiler wrote: > Hi Simon > > On Thu, 2017-05-18 at 10:35 -0600, Simon Glass wrote: >> Hi Tom, >> >> On 18 May 2017 at 10:33, Tom Warren wrote: >> > Simon, >> > >> > What testing did you do? >> >> This

Re: [U-Boot] [PATCH 0/3] dm: mmc: Tidy up use of block devices

2017-06-01 Thread Jaehoon Chung
Hi Simon, On 05/28/2017 02:37 AM, Simon Glass wrote: > A recent series added a patch to avoid probing block devices in > find_mmc_device(). This is because callers should obtain the block device > itself, not the MMC device. But for now the environment code has not been > converted. > > The

[U-Boot] [PATCH 1/2] power: pmic: lp87565: Add the basic pmic support

2017-06-01 Thread Keerthy
Add support to bind the regulators/child nodes with the pmic. Signed-off-by: Keerthy --- drivers/power/pmic/Kconfig | 7 drivers/power/pmic/Makefile | 1 + drivers/power/pmic/lp87565.c | 85 include/power/lp87565.h |

[U-Boot] [PATCH 2/2] power: regulator: lp87565: add regulator support

2017-06-01 Thread Keerthy
The driver provides regulator set/get voltage enable/disable functions for lp87565 family of PMICs. Signed-off-by: Keerthy --- drivers/power/regulator/Kconfig | 8 ++ drivers/power/regulator/Makefile| 1 + drivers/power/regulator/lp87565_regulator.c

[U-Boot] [PATCH 0/2] power: pmic: Add support for LP87565 family of PMICs

2017-06-01 Thread Keerthy
The series adds support for LP87565 family of PMICs. Implements functions to configure regulators. Enable/Disable Get/Set voltages of regulators. Keerthy (2): power: pmic: lp87565: Add the basic pmic support power: regulator: lp87565: add regulator support drivers/power/pmic/Kconfig

Re: [U-Boot] [PATCH] axs10x: Get rid of both I2C and EEPROM who used to use I2C

2017-06-01 Thread Simon Glass
On 1 June 2017 at 08:14, Alexey Brodkin wrote: > With eb5ba3aefdf0 "i2c: Drop use of CONFIG_I2C_HARD" in place we > cannot use I2C EEPROM any longer so we're dropping all references to > both EEPROM and I2C which was only used for EEPROM. > > Signed-off-by: Alexey

Re: [U-Boot] [PATCH 1/2] x86: baytrail: Fix boot hang with a debug build

2017-06-01 Thread Simon Glass
On 1 June 2017 at 04:41, Bin Meng wrote: > It was observed that when -DDEBUG is used to generate a debug build, > U-Boot does not boot on MinnowMax board. A workaround is to disable > CONFIG_DEBUG_UART. The real issue is that in order to have the debug > uart to work, BayTrail

Re: [U-Boot] [PATCH v7 09/10] ARM: dts: STiH410: update ehci and ohci compatible

2017-06-01 Thread Simon Glass
On 1 June 2017 at 06:05, wrote: > From: Patrice Chotard > > Update ehci and ohci node's compatible string in order to > use ehci-generic and ohci-generic drivers. > > Signed-off-by: Patrice Chotard > --- > v7: _ none >

Re: [U-Boot] [PATCH 6/6] rockchip: defconfig: puma-rk3399: CONFIG_SPL_FIT no longer exists

2017-06-01 Thread Simon Glass
On 31 May 2017 at 10:18, Philipp Tomsich wrote: > With the merging of Andre's SPL_FIT support, the CONFIG_SPL_FIT option > is no longer required for the RK3399-Q7. Remove it from the defconfig. > > Signed-off-by: Philipp Tomsich

Re: [U-Boot] [PATCH 2/5] rockchip: pinctrl: Add rv1108 pinctrl driver

2017-06-01 Thread Simon Glass
On 1 June 2017 at 04:00, Andy Yan wrote: > Add pinctrl support for Rockchip rv1108 soc > > Signed-off-by: Andy Yan > --- > > arch/arm/include/asm/arch-rockchip/grf_rv1108.h | 509 > > drivers/pinctrl/Kconfig

Re: [U-Boot] [PATCH 0/3] dm: mmc: Tidy up use of block devices

2017-06-01 Thread Simon Glass
Hi Jaehoon, On 1 June 2017 at 21:18, Jaehoon Chung wrote: > Hi Simon, > > On 05/28/2017 02:37 AM, Simon Glass wrote: >> A recent series added a patch to avoid probing block devices in >> find_mmc_device(). This is because callers should obtain the block device >> itself,

[U-Boot] [PATCH] video: atmel_hlcdfb: Fix misaligned cache operation warning

2017-06-01 Thread Wenyou Yang
Fix the warning, ---8<--- CACHE: Misaligned operation at range [3fd0, 3fdc] ---<8--- Signed-off-by: Wenyou Yang --- drivers/video/atmel_hlcdfb.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/video/atmel_hlcdfb.c

[U-Boot] [PATCH] power: regulator: palmas: Add smps12 dual regulator for tps65917

2017-06-01 Thread Keerthy
Add smps12 dual regulator for tps65917 Signed-off-by: Keerthy --- drivers/power/regulator/palmas_regulator.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/power/regulator/palmas_regulator.c b/drivers/power/regulator/palmas_regulator.c index

Re: [U-Boot] binman: 'module' object has no attribute 'FinaliseOutputDir'

2017-06-01 Thread Kevin Hilman
On Thu, Jun 1, 2017 at 8:23 AM, Simon Glass wrote: > Hi Kevin, > > On 1 June 2017 at 07:55, Kevin Hilman wrote: >> On Wed, May 31, 2017 at 12:19 PM, Simon Glass wrote: >>> Hi Kevin, >>> >>> On 31 May 2017 at 12:13, Kevin Hilman

Re: [U-Boot] Please pull u-boot-dm (take 4)

2017-06-01 Thread Simon Glass
Hi Tom, On 1 June 2017 at 19:40, Tom Rini wrote: > > On Thu, Jun 01, 2017 at 10:24:21AM -0600, Simon Glass wrote: > > > Hi Tom, > > > > Hopefully this can sneak in before other things. It includes a rebase of > > 'dm: Rename dev_addr..() functions' to fix build errors. > > >

Re: [U-Boot] [PATCH v4 9/9] rockchip: board: puma_rk3399: enable BMP_16BPP, BMP_24BPP and BMP_32BPP

2017-06-01 Thread Simon Glass
On 31 May 2017 at 09:59, Philipp Tomsich wrote: > With video output support for the RK3399-Q7 (Puma) available, we want > CMD_BMP enabled and the support for 16bit, 24bit and 32bit BMPs > defined. > > Signed-off-by: Philipp Tomsich

Re: [U-Boot] [PATCH 1/4] rockchip: dts: rk3399-puma: make the debug serial dm-pre-reloc

2017-06-01 Thread Simon Glass
On 31 May 2017 at 10:17, Philipp Tomsich wrote: > Signed-off-by: Philipp Tomsich > --- > > arch/arm/dts/rk3399-puma.dts | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH 2/2] x86: fsp: Remove the call to set up internal uart in fsp_init()

2017-06-01 Thread Simon Glass
On 1 June 2017 at 04:41, Bin Meng wrote: > First of all, it's inappropriate to call setup_internal_uart() in a > generic API fsp_init(), as CONFIG_INTERNAL_UART is an option that > is only available on BayTrail platform. Secondly even for BayTrail, > there is no need to call

Re: [U-Boot] [PATCH v5 1/5] usb: host: xhci-dwc3: Convert driver to DM

2017-06-01 Thread Simon Glass
On 1 June 2017 at 02:14, wrote: > From: Patrice Chotard > > Add Driver Model support with use of generic DT > compatible string "snps,dwc3" > > Signed-off-by: Patrice Chotard > --- > v5: _ replace dev_get_addr() by

Re: [U-Boot] [PATCH v2 10/10] rockchip: dts: rk3399: control vbus of typec by fixed regulator

2017-06-01 Thread Simon Glass
On 1 June 2017 at 05:26, Meng Dongyang wrote: > Add fixed regulator for the port of typec0 and typec1 to control vbus > instead of gpio. > > Signed-off-by: Meng Dongyang > --- > > Changes in v2: > - New change, add fixed regulator for

Re: [U-Boot] [PATCH 2/6] rockchip: defconfig: puma-rk3399: update defconfig with video-support

2017-06-01 Thread Simon Glass
On 31 May 2017 at 10:18, Philipp Tomsich wrote: > With HDMI output for the RK3399 working, this update the RK3399-Q7 > (Puma) defconfig for the new functionality: > 1. enables PMIC command (to check if the HDMI voltages are correct) >

Re: [U-Boot] [PATCH v7 08/10] ARM: dts: STiH410: set DWC3 dual role mode to peripheral

2017-06-01 Thread Simon Glass
On 1 June 2017 at 06:05, wrote: > From: Patrice Chotard > > On STi 96boards, configure by default the micro USB connector > (managed by DWC3 hardware block) in peripheral mode. > This will allow to use fastboot feature. > > Signed-off-by: Patrice

Re: [U-Boot] [PATCH v2 20/28] rockchip: video: Add remove() methods

2017-06-01 Thread Anatolij Gustschin
On Wed, 31 May 2017 17:57:28 -0600 Simon Glass s...@chromium.org wrote: > Add remove() methods for EDP and VOP so that U-Boot can shut down the > video on exit. This avoids leaving DMA running while booting Linux which > can cause problems if Linux uses the frame buffer for something else. > >

Re: [U-Boot] [PATCH v4 5/9] rockchip: video: add mpixelclock settings from Linux driver

2017-06-01 Thread Simon Glass
On 31 May 2017 at 09:59, Philipp Tomsich wrote: > The Linux driver now supports higher mpixelclock settings. > Add these to rockchip_phy_config[] and rockchip_mpll_cfg[]. > > Signed-off-by: Philipp Tomsich > > --- > >

Re: [U-Boot] [PATCH v4 6/9] rockchip: video: split RK3228-specific part off from rk_hdmi

2017-06-01 Thread Simon Glass
On 31 May 2017 at 09:59, Philipp Tomsich wrote: > To prepare for the addition of RK3399 HDMI support, the HDMI driver is > refactored and broken into a chip-specific and a generic part. This > change adds the internal interfaces, makes common/reusable

Re: [U-Boot] [RFC PATCH 5/5] rockchip: mkimage: use spl_boot0 for all Rockchip SoCs

2017-06-01 Thread Kever Yang
Philipp and Andy, I will remove the "spl_boot0 == false" case in next version. Rockchip ddr.bin is always with pre-paded TAG. Thanks, - Kever On 06/01/2017 03:41 PM, Dr. Philipp Tomsich wrote: On 01 Jun 2017, at 03:11, Andy Yan wrote: Hi Philipp: 2017-05-31 18:58

[U-Boot] [PATCH v2 2/6] moveconfig: Allow reading the defconfig list from stdin

2017-06-01 Thread Simon Glass
Support passes in a defconfig filename of '-' to read the list from stdin instead of from a file. Signed-off-by: Simon Glass --- Changes in v2: None tools/moveconfig.py | 21 ++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH v2 0/6] moveconfig: A few more features

2017-06-01 Thread Simon Glass
This adds a few more features to moveconfig that I have found useful: - Allow 'config/' to appear before the defconfig name - Allow reading the defconfig list form stdin - Support for finding CONFIGs which imply those being moved, to reduce patch sizes Ideally the tool would be able to

Re: [U-Boot] [PATCH 1/4] rockchip: arm64: rk3399: revise timeout-handling for DRAM PHY lock

2017-06-01 Thread Kever Yang
Philipp, On 06/01/2017 12:16 AM, Philipp Tomsich wrote: Revise the loop watching for a timeout on obtaining a DRAM PHY lock to clearly state a timeout in milliseconds and use get_timer (based on the ARMv8 architected timer) to detect a timeout. Signed-off-by: Philipp Tomsich

Re: [U-Boot] [PATCH 1/4] rockchip: arm64: rk3399: revise timeout-handling for DRAM PHY lock

2017-06-01 Thread Simon Glass
On 31 May 2017 at 10:16, Philipp Tomsich wrote: > Revise the loop watching for a timeout on obtaining a DRAM PHY lock to > clearly state a timeout in milliseconds and use get_timer (based on > the ARMv8 architected timer) to detect a timeout. > >

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

2017-06-01 Thread Simon Glass
On 31 May 2017 at 09:59, Philipp Tomsich wrote: > This commit adds a driver for the RK3399 VOPs capable and all the > necessary plumbing to feed the HDMI encoder. For the VOP-big, this > correctly tracks the ability to feed 10bit RGB data to the encoder. > >

Re: [U-Boot] [PATCH v4 1/9] rockchip: video: Kconfig: reformat help for VIDEO_ROCKCHIP

2017-06-01 Thread Simon Glass
On 31 May 2017 at 09:59, Philipp Tomsich wrote: > > For consistency sake (and as we are about to add new options to this > file), reformat the help for VIDEO_ROCKCHIP. > > Signed-off-by: Philipp Tomsich > > --- > >

Re: [U-Boot] [PATCH 5/5] rockchip: Add basic support for evb-rv1108 board

2017-06-01 Thread Simon Glass
On 1 June 2017 at 04:01, Andy Yan wrote: > Add basic support for rv1108 evb, whith this patch we > can boot into u-boot console. > > Signed-off-by: Andy Yan > --- > > arch/arm/dts/Makefile | 3 +- > arch/arm/dts/rv1108-evb.dts

Re: [U-Boot] [PATCH 1/6] rockchip: defconfig: puma-rk3399: enable RK808 support

2017-06-01 Thread Simon Glass
On 31 May 2017 at 10:18, Philipp Tomsich wrote: > On the RK3399-Q7, we need PMIC support (for the RK808) to enable HDMI > output, as one of the required powerrails is not enabled on boot. > For this, we need to enable the RK808 driver. > > Signed-off-by:

Re: [U-Boot] [PATCH 2/4] rockchip: arm64: rk3399: support DDR3-1866 (i.e. 933MHz clock)

2017-06-01 Thread Kever Yang
Philipp, On 06/01/2017 12:16 AM, Philipp Tomsich wrote: The RK3399 is capable of driving DDR3 at 933MHz (i.e. DDR3-1866), if the PCB layout permits and appropriate memory timings are used. This changes the sanity checks to allow a DTS to request DDR3-1866 operation. Signed-off-by: Philipp

Re: [U-Boot] [PATCH v4 3/9] rockchip: video: refactor rk_vop and split RK3328-specific code off

2017-06-01 Thread Simon Glass
On 31 May 2017 at 09:59, Philipp Tomsich wrote: > To prepare for adding the RK3399 VOP driver (which shares most of its > registers and config logic with the RK3228 VOP), this change refactors > the driver and splits the RK3288-specific driver off. > > The

Re: [U-Boot] [PATCH v4 2/9] rockchip: video: Kconfig: set MAX_XRES and MAX_YRES via Kconfig

2017-06-01 Thread Simon Glass
On 31 May 2017 at 09:59, Philipp Tomsich wrote: > This introduces two new Kconfig options that configure the maximum > allowable framebuffer size (i.e. the memory reservation/allocation for > the framebuffer): > - VIDEO_ROCKCHIP_MAX_XRES > -

Re: [U-Boot] [PATCH v2 21/28] rockchip: video: Take the vop device out of standby

2017-06-01 Thread Anatolij Gustschin
On Wed, 31 May 2017 17:57:29 -0600 Simon Glass s...@chromium.org wrote: > On reset the standby bit is clear, but if U-Boot is chain-loaded from > another boot loader it may be set. Clear it before starting up video so > that it works correctly. > > Signed-off-by: Simon Glass

[U-Boot] [PATCH v2 6/6] moveconfig: Support looking for implied CONFIG options

2017-06-01 Thread Simon Glass
Some CONFIG options can be implied by others and this can help to reduce the size of the defconfig files. For example, CONFIG_X86 implies CONFIG_CMD_IRQ, so we can put 'imply CMD_IRQ' under 'config X86' and all x86 boards will have that option, avoiding adding CONFIG_CMD_IRQ to each of the x86

[U-Boot] [PATCH v2 4/6] moveconfig: Add a constant for auto.conf

2017-06-01 Thread Simon Glass
This filename is used a few times. Move it to a constant before adding further uses. Signed-off-by: Simon Glass --- Changes in v2: None tools/moveconfig.py | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/moveconfig.py

Re: [U-Boot] [PATCH v7 04/10] usb: phy: Add STi USB2 PHY

2017-06-01 Thread Simon Glass
On 1 June 2017 at 06:05, wrote: > From: Patrice Chotard > > This is the generic phy driver for the picoPHY ports > used by USB2/1.1 controllers. It is found on STiH407 SoC > family from STMicroelectronics. > > Signed-off-by: Patrice Chotard

Re: [U-Boot] [PATCH v5 04/11] clk: add clk_count()

2017-06-01 Thread Simon Glass
On 1 June 2017 at 05:36, wrote: > From: Patrice Chotard > > Add clk_count() method to be able to get the number > of clocks contained into a clock property. This will allow > to allocate the right amount of memory in order to keep clock >

Re: [U-Boot] [PATCH 4/4] rockchip: dts: rk3399-puma: sync DTS with Linux tree

2017-06-01 Thread Simon Glass
On 31 May 2017 at 10:18, Philipp Tomsich wrote: > The Linux DTS for the RK3399-Q7 has moved with the times... resync > against it to ensure a consistent configuration. > > Signed-off-by: Philipp Tomsich > --- > >

Re: [U-Boot] [PATCH v2 08/10] rk3328: board: add support of dwc2 gadget

2017-06-01 Thread Simon Glass
On 1 June 2017 at 05:25, Meng Dongyang wrote: > Probe dwc2 udc in the function of board_usb_start to enable > usb gadget function. > > Signed-off-by: Meng Dongyang > --- > > Changes in v2: > - Splited from patch [07/08] of v1 > >

Re: [U-Boot] [PATCH v2 04/10] usb: host: xhci-rockchip: add support for rk3328

2017-06-01 Thread Simon Glass
On 1 June 2017 at 05:22, Meng Dongyang wrote: > > Add the compatible "rockchip,rk3328-xhci" in match table > for rk3328 to probe xhci controller. Use fixed regulator > to control the voltage of vbus and turn off vbus when > usb stop. > > Signed-off-by: Meng Dongyang

Re: [U-Boot] [PATCH v5 05/11] clk: add clk_disable_all()

2017-06-01 Thread Simon Glass
On 1 June 2017 at 05:36, wrote: > From: Patrice Chotard > > Add clk_disable_all() method which Request/Disable/Free an > array of clocks that has been previously requested by > clk_request/get_by_*() > > Signed-off-by: Patrice Chotard

Re: [U-Boot] [PATCH 1/5] rockchip: mkimage: Add support for RV1108

2017-06-01 Thread Simon Glass
On 1 June 2017 at 03:58, Andy Yan wrote: > Add support to mkimage for rv1108 soc, the max > spl code size for rv1108 is 6kb, and the spl > code should be packed by rksd, wether boot from > emmc or spi nor flash. > > Signed-off-by: Andy Yan > ---

Re: [U-Boot] [PATCH v5 5/16] cmd: Add Kconfig option for CMD_MTDPARTS and related options

2017-06-01 Thread Jörg Krause
Hi Maxime, On Wed, 2017-05-31 at 21:47 +0200, Maxime Ripard wrote: > On Wed, May 31, 2017 at 08:27:33AM +0200, Jörg Krause wrote: > > Hi Maxime, > > > > On Tue, 2017-05-30 at 23:09 +0200, Maxime Ripard wrote: > > > Hi Jörg, > > > > > > On Tue, May 30, 2017 at 09:39:57AM +0200, Jörg Krause

[U-Boot] [PATCH 2/4] nds32: ftsdc010: Support ftsdc010 DM.

2017-06-01 Thread Andes
From: rick ftsdc010 support device tree flow. Signed-off-by: rick --- drivers/mmc/ftsdc010_mci.c | 139 ++-- drivers/mmc/ftsdc010_mci.h | 53 + 2 files changed, 161 insertions(+), 31

[U-Boot] [PATCH 2/2] arm64: ls1046ardb: Add distro boot support

2017-06-01 Thread Gong Qianyu
Tested on ls1046ardb with automatically boot Ubuntu from SD card or USB disk, if it fails to detect external storage disk, fall back to qspi boot. Signed-off-by: Shengzhou Liu Signed-off-by: Gong Qianyu --- configs/ls1046ardb_qspi_defconfig | 1 +

Re: [U-Boot] [PATCH 4/4] x86: baytrail: Change lpe/lpss-sio/scc FSP properties to integer

2017-06-01 Thread Bin Meng
On Thu, Jun 1, 2017 at 11:12 AM, Simon Glass wrote: > On 31 May 2017 at 02:04, Bin Meng wrote: >> At present lpe/lpss-sio/scc FSP properties are all boolean, but in >> fact for "enable-lpe" it has 3 possible options. This adds macros >> for these options

[U-Boot] [PATCH v2] ARM: zynq: Add support for the topic-miamilite system-on-module

2017-06-01 Thread Mike Looijmans
The topic-miamilite SoM contains a Zynq xc7z010 SoC, 1GB DDR3L RAM, 64MB dual-parallel QSPI NOR flash and clock sources. Signed-off-by: Mike Looijmans --- v2: Move CONFIG_SF_DUAL_FLASH to defconfig arch/arm/dts/Makefile | 1 +

Re: [U-Boot] [PATCH v4 02/11] reset: add reset_count()

2017-06-01 Thread Patrice CHOTARD
Hi Simon On 06/01/2017 05:10 AM, Simon Glass wrote: > Hi Patrice, > > On 24 May 2017 at 07:01, wrote: >> From: Patrice Chotard >> >> Add reset_count() method to be able to get the number >> of resets contained into a resets property. This will

[U-Boot] [PATCH 1/2] arm: Add Kconfig symbols used for Linux asm compatibility

2017-06-01 Thread Phil Edworthy
Rather than change asm files that come from Linux, add the symbols to Kconfig. Since one of the symbols is for thumb2 builds, make CPU_V7M always select them. Signed-off-by: Phil Edworthy --- arch/arm/Kconfig | 10 ++ arch/arm/lib/Makefile | 2 -- 2

[U-Boot] [PATCH v3 2/2] armv7m: Fix larger builds

2017-06-01 Thread Phil Edworthy
The branch instruction only has an 11-bit relative target address, which is sometimes not enough. Signed-off-by: Phil Edworthy --- v3: - Move CONFIG_ARM_ASM_UNIFIED and CONFIG_THUMB2_KERNEL to Kconfig v2: - Use W(b) instead of ldr+mov. Using this macro requires

Re: [U-Boot] [RFC PATCH 5/5] rockchip: mkimage: use spl_boot0 for all Rockchip SoCs

2017-06-01 Thread Dr. Philipp Tomsich
> On 01 Jun 2017, at 03:11, Andy Yan wrote: > > Hi Philipp: > > 2017-05-31 18:58 GMT+08:00 Dr. Philipp Tomsich > : > Now that there are no remaining cases where (spl_boot0 == false), we can > drop the spl_boot0 field from struct

[U-Boot] [PATCH v5 2/5] usb: host: xhci-dwc3: Add dual role mode support from DT

2017-06-01 Thread patrice.chotard
From: Patrice Chotard DWC3 dual role mode is selected using DT "dr_mode" property. If not found, DWC3 controller is configured in HOST mode by default Signed-off-by: Patrice Chotard Reviewed-by: Marek Vasut Reviewed-by: Simon

Re: [U-Boot] [PATCH 1/4] x86: baytrail: Change "fsp, mrc-init-tseg-size" default value to 1

2017-06-01 Thread Bin Meng
On Thu, Jun 1, 2017 at 11:12 AM, Simon Glass wrote: > On 31 May 2017 at 02:04, Bin Meng wrote: >> The default value of "fsp,mrc-init-tseg-size" should be 1 (1MB) per >> FSP default settings. 0 is not valid. >> >> Signed-off-by: Bin Meng

[U-Boot] [PATCH 1/2] armv8: ls1046a: move CONFIG_CMD_USB to defconfig

2017-06-01 Thread Gong Qianyu
Move the macro to defconfig to take effect globally. Signed-off-by: Gong Qianyu --- configs/ls1046aqds_SECURE_BOOT_defconfig| 1 + configs/ls1046aqds_defconfig| 1 + configs/ls1046aqds_lpuart_defconfig | 1 +

Re: [U-Boot] [PATCH 1/3] nds32: mmc: Support ftsdc010 DM.

2017-06-01 Thread rick
Hi Jaehoon Thank you for reviewing! I will modify as your advise . But only the ftsdc010_wait, If I don't modify as that, SD card read will become very slow even like system hang when execute fatload . I trace and find it was slow down in /lib/time.c . Maybe our target platform is only 60Mhz

Re: [U-Boot] [PATCH 1/2] WIP: Disable SCSI on x86

2017-06-01 Thread Bin Meng
Hi Simon, On Wed, May 17, 2017 at 8:42 AM, Bin Meng wrote: > Hi Simon, > > On Sat, May 13, 2017 at 9:11 AM, Simon Glass wrote: >> Hi Bin, >> >> On 8 May 2017 at 01:05, Bin Meng wrote: >>> Hi Simon, >>> >>> On Mon, Apr 10, 2017 at 8:38

Re: [U-Boot] [PATCH v4 0/5] Extend xhci-dwc3

2017-06-01 Thread Patrice CHOTARD
Hi All A v5 has been send and rebase on dm/master to use the last livetree update Patrice On 05/29/2017 09:57 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This series extend xhci-dwc3.c drivers by : > _ converting it to DM model, > _

[U-Boot] [PATCH v5 4/5] drivers: phy: add generic_phy_valid() method

2017-06-01 Thread patrice.chotard
From: Patrice Chotard This allow to check if a PHY has been correctly initialised and avoid to get access to phy struct. Signed-off-by: Patrice Chotard Reviewed-by: Marek Vasut Reviewed-by: Simon Glass --- v5:

[U-Boot] [PATCH v5 5/5] usb: host: xhci-dwc3: Add generic PHY support

2017-06-01 Thread patrice.chotard
From: Patrice Chotard Add support of generic PHY framework support Signed-off-by: Patrice Chotard Reviewed-by: Marek Vasut Reviewed-by: Simon Glass --- v5: _ none v4: _ none v3: _ use

[U-Boot] [PATCH v5 1/5] usb: host: xhci-dwc3: Convert driver to DM

2017-06-01 Thread patrice.chotard
From: Patrice Chotard Add Driver Model support with use of generic DT compatible string "snps,dwc3" Signed-off-by: Patrice Chotard --- v5: _ replace dev_get_addr() by devfdt_get_addr() v4: _ none v3: _ none v2: _ use

Re: [U-Boot] [PATCH 3/4] x86: baytrail: Use macros instead of magic numbers for FSP settings

2017-06-01 Thread Bin Meng
On Thu, Jun 1, 2017 at 11:12 AM, Simon Glass wrote: > On 31 May 2017 at 02:04, Bin Meng wrote: >> Introduce various meaningful macros for FSP settings and switch over >> to use them instead of magic numbers. >> >> Signed-off-by: Bin Meng

Re: [U-Boot] [PATCH 2/4] x86: baytrail: Remove "serial-debug-port-*" settings

2017-06-01 Thread Bin Meng
On Thu, Jun 1, 2017 at 11:12 AM, Simon Glass wrote: > On 31 May 2017 at 02:04, Bin Meng wrote: >> "serial-debug-port-address" and "serial-debug-port-type" settings >> are actually reserved in the FSP UPD data structure. Remove them. >> >> Signed-off-by: Bin

Re: [U-Boot] [PATCH] cmd/fdt: support single value replacement within an array

2017-06-01 Thread Hannes Schmelzer
s...@google.com schrieb am 01.06.2017 05:11:57: > wrote: > > With this commit we can modify single values within an array of a dts > > property. > > > > This is useful if we have for example a pwm-backlight where we want to > > modifiy the pwm frequency per

Re: [U-Boot] [PATCH v4 1/5] usb: host: xhci-dwc3: Convert driver to DM

2017-06-01 Thread Patrice CHOTARD
Hi Simon On 06/01/2017 05:11 AM, Simon Glass wrote: > On 29 May 2017 at 01:57, wrote: >> From: Patrice Chotard >> >> Add Driver Model support with use of generic DT >> compatible string "snps,dwc3" >> >> Signed-off-by: Patrice Chotard

Re: [U-Boot] [PATCH v4 04/11] clk: add clk_count()

2017-06-01 Thread Patrice CHOTARD
Hi Simon On 06/01/2017 05:10 AM, Simon Glass wrote: > Hi Patrice, > > On 24 May 2017 at 07:01, wrote: >> From: Patrice Chotard >> >> Add clk_count() method to be able to get the number >> of clocks contained into a clock property. This will

[U-Boot] [PATCH 1/4] nds32: mmc: Support ftsdc010 DM.

2017-06-01 Thread Andes
From: rick Add nds32_mmc to support ftsdc010 dm flow. Signed-off-by: rick --- drivers/mmc/Kconfig | 12 + drivers/mmc/Makefile|1 + drivers/mmc/nds32_mmc.c | 136 +++ 3 files changed, 149

[U-Boot] [PATCH 3/4] nds32: dts: Support ftsdc010 DM.

2017-06-01 Thread Andes
From: rick Add dts to support ftsdc010 dm flow on AG101P/AE3XX platform. Signed-off-by: rick --- arch/nds32/dts/ae3xx.dts |8 arch/nds32/dts/ag101p.dts |8 2 files changed, 16 insertions(+) diff --git

[U-Boot] [PATCH 4/4] nds32: board: Support ftsdc010 DM.

2017-06-01 Thread Andes
From: rick AG101P/AE3XX enable ftsdc010 dm flow. Signed-off-by: rick --- board/AndesTech/adp-ag101p/adp-ag101p.c |2 ++ configs/adp-ae3xx_defconfig |3 +++ configs/adp-ag101p_defconfig|3 +++

Re: [U-Boot] [PATCH] ARM: zynq: Add support for the topic-miamilite system-on-module

2017-06-01 Thread Michal Simek
On 1.6.2017 10:12, Mike Looijmans wrote: > On 29-05-17 17:34, Michal Simek wrote: >> On 29.5.2017 15:41, Mike Looijmans wrote: >>> The topic-miamilite SoM contains a Zynq xc7z010 SoC, 1GB DDR3L RAM, >>> 64MB dual-parallel QSPI NOR flash and clock sources. >>> >>> Signed-off-by: Mike Looijmans

[U-Boot] [PATCH v5 3/5] drivers: phy: Set phy->dev to NULL when generic_phy_get_by_index() fails

2017-06-01 Thread patrice.chotard
From: Patrice Chotard phy->dev need to be set to NULL in case of generic_phy_get_by_index() fails. Then phy->dev can be used to check if the phy is valid Reported-by: Jean-Jacques Hiblot Signed-off-by: Patrice Chotard

Re: [U-Boot] [PATCH v2 4/4] sunxi: video: Add H3/H5 TV out driver

2017-06-01 Thread Maxime Ripard
On Wed, May 31, 2017 at 09:11:15PM -0600, Simon Glass wrote: > Hi Maxime, > > On 30 May 2017 at 14:41, Maxime Ripard > wrote: > > On Wed, May 24, 2017 at 05:34:52PM +0200, Jernej Škrabec wrote: > >> Hi, > >> > >> Dne torek, 23. maj 2017 ob 22:22:14 CEST je

  1   2   >