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

2017-06-01 Thread Bin Meng
On Fri, Jun 2, 2017 at 10:56 AM, Simon Glass wrote: > 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 B

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

2017-06-01 Thread Bin Meng
On Fri, Jun 2, 2017 at 10:55 AM, Simon Glass wrote: > 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 ha

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 > --- > > Changes i

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. > > It

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 Glass

[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 399f7a5..841c03a 10

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

[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

[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 | 12 +++ 4 files

[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 b/drivers/video/atmel_hlcdfb.c inde

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, not the MMC device. But f

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 patch

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 > --- > > arch/arm/mach-rockchip/

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 was tested on Nyan. I'd be grateful for any Tegra

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 Tom

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 > --- > v5: _ none > v4: _ add clk_disable_all() met

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 > --- > > Changes in v2: > - U

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 > --- > > tools/rkcommon.c | 1 + > 1 file changed, 1 in

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 > Reviewed-by: Marek Vasut > --- > v7: _ replace

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 > > board/rockchip/evb_rk3328/evb-rk3328.c | 43 > +++

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 > reference. These clock reference can be used later on err

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 > --- > > arch/arm/dts/rk3399-puma.dts | 540 > +++ >

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 > --- > > Changes in v2: None > > configs/puma-rk3399_defconfig |

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 Brodkin > Cc: Simon Glass > ---

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 SoC needs to be conf

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 | 10 + > drivers/pinctrl/rockchip/Ma

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 > > arch/arm/dts/stih410.dtsi | 11 +++ > 1 file changed, 7 inser

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) > +CONFIG_CMD_PMIC=y > +CONFIG_CMD_REGULATOR=y > 2. e

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 Chotard > --- > > v7: _ none > > arch/arm/d

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 rk3399 > > arch/arm/dts/rk3399-evb.dts | 16 ++--

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 setup_internal_uart()

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 devfdt_get_addr() > v4: _ none > v3: _ none > v2: _ use dev_get_

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 > reference. These resets reference can be used later o

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 v1 > > drivers/usb/host/dwc2.c | 9 - > drivers

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 | 1 + > drivers/clk/rockchip/Makefile

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 not possible. For this reason, we can no

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 > > arch/arm/dts/rk3328-evb.dts | 14 ++ > arch/arm/

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 for reset. >>> >>> Signed-off-by: Michal Simek >>> -

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: Philipp Tomsich > > Version-changes: 3 > -

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| 54 > arch/arm/dts/rv1108.dtsi

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 defconfig. > > Signed-off-by: Philipp Tomsich

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 > > configs/puma-rk3399_defconfig | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Simon Glass ___

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 ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.d

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 > > Version-changes: 2 > - enable SYS_WHITE_ON_BLACK via defconfi

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 > --- > > arch/arm/dts/rk3399-sdram-ddr3-

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 needed for this signal anyway), but a nega

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 > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > arch/arm/dts/rk3

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) and > a common portion (rk_hdmi.c). > >

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 > --- > > arch/arm/dts/rk3399-puma.dts | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Reviewed-by: Simon

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 > operation. > > Signed-off-by: Philipp To

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 available with DDR3-1333 (for a further cos

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 > > --- > > Changes in v4: > - new patch (split off from the earlier RK3399 HDMI encoder ch

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 functions > externally visible and splits the

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 changes in detail are: > - introduces a d

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 > - VIDEO_ROCKCHIP_MAX_YRES > The resulting memory allocat

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. > > Signed-off-by: Philipp Tomsich > > ---

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 > > --- > > Changes in v4: > - added to break down into smaller changes > > Changes in v3: Non

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. > > Signed-off-by: Philipp Tomsich > --- > > arch/arm

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 Reviewed-by: Ke

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. > > > > > > buildman -b dm-

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

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. > Summ

[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 b/tools/moveconfig.py index 96463fe2e3.

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

[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 'header' tools/moveconf

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

[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 a/tools/moveconfig.py b/tools/moveco

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

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 GMT+08:00 Dr. Philipp Toms

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 wrote: While trying to build v2017.05 for sun5i-r8-chip (CHIP_

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 9:11 AM, Simon Glass wrote: >> >> Hi Bin, >> >> >> >> On 8

Re: [U-Boot] [PATCH v2 5/6] rename GPT partitions to detect boot failure

2017-06-01 Thread Lukasz Majewski
Hi Alison, > Lukasz Majewski wrote: > > > Maybe it would be better to have > > > > gpt flip mmc 0 > > > > (By default we have "primary" and "backup") > > > > In that way we could set other names to GPT partitions without the > > need to modify the code. > > I answered: > > >> Another possi

[U-Boot] [PATCH] imx6_spl: Add u-boot-dtb.img for SPL payload

2017-06-01 Thread Jagan Teki
From: Jagan Teki Add u-boot-dtb.img for SPL_FS_LOAD_PAYLOAD_NAME when OF_CONTROL used. Signed-off-by: Jagan Teki --- include/configs/imx6_spl.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/configs/imx6_spl.h b/include/configs/imx6_spl.h index 4598d27..2d7aa4

[U-Boot] [PATCH v2 4/5] armv8: ls1046a: Enable spl_board_init() function

2017-06-01 Thread York Sun
CONFIG_SPL_BOARD_INIT is used for SPL boot. It is only enabled for secure boot at this moment. Enable it in defconfig files for SPL build. Signed-off-by: York Sun --- Change log v2: CONFIG_SPL_BOARD_INIT has been converted to Kconfig by 0680f1b1f. Adjust this patch accordingly. configs/ls

Re: [U-Boot] TPM2.0 support in u-boot

2017-06-01 Thread Brüns , Stefan
On Montag, 29. Mai 2017 10:28:38 CEST peter.hu...@infineon.com wrote: > Hi, > > I was wondering if anyone is currently working on u-boot support for TPM2.0 > chips, especially the "native" spi versions. (i.e. direct access to the tpm > via spi, not via something like the pch) Having support for TP

Re: [U-Boot] [PATCH v3 1/2] drivers: net: fsl-mc: Link MC boot to PHY_RESET_R

2017-06-01 Thread york sun
On 05/24/2017 09:40 AM, Bogdan Purcareata wrote: > DPAA2 platforms boot the Management Complex based on the u-boot env > variable "mcinitcmd". Instead of doing this step on each platform > individually, define a single mc_env_boot function in the MC driver, > since it's semantically tied to it. >

Re: [U-Boot] [PATCH 2/2] mx6cuboxi: Add support for sata

2017-06-01 Thread Fabio Estevam
On Tue, May 16, 2017 at 2:50 AM, Jonathan Gray wrote: > Comment was intended to be mx6d/mx6q? > > Though the test here may not be needed as setup_sata() returns early if > not available. And mx6cuboxi.c wouldn't need to be updated here if a > i.MX 6DualPlus or i.MX 6QuadPlus board from SolidRun

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

2017-06-01 Thread Simon Glass
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. Summary of 2 commits for 1265 boards (32 threads, 1 job per thread) 01: Merge branch

Re: [U-Boot] [PATCH v2 4/7] SPL: Add XIP booting support

2017-06-01 Thread Alexandru Gagniuc
On 05/28/2017 12:55 PM, Vikas Manocha wrote: Enable support for XIP (execute in place) of U-Boot or kernel image. There is no need to copy image from flash to ram if flash supports execute in place. Signed-off-by: Vikas Manocha --- Changed in v2: - removed v7m thumb mode for entry point, added

Re: [U-Boot] [PATCH 2/2] mx6cuboxi: Add support for sata

2017-06-01 Thread Fabio Estevam
On Mon, May 15, 2017 at 2:24 PM, Peter Robinson wrote: > The Cubox-i and Hummingboard series of devices have an option of > SATA on board, and depending on how the fuses are blown even the > option to boot SPL from SATA. So enable support for it so it can > be used to boot the OS from if people de

Re: [U-Boot] [PATCH] arm: sunxi: initial support for NanoPi Neo2

2017-06-01 Thread Tom Rini
On Thu, Jun 01, 2017 at 05:59:35PM +0200, Patrick Wildt wrote: > On Thu, Jun 01, 2017 at 11:57:48AM -0400, Tom Rini wrote: > > On Thu, Jun 01, 2017 at 05:56:09PM +0200, Patrick Wildt wrote: > > > On Thu, Jun 01, 2017 at 08:27:02PM +0530, Jagan Teki wrote: > > > > On Thu, Jun 1, 2017 at 8:23 PM, And

[U-Boot] [PATCH] mx6sabresd: Fix guard file symbol

2017-06-01 Thread Fabio Estevam
Remove the "Q" from the file guard symbol, so that it matches the file name. Signed-off-by: Fabio Estevam --- include/configs/mx6sabresd.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h index a8c0e03..3eba70a

Re: [U-Boot] [PATCH] arm: sunxi: initial support for NanoPi Neo2

2017-06-01 Thread Patrick Wildt
On Thu, Jun 01, 2017 at 11:57:48AM -0400, Tom Rini wrote: > On Thu, Jun 01, 2017 at 05:56:09PM +0200, Patrick Wildt wrote: > > On Thu, Jun 01, 2017 at 08:27:02PM +0530, Jagan Teki wrote: > > > On Thu, Jun 1, 2017 at 8:23 PM, Andreas Färber wrote: > > > > Am 01.06.2017 um 16:04 schrieb Patrick Wild

Re: [U-Boot] [PATCH] arm: sunxi: initial support for NanoPi Neo2

2017-06-01 Thread Tom Rini
On Thu, Jun 01, 2017 at 05:56:09PM +0200, Patrick Wildt wrote: > On Thu, Jun 01, 2017 at 08:27:02PM +0530, Jagan Teki wrote: > > On Thu, Jun 1, 2017 at 8:23 PM, Andreas Färber wrote: > > > Am 01.06.2017 um 16:04 schrieb Patrick Wildt: > > >> What's holding us up from using the Linux device trees w

Re: [U-Boot] [PATCH] arm: sunxi: initial support for NanoPi Neo2

2017-06-01 Thread Patrick Wildt
On Thu, Jun 01, 2017 at 08:27:02PM +0530, Jagan Teki wrote: > On Thu, Jun 1, 2017 at 8:23 PM, Andreas Färber wrote: > > Am 01.06.2017 um 16:04 schrieb Patrick Wildt: > >> What's holding us up from using the Linux device trees without any > >> changes? This diff I attach inline copies all a64, h3

[U-Boot] [PATCH v2] sun50i: h5: Add initial Orangepi Prime support

2017-06-01 Thread Jagan Teki
From: Jagan Teki Orangepi Prime is an open-source single-board computer using the Allwinner h5 SOC. H5 Orangepi Prime has - Quad-core Cortex-A53 - 2GB DDR3 - Debug TTL UART - 1000M/100M Ethernet RJ45 - Three USB 2.0 - HDMI - Audio and MIC - Wifi + BT - IR receiver - HDMI - Wifi + BT Boot from M

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

2017-06-01 Thread Simon Glass
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 wrote: >>> While trying to build v2017.05 for sun5i-r8-chip (CHIP_defconfig), I get >>> the following build error. I'm not fami

Re: [U-Boot] [PATCH v2 5/6] rename GPT partitions to detect boot failure

2017-06-01 Thread Chaiken, Alison
Lukasz Majewski wrote: > Maybe it would be better to have > > gpt flip mmc 0 > > (By default we have "primary" and "backup") > > In that way we could set other names to GPT partitions without the > need to modify the code. I answered: >> Another possibility is to support >> >> gpt flip mmc

Re: [U-Boot] [PATCH] arm: sunxi: initial support for NanoPi Neo2

2017-06-01 Thread Jagan Teki
On Thu, Jun 1, 2017 at 8:23 PM, Andreas Färber wrote: > Am 01.06.2017 um 16:04 schrieb Patrick Wildt: >> What's holding us up from using the Linux device trees without any >> changes? This diff I attach inline copies all a64, h3 and h5 related >> files from v4.12-rc3 (so, mainline) and modifies t

Re: [U-Boot] [PATCH] arm: sunxi: initial support for NanoPi Neo2

2017-06-01 Thread Andreas Färber
Am 01.06.2017 um 16:04 schrieb Patrick Wildt: > What's holding us up from using the Linux device trees without any > changes? This diff I attach inline copies all a64, h3 and h5 related > files from v4.12-rc3 (so, mainline) and modifies the emac driver to > use the new pinmux attributes. Andre or

[U-Boot] [PATCH] fs: fat: add kbuild configuration support

2017-06-01 Thread Sekhar Nori
Add Kconfig symbols for various configurations supported by FAT filesystem support code. CONFIG_SUPPORT_VFAT has been left out since its force enabled in include/fat.h and probably should get removed at some point. Signed-off-by: Sekhar Nori --- fs/fat/Kconfig | 24 1 f

[U-Boot] [PATCH] axs10x: Move environment from I2C EEPROM to SD-card

2017-06-01 Thread Alexey Brodkin
With deprecation of I2C EEPROM we we left without a permamnent storage for U-Boot environment, but luckily we may simply use SD-card with FAT partition for that. Having environment on SD-card is much more convenient as it allows us to preserve all the settings when moving from one board to another

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

2017-06-01 Thread Alexey Brodkin
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 Brodkin Cc: Simon Glass --- configs/axs101_defconfig | 1 - configs/axs103_defconfig |

Re: [U-Boot] [PATCH] arm: sunxi: initial support for NanoPi Neo2

2017-06-01 Thread Patrick Wildt
On Thu, Jun 01, 2017 at 08:57:26AM -0400, Tom Rini wrote: > On Thu, Jun 01, 2017 at 02:45:03PM +0200, Patrick Wildt wrote: > > On Wed, May 24, 2017 at 01:44:26PM +0100, Andre Przywara wrote: > > > Hi, > > > > > > On 24/05/17 12:50, Andreas Färber wrote: > > > > Hej Patrick, > > > > > > > > Am 09.

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

2017-06-01 Thread Kevin Hilman
On Wed, May 31, 2017 at 12:19 PM, Simon Glass wrote: > Hi Kevin, > > On 31 May 2017 at 12:13, Kevin Hilman wrote: >> While trying to build v2017.05 for sun5i-r8-chip (CHIP_defconfig), I get >> the following build error. I'm not familiar with binman, so not sure >> what I should be looking for. >

Re: [U-Boot] [PATCH 00/12] tegra: nyan-big: Support chainloading and add documentation

2017-06-01 Thread Matthew Gorski
On Wed, May 31, 2017 at 2:28 PM, Matthew Gorski wrote: > > > On Mon, May 22, 2017 at 7:17 AM, Simon Glass wrote: > >> Every now and then someone wants to chain-load U-Boot on a Chromebook. >> The procedure is not very complicated but there are some oddities. >> >> This series updates a few thing

[U-Boot] Pull Request: u-boot-sunxi/master

2017-06-01 Thread Jagan Teki
Hi Tom, Please take this PR. thanks, Jagan. The following changes since commit 4c78028737c3185f49f5691183aeac3478b5f699: mksunxi_fit_atf.sh: Allow for this to complete when bl31.bin is missing (2017-05-22 20:18:01 -0400) are available in the git repository at: git://git.denx.de/u-boot-su

Re: [U-Boot] [PATCH] buildman: Translate more strings to latin-1

2017-06-01 Thread Simon Glass
Hi Daniel, On 31 May 2017 at 07:40, Daniel Schwierzeck wrote: > This is a follow-up patch for commit fbeb33752999e7317113199ef89873d6b6916814. > > This fixes following exception: > > Exception in thread Thread-7: > Traceback (most recent call last): > File "/usr/lib/python2.7/threading.py", lin

  1   2   >