Re: [U-Boot] [PATCH 4/5] spi: designware_spi: Some fixes / changes

2014-11-16 Thread Pavel Machek
On Sun 2014-11-16 12:47:01, Stefan Roese wrote: > As suggested by Pavel, here some fixes to the designware SPI driver: > > - Spelling fixes > - Comment for timeout added > - Removed n_bytes completely (bits_per_word is enough for this) > - Unput clock now not defined via macro. The function to >

Re: [U-Boot] [PATCH 5/5] arm: socfpga: DW_SPI: Remove clock info from config header

2014-11-16 Thread Pavel Machek
On Sun 2014-11-16 12:47:02, Stefan Roese wrote: > Remove the now unnecessary clocking info from the SoCFPGA > config header. As this info in now used directly in the SPI driver > itself. > > Signed-off-by: Stefan Roese > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Vince Bridgers > Cc: Marek Vas

Re: [U-Boot] [PATCH 3/5] arm: socfpga: Add missing DW master SPI clock prototyp to clock_manager.h

2014-11-16 Thread Pavel Machek
On Sun 2014-11-16 12:47:00, Stefan Roese wrote: > Signed-off-by: Stefan Roese > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Vince Bridgers > Cc: Marek Vasut Acked-by: Pavel Machek > --- > arch/arm/include/asm/arch-socfpga/clock_manager.h | 1 + > 1 file changed, 1 insertion(+) > > diff --g

Re: [U-Boot] [PATCH 1/5] arm: socfpga: dts: altr, rst-mgr.h: Move to SPDX license identifiers

2014-11-16 Thread Pavel Machek
On Sun 2014-11-16 12:46:58, Stefan Roese wrote: > Signed-off-by: Stefan Roese > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Vince Bridgers > Cc: Marek Vasut Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/

Re: [U-Boot] [PATCH 2/5] arm: socfpga: Use only one clrbits_le32 call to deassert SPI reset bits

2014-11-16 Thread Pavel Machek
On Sun 2014-11-16 12:46:59, Stefan Roese wrote: > As suggested by Pavel, lets combine the two calls into one. > > Signed-off-by: Stefan Roese > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Vince Bridgers > Cc: Marek Vasut Acked-by: Pavel Machek > --- > arch/arm/cpu/armv7/socfpga/reset_manag

Re: [U-Boot] [PATCH v8 1/3] exynos5: fix GPIO information of exynos5420

2014-11-16 Thread Simon Glass
Hi Hyungwon, On 14 November 2014 06:25, Hyungwon Hwang wrote: > This patch fixes wrong GPIO information such as GPIO bank, table which > is used to convert GPIO name to index, bank base address, and etc. > > Signed-off-by: Hyungwon Hwang > Tested-by: Lukasz Majewski > Acked-by: Lukasz Majewski

Re: [U-Boot] [PATCH] ot1200: fix card detect for usdhc4

2014-11-16 Thread Christian Gmeiner
Hi Stefano 2014-11-13 16:34 GMT+01:00 Stefano Babic : > On 11/11/2014 12:57, Christian Gmeiner wrote: >> Today I got the final board and found out that a different >> connector is used as the one on my development board. The >> new connector has swaped pins for cd and wp. >> >> This change is tes

Re: [U-Boot] [PATCH] get_maintainer.pl: fix source tree detection

2014-11-16 Thread Simon Glass
On 16 November 2014 19:30, Daniel Schwierzeck wrote: > get_maintainer.pl always fails with following message: > ./scripts/get_maintainer.pl: The current directory does not appear to be a > linux kernel source tree. > > This was caused by commit: > > commit 548b310c68ac99a0330d8b56c797c09ff0742d1e

Re: [U-Boot] Booting non devicetree enabled kernels using u-boot build with CONFIG_OF_LIBFDT ?

2014-11-16 Thread Simon Glass
Hi Hans, On 16 November 2014 19:41, Hans de Goede wrote: > Hi, > > On 11/13/2014 07:38 PM, Hans de Goede wrote: >> Hi, >> >> On 11/13/2014 07:34 PM, Tom Rini wrote: >>> On Thu, Nov 13, 2014 at 07:08:59PM +0100, Hans de Goede wrote: Hi all, So as you know I've been working on gettin

[U-Boot] sunxi: CPU disabling (was: Re: ARM: flush_dcache_all for PSCI)

2014-11-16 Thread Jan Kiszka
On 2014-11-10 14:10, Marc Zyngier wrote: > On 10/11/14 12:57, Jan Kiszka wrote: >> Hi all, >> >> I'm trying to get Marc's CPU hotplug-anabling patch [1] for sunxi >> working on a B-Pi. After the first discussion it became clear that we >> need something like flush_dcache_all in the PSCI monitor (I

Re: [U-Boot] [PATCH 1/3 v2] blackfin: rename bfin-twi_i2c driver to adi_i2c

2014-11-16 Thread Sonic Zhang
Hi Keiko, On Mon, Nov 17, 2014 at 2:50 PM, Heiko Schocher wrote: > Hello Sonic Zhang, > > Am 13.11.2014 08:30, schrieb Scott Jiang: > >> Signed-off-by: Scott Jiang >> --- >> drivers/i2c/Makefile |2 +- >> drivers/i2c/{bfin-twi_i2c.c => adi_i2c.c} |7 +++ >> i

Re: [U-Boot] [RFC] dm: tegra: boot time regression

2014-11-16 Thread Simon Glass
Hi, On 21 October 2014 17:19, Simon Glass wrote: > Hi Marcel, > > On 21 October 2014 08:37, Marcel Ziswiler wrote: >> Migrating our BSPs towards mainline U-Boot I noticed it suddenly booting >> slower. With mainline Linux I noticed about a 1 to 2 second increase >> while booting downstream L4T t

Re: [U-Boot] [PATCH v2 0/17] dm: Add I2C support and convert sandbox, tegra

2014-11-16 Thread Simon Glass
Hi Heiko, On 17 November 2014 06:42, Heiko Schocher wrote: > > Hello Simon, > > Am 11.11.2014 18:46, schrieb Simon Glass: > >> This series adds I2C support to driver model. It has become apparent that >> this is a high priority as it is widely used. It follows along to some >> extent from the SPI

Re: [U-Boot] [PATCH 1/3 v2] blackfin: rename bfin-twi_i2c driver to adi_i2c

2014-11-16 Thread Heiko Schocher
Hello Sonic Zhang, Am 13.11.2014 08:30, schrieb Scott Jiang: Signed-off-by: Scott Jiang --- drivers/i2c/Makefile |2 +- drivers/i2c/{bfin-twi_i2c.c => adi_i2c.c} |7 +++ include/configs/bct-brettl2.h |2 +- include/configs/bf518f-ezbrd.h

Re: [U-Boot] [PATCH v2 0/17] dm: Add I2C support and convert sandbox, tegra

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: This series adds I2C support to driver model. It has become apparent that this is a high priority as it is widely used. It follows along to some extent from the SPI conversion. Several changes are made from the original I2C implementations.

Re: [U-Boot] [PATCH v2 16/17] dm: i2c: Add tests for I2C

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: Add some basic tests to check that the system works as expected. Signed-off-by: Simon Glass --- Changes in v2: - Add a test for automatic binding of generic I2C devices - Add a new asm/test.h header for tests in sandbox arch/sandbox/in

Re: [U-Boot] [PATCH v2 17/17] dm: i2c: tegra: Convert to driver model

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: This converts all Tegra boards over to use driver model for I2C. The driver is adjusted to use driver model and the following obsolete CONFIGs are removed: - CONFIG_SYS_I2C_INIT_BOARD - CONFIG_I2C_MULTI_BUS - CONFIG_SYS_MAX_I2C_

Re: [U-Boot] [PATCH v2 13/17] dm: i2c: config: Enable I2C for sandbox using driver model

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: Enable the options to bring up I2C on sandbox. Also enable all the available I2C commands for testing purposes. Signed-off-by: Simon Glass --- Changes in v2: None include/configs/sandbox.h | 6 ++ 1 file changed, 6 insertions(+)

Re: [U-Boot] [PATCH v2 15/17] dm: Add a simple EEPROM driver

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: There seem to be a few EEPROM drivers around - perhaps we should have a single standard one? This simple driver is used for sandbox testing, but could be pressed into more active service. Signed-off-by: Simon Glass --- Changes in v2: - Up

Re: [U-Boot] [PATCH v2 14/17] dm: i2c: dts: Add an I2C bus for sandbox

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: Add an I2C bus to the device tree, with an EEPROM emulator attached to one of the addresses. Signed-off-by: Simon Glass --- Changes in v2: None arch/sandbox/dts/sandbox.dts | 17 + 1 file changed, 17 insertions(+) Ac

Re: [U-Boot] [PATCH v2 12/17] dm: i2c: Add an I2C EEPROM simulator

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: To enable testing of I2C, add a simple I2C EEPROM simulator for sandbox. It supports reading and writing from a small data store. Signed-off-by: Simon Glass --- Changes in v2: None drivers/misc/Makefile | 3 ++ drivers/misc

Re: [U-Boot] [PATCH v2 10/17] dm: i2c: Add I2C emulation driver for sandbox

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: In order to test I2C we need some sort of emulation interface. Add hooks to allow a driver to emulate an I2C device for sandbox. Signed-off-by: Simon Glass --- Changes in v2: None drivers/i2c/Makefile | 1 + drivers/i2c/i2c-

Re: [U-Boot] [PATCH v2 09/17] dm: i2c: Implement driver model support in the i2c command

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: The concept of a 'current bus' is now implemented in the command line rather than in the uclass. Also the address length does not need to be specified with each command - really we should consider dropping this from most commands but it work

Re: [U-Boot] [PATCH v2 11/17] dm: i2c: Add a sandbox I2C driver

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: This driver includes some test features such as only supporting certain bus speeds. It passes its I2C traffic through to an emulator. Signed-off-by: Simon Glass --- Changes in v2: None drivers/i2c/Makefile | 2 +- drivers/i2c/s

Re: [U-Boot] [PATCH v2 08/17] dm: i2c: Add a uclass for I2C

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: The uclass implements the same operations as the current I2C framework but makes some changes to make it fit driver model better: - Remove the chip address from API calls - Remove the address length from API calls - Remove concept of 'curre

Re: [U-Boot] putc

2014-11-16 Thread Simon Glass
+U-Boot list Hi Martin, On 16 November 2014 23:32, Martin Dorwig wrote: > Hello, Simon, > i startend working on a solution for the jumptable. > Please give me some time to work it out. > i will replace the current pointer array with a struct that contains typed > function pointers as you already

Re: [U-Boot] [PATCH v2 07/17] dm: spi: Use device_bind_driver() instead of our own function

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: The SPI function does the same thing, so we may as well just use the new generic function. The 'cs' parameter was not actually used, so can be dropped. Signed-off-by: Simon Glass --- Changes in v2: - Add new patches to adjust SPI to use d

Re: [U-Boot] [PATCH v2 04/17] dm: fdt: Correct handling of aliases with embedded digits

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: Since we scan from left to right looking for the first digit, "i2c0" returns 2 instead of 0 for the alias number. Adjust the code to scan from right to left instead. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to correct

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-16 Thread Simon Glass
Hi Albert, On 16 November 2014 07:50, Albert ARIBAUD wrote: > Hello Simon, > > On Sat, 15 Nov 2014 15:10:47 -0700, Simon Glass > wrote: >> Hi Albert, >> >> On 15 November 2014 05:30, Albert ARIBAUD wrote: >> > Hello Simon, >> > >> > On Fri, 14 Nov 2014 18:56:07 -0700, Simon Glass >> > wrote: >

Re: [U-Boot] [PATCH v2 05/17] dm: Add a function to bind a device by driver name

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: In some cases we need to manually bind a device to a particular driver. Add a function to do this. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to add a function to bind a device by driver name drivers/core/lists.c | 2

Re: [U-Boot] [PATCH v2 06/17] dm: spi: Correct handling of SPI chip selects in sandbox

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: This code was not updated when the chip select handling was adjusted. Fix it to call the correct function. Signed-off-by: Simon Glass --- Changes in v2: None drivers/mtd/spi/sandbox.c | 2 +- drivers/spi/spi-uclass.c | 11 +-

Re: [U-Boot] [PATCH v2 02/17] dm: core: Allow access to the device's driver_id data

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: When the device is created from a device tree node, it matches a compatible string. Allow access to that string and the associated data. Signed-off-by: Simon Glass --- Changes in v2: None drivers/core/device.c | 5 + drivers/core

Re: [U-Boot] [PATCH v2 03/17] dm: core: Add functions to find parent and OF data

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: Add dev_get_parent() as a convenience to obtain the parent of a device. Signed-off-by: Simon Glass --- Changes in v2: None drivers/core/device.c | 5 + include/dm/device.h | 8 2 files changed, 13 insertions(+) Acked

Re: [U-Boot] [PATCH v2 01/17] dm: i2c: Move error reporting into a common function

2014-11-16 Thread Heiko Schocher
Hello Simon, Am 11.11.2014 18:46, schrieb Simon Glass: Factor out the common code to make it easier to adjust it. Signed-off-by: Simon Glass --- Changes in v2: - Add a suitable commit message common/cmd_i2c.c | 32 ++-- 1 file changed, 22 insertions(+), 10 dele

Re: [U-Boot] [PATCH 2/7] common/board_f: fix gcc warning on MIPS64

2014-11-16 Thread Simon Glass
Hi Daniel, On 15 November 2014 22:46, Daniel Schwierzeck wrote: > This fixes following warning when compiled with MIPS64 > > common/board_f.c: In function 'display_text_info': > common/board_f.c:150:2: warning: format '%X' expects argument i > of type 'unsigned int', but argument 2 has type 'lo

Re: [U-Boot] [PATCH 1/7] common/board_f: add setup of initial stack frame for MIPS

2014-11-16 Thread Simon Glass
Hi Daniel, On 15 November 2014 22:46, Daniel Schwierzeck wrote: > The MIPS specific setup of the initial stack frame was not > ported to generic board_f. > > Signed-off-by: Daniel Schwierzeck > > --- > > common/board_f.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --

Re: [U-Boot] [PATCH] ubi: reset relevant globals in ubi_exit()

2014-11-16 Thread Heiko Schocher
Hello Andrew, Am 14.11.2014 14:31, schrieb Andrew Ruder: On 11/14/2014 12:20 AM, Heiko Schocher wrote: Good catch, but wondering, why this not poped up in my tests, as I did such a test ... Are you on 2014.10? I don't think this issue existed on the 2014.07-rc3 I was using earlier. Yes, I

Re: [U-Boot] [PATCH v2 04/17] dm: fdt: Correct handling of aliases with embedded digits

2014-11-16 Thread Simon Glass
Hi Tom, On 17 November 2014 00:46, Tom Rini wrote: > > On Tue, Nov 11, 2014 at 10:46:20AM -0700, Simon Glass wrote: > > > Since we scan from left to right looking for the first digit, "i2c0" returns > > 2 instead of 0 for the alias number. Adjust the code to scan from right to > > left instead. >

[U-Boot] Pull request: u-boot-sh/master

2014-11-16 Thread Nobuhiro Iwamatsu
Dear Tom Rini. Please pull u-boot-sh master branch. The following changes since commit 11ada9225a16ed2d8ddbf0715a2416245a777cbc: Merge branch 'rmobile' of git://www.denx.de/git/u-boot-sh (2014-11-05 13:11:18 -0500) are available in the git repository at: git://git.denx.de/u-boot-sh.git mas

[U-Boot] Pull request: u-boot-sh/rmobile

2014-11-16 Thread Nobuhiro Iwamatsu
Dear Tom Rini. Please pull u-boot-sh rmobile branch. The following changes since commit 11ada9225a16ed2d8ddbf0715a2416245a777cbc: Merge branch 'rmobile' of git://www.denx.de/git/u-boot-sh (2014-11-05 13:11:18 -0500) are available in the git repository at: git://git.denx.de/u-boot-sh.git r

[U-Boot] [PATCH] sh: Move SH_32BIT to Kconfig

2014-11-16 Thread Nobuhiro Iwamatsu
This moves SH_32BIT to Kconfig, and removes SH_32BIT from config files. Signed-off-by: Nobuhiro Iwamatsu --- arch/sh/Kconfig | 9 + configs/sh7752evb_defconfig | 1 + configs/sh7753evb_defconfig | 1 + configs/sh7757lcr_defconfig | 1 + configs/sh7785l

[U-Boot] [PATCH 1/2] arm: rmobile: configs: Collect up common part of config for R-Car SoCs

2014-11-16 Thread Nobuhiro Iwamatsu
The lager, koelsch, alt, gose board supported in rmobile is distinguished as the R-Car Gen2 series and has much common setting. This collect up the common part of config as rcar-gen2-common.h. Signed-off-by: Nobuhiro Iwamatsu --- include/configs/rcar-gen2-common.h | 95 ++

[U-Boot] [PATCH 2/2] arm: rmobile: replacement of common parts of config by rcar-gen2-common.h

2014-11-16 Thread Nobuhiro Iwamatsu
Common part of config for lager, koelsch, alt and gose board will be able to replace rcar-gen2-common.h. Signed-off-by: Nobuhiro Iwamatsu --- include/configs/alt.h | 92 ++ include/configs/gose.h| 93 ++ in

[U-Boot] [PATCH 4/4] arm: rmobile: gose: Remove dram_init_banksize function

2014-11-16 Thread Nobuhiro Iwamatsu
Gose board is defined CONFIG_SYS_SDRAM_BASE, and this can use a basic function of dram_init_banksize instead. Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/gose/gose.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/board/renesas/gose/gose.c b/board/renesas/gose/

[U-Boot] [PATCH 2/4] arm: rmobile: koelsch: Remove dram_init_banksize function

2014-11-16 Thread Nobuhiro Iwamatsu
Koesch board is defined CONFIG_SYS_SDRAM_BASE, and this can use a basic function of dram_init_banksize instead. Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/koelsch/koelsch.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/board/renesas/koelsch/koelsch.c b/board

[U-Boot] [PATCH 3/4] arm: rmobile: lager: Remove dram_init_banksize function

2014-11-16 Thread Nobuhiro Iwamatsu
Lager board is defined CONFIG_SYS_SDRAM_BASE, and this can use a basic function of dram_init_banksize instead. Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/lager/lager.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/board/renesas/lager/lager.c b/board/renesas/

[U-Boot] [PATCH 1/4] arm: rmobile: alt: Remove dram_init_banksize function

2014-11-16 Thread Nobuhiro Iwamatsu
Alt board is defined CONFIG_SYS_SDRAM_BASE, and this can use a basic function of dram_init_banksize instead. Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/alt/alt.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/board/renesas/alt/alt.c b/board/renesas/alt/alt.c i

Re: [U-Boot] [PATCH 1/5] powerpc/b4860qds: add xfi support

2014-11-16 Thread Shaohui Xie
This patch series are based on patch: http://patchwork.ozlabs.org/patch/409932/ Best Regards, Shaohui Xie > -Original Message- > From: shh@gmail.com [mailto:shh@gmail.com] > Sent: Thursday, November 13, 2014 11:26 AM > To: u-boot@lists.denx.de; Sun York-R58495 > Cc: Xie Shaohui-B

Re: [U-Boot] [PATCH v3 3/5] ls102xa: HYP/non-sec: support for ls102xa boards

2014-11-16 Thread li.xi...@freescale.com
Hi Albert, > -Original Message- > From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] > Sent: Friday, November 14, 2014 7:45 PM > To: Xiubo Li-B47053 > Cc: Sun York-R58495; Jin Zhengxiong-R64188; u-boot@lists.denx.de > Subject: Re: [PATCH v3 3/5] ls102xa: HYP/non-sec: support for ls10

[U-Boot] [PATCH] mx6sabresd: Add mx6sabresd_spl_defconfig to MAINTAINERS entry

2014-11-16 Thread Fabio Estevam
From: Fabio Estevam Let's add mx6sabresd_spl_defconfig entry into MAINTAINERS, so that we avoid getting a warning that the mx6sabresd_spl is not maintained. Signed-off-by: Fabio Estevam --- board/freescale/mx6sabresd/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/freesca

Re: [U-Boot] [PATCH v3 07/14] dm: Allow device removal features to be dropped

2014-11-16 Thread Tom Rini
On Mon, Nov 10, 2014 at 05:16:47PM -0700, Simon Glass wrote: > For SPL we don't expect to need to remove a device. Save some code space > by dropping this feature. The board config can define > CONFIG_DM_DEVICE_REMOVE if this is in fact needed. > > Signed-off-by: Simon Glass Reviewed-by: Tom Ri

[U-Boot] [PATCH 1/2] mx6slevk: Simplify the return value of setup_fec()

2014-11-16 Thread Fabio Estevam
From: Fabio Estevam We can simply the return the value from enable_fec_anatop_clock() to make the code smaller and simpler. Signed-off-by: Fabio Estevam --- board/freescale/mx6slevk/mx6slevk.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/board/freescale/mx6slevk/m

[U-Boot] [PATCH 2/2] mx6sxsabresd: Simplify the return value of setup_fec()

2014-11-16 Thread Fabio Estevam
From: Fabio Estevam We can simply the return the value from enable_fec_anatop_clock() to make the code smaller and simpler. Signed-off-by: Fabio Estevam --- board/freescale/mx6sxsabresd/mx6sxsabresd.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/board/freescale/mx

Re: [U-Boot] [PATCH v2 15/17] dm: Add a simple EEPROM driver

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:31AM -0700, Simon Glass wrote: > There seem to be a few EEPROM drivers around - perhaps we should have a > single standard one? This simple driver is used for sandbox testing, but > could be pressed into more active service. > > Signed-off-by: Simon Glass Reviewed-

Re: [U-Boot] [PATCH v2 16/17] dm: i2c: Add tests for I2C

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:32AM -0700, Simon Glass wrote: > Add some basic tests to check that the system works as expected. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot ma

Re: [U-Boot] [PATCH v2 14/17] dm: i2c: dts: Add an I2C bus for sandbox

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:30AM -0700, Simon Glass wrote: > Add an I2C bus to the device tree, with an EEPROM emulator attached to one > of the addresses. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH v2 11/17] dm: i2c: Add a sandbox I2C driver

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:27AM -0700, Simon Glass wrote: > This driver includes some test features such as only supporting certain > bus speeds. It passes its I2C traffic through to an emulator. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digi

Re: [U-Boot] [PATCH v2 12/17] dm: i2c: Add an I2C EEPROM simulator

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:28AM -0700, Simon Glass wrote: > To enable testing of I2C, add a simple I2C EEPROM simulator for sandbox. > It supports reading and writing from a small data store. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital

Re: [U-Boot] [PATCH v2 10/17] dm: i2c: Add I2C emulation driver for sandbox

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:26AM -0700, Simon Glass wrote: > In order to test I2C we need some sort of emulation interface. Add hooks > to allow a driver to emulate an I2C device for sandbox. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital s

Re: [U-Boot] [PATCH v2 13/17] dm: i2c: config: Enable I2C for sandbox using driver model

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:29AM -0700, Simon Glass wrote: > Enable the options to bring up I2C on sandbox. Also enable all the available > I2C commands for testing purposes. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] Pull request: u-boot-video/master

2014-11-16 Thread Tom Rini
On Fri, Nov 14, 2014 at 07:55:29PM +0100, Anatolij Gustschin wrote: > Hey Tom, > > The following changes since commit 571bdf16a78e9e116a93d46f4809c4f8a3f2adb6: > > arm: interrupt_init: set sp in IRQ/FIQ modes (2014-10-29 09:03:28 -0400) > > are available in the git repository at: > > git:/

Re: [U-Boot] [PATCH v2 02/17] dm: core: Allow access to the device's driver_id data

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:18AM -0700, Simon Glass wrote: > When the device is created from a device tree node, it matches a compatible > string. Allow access to that string and the associated data. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: D

Re: [U-Boot] [PATCH v2 03/17] dm: core: Add functions to find parent and OF data

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:19AM -0700, Simon Glass wrote: > Add dev_get_parent() as a convenience to obtain the parent of a device. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-

Re: [U-Boot] please pull mpc85xx

2014-11-16 Thread Tom Rini
On Fri, Nov 14, 2014 at 01:20:42PM -0800, York Sun wrote: > Tom, > > The following changes since commit 0d485b9095328cdc81b2ee94ff59b988c69b9127: > > Merge branch 'master' of git://git.denx.de/u-boot-sunxi (2014-11-13 10:35:13 > -0500) > > are available in the git repository at: > > > git

Re: [U-Boot] [PATCH v2 04/17] dm: fdt: Correct handling of aliases with embedded digits

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:20AM -0700, Simon Glass wrote: > Since we scan from left to right looking for the first digit, "i2c0" returns > 2 instead of 0 for the alias number. Adjust the code to scan from right to > left instead. > > Signed-off-by: Simon Glass How about i2c10 ? I assume you

Re: [U-Boot] [PATCH v2 08/17] dm: i2c: Add a uclass for I2C

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:24AM -0700, Simon Glass wrote: > The uclass implements the same operations as the current I2C framework but > makes some changes to make it fit driver model better: > > - Remove the chip address from API calls > - Remove the address length from API calls > - Remove c

Re: [U-Boot] [PATCH v2 01/17] dm: i2c: Move error reporting into a common function

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:17AM -0700, Simon Glass wrote: > Factor out the common code to make it easier to adjust it. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing

Re: [U-Boot] [PATCH v2 09/17] dm: i2c: Implement driver model support in the i2c command

2014-11-16 Thread Tom Rini
On Tue, Nov 11, 2014 at 10:46:25AM -0700, Simon Glass wrote: > The concept of a 'current bus' is now implemented in the command line > rather than in the uclass. Also the address length does not need to > be specified with each command - really we should consider dropping > this from most commands

Re: [U-Boot] [PULL] Please pull u-boot-imx

2014-11-16 Thread Tom Rini
On Fri, Nov 14, 2014 at 03:48:38PM +0100, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx. novena is still broken, Masahiro provides > the patch for fix it. > > > The following changes since commit 63f7af9a4cfb4a3b9136674c6612c6d13957c2cd: > > Merge branch 'master' of git://gi

Re: [U-Boot] Booting non devicetree enabled kernels using u-boot build with CONFIG_OF_LIBFDT ?

2014-11-16 Thread Hans de Goede
Hi, On 11/13/2014 07:38 PM, Hans de Goede wrote: > Hi, > > On 11/13/2014 07:34 PM, Tom Rini wrote: >> On Thu, Nov 13, 2014 at 07:08:59PM +0100, Hans de Goede wrote: >>> Hi all, >>> >>> So as you know I've been working on getting mainline u-boot to boot the >>> older android derived linux-sunxi ke

[U-Boot] [PATCH v3 0/1] sunxi: video: Add simplefb support

2014-11-16 Thread Hans de Goede
Hi, Here is a v3 of just the simplefb patch, addressing the address and size cells issue. Changes since v2: -Detect and handle address and size #cells Changes since v1: -Use fdt_setprop_string for strings Regards, Hans ___ U-Boot mailing list U-Boot@

[U-Boot] [PATCH v3] sunxi: video: Add simplefb support

2014-11-16 Thread Hans de Goede
From: Luc Verhaegen Add simplefb support, note this depends on the kernel having support for the clocks property which has recently been added to the simplefb devicetree binding. Signed-off-by: Luc Verhaegen [hdego...@redhat.com: Use pre-populated simplefb node under /chosen as disussed on the

[U-Boot] [PATCH] get_maintainer.pl: fix source tree detection

2014-11-16 Thread Daniel Schwierzeck
get_maintainer.pl always fails with following message: ./scripts/get_maintainer.pl: The current directory does not appear to be a linux kernel source tree. This was caused by commit: commit 548b310c68ac99a0330d8b56c797c09ff0742d1e Author: Masahiro Yamada Date: Thu Oct 30 15:50:15 2014 +0900

Re: [U-Boot] [PATCH 2/2] spi: add common spi3 controller driver

2014-11-16 Thread Jagan Teki
Hi Scott, On 25 September 2014 14:55, Scott Jiang wrote: > SPI3 controller is not only used on BF609 platform. So we add a common > controller > driver and leave machine specific configuration in board drivers. > Remove obsolete spi6xx.h and select new board driver in configuration file. > > Sig

Re: [U-Boot] [RFC PATCH] sf: New SF-NOR framework

2014-11-16 Thread Jagan Teki
Hi Marek, On 13 November 2014 03:46, Marek Vasut wrote: > On Wednesday, November 12, 2014 at 01:19:02 AM, Jagan Teki wrote: >> On 12 November 2014 04:26, Marek Vasut wrote: >> > On Tuesday, November 11, 2014 at 10:37:33 PM, Jagan Teki wrote: >> >> On 12 November 2014 02:52, Marek Vasut wrote: >

Re: [U-Boot] [PATCH 5/6] sunxi: video: Add simplefb support

2014-11-16 Thread Hans de Goede
Hi, On 11/16/2014 06:19 PM, Ian Campbell wrote: > On Sun, 2014-11-16 at 16:11 +, Ian Campbell wrote: >> >>> AFAIK Grant agrees with v5 >> >> AFAIK Grant hasn't actually said that. If he does ack it (or if >> someone >> points me to the correct mail) then I have no further objections. > > I fi

Re: [U-Boot] [PATCH 5/6] sunxi: video: Add simplefb support

2014-11-16 Thread Ian Campbell
On Sun, 2014-11-16 at 16:11 +, Ian Campbell wrote: > > > AFAIK Grant agrees with v5 > > AFAIK Grant hasn't actually said that. If he does ack it (or if > someone > points me to the correct mail) then I have no further objections. I finally found which for some reason isn't in my devicetree@

[U-Boot] [PATCH 4/5] sun6i: Drop some "unknown magic" from dram init

2014-11-16 Thread Hans de Goede
This bit of code is the rtc ram being used to detect coming out of "super-standby" mode, and if that is the case, going out of self-refresh mode. Since we do not support "super-standby" mode, this can be dropped. Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/dram_sun6i.c | 3 --- 1

[U-Boot] [PATCH 1/5] sun6i: Make dram clk and zq value Kconfig options

2014-11-16 Thread Hans de Goede
It turns out that there is a too large spread between boards to handle this with a default value, turn this into Kconfig options, and set the values the factory images are using for the Colombus and Mele_M9 boards. Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/dram_sun6i.c | 12 +

[U-Boot] [PATCH 3/5] sun6i: dram: Do not try to initialize a second dram chan on A31s

2014-11-16 Thread Hans de Goede
The A31s only has one dram channel, so do not bother with trying to initalize a second channel. Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/Makefile | 2 +- arch/arm/cpu/armv7/sunxi/dram_sun6i.c | 11 +-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/

[U-Boot] [PATCH 2/5] sun6i: Add sunxi_get_ss_bonding_id() function

2014-11-16 Thread Hans de Goede
Add a sunxi_get_ss_bonding_id() function, and use it to differentiate between the A31s and the A31. Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/cpu_info.c | 38 ++- arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 4 ++- arch/arm/include/asm/arch-s

[U-Boot] [PATCH 5/5] sun6i: Add new CSQ_CS908 board

2014-11-16 Thread Hans de Goede
The CSQ CS908 is an A31s based top-set box, with 1G RAM, 8G NAND, rtl8188etv usb wifi, 2 USB A receptacles (1 connected through the OTG controller), ethernet, 3.5 mm jack with a/v out and hdmi out: http://www.geekbuying.com/item/CS908-Allwinner-A31S-Quad-Core-1-2GHz-Android-4-4-Mini-TV-Box-HDMI-HD

Re: [U-Boot] [PATCH 5/6] sunxi: video: Add simplefb support

2014-11-16 Thread Ian Campbell
On Sun, 2014-11-16 at 16:11 +0100, Hans de Goede wrote: > Hi, > > On 11/16/2014 03:38 PM, Ian Campbell wrote: > > devicetree@, comments on the requirement that a node have a specific > > path welcomed. > > > > On Sun, 2014-11-16 at 14:52 +0100, Hans de Goede wrote: > >> Hi, > >> > >> On 11/16/201

[U-Boot] [PATCH v2 3/4] sunxi: video: Add simplefb support

2014-11-16 Thread Hans de Goede
From: Luc Verhaegen Add simplefb support, note this depends on the kernel having support for the clocks property which has recently been added to the simplefb devicetree binding. Signed-off-by: Luc Verhaegen [hdego...@redhat.com: Use pre-populated simplefb node under /chosen as disussed on the

[U-Boot] [PATCH v2 2/4] sunxi: video: Add sun6i support

2014-11-16 Thread Hans de Goede
Besided needing the usual sun6i specific ahb1_reset bits poking, it turns out that sun6i also needs the drc to be taken out of reset and clocked even though it is in pass-through mode. Signed-off-by: Hans de Goede Acked-by: Anatolij Gustschin --- drivers/video/sunxi_display.c | 31 +

[U-Boot] [PATCH v2 4/4] sunxi: Add usb keyboard Kconfig option

2014-11-16 Thread Hans de Goede
For use together with the hdmi console. Signed-off-by: Hans de Goede --- board/sunxi/Kconfig | 7 +++ configs/A13-OLinuXinoM_defconfig | 1 + configs/A13-OLinuXino_defconfig | 1 + configs/Ippo_q8h_v5_defconfig| 1 + include/configs/sunxi-common.h | 13 +

[U-Boot] [PATCH v2 0/4] sunxi: HDMI (cfb) console support

2014-11-16 Thread Hans de Goede
Hi All, Here is v2 of the (cleaned up) version of the hdmi support series for sunxi. I'm not resending the first 2 patches as those got acked in v1. Changes in the remaining patches: -"sunxi: video: Add cfb console driver for sunxi" -Add CONFIG_VIDEO=n to A13 boards, as they have no hdmi out -

[U-Boot] [PATCH v2 1/4] sunxi: video: Add cfb console driver for sunxi

2014-11-16 Thread Hans de Goede
From: Luc Verhaegen This adds a fixed mode hdmi driver for the sunxi platform. The fixed mode is a relatively safe 1024x768, more complete EDID handling is currently not provided. Only HDMI is supported today. This code is enabled when HPD detects an attached monitor. Current config is such tha

Re: [U-Boot] [PATCH 5/6] sunxi: video: Add simplefb support

2014-11-16 Thread Hans de Goede
Hi, On 11/16/2014 03:38 PM, Ian Campbell wrote: > devicetree@, comments on the requirement that a node have a specific > path welcomed. > > On Sun, 2014-11-16 at 14:52 +0100, Hans de Goede wrote: >> Hi, >> >> On 11/16/2014 12:50 PM, Ian Campbell wrote: >>> On Fri, 2014-11-14 at 17:54 +0100, Hans

Re: [U-Boot] [PATCH 5/6] sunxi: video: Add simplefb support

2014-11-16 Thread Ian Campbell
devicetree@, comments on the requirement that a node have a specific path welcomed. On Sun, 2014-11-16 at 14:52 +0100, Hans de Goede wrote: > Hi, > > On 11/16/2014 12:50 PM, Ian Campbell wrote: > > On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: > >> From: Luc Verhaegen > >> > >> Add sim

Re: [U-Boot] [PATCH 6/6] sunxi: Add usb keyboard Kconfig option

2014-11-16 Thread Hans de Goede
Hi, On 11/16/2014 02:37 PM, Ian Campbell wrote: > On Sun, 2014-11-16 at 14:28 +0100, Hans de Goede wrote: >> Hi, >> >> On 11/16/2014 12:55 PM, Ian Campbell wrote: >>> On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: For use together with the hdmi console. Signed-off-by: Hans

Re: [U-Boot] [PATCH 5/6] sunxi: video: Add simplefb support

2014-11-16 Thread Hans de Goede
Hi, On 11/16/2014 12:50 PM, Ian Campbell wrote: > On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: >> From: Luc Verhaegen >> >> Add simplefb support, note this depends on the kernel having support for >> the clocks property which has recently been added to the simplefb devicetree >> bindin

Re: [U-Boot] [PATCH 6/6] sunxi: Add usb keyboard Kconfig option

2014-11-16 Thread Ian Campbell
On Sun, 2014-11-16 at 14:28 +0100, Hans de Goede wrote: > Hi, > > On 11/16/2014 12:55 PM, Ian Campbell wrote: > > On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: > >> For use together with the hdmi console. > >> > >> Signed-off-by: Hans de Goede > >> --- > >> board/sunxi/Kconfig

Re: [U-Boot] [PATCH 3/6] sunxi: video: Add cfb console driver for sunxi

2014-11-16 Thread Ian Campbell
On Sun, 2014-11-16 at 14:15 +0100, Hans de Goede wrote: > Hi, > > Thanks for the reviews! > > > On 11/16/2014 12:35 PM, Ian Campbell wrote: > > On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: > >> +/* this is needed so the above will actually do something */ > >> +#define CONFIG_SYS_CONS

Re: [U-Boot] [PATCH] sun7i: Drop CONFIG_ARMV7_PSCI_NR_CPUS

2014-11-16 Thread Ian Campbell
On Sun, 2014-11-16 at 12:59 +, Marc Zyngier wrote: > On Sun, Nov 16 2014 at 11:19:02 AM, Ian Campbell wrote: > > On Fri, 2014-10-24 at 20:28 +0200, Hans de Goede wrote: > >> It is not used anywhere. > > > > Might this be an oversight because sunxi is the only SoC with psci > > support so far?

Re: [U-Boot] [PATCH 6/6] sunxi: Add usb keyboard Kconfig option

2014-11-16 Thread Hans de Goede
Hi, On 11/16/2014 12:55 PM, Ian Campbell wrote: > On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: >> For use together with the hdmi console. >> >> Signed-off-by: Hans de Goede >> --- >> board/sunxi/Kconfig| 7 +++ >> configs/Ippo_q8h_v5_defconfig | 1 + >> include/conf

Re: [U-Boot] [PATCH 3/6] sunxi: video: Add cfb console driver for sunxi

2014-11-16 Thread Hans de Goede
Hi, Thanks for the reviews! On 11/16/2014 12:35 PM, Ian Campbell wrote: > On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: >> +/* this is needed so the above will actually do something */ >> +#define CONFIG_SYS_CONSOLE_IS_IN_ENV >> [...] >> +#ifdef CONFIG_VIDEO >> +#define CONSOLE_ENV_SE

Re: [U-Boot] [PATCH] sun7i: Drop CONFIG_ARMV7_PSCI_NR_CPUS

2014-11-16 Thread Marc Zyngier
On Sun, Nov 16 2014 at 11:19:02 AM, Ian Campbell wrote: > On Fri, 2014-10-24 at 20:28 +0200, Hans de Goede wrote: >> It is not used anywhere. > > Might this be an oversight because sunxi is the only SoC with psci > support so far? Marc, was this added intentionally with a usecase in > mind or just

Re: [U-Boot] [PATCH 6/6] sunxi: Add usb keyboard Kconfig option

2014-11-16 Thread Ian Campbell
On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: > For use together with the hdmi console. > > Signed-off-by: Hans de Goede > --- > board/sunxi/Kconfig| 7 +++ > configs/Ippo_q8h_v5_defconfig | 1 + > include/configs/sunxi-common.h | 25 + > 3 fi

Re: [U-Boot] [PATCH 5/6] sunxi: video: Add simplefb support

2014-11-16 Thread Ian Campbell
On Fri, 2014-11-14 at 17:54 +0100, Hans de Goede wrote: > From: Luc Verhaegen > > Add simplefb support, note this depends on the kernel having support for > the clocks property which has recently been added to the simplefb devicetree > binding. Link please, Linus's tree[0] doesn't seem to have i

  1   2   >