[U-Boot] [PATCHv6 1/3] ARM64: dts: hi3798cv200-poplar: add device tree bindings

2017-06-26 Thread Jorge Ramirez-Ortiz
Pulled from Linux 4.12-rc3 Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/hi3798cv200-poplar.dts | 162 + arch/arm/dts/hi3798cv200.dtsi | 411 include/dt-bindings/clock/histb-clock.h

[U-Boot] [PATCHv6 2/3] driver: mmc: update debug info

2017-06-26 Thread Jorge Ramirez-Ortiz
This driver is used in another board; remove board information from the driver debug log. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- drivers/mmc/hi6220_dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/hi6220_dw_mmc.c b/d

[U-Boot] [PATCHv6 3/3] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-06-26 Thread Jorge Ramirez-Ortiz
-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/Kconfig | 14 + arch/arm/dts/hi3798cv200-u-boot.dtsi | 29 +++ arch/arm/include/asm/arch-hi3798cv200/dwmmc.h | 13 + .../arm/include/asm/arch-hi3798cv200/hi3798cv200.h

Re: [U-Boot] [PATCHv4 3/3] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-05-26 Thread Jorge Ramirez Ortiz
On May 26, 2017 2:46 PM, "Tom Rini" wrote: On Fri, May 26, 2017 at 09:28:28AM +0200, Jorge Ramirez wrote: > On 05/26/2017 12:08 AM, Tom Rini wrote: > >On Thu, May 25, 2017 at 11:16:42PM +0200, Jorge Ramirez wrote: > >>On 05/25/2017 11:12 PM, Tom Rini wrote: > >>>On Thu, May

[U-Boot] [PATCHv5 3/3] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-05-29 Thread Jorge Ramirez-Ortiz
the fastboot.bin image in one of the partitions. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/Kconfig | 12 ++ arch/arm/dts/hi3798cv200-u-boot.dtsi | 29 +++ arch/arm/include/asm/arch-hi3798cv200/dwmmc.h

[U-Boot] [PATCHv5 2/3] driver: mmc: update debug info

2017-05-29 Thread Jorge Ramirez-Ortiz
This driver is used in another board; remove board information from the driver debug log. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- drivers/mmc/hi6220_dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/hi6220_dw_mmc.c b/d

[U-Boot] [PATCHv5 1/3] ARM64: dts: hi3798cv200-poplar: add device tree bindings

2017-05-29 Thread Jorge Ramirez-Ortiz
Pulled from Linux 4.12-rc3 Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/hi3798cv200-poplar.dts | 162 + arch/arm/dts/hi3798cv200.dtsi | 411 include/dt-bindings/clock/histb-clock.h

[U-Boot] [PATCHv2 1/5] ARM64: dts: hi3798cv200-poplar: add device tree bindings

2017-05-08 Thread Jorge Ramirez-Ortiz
pulled from linux-next tag 20170505 Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/hi3798cv200-poplar.dts | 162 + arch/arm/dts/hi3798cv200.dtsi | 411 include/dt-bindings/clock/histb-clock.h

[U-Boot] [PATCHv2 2/5] ARM64: dts: poplar: add usb-ehci node

2017-05-08 Thread Jorge Ramirez-Ortiz
--- arch/arm/dts/hi3798cv200-poplar.dts | 5 + arch/arm/dts/hi3798cv200.dtsi | 6 ++ 2 files changed, 11 insertions(+) diff --git a/arch/arm/dts/hi3798cv200-poplar.dts b/arch/arm/dts/hi3798cv200-poplar.dts index b914287..998472a 100644 --- a/arch/arm/dts/hi3798cv200-poplar.dts +++

[U-Boot] [PATCHv2 5/5] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-05-08 Thread Jorge Ramirez-Ortiz
environment. USB has been tested with ASIX networking adapter and SanDisk 7.4GB drive. PSCI has been tested via the reset call. The firwmare upgrade process has been tested via TFTP and USB FAT filesystem containing the fastboot.bin image in one of the partitions. Signed-off-by: Jorge Ramirez-Ortiz

[U-Boot] [PATCHv2 4/5] driver: mmc: update debug info

2017-05-08 Thread Jorge Ramirez-Ortiz
This driver is used in another board; remove board information from the driver debug log. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- drivers/mmc/hi6220_dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/hi6220_dw_mmc.c b/d

[U-Boot] [PATCHv2 3/5] ARM64: dts: poplar: add clock frequency to the console node

2017-05-08 Thread Jorge Ramirez-Ortiz
--- arch/arm/dts/hi3798cv200.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/hi3798cv200.dtsi b/arch/arm/dts/hi3798cv200.dtsi index 275282c..377303f 100644 --- a/arch/arm/dts/hi3798cv200.dtsi +++ b/arch/arm/dts/hi3798cv200.dtsi @@ -116,6 +116,7 @@

[U-Boot] [PATCH 1/5] ARM64: poplar: add device tree bindings

2017-05-04 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/hi3798cv200-poplar.dts | 169 + arch/arm/dts/hi3798cv200.dtsi | 413 include/dt-bindings/clock/histb-clock.h | 66 + include/dt-bindings/re

[U-Boot] [PATCH 5/5] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-05-04 Thread Jorge Ramirez-Ortiz
environment. USB has been tested with ASIX networking adapter and SanDisk 7.4GB drive. PSCI has been tested via the reset call. The firwmare upgrade process has been tested via TFTP and USB FAT filesystem containing the fastboot.bin image in one of the partitions. Signed-off-by: Jorge Ramirez-Ortiz

[U-Boot] [PATCH 2/5] driver: usb: add EHCI driver for hi3787cv200 SoC

2017-05-04 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- .../arm/include/asm/arch-hi3798cv200/hi3798cv200.h | 93 ++ drivers/usb/host/Kconfig | 6 + drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-hi3798c

[U-Boot] [PATCH 4/5] arm: mach-types: add hikey and poplar

2017-05-04 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/include/asm/mach-types.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/mach-types.h b/arch/arm/include/asm/mach-types.h index 9f82efe..db06923 100644 --- a/arch/arm/include/as

[U-Boot] [PATCH 3/5] driver: mmc: update debug info

2017-05-04 Thread Jorge Ramirez-Ortiz
This driver is used in another board; remove board information from the driver debug log. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- drivers/mmc/hi6220_dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/hi6220_dw_mmc.c b/d

[U-Boot] Patchset v4 Poplar 96Boards EE

2017-05-08 Thread Jorge Ramirez-Ortiz
[PATCHv4 1/3] ARM64: dts: hi3798cv200-poplar: add device tree bindings [PATCHv4 2/3] driver: mmc: update debug info [PATCHv4 3/3] ARM64: poplar: hi3798cv200: u-boot support for Poplar The following changes with respect to v3: - Remove modifications to the linux kernel device tree - Introduce

[U-Boot] [PATCHv4 1/3] ARM64: dts: hi3798cv200-poplar: add device tree bindings

2017-05-08 Thread Jorge Ramirez-Ortiz
pulled from linux-next tag 20170505 Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/hi3798cv200-poplar.dts | 162 + arch/arm/dts/hi3798cv200.dtsi | 411 include/dt-bindings/clock/histb-clock.h

[U-Boot] [PATCHv4 3/3] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-05-08 Thread Jorge Ramirez-Ortiz
environment. USB has been tested with ASIX networking adapter and SanDisk 7.4GB drive. PSCI has been tested via the reset call. The firwmare upgrade process has been tested via TFTP and USB FAT filesystem containing the fastboot.bin image in one of the partitions. Signed-off-by: Jorge Ramirez-Ortiz

[U-Boot] [PATCHv4 2/3] driver: mmc: update debug info

2017-05-08 Thread Jorge Ramirez-Ortiz
This driver is used in another board; remove board information from the driver debug log. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- drivers/mmc/hi6220_dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/hi6220_dw_mmc.c b/d

[U-Boot] [PATCHv3 3/5] ARM64: dts: poplar: add clock frequency to the console node

2017-05-08 Thread Jorge Ramirez-Ortiz
--- arch/arm/dts/hi3798cv200.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/hi3798cv200.dtsi b/arch/arm/dts/hi3798cv200.dtsi index 275282c..377303f 100644 --- a/arch/arm/dts/hi3798cv200.dtsi +++ b/arch/arm/dts/hi3798cv200.dtsi @@ -116,6 +116,7 @@

[U-Boot] [PATCHv3 2/5] ARM64: dts: poplar: add usb-ehci node

2017-05-08 Thread Jorge Ramirez-Ortiz
--- arch/arm/dts/hi3798cv200-poplar.dts | 5 + arch/arm/dts/hi3798cv200.dtsi | 6 ++ 2 files changed, 11 insertions(+) diff --git a/arch/arm/dts/hi3798cv200-poplar.dts b/arch/arm/dts/hi3798cv200-poplar.dts index b914287..998472a 100644 --- a/arch/arm/dts/hi3798cv200-poplar.dts +++

[U-Boot] [PATCHv3 5/5] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-05-08 Thread Jorge Ramirez-Ortiz
environment. USB has been tested with ASIX networking adapter and SanDisk 7.4GB drive. PSCI has been tested via the reset call. The firwmare upgrade process has been tested via TFTP and USB FAT filesystem containing the fastboot.bin image in one of the partitions. Signed-off-by: Jorge Ramirez-Ortiz

[U-Boot] [PATCHv3 4/5] driver: mmc: update debug info

2017-05-08 Thread Jorge Ramirez-Ortiz
This driver is used in another board; remove board information from the driver debug log. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- drivers/mmc/hi6220_dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/hi6220_dw_mmc.c b/d

[U-Boot] [PATCHv3 1/5] ARM64: dts: hi3798cv200-poplar: add device tree bindings

2017-05-08 Thread Jorge Ramirez-Ortiz
pulled from linux-next tag 20170505 Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/hi3798cv200-poplar.dts | 162 + arch/arm/dts/hi3798cv200.dtsi | 411 include/dt-bindings/clock/histb-clock.h

[U-Boot] Patchset v3 Poplar 96Boards EE

2017-05-08 Thread Jorge Ramirez-Ortiz
[PATCHv3 1/5] ARM64: dts: hi3798cv200-poplar: add device tree bindings [PATCHv3 2/5] ARM64: dts: poplar: add usb-ehci node [PATCHv3 3/5] ARM64: dts: poplar: add clock frequency to the console [PATCHv3 4/5] driver: mmc: update debug info [PATCHv3 5/5] ARM64: poplar: hi3798cv200: u-boot support for

[U-Boot] [PATCHv3] env: enable accessing the environment in an EXT4 partition

2017-11-27 Thread Jorge Ramirez-Ortiz
the following commit enables accessing the environment in an ext4 partition. In order to do that, some definitions need to be added to include/configs/board_x.h file. For example to store the environment in a file named "/uboot.env" in MMC "0", where partition "1" contains the EXT4 filesystem,

[U-Boot] [PATCH] env: enable CONFIG_ENV_IS_IN_EXT4

2017-11-27 Thread Jorge Ramirez-Ortiz
--- env/Kconfig | 10 ++ env/env.c | 2 ++ 2 files changed, 12 insertions(+) diff --git a/env/Kconfig b/env/Kconfig index 2477bf8..4387a2c 100644 --- a/env/Kconfig +++ b/env/Kconfig @@ -81,6 +81,16 @@ config ENV_IS_IN_FAT - CONFIG_FAT_WRITE: This must be enabled.

[U-Boot] [PATCHv2] env: enable accessing the environemnt in EXT4 partition

2017-11-27 Thread Jorge Ramirez-Ortiz
the following commit enables accessing the environment in an ext4 partition. In order to do that, some definitions need to be added to include/configs/board_x.h file. For example to store the environment in a file named "uboot.env" in MMC "0", where partition "1" contains the EXT4 filesystem, you

[U-Boot] [PATCHv4] env: enable accessing the environment in an EXT4 partition

2017-11-27 Thread Jorge Ramirez-Ortiz
For example to store the environment in a file named "/uboot.env" in MMC "0", where partition "1" contains the EXT4 filesystem, the following configs should be added to the board's default config: CONFIG_ENV_IS_IN_EXT4=y CONFIG_ENV_EXT4_DEVICE_AND_PART="0:1"

[U-Boot] [PATCH 2/3] arm: mach-snapdragon: refactor clock driver

2017-11-29 Thread Jorge Ramirez-Ortiz
ps, + .priv_auto_alloc_size = sizeof(struct msm_clk_priv), + .probe = msm_clk_probe, +}; diff --git a/arch/arm/mach-snapdragon/clock-snapdragon.h b/arch/arm/mach-snapdragon/clock-snapdragon.h new file mode 100644 index 000..c087eb9 --- /dev/null +++ b/arch/arm/ma

[U-Boot] [PATCH 3/3] board: Add Qualcomm Dragonboard 820C support

2017-11-29 Thread Jorge Ramirez-Ortiz
- GPS - BT 4.2 - Wi-Fi 2.4GHz, 5GHz (802.11ac) - PCIe 2.0 - MIPI-CSI, MIPI-DSI - I2S U-Boot boots chained from LK (LK implements the fastboot protocol) in 64-bit mode. For detailed build instructions see readme.txt in the board directory. Signed-off-by: Jorge Ramirez-Ortiz <jorge.rami

[U-Boot] [PATCH 1/3] env: enable accessing the environment in an EXT4 partition

2017-11-29 Thread Jorge Ramirez-Ortiz
For example to store the environment in a file named "/uboot.env" in MMC "0", where partition "1" contains the EXT4 filesystem, the following configs should be added to the board's default config: CONFIG_ENV_IS_IN_EXT4=y CONFIG_ENV_EXT4_DEVICE_AND_PART="0:1"

[U-Boot] [PATCH v2 7/8] db410c: configs: increase max kernel size

2017-12-14 Thread Jorge Ramirez-Ortiz
the kernel fails to boot when it goes over the limit. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- include/configs/dragonboard410c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/dragonboard410c.h b/include/c

[U-Boot] [PATCH v2 2/8] spmi: msm: display the PMIC Arb version (debug)

2017-12-14 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- drivers/spmi/spmi-msm.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/spmi/spmi-msm.c b/drivers/spmi/spmi-msm.c index c226913..e9bfbb0 100644 --- a/drivers/spmi/spmi-msm.c +++ b/drivers/spm

[U-Boot] [PATCH v2 3/8] arm: mach-snapdragon: refactor clock driver

2017-12-14 Thread Jorge Ramirez-Ortiz
In preparation to add support for the Dragonboard820c (APQ8096), refactor the current Snapdragon clock driver. No new functionality has been added. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/mach-snapdragon/Makefile | 6 +- arch/ar

[U-Boot] [PATCH v2 6/8] db820c: stop autoboot when vol- pressed

2017-12-14 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/dragonboard820c-uboot.dtsi | 19 board/qualcomm/dragonboard820c/dragonboard820c.c | 37 +++- include/configs/dragonboard820c.h| 2 ++ 3 files chang

[U-Boot] [PATCH v2 4/8] db820c: add qualcomm dragonboard 820C support

2017-12-14 Thread Jorge Ramirez-Ortiz
- GPS - BT 4.2 - Wi-Fi 2.4GHz, 5GHz (802.11ac) - PCIe 2.0 - MIPI-CSI, MIPI-DSI - I2S U-Boot boots chained from LK (LK implements the fastboot protocol) in 64-bit mode. For detailed build instructions see readme.txt in the board directory. Signed-off-by: Jorge Ramirez-Ortiz <jorge.rami

[U-Boot] [PATCH v2 5/8] db820c: enable pmic gpios for pm8994

2017-12-14 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/dragonboard820c.dts | 43 +++ configs/dragonboard820c_defconfig | 7 +++ drivers/gpio/pm8916_gpio.c| 7 +-- 3 files changed, 55 insertions(+), 2 del

[U-Boot] [PATCH v2 1/8] env: enable accessing the environment in an EXT4 partition

2017-12-14 Thread Jorge Ramirez-Ortiz
quot; CONFIG_ENV_EXT4_FILE="/uboot.env" CONFIG_ENV_EXT4_INTERFACE="mmc" Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- env/Kconfig | 39 +++ env/env.c | 2 ++ env/ext4.c | 20 ++-- 3

[U-Boot] [PATCH v2 8/8] db410c: update wlan and bt mac addresses from firmware

2017-12-14 Thread Jorge Ramirez-Ortiz
tree that is passed to the kernel before booting. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/dragonboard410c.dts | 10 + board/qualcomm/dragonboard410c/Makefile | 1 + board/qualcomm/dragonboard410c/dragonboard410c.c | 49 +

[U-Boot] Dragonboard410c and Dragonboard820c patchset

2017-12-14 Thread Jorge Ramirez-Ortiz
The following version fixes some nasty compiler warnings present in the previous version. Sorry about it. ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH 1/8] env: enable accessing the environment in an EXT4 partition

2017-12-14 Thread Jorge Ramirez-Ortiz
quot; CONFIG_ENV_EXT4_FILE="/uboot.env" CONFIG_ENV_EXT4_INTERFACE="mmc" Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- env/Kconfig | 39 +++ env/env.c | 2 ++ env/ext4.c | 20 ++-- 3

[U-Boot] [PATCH 2/8] spmi: msm: display the PMIC Arb version (debug)

2017-12-14 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- drivers/spmi/spmi-msm.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/spmi/spmi-msm.c b/drivers/spmi/spmi-msm.c index c226913..e9bfbb0 100644 --- a/drivers/spmi/spmi-msm.c +++ b/drivers/spm

[U-Boot] [PATCH 3/8] arm: mach-snapdragon: refactor clock driver

2017-12-14 Thread Jorge Ramirez-Ortiz
In preparation to add support for the Dragonboard820c (APQ8096), refactor the current Snapdragon clock driver. No new functionality has been added. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/mach-snapdragon/Makefile | 6 +- arch/ar

[U-Boot] [PATCH 4/8] db820c: add qualcomm dragonboard 820C support

2017-12-14 Thread Jorge Ramirez-Ortiz
- GPS - BT 4.2 - Wi-Fi 2.4GHz, 5GHz (802.11ac) - PCIe 2.0 - MIPI-CSI, MIPI-DSI - I2S U-Boot boots chained from LK (LK implements the fastboot protocol) in 64-bit mode. For detailed build instructions see readme.txt in the board directory. Signed-off-by: Jorge Ramirez-Ortiz <jorge.rami

[U-Boot] [PATCH 5/8] db820c: enable pmic gpios for pm8994

2017-12-14 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/dragonboard820c.dts | 43 +++ configs/dragonboard820c_defconfig | 7 +++ drivers/gpio/pm8916_gpio.c| 7 +-- 3 files changed, 55 insertions(+), 2 del

[U-Boot] [PATCH 7/8] db410c: configs: increase max kernel size

2017-12-14 Thread Jorge Ramirez-Ortiz
the kernel fails to boot when it goes over the limit. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- include/configs/dragonboard410c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/dragonboard410c.h b/include/c

[U-Boot] [PATCH 6/8] db820c: stop autoboot when vol- pressed

2017-12-14 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/dragonboard820c-uboot.dtsi | 19 board/qualcomm/dragonboard820c/dragonboard820c.c | 37 +++- include/configs/dragonboard820c.h| 2 ++ 3 files chang

[U-Boot] [PATCH 8/8] db410c: update wlan and bt mac addresses from firmware

2017-12-14 Thread Jorge Ramirez-Ortiz
tree that is passed to the kernel before booting. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/dragonboard410c.dts | 10 ++ board/qualcomm/dragonboard410c/Makefile | 1 + board/qualcomm/dragonboard410c/dragonboard410c.c | 46 +

[U-Boot] [PATCH] mmc: sdhci: don't clear SDHCI_INT_STATUS register during CMD_INHIBIT

2017-11-02 Thread Jorge Ramirez-Ortiz
transitioned to wait for bit SDHCI_INT_DATA_END before flagging transfers done. Without this patch, the db410 platform fails to initialize its eMMC due to all of its transfers timing out (SDHCI_INT_DATA_END is never raised after all the blocks have been transferred). Signed-off-by: Jorge Ramirez-Ortiz

[U-Boot] [PATCH 1/2] env: Save environment at the end of an MMC partition

2017-11-06 Thread Jorge Ramirez-Ortiz
Allow the platform to define a partition by name at the end of which the environment data will be located. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- doc/device-tree-bindings/config.txt | 9 ++ env/mmc.c

[U-Boot] [PATCH 2/2] configs: dragonboard410c: Save environment data on eMMC

2017-11-06 Thread Jorge Ramirez-Ortiz
Save the environment data at the end of the boot partition on emmc Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/dragonboard410c-uboot.dtsi | 7 +++ configs/dragonboard410c_defconfig | 2 ++ include/configs/dragonboard410c.h | 1 + 3

[U-Boot] [PATCH] drivers: spmi-msm: fix scanning for peripherals

2017-12-02 Thread Jorge Ramirez-Ortiz
A typo in the probe function causes not all peripherals to be scanned (in the case of the Dragonboard820c - work in progress - it wont find pmic0). --- drivers/spmi/spmi-msm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spmi/spmi-msm.c b/drivers/spmi/spmi-msm.c

Re: [U-Boot] [U-Boot,v2,4/7] mach-snapdragon: Fix UART clock flow

2018-05-28 Thread Jorge Ramirez-Ortiz
On 05/28/2018 09:12 PM, Tom Rini wrote: On Wed, May 16, 2018 at 12:13:39PM +0300, Ramon Fried wrote: UART clock enabling flow was wrong. Changed the flow according to downstream implementation in LK. Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! Ramon, did you re-test this

Re: [U-Boot] [U-Boot,v2,4/7] mach-snapdragon: Fix UART clock flow

2018-05-28 Thread Jorge Ramirez-Ortiz
On 05/28/2018 09:48 PM, Ramon Fried wrote: On Mon, May 28, 2018 at 10:24 PM, Ramon Fried wrote: On Mon, May 28, 2018 at 10:19 PM, Jorge Ramirez-Ortiz wrote: On 05/28/2018 09:12 PM, Tom Rini wrote: On Wed, May 16, 2018 at 12:13:39PM +0300, Ramon Fried wrote: UART clock enabling flow

Re: [U-Boot] [U-Boot,v2,4/7] mach-snapdragon: Fix UART clock flow

2018-05-28 Thread Jorge Ramirez-Ortiz
On 05/28/2018 10:01 PM, Ramon Fried wrote: On Mon, May 28, 2018 at 10:59 PM, Jorge Ramirez-Ortiz wrote: On 05/28/2018 09:48 PM, Ramon Fried wrote: On Mon, May 28, 2018 at 10:24 PM, Ramon Fried wrote: On Mon, May 28, 2018 at 10:19 PM, Jorge Ramirez-Ortiz wrote: On 05/28/2018 09:12 PM, Tom

Re: [U-Boot] [U-Boot,v2,4/7] mach-snapdragon: Fix UART clock flow

2018-05-28 Thread Jorge Ramirez-Ortiz
On 05/28/2018 10:25 PM, Ramon Fried wrote: On Mon, May 28, 2018 at 11:14 PM, Ramon Fried wrote: On Mon, May 28, 2018 at 11:07 PM, Jorge Ramirez-Ortiz wrote: On 05/28/2018 10:01 PM, Ramon Fried wrote: On Mon, May 28, 2018 at 10:59 PM, Jorge Ramirez-Ortiz wrote: On 05/28/2018 09:48 PM

Re: [U-Boot] [U-Boot,v2,4/7] mach-snapdragon: Fix UART clock flow

2018-05-28 Thread Jorge Ramirez-Ortiz
On 05/28/2018 11:07 PM, Jorge Ramirez-Ortiz wrote: Jorge, I just sent you a fix. can you test it and if it works I'll push it upstream. yes I can see the console now so that fix is good. however there must be some other regression lurking because the system wont boot a kernel from the SD

Re: [U-Boot] [PATCH] MAINTAINERS: Take over DB410c maintainership

2018-05-31 Thread Jorge Ramirez-Ortiz
..a43f1c878e 100644 --- a/board/qualcomm/dragonboard410c/MAINTAINERS +++ b/board/qualcomm/dragonboard410c/MAINTAINERS @@ -1,5 +1,5 @@ DRAGONBOARD410C BOARD -M: Jorge Ramirez-Ortiz +M: Ramon Fried S:Maintained F:board/qualcomm/dragonboard410c/ F:include/configs

[U-Boot] [PATCH v1 01/03] spmi: msm: display the PMIC Arb version (debug)

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- drivers/spmi/spmi-msm.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/spmi/spmi-msm.c b/drivers/spmi/spmi-msm.c index c226

[U-Boot] [PATCH v1 03/05] db820c: add qualcomm dragonboard 820C support

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> This commit adds support for 96Boards Dragonboard820C. The board is based on APQ8086 Qualcomm Soc, complying with the 96Boards specification. Features - 4x Kyro CPU (64 bit) up to 2.15GHz - USB2.0 - USB3.0 - ISP - Qualcomm H

[U-Boot] [PATCH v1 05/05] db820c: stop autoboot when vol- pressed

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/dragonboard820c-uboot.dtsi | 19 board/qualcomm/dragonboard820c/dragonboard820c.c | 37 +++- inc

[U-Boot] [PATCH v1 01/07] db410c: configs: increase gunzip buffer size for the kernel

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> the kernel fails to boot when it goes over the limit. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- include/configs/dragonboard410c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[U-Boot] [PATCH 02/07] db410c: update wlan and bt mac addresses from firmware

2018-01-05 Thread Jorge Ramirez-Ortiz
tree that is passed to the kernel before booting. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/dragonboard410c.dts | 10 + board/qualcomm/dragonboard410c/Makefile | 1 + board/qualcomm/dragonboard410c/dragonboard410c.c | 49 +

[U-Boot] [PATCH 02/03] poplar: configs: increase gunzip buffer size for the kernel

2018-01-05 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- include/configs/poplar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/poplar.h b/include/configs/poplar.h index 1c39ed1..8a12b52 100644 --- a/include/configs/poplar.h +++ b/i

[U-Boot] [PATCH 04/05] db820c: enable pmic gpios for pm8994

2018-01-05 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/dragonboard820c.dts | 43 +++ configs/dragonboard820c_defconfig | 7 +++ drivers/gpio/pm8916_gpio.c| 7 +-- 3 files changed, 55 insertions(+), 2 del

[U-Boot] [PATCH 05/05] db820c: stop autoboot when vol- pressed

2018-01-05 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/dragonboard820c-uboot.dtsi | 19 board/qualcomm/dragonboard820c/dragonboard820c.c | 37 +++- include/configs/dragonboard820c.h| 2 ++ 3 files chang

[U-Boot] [PATCH 05/07] db410c: use the device tree parsed by the lk loader.

2018-01-05 Thread Jorge Ramirez-Ortiz
We dont need to keep copies of the properties that we are going to fixup since we will be using the dtb provided by the firmware. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- board/qualcomm/dragonboard410c/dragonboard410c.c | 71 ++-- c

[U-Boot] [PATCH 03/07] db410c: replace reset driver with psci

2018-01-05 Thread Jorge Ramirez-Ortiz
this should be the norm for armv8 platforms. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/dragonboard410c.dts | 5 --- board/qualcomm/dragonboard410c/dragonboard410c.c | 5 +++ configs/dragonboard410c_defconfig

[U-Boot] [PATCH 04/07] fdtdec: allow board to provide fdt for CONFIG_OF_SEPARATE

2018-01-05 Thread Jorge Ramirez-Ortiz
From: Rob Clark Similar to CONFIG_OF_BOARD, but in this case the fdt is still built by u-boot build. This allows the board to patch the fdt, etc. In the specific case of dragonboard 410c, we pass the u-boot generated fdt to the previous stage of bootloader (by embedding it

[U-Boot] [PATCH 07/07] db410c: on aarch64 the fdtfile is in per-vendor subdirectory

2018-01-05 Thread Jorge Ramirez-Ortiz
From: Rob Clark Signed-off-by: Rob Clark --- include/configs/dragonboard410c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h index 3c5bb8a..530d667 100644 ---

[U-Boot] [PATCH 06/07] db410c: add reserved-memory node to dts

2018-01-05 Thread Jorge Ramirez-Ortiz
From: Rob Clark If lk lights up display and populates simple-framebuffer node, it will also setup a reserved-memory node (needed by simplefb on linux). But it isn't clever enough to cope when the reserved-memory node is not present. Signed-off-by: Rob Clark

[U-Boot] [PATCH 01/03] spmi: msm: display the PMIC Arb version (debug)

2018-01-05 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- drivers/spmi/spmi-msm.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/spmi/spmi-msm.c b/drivers/spmi/spmi-msm.c index c226913..e9bfbb0 100644 --- a/drivers/spmi/spmi-msm.c +++ b/drivers/spm

[U-Boot] [PATCH 03/05] db820c: add qualcomm dragonboard 820C support

2018-01-05 Thread Jorge Ramirez-Ortiz
- GPS - BT 4.2 - Wi-Fi 2.4GHz, 5GHz (802.11ac) - PCIe 2.0 - MIPI-CSI, MIPI-DSI - I2S U-Boot boots chained from LK (LK implements the fastboot protocol) in 64-bit mode. For detailed build instructions see readme.txt in the board directory. Signed-off-by: Jorge Ramirez-Ortiz <jorge.rami

[U-Boot] [PATCH 01/07] db410c: configs: increase gunzip buffer size for the kernel

2018-01-05 Thread Jorge Ramirez-Ortiz
the kernel fails to boot when it goes over the limit. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- include/configs/dragonboard410c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/dragonboard410c.h b/include/c

[U-Boot] [PATCH 02/05] arm: mach-snapdragon: refactor clock driver

2018-01-05 Thread Jorge Ramirez-Ortiz
In preparation to add support for the Dragonboard820c (APQ8096), refactor the current Snapdragon clock driver. No new functionality has been added. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/mach-snapdragon/Makefile | 6 +- arch/ar

[U-Boot] [PATCH 01/05] env: enable accessing the environment in an EXT4 partition

2018-01-05 Thread Jorge Ramirez-Ortiz
quot; CONFIG_ENV_EXT4_FILE="/uboot.env" CONFIG_ENV_EXT4_INTERFACE="mmc" Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- env/Kconfig | 39 +++ env/env.c | 2 ++ env/ext4.c | 20 ++-- 3

[U-Boot] [PATCH 03/03] dm: core: parse chosen node

2018-01-05 Thread Jorge Ramirez-Ortiz
From: Rob Clark This is the node that would contain, for example, the framebuffer setup by an earlier stage. Signed-off-by: Rob Clark --- arch/sandbox/dts/test.dts | 7 +++ drivers/core/root.c | 12 test/dm/bus.c |

[U-Boot] [PATCH v1 04/05] db820c: enable pmic gpios for pm8994

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/dragonboard820c.dts | 43 +++ configs/dragonboard820c_defconfig | 7 +++ drivers/gpio/p

[U-Boot] [PATCH v1 02/05] arm: mach-snapdragon: refactor clock driver

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> In preparation to add support for the Dragonboard820c (APQ8096), refactor the current Snapdragon clock driver. No new functionality has been added. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- a

[U-Boot] [PATCH v1 01/05] env: enable accessing the environment in an EXT4 partition

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> For example to store the environment in a file named "/uboot.env" in MMC "0", where partition "1" contains the EXT4 filesystem, the following configs should be added to the board's defaul

[U-Boot] [PATCH v1 03/07] db410c: replace reset driver with psci

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> this should be the norm for armv8 platforms. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/dragonboard410c.dts | 5 --- board/qualcomm/dragonboard410c/dragonboar

[U-Boot] [PATCH v1 02/03] poplar: configs: increase gunzip buffer size for the kernel

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- include/configs/poplar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/poplar.h b/include/configs/poplar.h i

[U-Boot] [PATCH v1 03/03] dm: core: parse chosen node

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Rob Clark This is the node that would contain, for example, the framebuffer setup by an earlier stage. Signed-off-by: Rob Clark --- arch/sandbox/dts/test.dts | 7 +++ drivers/core/root.c | 12 test/dm/bus.c |

[U-Boot] [PATCH v1 07/07] db410c: on aarch64 the fdtfile is in per-vendor subdirectory

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Rob Clark Signed-off-by: Rob Clark --- include/configs/dragonboard410c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h index 3c5bb8a..530d667 100644 ---

[U-Boot] [PATCH v1 04/07] fdtdec: allow board to provide fdt for CONFIG_OF_SEPARATE

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Rob Clark Similar to CONFIG_OF_BOARD, but in this case the fdt is still built by u-boot build. This allows the board to patch the fdt, etc. In the specific case of dragonboard 410c, we pass the u-boot generated fdt to the previous stage of bootloader (by embedding it

[U-Boot] [PATCH v1 05/07] db410c: use the device tree parsed by the lk loader.

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> We dont need to keep copies of the properties that we are going to fixup since we will be using the dtb provided by the firmware. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- board/qualcomm/dra

[U-Boot] [PATCH v1 02/07] db410c: update wlan and bt mac addresses from firmware

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> The firmware that runs before u-boot modifies u-boot's device tree adding the local-mac-address and local-bd-address properties for the compatibles "qcom,wcnss-bt" and "qcom,wcnss-wlan". This commit read

[U-Boot] [PATCH v1 06/07] db410c: add reserved-memory node to dts

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Rob Clark If lk lights up display and populates simple-framebuffer node, it will also setup a reserved-memory node (needed by simplefb on linux). But it isn't clever enough to cope when the reserved-memory node is not present. Signed-off-by: Rob Clark

[U-Boot] [PATCH 01/05] env: enable accessing the environment in an EXT4 partition

2018-01-09 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> For example to store the environment in a file named "/uboot.env" in MMC "0", where partition "1" contains the EXT4 filesystem, the following configs should be added to the board's defaul

[U-Boot] [PATCH 02/05] arm: mach-snapdragon: refactor clock driver

2018-01-09 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> In preparation to add support for the Dragonboard820c (APQ8096), refactor the current Snapdragon clock driver. No new functionality has been added. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- a

[U-Boot] [PATCH 04/07] fdtdec: allow board to provide fdt for CONFIG_OF_SEPARATE

2018-01-09 Thread Jorge Ramirez-Ortiz
From: Rob Clark Similar to CONFIG_OF_BOARD, but in this case the fdt is still built by u-boot build. This allows the board to patch the fdt, etc. In the specific case of dragonboard 410c, we pass the u-boot generated fdt to the previous stage of bootloader (by embedding it

[U-Boot] [PATCH 03/07] db410c: replace reset driver with psci

2018-01-09 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> this should be the norm for armv8 platforms. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/dragonboard410c.dts | 5 --- board/qualcomm/dragonboard410c/dragonboar

[U-Boot] [PATCH 05/07] db410c: use the device tree parsed by the lk loader.

2018-01-09 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> We dont need to keep copies of the properties that we are going to fixup since we will be using the dtb provided by the firmware. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- board/qualcomm/dra

[U-Boot] [PATCH 01/07] db410c: configs: increase gunzip buffer size for the kernel

2018-01-09 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> the kernel fails to boot when it goes over the limit. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- include/configs/dragonboard410c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[U-Boot] [PATCH 02/07] db410c: update wlan and bt mac addresses from firmware

2018-01-09 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> The firmware that runs before u-boot modifies u-boot's device tree adding the local-mac-address and local-bd-address properties for the compatibles "qcom,wcnss-bt" and "qcom,wcnss-wlan". This commit read

[U-Boot] [PATCH 05/05] db820c: stop autoboot when vol- pressed

2018-01-09 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/dragonboard820c-uboot.dtsi | 19 board/qualcomm/dragonboard820c/dragonboard820c.c | 37 +++- inc

[U-Boot] [PATCH 04/05] db820c: enable pmic gpios for pm8994

2018-01-09 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> --- arch/arm/dts/dragonboard820c.dts | 43 +++ configs/dragonboard820c_defconfig | 7 +++ drivers/gpio/p

  1   2   3   4   >