Re: [U-Boot] [PATCH] serial: zynq: Change logic in putc

2016-02-07 Thread Moritz Fischer
On Wed, Feb 3, 2016 at 6:34 AM, Michal Simek wrote: > Sync logic with Linux kernel where TX empty flag is checked before char > is sent. > This logic is fixing problem with console on zynqmp platform. > > For example: > DRAM: 2 GiB > Enabling Caches... > EL Level: �� sdhci@ff17: 0 > U

Re: [U-Boot] [PATCH v2 17/18] board: Add Qualcomm Dragonboard 410C support

2016-02-07 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, On 31.01.2016 16:17, Simon Glass wrote: > On 24 January 2016 at 13:53, Mateusz Kulikowski > wrote: [...] > > For the readme, can you please do a patch to add a few more things? > > - How to enter fastboot mode I've added it (sorry, it was

[U-Boot] [PATCH v2 15/18] gpio: Add support for Qualcomm PM8916 gpios

2016-02-07 Thread Mateusz Kulikowski
This driver supports GPIOs present on PM8916 PMIC. There are 2 device drivers inside: - GPIO driver (4 "generic" GPIOs) - Keypad driver that presents itself as GPIO with 2 inputs (power and reset) Signed-off-by: Mateusz Kulikowski Reviewed-by: Simon Glass Tested-by: Simon Glass --- Changes in

[U-Boot] [PATCH v2 17/18] board: Add Qualcomm Dragonboard 410C support

2016-02-07 Thread Mateusz Kulikowski
This commit add support for 96Boards Dragonboard410C. It is board based on APQ8016 Qualcomm SoC, complying with 96boards specification. Features (present out of the box): - 4x Cortex A53 (ARMv8) - 2x USB Host port - 1x USB Device port - 4x LEDs - 1x HDMI connector - 1x uSD connector - 3x buttons (P

[U-Boot] [PATCH v2 16/18] arm: Add support for Qualcomm Snapdragon family

2016-02-07 Thread Mateusz Kulikowski
First supported chip is APQ8016 (that is compatible with MSM8916). Drivers in SoC code: - Reset controller (PSHOLD) - Clock controller (very simple clock configuration for MMC and UART) Signed-off-by: Mateusz Kulikowski Reviewed-by: Simon Glass Tested-by: Simon Glass --- Changes in v3: None Ch

[U-Boot] [PATCH v2 18/18] Add myself as Snapdragon and SPMI maintainer

2016-02-07 Thread Mateusz Kulikowski
- Update MAINTAINERS - Update git-mailrc Signed-off-by: Mateusz Kulikowski Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: - New patch Changes in v1: None MAINTAINERS| 11 +++ doc/git-mailrc | 3 +++ 2 files changed, 14 insertions(+) diff --git a/MAINTAINERS b/

[U-Boot] [PATCH v2 12/18] spmi: Add sandbox test driver

2016-02-07 Thread Mateusz Kulikowski
This patch adds emulated spmi bus controller with part of pm8916 pmic on it to sandbox and tests validating SPMI uclass. Signed-off-by: Mateusz Kulikowski Reviewed-by: Simon Glass --- Changes in v3: - Updated test.dts to include SPMI like sandbox.dts does Changes in v2: - Rename CONFIG_DM_SPMI

[U-Boot] [PATCH v2 14/18] pmic: Add support for Qualcomm PM8916 PMIC

2016-02-07 Thread Mateusz Kulikowski
This PMIC is connected on SPMI bus so needs SPMI support enabled. Signed-off-by: Mateusz Kulikowski Reviewed-by: Simon Glass Tested-by: Simon Glass --- Changes in v3: None Changes in v2: - Add reviewed-by - Reordered Kconfig & Makefile (to keep alphabetical ordering) - Added link to dt binding

[U-Boot] [PATCH v2 11/18] drivers: Add SPMI bus uclass

2016-02-07 Thread Mateusz Kulikowski
Qualcom processors use proprietary bus to talk with PMIC devices - SPMI (System Power Management Interface). On wiring level it is similar to I2C, but on protocol level, it's multi-master and has simple autodetection capabilities. This commit adds simple uclass that provides bus read/write interfac

[U-Boot] [PATCH v2 13/18] drivers: spmi: Add support for Qualcomm SPMI bus driver

2016-02-07 Thread Mateusz Kulikowski
Support SPMI arbiter on Qualcomm Snapdragon devices. Signed-off-by: Mateusz Kulikowski Reviewed-by: Simon Glass Tested-by: Simon Glass --- Changes in v3: None Changes in v2: - Rename DM_SPMI -> SPMI - Rename p -> priv (in write/read) - Fix header ordering (again) - Add reviewed-by Changes in

[U-Boot] [PATCH v2 10/18] ehci: Add support for Qualcomm EHCI

2016-02-07 Thread Mateusz Kulikowski
This driver is able to reconfigure OTG controller into HOST mode. Board can add board-specific initialization as board_prepare_usb(). It requires USB_ULPI_VIEWPORT enabled in board configuration. Signed-off-by: Mateusz Kulikowski Acked-by: Marek Vasut Tested-by: Simon Glass --- Changes in v3:

[U-Boot] [PATCH v2 09/18] ehci-ci.h: drop generic USBCMD fields

2016-02-07 Thread Mateusz Kulikowski
Use definitions from ehci.h instead. Signed-off-by: Mateusz Kulikowski Acked-by: Marek Vasut Tested-by: Simon Glass --- Changes in v3: None Changes in v2: - Add Acked-by Changes in v1: None drivers/usb/host/ehci-mpc512x.c | 4 ++-- include/usb/ehci-ci.h | 4 2 files changed,

[U-Boot] [PATCH v2 06/18] Migrate CONFIG_ULPI* to Kconfig

2016-02-07 Thread Mateusz Kulikowski
Move CONFIG_USB_ULPI* from headers to defconfigs for boards that use it. Also - add CONFIG_USB where necesarry - all boards use it, but some are not defining it explicitly. Affected boards: colibri_t20, harmony, mcx, mt_ventoux, twister, zynq_(picozed, zc702, zc706, zed, zybo) Signed-off-by: Mate

[U-Boot] [PATCH v2 05/18] usb: ulpi: Add Kconfig options for ULPI

2016-02-07 Thread Mateusz Kulikowski
The following options can be now enabled via defconfig: - CONFIG_USB_ULPI - CONFIG_USB_ULPI_VIEWPORT - CONFIG_USB_ULPI_VIEWPORT_OMAP Signed-off-by: Mateusz Kulikowski Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: - Add better (any) descriptions for Kconfig items. Changes in v

[U-Boot] [PATCH v2 02/18] gpio: Add support for Qualcomm gpio controller

2016-02-07 Thread Mateusz Kulikowski
Add support for gpio controllers on Qualcomm Snapdragon devices. This devices are usually called Top Level Mode Multiplexing in Qualcomm documentation. Signed-off-by: Mateusz Kulikowski Reviewed-by: Simon Glass Tested-by: Simon Glass --- Changes in v3: None Changes in v2: - Reordered includes

[U-Boot] [PATCH v2 08/18] usb: ehci-ci: Add missing registers.

2016-02-07 Thread Mateusz Kulikowski
Some registers of usb_ehci were marked as reserved. This may be true for some variants of Chipidea USB core, but they have meaning on other devices. The following registers were added: sbusstatus/sbusmode: AHB-related registers genconfig*: Auxiluary IP core configuration registers. Signed-off-by:

[U-Boot] [PATCH v2 07/18] usb: Rename ehci-fsl.h to ehci-ci.h

2016-02-07 Thread Mateusz Kulikowski
Most of ehci-fsl header describe USB controller designed by Chipidea and used by various SoC vendors. This patch renames it to a generic header: ehci-ci.h Contents of file are not changed (so it contains several references to freescale SoCs). Signed-off-by: Mateusz Kulikowski Acked-by: Marek Vas

[U-Boot] [PATCH v2 04/18] ehci-hcd: Add init_after_reset

2016-02-07 Thread Mateusz Kulikowski
Some host controllers need addidional initialization after ehci_reset() In non-dm implementation it is possible to use CONFIG_EHCI_HCD_INIT_AFTER_RESET. This patch adds similar option to ehci drivers using dm. Signed-off-by: Mateusz Kulikowski Acked-by: Marek Vasut Reviewed-by: Tom Rini Reviewe

[U-Boot] [PATCH v2 03/18] mmc: Add support for Qualcomm SDHCI controller

2016-02-07 Thread Mateusz Kulikowski
Add support for SD/eMMC controller present on some Qualcomm Snapdragon devices. This controller implements SDHCI 2.0 interface but requires vendor-specific initialization. Driver works in PIO mode as ADMA is not supported by U-Boot (yet). Signed-off-by: Mateusz Kulikowski Reviewed-by: Simon Glass

[U-Boot] [PATCH v2 01/18] serial: Add support for Qualcomm serial port

2016-02-07 Thread Mateusz Kulikowski
This driver works in "new" Data Mover UART mode, so will be compatible with modern Qualcomm chips only. Signed-off-by: Mateusz Kulikowski Reviewed-by: Simon Glass Tested-by: Simon Glass --- Changes in v3: None Changes in v2: - Added newline before return... (globally) - Renamed p to priv (priv

[U-Boot] [PATCH v2 00/18] Add support for 96boards Dragonboard410C board

2016-02-07 Thread Mateusz Kulikowski
Hi All, This is (hopefully) last version of Dragonboard410c series. As always - for "simplicity" this series is available on my github: https://github.com/hallor/u-boot/tree/dragonboard-for-mainline-v3 There are almost no changes (none that should break anything): - Updated dragonboard readme.tx

Re: [U-Boot] [PATCH] sniper: Drop references to P970

2016-02-07 Thread Tom Rini
On Sun, Feb 07, 2016 at 04:50:50PM +0100, Paul Kocialkowski wrote: > There are various different boards with the same hardware sold as LG Optimus > Black, such as P970, P970g and KU5900. Since this port is functional for all > variants, it doesn't make sense to keep references to P970. > > Signed

[U-Boot] [PATCH] sniper: Drop references to P970

2016-02-07 Thread Paul Kocialkowski
There are various different boards with the same hardware sold as LG Optimus Black, such as P970, P970g and KU5900. Since this port is functional for all variants, it doesn't make sense to keep references to P970. Signed-off-by: Paul Kocialkowski --- board/lge/sniper/Makefile | 2 +- board/lge/s