[U-Boot] [PATCH 2/2] ARM: omap3: am3517-evm: Add device tree and DM support

2017-09-19 Thread Adam Ford
With the device tree ported from Linux 4.13, this enables Driver Model and Device Tree support for the am3517-evm Signed-off-by: Adam Ford --- arch/arm/mach-omap2/omap3/Kconfig | 5 +++ board/logicpd/am3517evm/am3517evm.c | 71 -

Re: [U-Boot] [PATCH 06/13] log: Add an implemention of logging

2017-09-19 Thread Masahiro Yamada
Hi Simon, 2017-09-17 6:23 GMT+09:00 Simon Glass : > > +menu "Logging" > + > +config LOG > + bool "Enable logging support" > + help > + This enables support for logging of status and debug messages. These > + can be displayed on the console,

Re: [U-Boot] [PATCH v3] cmd: usb: add blk devices to ignore list in tree graph

2017-09-19 Thread Bin Meng
Hi Suneel, On Wed, Sep 20, 2017 at 2:31 AM, Suneel Garapati wrote: > Hi Bin, > > On Tue, Sep 19, 2017 at 12:32 AM, Bin Meng wrote: >> Hi Suneel, >> >> On Tue, Sep 19, 2017 at 1:55 PM, Suneel Garapati >> wrote: >>> add blk

Re: [U-Boot] [PATCH 1/1] test/py: provide example scripts for integrating qemu

2017-09-19 Thread Heinrich Schuchardt
On 09/18/2017 11:28 PM, Stephen Warren wrote: > On 09/18/2017 01:55 PM, Heinrich Schuchardt wrote: >> On 09/18/2017 08:27 PM, Stephen Warren wrote: >>> On 09/17/2017 01:32 PM, Heinrich Schuchardt wrote: The necessary parameters for running Python tests on qemu are tediouus to find. >>>

Re: [U-Boot] [PATCH v2 0/5] rockchip: back-to-bootrom: replace assembly-implementation with C-code

2017-09-19 Thread Andy Yan
Hi Philipp: On 2017年09月19日 20:45, Dr. Philipp Tomsich wrote: Andy, On 19 Sep 2017, at 11:10, Dr. Philipp Tomsich > wrote: Andy, On 19 Sep 2017, at 09:19, Andy Yan

Re: [U-Boot] [PATCH 00/13] log: Add a new logging feature

2017-09-19 Thread Masahiro Yamada
Hi Simon, 2017-09-17 6:23 GMT+09:00 Simon Glass : > U-Boot currently has fairly rudimentary logging features. A basic printf() > provides console output and debug() provides debug output which is > activated if DEBUG is defined in the file containing the debug() > statements.

[U-Boot] [PATCH 1/2] arm: dts: am3517_evm: Sync DTS files with Linux 4.13-RC5

2017-09-19 Thread Adam Ford
To keep the DTS and DTSI files clean and in sync with Linux, new u-boot.dtsi files are added. There are some spacing issues in the patch, but they appear to be present in the Linux source files. I'll try to get to fixing them there, and do a future re-sync at a later date. Signed-off-by: Adam

Re: [U-Boot] [PATCH v2 3/9] dm: clk: add clk driver support for stm32h7 SoCs

2017-09-19 Thread Vikas Manocha
Hi Patrice, On 09/13/2017 09:00 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This driver implements basic clock setup, only clock gating > is implemented. > > This driver doesn't implement .of_match as it's binded > by MFD RCC driver. > > Files

Re: [U-Boot] [PATCH 13/13] log: Add documentation

2017-09-19 Thread Masahiro Yamada
Hi Simon 2017-09-17 6:23 GMT+09:00 Simon Glass : > + > + > +To Do > +- > + > +There are lots of useful additions that could be made. None of the below is > +implemented! If you do one, please add a test in test/py/tests/test_log.py > + > +Convenience functions to support

Re: [U-Boot] [PATCH] imx6: disable clock command and print_cpuinfo code in SPL

2017-09-19 Thread Fabio Estevam
Hi Stefano, On Tue, Sep 19, 2017 at 4:54 AM, Stefano Babic wrote: > Reason is clear: boards have in SPL a setup_display() that calls > enable_ipu_clock. But it makes no sense to have IPU support in SPL. Good catch, thanks! Anatolij, Do you plan to remove IPU code from SPL?

Re: [U-Boot] [RESEND PATCH 5/5] sunxi: video: add LCD support to DE2 driver

2017-09-19 Thread Jernej Škrabec
Hi, Dne torek, 19. september 2017 ob 21:00:30 CEST je Vasily Khoruzhick napisal(a): > On Tue, Sep 19, 2017 at 1:33 AM, Maxime Ripard > > wrote: > > On Mon, Sep 18, 2017 at 10:04:21PM -0700, Vasily Khoruzhick wrote: > >> Extend DE2 driver with LCD support > >

Re: [U-Boot] [RESEND PATCH 5/5] sunxi: video: add LCD support to DE2 driver

2017-09-19 Thread Icenowy Zheng
于 2017年9月20日 GMT+08:00 上午3:00:30, Vasily Khoruzhick 写到: >On Tue, Sep 19, 2017 at 1:33 AM, Maxime Ripard > wrote: >> On Mon, Sep 18, 2017 at 10:04:21PM -0700, Vasily Khoruzhick wrote: >>> Extend DE2 driver with LCD support >> >> (All) your

Re: [U-Boot] Kconfiglib update and tools/moveconfig.py

2017-09-19 Thread Simon Glass
+ML On 19 September 2017 at 16:38, Ulf Magnusson wrote: > Hello, > > Just as an FYI, I had to change tools/moveconfig.py to keep it working > the same as before after the Kconfiglib update - see the commit > message and changes in >

Re: [U-Boot] [PATCH v2 0/5] rockchip: back-to-bootrom: replace assembly-implementation with C-code

2017-09-19 Thread Andy Yan
Hi Philipp: On 2017年09月19日 10:06, Andy Yan wrote: Hi Philipp: On 2017年09月19日 02:18, Philipp Tomsich wrote: Recent discussions confirmed (what the code always assumed): the Rockchip BROM always enters U-Boot with the stack-pointer valid (i.e. the U-Boot startup code is running off the BROM

Re: [U-Boot] [RESEND PATCH 5/5] sunxi: video: add LCD support to DE2 driver

2017-09-19 Thread Maxime Ripard
On Mon, Sep 18, 2017 at 10:04:21PM -0700, Vasily Khoruzhick wrote: > Extend DE2 driver with LCD support (All) your commit messages could use a bit more details. Here, for example, explaining the following things would help: - Why are you creating yet another file - What is the situation with

Re: [U-Boot] [RESEND PATCH 3/3] dts: sunxi: add PWM node for sun50i

2017-09-19 Thread Maxime Ripard
On Mon, Sep 18, 2017 at 10:06:41PM -0700, Vasily Khoruzhick wrote: > Signed-off-by: Vasily Khoruzhick Commit log please. At least mention the fact that this binding has not been accepted in Linux yet. Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel

Re: [U-Boot] [PATCH v2 0/5] rockchip: back-to-bootrom: replace assembly-implementation with C-code

2017-09-19 Thread Heiko Stübner
Am Dienstag, 19. September 2017, 11:10:29 CEST schrieb Dr. Philipp Tomsich: > Andy, > > > On 19 Sep 2017, at 09:19, Andy Yan wrote: > > > > Hi Philipp: > > > > On 2017年09月19日 10:06, Andy Yan wrote: > >> Hi Philipp: > >> > >> On 2017年09月19日 02:18, Philipp Tomsich

[U-Boot] [PATCH 03/14] arm: socfpga: stratix10: Add Clock Manager driver for Stratix10 SoC

2017-09-19 Thread chin . liang . see
From: Chin Liang See Add Clock Manager driver support for Stratix SoC Signed-off-by: Chin Liang See --- arch/arm/mach-socfpga/Makefile | 4 + arch/arm/mach-socfpga/clock_manager.c | 4 +-

[U-Boot] [PATCH 14/14] arm: socfpga: stratix10: Enable Stratix10 SoC build

2017-09-19 Thread chin . liang . see
From: Chin Liang See Add build support for Stratix SoC Signed-off-by: Chin Liang See --- arch/arm/Kconfig | 8 +- arch/arm/mach-socfpga/Kconfig | 13 ++ configs/socfpga_stratix10_defconfig | 39

[U-Boot] [PATCH 10/14] arm: socfpga: stratix10: Add SPL driver for Stratix10 SoC

2017-09-19 Thread chin . liang . see
From: Chin Liang See Add SPL driver support for Stratix SoC Signed-off-by: Chin Liang See --- arch/arm/mach-socfpga/Makefile | 4 + arch/arm/mach-socfpga/include/mach/base_addr_s10.h | 4 +

Re: [U-Boot] [PATCH 1/1] x86: provide CONFIG_BUILD_ROM

2017-09-19 Thread Heinrich Schuchardt
On 09/19/2017 07:54 AM, Bin Meng wrote: > Hi Heinrich, > > On Sun, Sep 17, 2017 at 7:57 PM, Heinrich Schuchardt > wrote: >> Up to now we depended on an exported variable to build u-boot.rom. >> What we build should be specified by the configuration file. >> >> With this

Re: [U-Boot] [PATCH] imx6: disable clock command and print_cpuinfo code in SPL

2017-09-19 Thread Stefano Babic
Hi Anatolji, On 28/08/2017 21:46, Anatolij Gustschin wrote: > We do not use print_cpuinfo and clock command code in SPL, > disable it when building SPL image. > > Signed-off-by: Anatolij Gustschin > --- > arch/arm/mach-imx/cpu.c | 4 ++-- > arch/arm/mach-imx/mx6/clock.c |

Re: [U-Boot] [PATCH v2 0/5] rockchip: back-to-bootrom: replace assembly-implementation with C-code

2017-09-19 Thread Dr. Philipp Tomsich
Andy, > On 19 Sep 2017, at 09:19, Andy Yan wrote: > > Hi Philipp: > > > On 2017年09月19日 10:06, Andy Yan wrote: >> Hi Philipp: >> >> >> On 2017年09月19日 02:18, Philipp Tomsich wrote: >>> Recent discussions confirmed (what the code always assumed): the >>> Rockchip BROM

[U-Boot] [PATCH 04/14] arm: socfpga: stratix10: Add Reset Manager driver for Stratix10 SoC

2017-09-19 Thread chin . liang . see
From: Chin Liang See Add Reset Manager driver support for Stratix SoC Signed-off-by: Chin Liang See --- arch/arm/mach-socfpga/Makefile | 1 + arch/arm/mach-socfpga/include/mach/reset_manager.h | 2 +

[U-Boot] [PATCH 06/14] arm: socfpga: stratix10: Add misc support for Stratix10 SoC

2017-09-19 Thread chin . liang . see
From: Chin Liang See Add misc support for Stratix SoC Signed-off-by: Chin Liang See --- arch/arm/mach-socfpga/Makefile | 1 + arch/arm/mach-socfpga/misc.c | 4 + arch/arm/mach-socfpga/misc_s10.c | 165

Re: [U-Boot] [RESEND PATCH 1/3] pwm: sunxi: add support for PWM found on Allwinner A64 and H3

2017-09-19 Thread Andre Przywara
Hi, On 19/09/17 06:06, Vasily Khoruzhick wrote: > This commit adds basic support for PWM found on Allwinner A64 and H3 Mmh, can you explain (for instance in a 0/3 email) what this is used for? My understanding is that PWM0 (which is what you hard code here) is only exposed on PD22, which is also

Re: [U-Boot] [RESEND PATCH 3/3] dts: sunxi: add PWM node for sun50i

2017-09-19 Thread Andre Przywara
Hi, On 19/09/17 06:06, Vasily Khoruzhick wrote: > Signed-off-by: Vasily Khoruzhick > --- > arch/arm/dts/sun50i-a64.dtsi | 8 > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm/dts/sun50i-a64.dtsi b/arch/arm/dts/sun50i-a64.dtsi > index

[U-Boot] [PATCH 00/14] Enable Stratix10 SoC support

2017-09-19 Thread chin . liang . see
From: Chin Liang See This patch series are enabling support for Stratix 10 SoC Chin Liang See (14): arm: socfpga: stratix10: Add base address map for Statix10 SoC arm: dts: Add dts for Stratix10 SoC arm: socfpga: stratix10: Add Clock Manager driver for Stratix10

Re: [U-Boot] [OE-core] [PATCH] u-boot: Upgrade to 2017.09

2017-09-19 Thread Marek Vasut
On 09/18/2017 06:06 PM, Tom Rini wrote: > On Mon, Sep 18, 2017 at 04:51:31PM +0100, Burton, Ross wrote: >> On 18 September 2017 at 16:46, Otavio Salvador < >> otavio.salva...@ossystems.com.br> wrote: >> >>> What is the policy on doing u-boot version upgrades this late in the >>> >>> release cycle?

[U-Boot] [PATCH 01/14] arm: socfpga: stratix10: Add base address map for Statix10 SoC

2017-09-19 Thread chin . liang . see
From: Chin Liang See Add the base address map for Statix10 SoC Signed-off-by: Chin Liang See --- arch/arm/mach-socfpga/include/mach/base_addr_s10.h | 58 ++ 1 file changed, 58 insertions(+) create mode 100644

[U-Boot] [PATCH 02/14] arm: dts: Add dts for Stratix10 SoC

2017-09-19 Thread chin . liang . see
From: Chin Liang See Device tree for Stratix10 SoC Signed-off-by: Chin Liang See --- arch/arm/dts/Makefile| 3 +- arch/arm/dts/socfpga_stratix10_socdk.dts | 141 +++ 2 files changed, 143

[U-Boot] [PATCH 08/14] arm: socfpga: stratix10: Add MMU support for Stratix10 SoC

2017-09-19 Thread chin . liang . see
From: Chin Liang See Add MMU support for Stratix SoC Signed-off-by: Chin Liang See --- arch/arm/mach-socfpga/Makefile| 1 + arch/arm/mach-socfpga/mmu-arm64_s10.c | 71 +++ 2 files changed, 72

[U-Boot] [PATCH 13/14] board: altera: stratix10: Add socdk board support for Stratix10 SoC

2017-09-19 Thread chin . liang . see
From: Chin Liang See Add socdk board support for Stratix SoC Signed-off-by: Chin Liang See --- board/altera/stratix10-socdk/MAINTAINERS | 7 +++ board/altera/stratix10-socdk/Makefile| 7 +++ board/altera/stratix10-socdk/socfpga.c

Re: [U-Boot] [PATCH V3 1/5] mmc: uniphier-sd: Factor out register IO

2017-09-19 Thread Marek Vasut
On 09/12/2017 07:04 PM, Marek Vasut wrote: > On 08/20/2017 05:11 PM, Marek Vasut wrote: >> This patch prepares the driver to support controller(s) with registers >> at locations shifted by constant. Pull out the readl()/writel() from >> the driver into separate functions, where the adjustment of

[U-Boot] [PATCH v2 3/6] pci: layerscape: Use pci_generic_mmap_{read, write}_config

2017-09-19 Thread Tuomas Tynkkynen
Use the new helpers to avoid boilerplate in the driver. Signed-off-by: Tuomas Tynkkynen --- drivers/pci/pcie_layerscape.c | 68 +++ 1 file changed, 17 insertions(+), 51 deletions(-) diff --git a/drivers/pci/pcie_layerscape.c

[U-Boot] [PATCH v2 4/6] PCI: Add driver for a 'pci-host-ecam-generic' host controller

2017-09-19 Thread Tuomas Tynkkynen
QEMU emulates such a device with '-machine virt,highmem=off' on ARM. The 'highmem=off' part is required for things to work as the PCI code in U-Boot doesn't seem to support 64-bit BARs. Signed-off-by: Tuomas Tynkkynen --- v2: - no 'default n' - remove unnecessary

[U-Boot] [PATCH v2 6/6] travis.yml: Add job for running test.py in qemu_arm

2017-09-19 Thread Tuomas Tynkkynen
Note that this commit requires https://github.com/swarren/uboot-test-hooks/pull/14 to go in first. Signed-off-by: Tuomas Tynkkynen --- .travis.yml | 5 + 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 1d29eb35c1..b8f69f0a0c 100644 ---

[U-Boot] [PATCH v2 5/6] ARM: Add a new arch + board for QEMU's 'virt' machine

2017-09-19 Thread Tuomas Tynkkynen
This board builds an U-Boot binary that is bootable with QEMU's 'virt' machine on ARM. The minimal QEMU command line is: qemu-system-arm -machine virt,highmem=off -bios u-boot.bin (Note that the 'highmem=off' parameter to the 'virt' machine is required for PCI to work in U-Boot.) This

[U-Boot] [PATCH v3 1/1] test/py: provide example scripts for integrating qemu

2017-09-19 Thread Heinrich Schuchardt
The necessary parameters for running Python tests on qemu are tedious to find. The patch adds a complete example for running the Python tests for qemu-x86_defconfig on an X86 system. Cc: Stephen Warren Signed-off-by: Heinrich Schuchardt --- v3

[U-Boot] [PATCH v2 1/6] pci: Add helper for implementing memory-mapped config space accesses

2017-09-19 Thread Tuomas Tynkkynen
This sort of pattern for implementing memory-mapped PCI config space accesses appears in U-Boot twice already, and a third user is coming up. So add helper functions to avoid code duplication, similar to how Linux has pci_generic_config_write and pci_generic_config_read. Signed-off-by: Tuomas

[U-Boot] [PATCH v2 2/6] pci: xilinx: Use pci_generic_mmap_{read, write}_config()

2017-09-19 Thread Tuomas Tynkkynen
Use the new helper function to avoid boilerplate in the driver. Note that this changes __raw_writel et al. to writel. AFAICT this is no problem because: - The Linux driver for the same hardware uses the non-__raw variants as well (via pci_generic_config_write()). - This driver seems to be used

[U-Boot] [PATCH v2 0/6] Board for QEMU's '-machine virt' on ARM

2017-09-19 Thread Tuomas Tynkkynen
These patches add a board for running U-Boot under QEMU's '-machine virt' emulation, thus making it possible to boot Linux distros that use the extlinux.conf booting method under '-machine virt'. To some extent, this is currently possible by emulating and running U-Boot on some of the Versatile

Re: [U-Boot] [RESEND PATCH 5/5] sunxi: video: add LCD support to DE2 driver

2017-09-19 Thread Vasily Khoruzhick
On Tue, Sep 19, 2017 at 1:33 AM, Maxime Ripard wrote: > On Mon, Sep 18, 2017 at 10:04:21PM -0700, Vasily Khoruzhick wrote: >> Extend DE2 driver with LCD support > > (All) your commit messages could use a bit more details. OK, will add in v2. > Here, for

Re: [U-Boot] [PATCH v2 0/5] rockchip: back-to-bootrom: replace assembly-implementation with C-code

2017-09-19 Thread Dr. Philipp Tomsich
> On 19 Sep 2017, at 11:12, Heiko Stübner wrote: > > Am Dienstag, 19. September 2017, 11:10:29 CEST schrieb Dr. Philipp Tomsich: >> Andy, >> >>> On 19 Sep 2017, at 09:19, Andy Yan wrote: >>> >>> Hi Philipp: >>> >>> On 2017年09月19日 10:06, Andy Yan

[U-Boot] [PATCH 1/1] kconfiglib: update with 'imply' support

2017-09-19 Thread Ulf Magnusson
Corresponds to 375506d (File writing nit) from upstream (https://github.com/ulfalizer/Kconfiglib). Adds proper 'imply' support and fixes a few minor issues, one of which previously triggered the following weird warning: configs/taurus_defconfig: /tmp/tmpisI45S:6: warning: assignment to

[U-Boot] [PATCH] dm: core: Round up size when allocating so that it is cache line aligned

2017-09-19 Thread Faiz Abbas
The size variable may not be always be a mulitple of ARCH_DMA_MINALIGN and using it to flush cache leads to cache misaligned warnings. Therefore, round up the size to a multiple of ARCH_DMA_MINLAIGN when allocating private data. Signed-off-by: Faiz Abbas ---

Re: [U-Boot] [PATCH] imx6: disable clock command and print_cpuinfo code in SPL

2017-09-19 Thread Anatolij Gustschin
Hi Stefano, On Tue, 19 Sep 2017 09:54:30 +0200 Stefano Babic sba...@denx.de wrote: ... > This patch has some side-effects and breaks some boards. Even if the > changes are correct, some boards (wandboard, icore are examples) don't > disable IPU support in SPL. Even if this is useless and

[U-Boot] [PATCH 07/14] arm: socfpga: stratix10: Add mailbox support for Stratix10 SoC

2017-09-19 Thread chin . liang . see
From: Chin Liang See Add mailbox support for Stratix SoC Signed-off-by: Ley Foon Tan Signed-off-by: Chin Liang See --- arch/arm/mach-socfpga/Makefile | 1 +

[U-Boot] [U-Boot, v2, 07/14] clk: rockchip: Add rk3399 SARADC clock support

2017-09-19 Thread David Wu
Spam detection software, running on the system "lists.denx.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview:

[U-Boot] [U-Boot, v2, 10/14] arm: dts: Enable SARADC for rk3288-popmetal

2017-09-19 Thread David Wu
Signed-off-by: David Wu --- arch/arm/dts/rk3288-popmetal.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/rk3288-popmetal.dtsi b/arch/arm/dts/rk3288-popmetal.dtsi index dd6ce8b..63785eb 100644 --- a/arch/arm/dts/rk3288-popmetal.dtsi +++

[U-Boot] [U-Boot, v2, 12/14] arm: dts: Enable SARADC for rk3368-px5-evb

2017-09-19 Thread David Wu
Spam detection software, running on the system "lists.denx.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview:

[U-Boot] [U-Boot,v2,11/14] arm: dts: Enable SARADC for rk3328-evb

2017-09-19 Thread David Wu
Signed-off-by: David Wu --- arch/arm/dts/rk3328-evb.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/rk3328-evb.dts b/arch/arm/dts/rk3328-evb.dts index 8a14c65..df44ccb 100644 --- a/arch/arm/dts/rk3328-evb.dts +++ b/arch/arm/dts/rk3328-evb.dts @@

Re: [U-Boot] [PATCH] dm: core: Round up size when allocating so that it is cache line aligned

2017-09-19 Thread Faiz Abbas
Hi Bin, On Tuesday 19 September 2017 05:42 PM, Bin Meng wrote: > Hi Faiz, > > On Tue, Sep 19, 2017 at 7:23 PM, Faiz Abbas wrote: >> The size variable may not be always be a mulitple of >> ARCH_DMA_MINALIGN and using it to flush cache leads to cache >> misaligned warnings. >>

[U-Boot] [PATCH 09/14] arm: socfpga: Restructure the SPL file

2017-09-19 Thread chin . liang . see
From: Chin Liang See Restructure the SPL so each devices such as CV, A10 and S10 will have their own dedicated SPL file. SPL file determine the HW initialization flow which is device specific Signed-off-by: Chin Liang See ---

[U-Boot] [PATCH 05/14] arm: socfpga: stratix10: Add pinmux support for Stratix10 SoC

2017-09-19 Thread chin . liang . see
From: Chin Liang See Add pinmux driver support for Stratix SoC Signed-off-by: Chin Liang See --- arch/arm/mach-socfpga/Makefile | 2 + .../arm/mach-socfpga/include/mach/system_manager.h | 5 +-

[U-Boot] [PATCH 11/14] arm: socfpga: stratix10: Add timer support for Stratix10 SoC

2017-09-19 Thread chin . liang . see
From: Chin Liang See Add timer support for Stratix SoC Signed-off-by: Chin Liang See --- arch/arm/mach-socfpga/timer.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-socfpga/timer.c

[U-Boot] [U-Boot, v2, 03/14] clk: rockchip: Add rv1108 SARADC clock support

2017-09-19 Thread David Wu
The clk_saradc is dividing from the 24M, clk_saradc=24MHz/(saradc_div_con+1). SARADC integer divider control register is 10-bits width. Signed-off-by: David Wu Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich

[U-Boot] [U-Boot, v2, 08/14] arm: dts: rv1108: Add SARADC node at dtsi level

2017-09-19 Thread David Wu
Signed-off-by: David Wu Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich --- arch/arm/dts/rv1108.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git

Re: [U-Boot] [U-Boot,v2,00/14] Add rockchip SARADC support

2017-09-19 Thread Dr. Philipp Tomsich
David, > On 19 Sep 2017, at 12:53, David Wu wrote: > > The SARADC is used for adc keys and charging detect at uboot > loader. Except for the rk3036 and rk3228 Socs, the others > support the SARADC IP. I am hoping to apply this series later this week (and include in a

Re: [U-Boot] [RESEND PATCH 1/3] pwm: sunxi: add support for PWM found on Allwinner A64 and H3

2017-09-19 Thread Andre Przywara
Hi, On 19/09/17 09:53, Icenowy Zheng wrote: > > > 于 2017年9月19日 GMT+08:00 下午4:51:32, Andre Przywara 写到: >> Hi, >> >> On 19/09/17 06:06, Vasily Khoruzhick wrote: >>> This commit adds basic support for PWM found on Allwinner A64 and H3 >> >> Mmh, can you explain (for

[U-Boot] [PATCH v2 1/1] kconfiglib: update with 'imply' support

2017-09-19 Thread Ulf Magnusson
Corresponds to 375506d (File writing nit) from upstream (https://github.com/ulfalizer/Kconfiglib). Adds proper 'imply' support and fixes a few minor issues, one of which previously triggered the following weird warning: configs/taurus_defconfig: /tmp/tmpisI45S:6: warning: assignment to

[U-Boot] [PATCH v2 0/1] Update Kconfiglib with 'imply' support

2017-09-19 Thread Ulf Magnusson
Changes for v2: tools/moveconfig.py previously depended on a hack that merged 'select's with 'imply's. Update it to look at both so that it will work the same way with the new kconfiglib version. Ulf Magnusson (1): kconfiglib: update with 'imply' support tools/buildman/kconfiglib.py | 333

[U-Boot] [PATCH 12/14] ddr: altera: stratix10: Add DDR support for Stratix10 SoC

2017-09-19 Thread chin . liang . see
From: Chin Liang See Add DDR support for Stratix SoC Signed-off-by: Chin Liang See --- arch/arm/mach-socfpga/include/mach/sdram_s10.h | 333 + drivers/ddr/altera/Makefile| 1 +

Re: [U-Boot] [PATCH 01/14] arm: socfpga: stratix10: Add base address map for Statix10 SoC

2017-09-19 Thread Marek Vasut
On 09/19/2017 11:22 AM, chin.liang@intel.com wrote: > From: Chin Liang See > > Add the base address map for Statix10 SoC > > Signed-off-by: Chin Liang See Add only the stuff which is not obtainable from DT please. > --- >

[U-Boot] [U-Boot, v2, 05/14] clk: rockchip: Add rk3328 SARADC clock support

2017-09-19 Thread David Wu
Spam detection software, running on the system "lists.denx.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview:

[U-Boot] [U-Boot, v2, 06/14] clk: rockchip: Add rk3368 SARADC clock support

2017-09-19 Thread David Wu
The clk_saradc is dividing from the 24M, clk_saradc=24MHz/(saradc_div_con+1). SARADC integer divider control register is 8-bits width. Signed-off-by: David Wu Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich

[U-Boot] [U-Boot,v2,09/14] arm: dts: Enable SARADC for rv1108-evb

2017-09-19 Thread David Wu
Signed-off-by: David Wu --- arch/arm/dts/rv1108-evb.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/rv1108-evb.dts b/arch/arm/dts/rv1108-evb.dts index 0128dd8..e21b57f 100644 --- a/arch/arm/dts/rv1108-evb.dts +++ b/arch/arm/dts/rv1108-evb.dts @@

Re: [U-Boot] [PATCH] dm: core: Round up size when allocating so that it is cache line aligned

2017-09-19 Thread Bin Meng
Hi Faiz, On Tue, Sep 19, 2017 at 7:23 PM, Faiz Abbas wrote: > The size variable may not be always be a mulitple of > ARCH_DMA_MINALIGN and using it to flush cache leads to cache > misaligned warnings. > > Therefore, round up the size to a multiple of ARCH_DMA_MINLAIGN > when

[U-Boot] [U-Boot,v2,00/14] Add rockchip SARADC support

2017-09-19 Thread David Wu
The SARADC is used for adc keys and charging detect at uboot loader. Except for the rk3036 and rk3228 Socs, the others support the SARADC IP. David Wu (14): adc: Add driver for Rockchip SARADC configs: rockchip: Enable the ROCKCHIP_SARADC config clk: rockchip: Add rv1108 SARADC clock

[U-Boot] [U-Boot, v2, 02/14] configs: rockchip: Enable the ROCKCHIP_SARADC config

2017-09-19 Thread David Wu
Except for 3036 and 3228 Socs, which don't support SARADC, enable the ROCKCHIP_SARADC config at the other Socs' defconfig. Signed-off-by: David Wu --- Change in v2: - Enable the ROCKCHIP_SARADC at other configs configs/chromebit_mickey_defconfig | 2 ++

[U-Boot] [U-Boot,v2,01/14] adc: Add driver for Rockchip SARADC

2017-09-19 Thread David Wu
The ADC can support some channels signal-ended some bits Successive Approximation Register (SAR) A/D Converter, like 6-channel and 10-bit. It converts the analog input signal into some bits binary digital codes. Signed-off-by: David Wu Acked-by: Philipp Tomsich

[U-Boot] [PATCH] dwc: ep0: Allocate and flush dwc->ep0_trb in a cache aligned manner

2017-09-19 Thread Faiz Abbas
A flush of the cache is required before any DMA access can take place. The minimum size that can be flushed from the cache is one cache line size. Therefore, any buffer allocated for DMA should be in multiples of cache line size. Thus, allocate memory for ep0_trb in multiples of cache line size.

Re: [U-Boot] [PATCH v2 4/6] PCI: Add driver for a 'pci-host-ecam-generic' host controller

2017-09-19 Thread Bin Meng
Hi Tuomas, On Wed, Sep 20, 2017 at 4:18 AM, Tuomas Tynkkynen wrote: > QEMU emulates such a device with '-machine virt,highmem=off' on ARM. > The 'highmem=off' part is required for things to work as the PCI code > in U-Boot doesn't seem to support 64-bit BARs. > >

Re: [U-Boot] [PATCH v2 5/6] ARM: Add a new arch + board for QEMU's 'virt' machine

2017-09-19 Thread Bin Meng
Hi Tuomas, On Wed, Sep 20, 2017 at 4:18 AM, Tuomas Tynkkynen wrote: > This board builds an U-Boot binary that is bootable with QEMU's 'virt' > machine on ARM. The minimal QEMU command line is: > > qemu-system-arm -machine virt,highmem=off -bios u-boot.bin > > (Note

Re: [U-Boot] [PATCH v2 6/6] travis.yml: Add job for running test.py in qemu_arm

2017-09-19 Thread Bin Meng
Hi Tuomas, On Wed, Sep 20, 2017 at 4:18 AM, Tuomas Tynkkynen wrote: > Note that this commit requires > https://github.com/swarren/uboot-test-hooks/pull/14 to go in first. > I believe the above should not be put into the commit message, instead we can put it below --- >

Re: [U-Boot] [PATCH v2 1/6] pci: Add helper for implementing memory-mapped config space accesses

2017-09-19 Thread Bin Meng
Hi Tuomas, On Wed, Sep 20, 2017 at 4:18 AM, Tuomas Tynkkynen wrote: > This sort of pattern for implementing memory-mapped PCI config space > accesses appears in U-Boot twice already, and a third user is coming up. > So add helper functions to avoid code duplication,

Re: [U-Boot] [PATCH v2 2/6] pci: xilinx: Use pci_generic_mmap_{read, write}_config()

2017-09-19 Thread Bin Meng
On Wed, Sep 20, 2017 at 4:18 AM, Tuomas Tynkkynen wrote: > Use the new helper function to avoid boilerplate in the driver. > > Note that this changes __raw_writel et al. to writel. AFAICT this is > no problem because: > > - The Linux driver for the same hardware uses the

Re: [U-Boot] DDR training code for Armada 38x

2017-09-19 Thread Stefan Roese
Hi Chris, On 19.09.2017 20:58, Chris Packham wrote: When you did the port from Marvell's source did you script any of the tidy-up that you did along the way? Not really. At least not in a reproducible way. I spent long hours running Lindent, recursive-replace tools and especially manual code

Re: [U-Boot] [PATCH 01/14] arm: socfpga: stratix10: Add base address map for Statix10 SoC

2017-09-19 Thread See, Chin Liang
On Tue, 2017-09-19 at 11:51 +0200, Marek Vasut wrote: > On 09/19/2017 11:22 AM, chin.liang@intel.com wrote: > > > > From: Chin Liang See > > > > Add the base address map for Statix10 SoC > > > > Signed-off-by: Chin Liang See > Add only

[U-Boot] [PATCH] rockchip: pinctrl: rk3368: add pinctrl for SDMMC0

2017-09-19 Thread Philipp Tomsich
Apparently, our earlier assumption that the BROM will always set up the iomux for SDcard communication does not always hold true: when booting U-Boot from the on-module (on the RK3368-uQ7) eMMC, the SDcard pins are not set up and need to be configured by the pinctrl driver to allow SD card access.

Re: [U-Boot] [PATCH v2 0/5] rockchip: back-to-bootrom: replace assembly-implementation with C-code

2017-09-19 Thread Dr. Philipp Tomsich
Andy, > On 19 Sep 2017, at 11:10, Dr. Philipp Tomsich > wrote: > > Andy, > >> On 19 Sep 2017, at 09:19, Andy Yan wrote: >> >> Hi Philipp: >> >> >> On 2017年09月19日 10:06, Andy Yan wrote: >>> Hi Philipp: >>> >>> >>> On

Re: [U-Boot] [PATCH v3] cmd: usb: add blk devices to ignore list in tree graph

2017-09-19 Thread Bin Meng
Hi Suneel, On Tue, Sep 19, 2017 at 1:55 PM, Suneel Garapati wrote: > add blk child devices to ignore list while displaying > usb tree graph, otherwise usb tree and info commands > may cause crash treating blk as usb device. > > Signed-off-by: Suneel Garapati

[U-Boot] [PATCH 1/1] scripts/checkpatch: add missing spelling.txt

2017-09-19 Thread Heinrich Schuchardt
Checkpatch can use two dictionaries for finding typos: * scripts/spelling.txt * /usr/share/codespell/dictionary.txt which comes with package codespell and is selected by parameter --codespell If the file scripts/spelling.txt is missing, a warning is shown. Add the spelling.txt file from the

Re: [U-Boot] [PATCH 1/1] x86: provide CONFIG_BUILD_ROM

2017-09-19 Thread Bin Meng
Hi Heinrich, On Tue, Sep 19, 2017 at 2:15 PM, Heinrich Schuchardt wrote: > On 09/19/2017 07:54 AM, Bin Meng wrote: >> Hi Heinrich, >> >> On Sun, Sep 17, 2017 at 7:57 PM, Heinrich Schuchardt >> wrote: >>> Up to now we depended on an exported variable to

Re: [U-Boot] [PATCH 1/1] test/py: provide example scripts for integrating qemu

2017-09-19 Thread Stephen Warren
On 09/18/2017 03:37 PM, Heinrich Schuchardt wrote: On 09/18/2017 11:28 PM, Stephen Warren wrote: On 09/18/2017 01:55 PM, Heinrich Schuchardt wrote: On 09/18/2017 08:27 PM, Stephen Warren wrote: On 09/17/2017 01:32 PM, Heinrich Schuchardt wrote: The necessary parameters for running Python

Re: [U-Boot] [PATCH] net: ravb: Add PHY reset GPIO support

2017-09-19 Thread Joe Hershberger
On Fri, Sep 15, 2017 at 2:11 PM, Marek Vasut wrote: > Add support for obtaining PHY reset GPIO from DT and toggling it > before configuring the PHY to put the PHY into defined state. > > Signed-off-by: Marek Vasut > Cc: Nobuhiro Iwamatsu

[U-Boot] [PATCH v2 1/1] x86: provide CONFIG_BUILD_ROM

2017-09-19 Thread Heinrich Schuchardt
Up to now we depended on an exported variable to build u-boot.rom. What we build should be specified by the configuration file. With this patch the export variable is deprecated and replaced by the Kconfig option CONFIG_BUILD_ROM. To make the change as smooth as possible 'export BUILD_ROM' is

Re: [U-Boot] [PATCH v3] cmd: usb: add blk devices to ignore list in tree graph

2017-09-19 Thread Suneel Garapati
Hi Bin, On Tue, Sep 19, 2017 at 12:32 AM, Bin Meng wrote: > Hi Suneel, > > On Tue, Sep 19, 2017 at 1:55 PM, Suneel Garapati > wrote: >> add blk child devices to ignore list while displaying >> usb tree graph, otherwise usb tree and info commands >>

[U-Boot] [PATCH] mx53loco: Let CONFIG_DISPLAY_CPUINFO be selected

2017-09-19 Thread Fabio Estevam
With CONFIG_DISPLAY_CPUINFO=y we get a "Reset cause" line, which brings important information of the reboot cause. Signed-off-by: Fabio Estevam --- configs/mx53loco_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/mx53loco_defconfig

Re: [U-Boot] [PATCH 1/1] scripts/checkpatch: add missing spelling.txt

2017-09-19 Thread Dan Murphy
On 09/19/2017 12:28 PM, Heinrich Schuchardt wrote: > Checkpatch can use two dictionaries for finding typos: > * scripts/spelling.txt > * /usr/share/codespell/dictionary.txt > which comes with package codespell and is selected by parameter > --codespell > > If the file scripts/spelling.txt is

[U-Boot] [PATCH 1/6] i.MX6: engicam: Fix MAINTAINERS/README

2017-09-19 Thread Jagan Teki
From: Jagan Teki - Update newly added include/configs file in MAINTAINERS - Update newly added defconfig file in README Signed-off-by: Jagan Teki --- board/engicam/geam6ul/MAINTAINERS | 2 +- board/engicam/icorem6/MAINTAINERS | 2

[U-Boot] [PATCH 0/6] i.MX6Q: Add SPL_OF_CONTROL support

2017-09-19 Thread Jagan Teki
From: Jagan Teki This series add OF_CONTROL support for SPL on Engicam i.MX6QDL boards, along with proper code optimzation changes. Jagan Teki (6): i.MX6: engicam: Fix MAINTAINERS/README imx6ul: geam6ul/isiot: Fix to MMC devices i.MX6: engicam: Move

[U-Boot] [PATCH 3/6] i.MX6: engicam: Move set_fdt_file to common

2017-09-19 Thread Jagan Teki
From: Jagan Teki setenv_fdt_file to common code and set dtb based on CONFIG_DEFAULT_DEVICE_TREE and cpu_type. Signed-off-by: Jagan Teki --- board/engicam/common/board.c| 24

[U-Boot] [PATCH 5/6] i.MX6Q: icore: Add SPL_OF_CONTROL support

2017-09-19 Thread Jagan Teki
From: Jagan Teki Add OF_CONTROL support for SPL code. Signed-off-by: Jagan Teki --- arch/arm/dts/imx6qdl-icore-rqs.dtsi | 2 + arch/arm/dts/imx6qdl-icore.dtsi | 2 + arch/arm/dts/imx6qdl.dtsi | 5 ++

[U-Boot] [PATCH 4/6] i.MX6Q: icorem6: Move spl load fit to common/spl

2017-09-19 Thread Jagan Teki
From: Jagan Teki Move spl load fit code into common/spl Signed-off-by: Jagan Teki --- board/engicam/common/spl.c | 16 board/engicam/icorem6/icorem6.c | 12

[U-Boot] [PATCH 2/6] imx6ul: geam6ul/isiot: Fix to MMC devices

2017-09-19 Thread Jagan Teki
From: Jagan Teki U-Boot proper is using DM_MMC so, enable CONFIG_BLK otherwise find_mmc_device failed to detect MMC device. Signed-off-by: Jagan Teki --- configs/imx6ul_geam_mmc_defconfig | 1 - configs/imx6ul_isiot_emmc_defconfig | 1

[U-Boot] [PATCH 6/6] i.MX6Q: icore: Add imx6q board for icore/icore_rqs

2017-09-19 Thread Jagan Teki
From: Jagan Teki icore and icore_rqs boards are i.MX6QDL SOC type, so create them as imx6q board and place the code as optimum as possible. Signed-off-by: Jagan Teki --- arch/arm/mach-imx/mx6/Kconfig | 24 +--

[U-Boot] DDR training code for Armada 38x

2017-09-19 Thread Chris Packham
Hi Stefan, When you did the port from Marvell's source did you script any of the tidy-up that you did along the way? I'm running up a new board and with the upstream u-boot DDR training occasionally fails. But with the Marvell bootloader it doesn't fail. The initial port was done from TIP-1.29

[U-Boot] Sandbox 'usb start' causes segment fault

2017-09-19 Thread Bin Meng
Hi, Not sure if I am running sandbox correctly with USB support, but here is the log: $ ./u-boot -D U-Boot 2017.09-00191-gc145392-dirty (Sep 17 2017 - 21:33:01 +0800) Model: sandbox DRAM: 128 MiB MMC: Using default environment In:cros-ec-keyb Out: vidconsole Err: vidconsole Model: