Re: [U-Boot] [PATCH] MAINTAINERS: update ARM Snapdragon

2018-06-13 Thread Mateusz Kulikowski
/MAINTAINERS +++ b/MAINTAINERS @@ -184,7 +184,7 @@ F: arch/arm/mach-s5pc1xx/ F:arch/arm/cpu/armv7/s5p-common/ ARM SNAPDRAGON -M: Mateusz Kulikowski +M: Ramon Fried S:Maintained F:arch/arm/mach-snapdragon/ Acked-by: Mateusz Kulikowski M

Re: [U-Boot] [PATCH] MAINTAINERS: board: qcom: db410c: Maintainer changed

2017-09-11 Thread Mateusz Kulikowski
On Mon, Sep 11, 2017 at 04:07:02PM +0200, Jorge Ramirez-Ortiz wrote: > Replacing original author Mateusz Kulikowski > as db410c maintainer > > Signed-off-by: Jorge Ramirez-Ortiz Ack. Good luck. You may also want to take maintainership for snapdragon and spmi, as you'l

Re: [U-Boot] [PATCH 0/5] db410c: updates for grub + gfxterm

2017-07-06 Thread Mateusz Kulikowski
Hi Rob, On 25.06.2017 01:05, Rob Clark wrote: > In particular, support for display setup by lk. This introduces a > simplefb display driver that uses the framebuffer fdt node populated > by the firmware[1] for u-boot display support (and, at least for > what I am working on, more interestingly, E

[U-Boot] [PATCH] arm: start.S: Fix startup of dragonboard410c

2016-07-12 Thread Mateusz Kulikowski
Commit d73718f3 breaks devices where: - There is EL2/EL3 firmware and - U-Boot starts in NS EL1 and - EL2/EL3 firmware didn't unlocked write-access to CPUECTLR_EL1. This patch makes that change opt-out configuration option, and disables it for dragonboard410c. Signed-off-by: Mateusz Kulik

Re: [U-Boot] [PATCH] dragonboard410c: adding missing default addr for script and pxe boot

2016-07-12 Thread Mateusz Kulikowski
On 03.07.2016 19:16, Ricardo Salveti wrote: > Cc: Mateusz Kulikowski > Signed-off-by: Ricardo Salveti > --- > include/configs/dragonboard410c.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/configs/dragonboard410c.h > b/include/configs/dragonboa

Re: [U-Boot] [PATCH] dragonboard410c: prefer sdcard boot over emmc

2016-07-12 Thread Mateusz Kulikowski
On 03.07.2016 18:59, Ricardo Salveti wrote: > Make the external devices the preferred ones when booting the system > (usb is already the first option). This allows users to easily boot > custom distributions without requiring them to reflash/customize u-boot. > > Cc: Mateusz Kulik

Re: [U-Boot] [PATCH] mmc: msm_sdhci: Set mmc->dev pointer in msm_sdc_probe()

2016-07-05 Thread Mateusz Kulikowski
Friendly poke, I would really like to see that in 2016.07 release as MMC is currently not working for dragonboard :( Mateusz On 26.06.2016 22:43, Mateusz Kulikowski wrote: > MMC core expects (now) valid mmc->dev pointer. > During conversion in commit cffe5d86 not every driver wa

Re: [U-Boot] [PATCH] MMC: Do not write to mmc_uclass_priv if it was not allocated

2016-06-30 Thread Mateusz Kulikowski
On 29.06.2016 05:27, Simon Glass wrote: > Hi Matt, > > On 25 June 2016 at 14:57, Matt Corallo wrote: >> Signed-off-by: Matt Corallo >> --- >> drivers/mmc/mmc.c | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c >> index aabfc71..e

[U-Boot] [PATCH] mmc: msm_sdhci: Set mmc->dev pointer in msm_sdc_probe()

2016-06-26 Thread Mateusz Kulikowski
MMC core expects (now) valid mmc->dev pointer. During conversion in commit cffe5d86 not every driver was updated. This patch fixes crash while accessing MMC on boards using Qualcomm SDHCI controller. Signed-off-by: Mateusz Kulikowski --- This patch fixes MMC support on dragonboard. Without

Re: [U-Boot] [PATCH v7 3/9] armv8: Add Secure Monitor/Hypervisor Call (SMC/HVC) infrastructure

2016-06-25 Thread Mateusz Kulikowski
Hi Dirk, On 23.06.2016 13:33, Dirk Behme wrote: [...] Idea: perhaps after this series is merged we can add 2 new commands to u-boot (SMC/HVC) to play with hypervisors/secure monitors (and perhaps use some simple functionality if needed). >>> >>> How this should look like

[U-Boot] [PATCH] dragonboard410c: Increase default environment size.

2016-06-19 Thread Mateusz Kulikowski
Due to changes in distro environment, ENV_SIZE limit was reached on Dragonboard. This patch increases environment size to 8KiB. Signed-off-by: Mateusz Kulikowski --- Hi all, I'm back after a short break (sorry for that). This patch fixes environment for dragonboard - it grew during my ab

Re: [U-Boot] [PATCH 2/3] drivers/gpio/pm8916_gpio.c: Make pid be uint32_t

2016-04-22 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, On 20.04.2016 23:25, Tom Rini wrote: > On Mon, Apr 18, 2016 at 10:23:24PM +0200, Mateusz Kulikowski wrote: [..] >> >> I think (now, when the coverity pointed out mistake) that we should add >> in that case check if pid fit

Re: [U-Boot] [PATCH 2/3] drivers/gpio/pm8916_gpio.c: Make pid be uint32_t

2016-04-18 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 18.04.2016 22:23, Mateusz Kulikowski wrote: > Hi, > > Sorry for slow reply. > > On 12.04.2016 21:11, Tom Rini wrote: >> If get_dev_addr fails it will return FDT_ADDR_T_NONE and: >>>>> "priv->pid =

Re: [U-Boot] [PATCH 2/3] drivers/gpio/pm8916_gpio.c: Make pid be uint32_t

2016-04-18 Thread Mateusz Kulikowski
gt;> its operands. This occurs as the logical operand of if. > > Cc: Mateusz Kulikowski > Reported-by: Coverity (CID: 143913) [...] > - uint16_t pid; /* Peripheral ID on SPMI bus */ > + uint32_t pid; /* Peripheral ID on SPMI bus */ > }; > > static int pm8916_g

[U-Boot] [PATCH] dragonboard410c: Add CONFIG_SYS_CACHELINE_SIZE

2016-04-11 Thread Mateusz Kulikowski
Add missing define to board header file. Signed-off-by: Mateusz Kulikowski --- This patch fixes issue with efi_runtime patch: http://lists.denx.de/pipermail/u-boot/2016-April/251121.html include/configs/dragonboard410c.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs

Re: [U-Boot] [U-Boot,v4,15/21] spmi: Add sandbox test driver

2016-04-04 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, On 04.04.2016 19:09, Stephen Warren wrote: > On 04/04/2016 10:19 AM, Mateusz Kulikowski wrote: [...] >>>> ... but note that the tests fail currently, please fix :) >>> >>> Yup, my automated build/test s

[U-Boot] [PATCH] spmi: Fix sandbox spmi driver memory corruption

2016-04-04 Thread Mateusz Kulikowski
There is off-by-one error in sandbox_emul_gpio that causes segfault of certain tests. EMUL_GPIO_REG_END is the address of last valid (emulated) register. This patch fixed this (by adding one more element to emulated register array). Signed-off-by: Mateusz Kulikowski --- drivers/spmi/spmi

Re: [U-Boot] [U-Boot,v4,15/21] spmi: Add sandbox test driver

2016-04-04 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, On 04.04.2016 17:49, Stephen Warren wrote: > On 04/01/2016 08:04 PM, Tom Rini wrote: >> On Thu, Mar 31, 2016 at 11:12:28PM +0200, Mateusz Kulikowski wrote: >> >>> This patch adds emulated spmi bus controller with part

Re: [U-Boot] [U-Boot,v4,04/21] ehci-hcd: Add init_after_reset

2016-04-03 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 03.04.2016 12:58, Bernhard Nortmann wrote: > Commit 3f9f8a5b83f8aec40c9f4ee496046a695e333c45 breaks U-Boot on Banana Pi > (tested using FEL mode): Fix posted - thanks :) http://lists.denx.de/pipermail/u-boot/2016-April/250373.html Regards, Mat

[U-Boot] [PATCH] usb: ehci-hcd: Fix crash when no ops are provided to ehci_register()

2016-04-03 Thread Mateusz Kulikowski
This commit fixes crash on BananaPi (and possibly others) casued by 3f9f8a5b83f8aec40c9f4ee496046a695e333c45. Crash reason: When no ops were passed to ehci_register(), USB host driver caused NULL pointer dereference. Signed-off-by: Mateusz Kulikowski --- drivers/usb/host/ehci-hcd.c | 4

[U-Boot] [PATCH v4 20/21] board: Add Qualcomm Dragonboard 410C support

2016-03-31 Thread Mateusz Kulikowski
(Power, Vol+, Vol-/Reset) - WIFI, Bluetooth with integrated antenna - 8GiB eMMC U-Boot boots chained with fastboot in 64-bit mode. For detailed build instructions see readme.txt in board directory. Signed-off-by: Mateusz Kulikowski Tested-by: Simon Glass --- Changes in v4: - Move

[U-Boot] [PATCH v4 19/21] arm: Add support for Qualcomm Snapdragon family

2016-03-31 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 v4: - Add

[U-Boot] [PATCH v4 21/21] Add myself as Snapdragon and SPMI maintainer

2016-03-31 Thread Mateusz Kulikowski
- Update MAINTAINERS - Update git-mailrc Signed-off-by: Mateusz Kulikowski Reviewed-by: Simon Glass --- Changes in v4: None 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

[U-Boot] [PATCH v4 17/21] pmic: Add support for Qualcomm PM8916 PMIC

2016-03-31 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 v4: None Changes in v3: None Changes in v2: - Add reviewed-by - Reordered Kconfig & Makefile (to keep alphabetical orde

[U-Boot] [PATCH v4 15/21] spmi: Add sandbox test driver

2016-03-31 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 v4: None Changes in v3: - Updated test.dts to include SPMI like sandbox.dts does Changes in v2

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

2016-03-31 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 ---

[U-Boot] [PATCH v4 14/21] drivers: Add SPMI bus uclass

2016-03-31 Thread Mateusz Kulikowski
write interface. Signed-off-by: Mateusz Kulikowski Reviewed-by: Simon Glass Tested-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: - Use proper entry order in Kconfig - Rename CONFIG_DM_SPMI -> CONFIG_SPMI - Fix header ordering - Add reviewed-by Changes in v1: - Reorder

[U-Boot] [PATCH v4 16/21] drivers: spmi: Add support for Qualcomm SPMI bus driver

2016-03-31 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 v4: None Changes in v3: None Changes in v2: - Rename DM_SPMI -> SPMI - Rename p -> priv (in write/read) - Fix header ordering (again)

[U-Boot] [PATCH v4 10/21] usb: Rename ehci-fsl.h to ehci-ci.h

2016-03-31 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

[U-Boot] [PATCH v4 13/21] ehci: Add support for Qualcomm EHCI

2016-03-31 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 v4

[U-Boot] [PATCH v4 11/21] usb: ehci-ci: Add missing registers.

2016-03-31 Thread Mateusz Kulikowski
: Mateusz Kulikowski Reviewed-by: Marek Vasut Tested-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: - Add reviewed-by Changes in v1: None include/usb/ehci-ci.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/usb/ehci-ci.h b/include

[U-Boot] [PATCH v4 09/21] eth: asix88179: Print packet length properly

2016-03-31 Thread Mateusz Kulikowski
Debug printf used '%u' to print size_t variable. This caused warnings on 64-bit machines. Signed-off-by: Mateusz Kulikowski Acked-by: Marek Vasut Acked-by: Joe Hershberger --- Changes in v4: - Add Ack from Marek and Joe Changes in v3: - New patch Changes in v2: None Changes i

[U-Boot] [PATCH v4 12/21] ehci-ci.h: drop generic USBCMD fields

2016-03-31 Thread Mateusz Kulikowski
Use definitions from ehci.h instead. Signed-off-by: Mateusz Kulikowski Acked-by: Marek Vasut Tested-by: Simon Glass --- Changes in v4: None 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

[U-Boot] [PATCH v4 07/21] usb: ulpi: Fix viewport_addr type

2016-03-31 Thread Mateusz Kulikowski
viewport_addr is address of memory mapped ULPI viewport. It is used only as argument to readl/writel later causing compile warnings on 64-bit devices. This fix changes its type to match pointer size. Signed-off-by: Mateusz Kulikowski Acked-by: Marek Vasut --- Changes in v4: - Add Ack from

[U-Boot] [PATCH v4 08/21] usb: ulpi: Fix compile warning in read/write on 64-bit machines.

2016-03-31 Thread Mateusz Kulikowski
(according to ULPI 1.1 spec) to have more than 8-bit addressing. This patch should not cause regressions as all calls to ulpi_read/write use either structure pointer (@ address 0) or integer offsets cast to pointer - addresses requested are way below 8-bit range. Signed-off-by: Mateusz Kulikowski

[U-Boot] [PATCH v4 06/21] Migrate CONFIG_ULPI* to Kconfig

2016-03-31 Thread Mateusz Kulikowski
: Mateusz Kulikowski Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: - New patch, independent of the rest - Should compile cleanly on all affected platforms - Is orthogonal to series (i.e. if get's NAK will not break rest of series) Changes in v1: None co

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

2016-03-31 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 Acked-by: Marek Vasut --- Changes in v4: - Add Ack from Marek Changes in v3: None Changes in v2

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

2016-03-31 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

[U-Boot] [PATCH v4 02/21] gpio: Add support for Qualcomm gpio controller

2016-03-31 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 v4: None Changes in v3: None Changes in v2

[U-Boot] [PATCH v4 04/21] ehci-hcd: Add init_after_reset

2016-03-31 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

[U-Boot] [PATCH v4 01/21] serial: Add support for Qualcomm serial port

2016-03-31 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 v4: None Changes in v3: - Add msm_serial_fetch that tries to fetch characters

[U-Boot] [PATCH v4 00/21] Add support for 96boards Dragonboard410C board

2016-03-31 Thread Mateusz Kulikowski
, added newlines where needed - Check return value of dev_get_addr - Add binding for apq8016 - Cleaned up divider calculation - Drop most of gpio.h (only empty file is needed) - Add better help for dragonboard - Move static structures to board_prepare_usb - Add DM_SPMI to defconfig Mateusz Kulikowsk

[U-Boot] [PATCH v3 20/21] board: Add Qualcomm Dragonboard 410C support

2016-03-13 Thread Mateusz Kulikowski
(Power, Vol+, Vol-/Reset) - WIFI, Bluetooth with integrated antenna - 8GiB eMMC U-Boot boots chained with fastboot in 64-bit mode. For detailed build instructions see readme.txt in board directory. Signed-off-by: Mateusz Kulikowski Tested-by: Simon Glass --- Changes in v3: - readme: Added info

[U-Boot] [PATCH v3 21/21] Add myself as Snapdragon and SPMI maintainer

2016-03-13 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 v3 19/21] arm: Add support for Qualcomm Snapdragon family

2016-03-13 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

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

2016-03-13 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 ---

[U-Boot] [PATCH v3 16/21] drivers: spmi: Add support for Qualcomm SPMI bus driver

2016-03-13 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 Chan

[U-Boot] [PATCH v3 15/21] spmi: Add sandbox test driver

2016-03-13 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

[U-Boot] [PATCH v3 17/21] pmic: Add support for Qualcomm PM8916 PMIC

2016-03-13 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 t

[U-Boot] [PATCH v3 13/21] ehci: Add support for Qualcomm EHCI

2016-03-13 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 v3 14/21] drivers: Add SPMI bus uclass

2016-03-13 Thread Mateusz Kulikowski
write interface. Signed-off-by: Mateusz Kulikowski Reviewed-by: Simon Glass Tested-by: Simon Glass --- Changes in v3: None Changes in v2: - Use proper entry order in Kconfig - Rename CONFIG_DM_SPMI -> CONFIG_SPMI - Fix header ordering - Add reviewed-by Changes in v1: - Reorder includes - Add re

[U-Boot] [PATCH v3 11/21] usb: ehci-ci: Add missing registers.

2016-03-13 Thread Mateusz Kulikowski
: Mateusz Kulikowski Reviewed-by: Marek Vasut Tested-by: Simon Glass --- Changes in v3: None Changes in v2: - Add reviewed-by Changes in v1: None include/usb/ehci-ci.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/usb/ehci-ci.h b/include/usb/ehci-ci.h index

[U-Boot] [PATCH v3 12/21] ehci-ci.h: drop generic USBCMD fields

2016-03-13 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 v3 10/21] usb: Rename ehci-fsl.h to ehci-ci.h

2016-03-13 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

[U-Boot] [PATCH v3 09/21] eth: asix88179: Print packet length properly

2016-03-13 Thread Mateusz Kulikowski
Debug printf used '%u' to print size_t variable. This caused warnings on 64-bit machines. Signed-off-by: Mateusz Kulikowski --- Changes in v3: - New patch Changes in v2: None Changes in v1: None drivers/usb/eth/asix88179.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[U-Boot] [PATCH v3 07/21] usb: ulpi: Fix viewport_addr type

2016-03-13 Thread Mateusz Kulikowski
viewport_addr is address of memory mapped ULPI viewport. It is used only as argument to readl/writel later causing compile warnings on 64-bit devices. This fix changes its type to match pointer size. Signed-off-by: Mateusz Kulikowski --- Changes in v3: - New patch Changes in v2: None Changes

[U-Boot] [PATCH v3 08/21] usb: ulpi: Fix compile warning in read/write on 64-bit machines.

2016-03-13 Thread Mateusz Kulikowski
(according to ULPI 1.1 spec) to have more than 8-bit addressing. This patch should not cause regressions as all calls to ulpi_read/write use either structure pointer (@ address 0) or integer offsets cast to pointer - addresses requested are way below 8-bit range. Signed-off-by: Mateusz Kulikowski

[U-Boot] [PATCH v3 04/21] ehci-hcd: Add init_after_reset

2016-03-13 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

[U-Boot] [PATCH v3 06/21] Migrate CONFIG_ULPI* to Kconfig

2016-03-13 Thread Mateusz Kulikowski
: Mateusz Kulikowski Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: - New patch, independent of the rest - Should compile cleanly on all affected platforms - Is orthogonal to series (i.e. if get's NAK will not break rest of series) Changes in v1: None configs/colibri_t20_defc

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

2016-03-13 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

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

2016-03-13 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

[U-Boot] [PATCH v3 01/21] serial: Add support for Qualcomm serial port

2016-03-13 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: - Add msm_serial_fetch that tries to fetch characters from FIFO - Decr

[U-Boot] [PATCH v3 00/21] Add support for 96boards Dragonboard410C board

2016-03-13 Thread Mateusz Kulikowski
Cleaned up divider calculation - Drop most of gpio.h (only empty file is needed) - Add better help for dragonboard - Move static structures to board_prepare_usb - Add DM_SPMI to defconfig Mateusz Kulikowski (21): serial: Add support for Qualcomm serial port gpio: Add support for Qualcomm g

[U-Boot] [PATCH v3 02/21] gpio: Add support for Qualcomm gpio controller

2016-03-13 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

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

2016-03-12 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Daniel, Thanks for the hints! On 12.03.2016 00:58, Daniel Glöckner wrote: > On Sun, Feb 07, 2016 at 09:57:37PM +0100, Mateusz Kulikowski wrote: [...] >> +.global _fastboot_header >> +_fastboot_header: >> +b _start >

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

2016-03-05 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Tom, I finally was able to do some coding and so: On 25.02.2016 00:42, Tom Rini wrote: > On Sun, Feb 07, 2016 at 09:57:20PM +0100, Mateusz Kulikowski wrote: [...] >> - Rebased to recent master > > Please note that I see a lot o

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

2016-02-24 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Ouch - I missed this one - sorry for late reply. On 09.02.2016 22:33, Jagan Teki wrote: > On 8 February 2016 at 02:27, Mateusz Kulikowski > wrote: [...] >> +/* Non-standard registers needed for SDHCI startup */ >> +#def

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

2016-02-20 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 09.02.2016 22:51, Jagan Teki wrote: > On 8 February 2016 at 02:27, Mateusz Kulikowski > wrote: [..] >> 8 files changed, 352 insertions(+) >> create mode 100644 arch/arm/mach-snapdragon/Kconfig >> create mode 100644

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

2016-02-20 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Jagan, On 09.02.2016 22:44, Jagan Teki wrote: > On 8 February 2016 at 02:27, Mateusz Kulikowski > wrote: [...] >> - Sanity HW check (i.e. check type/subtype registers) >> >> doc/device-tree-bindings/gpio/pm8916_gpio.tx

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

2016-02-19 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, On 09.02.2016 22:37, Jagan Teki wrote: > On 8 February 2016 at 02:27, Mateusz Kulikowski > wrote: [..] >> doc/device-tree-bindings/spmi/spmi-msm.txt | 26 >> drivers/spmi/Kconfig | 7 +- >>

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

2016-02-19 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi All, Sorry for long delay :) On 16.02.2016 16:59, Simon Glass wrote: > Hi, > > On 9 February 2016 at 14:25, Jagan Teki wrote: >> On 8 February 2016 at 02:27, Mateusz Kulikowski >> wrote: [...] >>&

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

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

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

2016-02-07 Thread Mateusz Kulikowski
(Power, Vol+, Vol-/Reset) - WIFI, Bluetooth with integrated antenna - 8GiB eMMC U-Boot boots chained with fastboot in 64-bit mode. For detailed build instructions see readme.txt in board directory. Signed-off-by: Mateusz Kulikowski Tested-by: Simon Glass --- Changes in v3: - readme: Added info

[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

[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

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

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

2016-02-07 Thread Mateusz Kulikowski
write interface. Signed-off-by: Mateusz Kulikowski Reviewed-by: Simon Glass Tested-by: Simon Glass --- Changes in v3: None Changes in v2: - Use proper entry order in Kconfig - Rename CONFIG_DM_SPMI -> CONFIG_SPMI - Fix header ordering - Add reviewed-by Changes in v1: - Reorder includes - Add re

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

[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
: Mateusz Kulikowski Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: - New patch, independent of the rest - Should compile cleanly on all affected platforms - Is orthogonal to series (i.e. if get's NAK will not break rest of series) Changes in v1: None configs/colibri_t20_defc

[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

[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
: Mateusz Kulikowski Reviewed-by: Marek Vasut Tested-by: Simon Glass --- Changes in v3: None Changes in v2: - Add reviewed-by Changes in v1: None include/usb/ehci-ci.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/usb/ehci-ci.h b/include/usb/ehci-ci.h index

[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

[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

[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

[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

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

2016-02-07 Thread Mateusz Kulikowski
family where possible - Drop unneded comments, added newlines where needed - Check return value of dev_get_addr - Add binding for apq8016 - Cleaned up divider calculation - Drop most of gpio.h (only empty file is needed) - Add better help for dragonboard - Move static structures to board_prepare_usb

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

2016-01-24 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

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

2016-01-24 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 --- Changes in v2: - Rename DM_SPMI -> S

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

2016-01-24 Thread Mateusz Kulikowski
- Update MAINTAINERS - Update git-mailrc Signed-off-by: Mateusz Kulikowski --- 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/MAINTAINERS index b387207..56a0eba 100644

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

2016-01-24 Thread Mateusz Kulikowski
(Power, Vol+, Vol-/Reset) - WIFI, Bluetooth with integrated antenna - 8GiB eMMC U-Boot boots chained with fastboot in 64-bit mode. For detailed build instructions see readme.txt in board directory. Signed-off-by: Mateusz Kulikowski --- Changes in v2: - Renamed CONFIG_DM_SPMI -> CONFIG_S

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

2016-01-24 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 --- Changes in v2: - Add R

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

2016-01-24 Thread Mateusz Kulikowski
This PMIC is connected on SPMI bus so needs SPMI support enabled. Signed-off-by: Mateusz Kulikowski Reviewed-by: Simon Glass --- Changes in v2: - Add reviewed-by - Reordered Kconfig & Makefile (to keep alphabetical ordering) - Added link to dt binding @ help Changes in v1: - Added dt bind

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

2016-01-24 Thread Mateusz Kulikowski
Use definitions from ehci.h instead. Signed-off-by: Mateusz Kulikowski Acked-by: Marek Vasut --- 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, 2 insertions(+), 6 deletions(-) diff --git

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

2016-01-24 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 v2: - Rename CONFIG_DM_SPMI -> CONFIG_SPMI - Rename r -> regs, p -> priv - Add reviewed-by

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

2016-01-24 Thread Mateusz Kulikowski
write interface. Signed-off-by: Mateusz Kulikowski Reviewed-by: Simon Glass --- Changes in v2: - Use proper entry order in Kconfig - Rename CONFIG_DM_SPMI -> CONFIG_SPMI - Fix header ordering - Add reviewed-by Changes in v1: - Reorder includes - Add read/write arguments documentation drivers

  1   2   3   >