[U-Boot] [PATCH v3 3/6] mvebu: pcie: Add support for GPIO reset for PCIe device

2017-02-08 Thread kostap
From: Konstantin Porotchkin Add support for "marvell,reset-gpio" property to mvebu DW PCIe driver. This option is valid when CONFIG_DM_GPIO=y Change-Id: Ic17c500449050c2fbb700731f1a9ca8b83298986 Signed-off-by: Konstantin Porotchkin Signed-off-by: Rabeeh

[U-Boot] [PATCH v3 2/6] arm64: mvebu: dts: Add i2c1 pin definitions to CPM

2017-02-08 Thread kostap
From: Konstantin Porotchkin Add i2c-1 pin mappings to CP0(master) DTSI file Change-Id: I0c6e6de8a557393f518f7df8e6daa6dfce1788b0 Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Nadav Haklai Cc: Neta Zur

[U-Boot] [PATCH v3 5/6] arm64: mvebu: dts: Add DTS file for MACCHIATOBin board

2017-02-08 Thread kostap
From: Rabeeh Khoury Added A8040 dts file for community board MACCHIATIBin. The patch includes the following features: AP - Serial console (connected to onboard FTDI usb to serial) CP0 - PCIe x4, SATA, I2C and 10G KR (connected to Marvell 3310 10G copper / SFP+ phy)

[U-Boot] [PATCH v3 6/6] arm64: mvebu: Add default configuraton for MACCHIATOBin board

2017-02-08 Thread kostap
From: Konstantin Porotchkin Add default configuration for MACHHIATOBin community board based on Aramda-8040 SoC. This config has MMC support removed, pending mainline support. Change-Id: Ic6b562065c0929ec338492452f765115c15a6188 Signed-off-by: Konstantin Porotchkin

[U-Boot] [PATCH v3 0/6] arm64: mvebu: Add support for A8K community board

2017-02-08 Thread kostap
From: Konstantin Porotchkin This patch series adds initil support for A8K community board MACCHIATOBin manufactured by SolidRun. It should be applied on top of Stefan Roese patches adding support for SD/eMMC devices on Marvell A37x0/A80x0/A70x0 SoCs. The top level patch is

[U-Boot] [PATCH v3 1/6] arm64: mvebu: gpio: Add GPIO nodes to A8K family devices

2017-02-08 Thread kostap
From: Konstantin Porotchkin Add GPIO nodes to AP-806 and CP-110-master DTSI files. Change-Id: I05958698d460cb721b7d8683d34f74a5ea32532c Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Nadav Haklai Cc: Igal

[U-Boot] [PATCH v3 4/6] mvebu: usb: xhci: Add VBUS regulator supply to the host driver

2017-02-08 Thread kostap
From: Konstantin Porotchkin The USB device should linked to VBUS regulator through "vbus-supply" DTS property. This patch adds handling for "vbus-supply" property inside the USB device entry for turning on the VBUS regulator upon the host adapter probe. Change-Id:

[U-Boot] [PATCH] fix: nand: Fix nand RW access wrappers

2017-02-22 Thread kostap
From: Konstantin Porotchkin The inline functions nand_read and nand_write wrap calls to mtd_read and mtd_write APIs. The MTD APIs are using an additional parameter for returning the amount of bytes actually handled by the RW operation. The wrapper uses a pointer to the same

[U-Boot] [PATCH v6 4/6] mvebu: usb: xhci: Add VBUS regulator supply to the host driver

2017-02-12 Thread kostap
From: Konstantin Porotchkin The USB device should linked to VBUS regulator through "vbus-supply" DTS property. This patch adds handling for "vbus-supply" property inside the USB device entry for turning on the VBUS regulator upon the host adapter probe. Signed-off-by:

[U-Boot] [PATCH v4 5/6] arm64: mvebu: dts: Add DTS file for MACCHIATOBin board

2017-02-09 Thread kostap
From: Rabeeh Khoury Added A8040 dts file for community board MACCHIATIBin. The patch includes the following features: AP - Serial console (connected to onboard FTDI usb to serial) CP0 - PCIe x4, SATA, I2C and 10G KR (connected to Marvell 3310 10G copper / SFP+ phy)

[U-Boot] [PATCH v4 6/6] arm64: mvebu: Add default configuraton for MACCHIATOBin board

2017-02-09 Thread kostap
From: Konstantin Porotchkin Add default configuration for MACHHIATOBin community board based on Aramda-8040 SoC. Change-Id: Ic6b562065c0929ec338492452f765115c15a6188 Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Nadav Haklai

[U-Boot] [PATCH v4 4/6] mvebu: usb: xhci: Add VBUS regulator supply to the host driver

2017-02-09 Thread kostap
From: Konstantin Porotchkin The USB device should linked to VBUS regulator through "vbus-supply" DTS property. This patch adds handling for "vbus-supply" property inside the USB device entry for turning on the VBUS regulator upon the host adapter probe. Signed-off-by:

[U-Boot] [PATCH v5 4/6] mvebu: usb: xhci: Add VBUS regulator supply to the host driver

2017-02-09 Thread kostap
From: Konstantin Porotchkin The USB device should linked to VBUS regulator through "vbus-supply" DTS property. This patch adds handling for "vbus-supply" property inside the USB device entry for turning on the VBUS regulator upon the host adapter probe. Signed-off-by:

[U-Boot] [PATCH v2 04/12] arm64: a37xx: dts: Add pin control nodes to DT

2017-02-16 Thread kostap
From: Konstantin Porotchkin Add pin control nodes for North and South bridges to Armada-37xx DT Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman Cc: Nadav Haklai ---

[U-Boot] [PATCH v2 06/12] mvebu: neta: Add support for board init function

2017-02-16 Thread kostap
From: Konstantin Porotchkin Add ability to use board-specific initialization flow to NETA driver (for instance Ethernet switch bring-up) Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman Cc: Nadav

[U-Boot] [PATCH v2 03/12] arm64: a37xx: Enable bubt command support on A3720-DB

2017-02-16 Thread kostap
From: Konstantin Porotchkin Enable mvebu bubt command support on A3720 DB Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman Cc: Nadav Haklai --- Changes for v2: - No changes

[U-Boot] [PATCH v2 12/12] arm64: a37xx: Remove DM_I2C_COMPAT from the board config

2017-02-16 Thread kostap
From: Konstantin Porotchkin Remove DM_I2C_COMPAT from the board configurations for Armada 37xx platform boards for supressing the buid tim warning. Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman

[U-Boot] [PATCH v2 11/12] arm64: a37xx: Disable DB configurations on ESPRESSOBin board

2017-02-16 Thread kostap
From: Konstantin Porotchkin Bypass XHCI and AHCi board configuration flow on ESPRESSOBin community board. The community board does not have i2c expander and USB VBUS is always on, so the scan for AHCi and USB devices can be faster without unneded configurations.

[U-Boot] [PATCH v2 02/12] arm64: a37xx: Enable Marvell ETH PHY support

2017-02-16 Thread kostap
From: Konstantin Porotchkin Enable support for Marvell Ethernet PHYs on A37xx platforms Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman Cc: Nadav Haklai --- Changes for v2: -

[U-Boot] [PATCH v2 01/12] arm64: mvebu: Rename the db-88f3720 to armada-37xx platform

2017-02-16 Thread kostap
From: Konstantin Porotchkin Modify the file names and deifinitions relater to Marvell db-77f3720 board support. Convert these names to more generic armada-37xx platform for future addition of more boards based on the same SoC family. Signed-off-by: Konstantin Porotchkin

[U-Boot] [PATCH v2 08/12] mvebu: a37xx: Add init for ESPRESSBin Topaz switch

2017-02-16 Thread kostap
From: Konstantin Porotchkin Implement the board-specific network init function for ESPRESSOBin community board, setting the on-board Topaz switch port to forward mode and allow network connection through any of the available Etherenet ports. Signed-off-by: Konstantin

[U-Boot] [PATCH v2 09/12] arm64: dts: Add device tree for ESPRESSOBin board

2017-02-16 Thread kostap
From: Konstantin Porotchkin Initial DTS file for Marvell ESPRESSOBin comunity board based on Armada-3720 SoC. The Marvell ESPRESSOBin is a tiny board made by Globalscale and available on KickStarter site. It has dual core Armv8 Marvell SoC (Armada-3720) with 512MB/1GB/2GB

[U-Boot] [PATCH v2 10/12] arm64: mvebu: Add default config for ESPRESSOBin board

2017-02-16 Thread kostap
From: Konstantin Porotchkin Add initial default configuration for Marvell ESPRESSOBin community board based on Aramda-3720 SoC Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman Cc: Nadav Haklai

[U-Boot] [PATCH v2 05/12] arm64: a37xx: Handle pin controls in early board init

2017-02-16 Thread kostap
From: Konstantin Porotchkin Fix the default pin control values in a board-specific function on early board init stage. This fix allows the NETA driver to work in RGMII mode until the full-featured pin control driver gets introduced. Signed-off-by: Konstantin Porotchkin

[U-Boot] [PATCH v2 00/12] Add Marvell ESPRESSOBin community board support

2017-02-16 Thread kostap
From: Konstantin Porotchkin This patch set adds support for Marvell ESPRESSOBin community board. The Marvell ESPRESSOBin is a tiny board made by Globalscale and available on KickStarter project site. It has (current board version 3.1.1): - Dual core Cortex-A53 @1.2GHz CPU

[U-Boot] [PATCH v2 07/12] mvebu: neta: a37xx: Add fixed link support to neta driver

2017-02-16 Thread kostap
From: Konstantin Porotchkin Add support for fixed link to NETA driver. This feature requreed for proper support of SFP modules and onboard connected devices like Ethernet switches Signed-off-by: Konstantin Porotchkin Signed-off-by: Terry Zhou

[U-Boot] [PATCH 00/10] Add Marvell ESPRESSOBin community board support

2017-02-13 Thread kostap
From: Konstantin Porotchkin This patch set adds support for Marvell ESPRESSOBin community board. The Marvell ESPRESSOBin is a tiny board made by Globalscale and available on KickStarter site. It has (current board version 3.1.1): - Dual core Cortex-A53 @1.2GHz CPU (Marvell

[U-Boot] [PATCH 01/10] arm64: a37xx: Enable Marvell ETH PHY support

2017-02-13 Thread kostap
From: Konstantin Porotchkin Enable support for Marvell Ethernet PHYs on A37xx platforms Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman --- include/configs/mvebu_db-88f3720.h | 1 + 1 file

[U-Boot] [PATCH 06/10] mvebu: neta: a37xx: Add fixed link support to neta driver

2017-02-13 Thread kostap
From: Konstantin Porotchkin Add support for fixed link to NETA driver. This feature requred for proper support of SFP modules and onboard connected devices like Ethernet switches Signed-off-by: Konstantin Porotchkin Signed-off-by: Terry Zhou

[U-Boot] [PATCH 04/10] arm64: a37xx: Handle pin controls in early board init

2017-02-13 Thread kostap
From: Konstantin Porotchkin Fix the default pin control values in a board-specific function on early board init stage. This fix allows the NETA driver to work in RGMII mode until the full-featured pin control driver gets introduced. Signed-off-by: Konstantin Porotchkin

[U-Boot] [PATCH 07/10] mvebu: a37xx: Add init for ESPRESSBin Topaz switch

2017-02-13 Thread kostap
From: Konstantin Porotchkin Implement the board-specific network init function for ESPRESSOBin community board, setting the on-board Topaz switch port to forward mode and allow network connection through any of the available Etherenet ports. Signed-off-by: Konstantin

[U-Boot] [PATCH 02/10] arm64: a37xx: Enable bubt command support on A3720-DB

2017-02-13 Thread kostap
From: Konstantin Porotchkin Enable mvebu bubt command support on A3720 DB Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman --- configs/mvebu_db-88f3720_defconfig | 3 +++ 1 file changed, 3

[U-Boot] [PATCH 03/10] arm64: a37xx: dts: Add pin control nodes to DT

2017-02-13 Thread kostap
From: Konstantin Porotchkin Add pin control nodes for North and South bridges to Armada-37xx DT Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman --- arch/arm/dts/armada-37xx.dtsi | 14

[U-Boot] [PATCH 08/10] arm64: dts: Add device tree for ESPRESSOBin board

2017-02-13 Thread kostap
From: Konstantin Porotchkin Initial DTS file for Marvell ESPRESSOBin comunity board based on Armada-3720 SoC. The Marvell ESPRESSOBin is a tiny board made by Globalscale and available on KickStarter site. It has dual core Armv8 Marvell SoC (Armada-3720) with 512MB/1GB/2GB

[U-Boot] [PATCH 05/10] mvebu: neta: Add support for board init function

2017-02-13 Thread kostap
From: Konstantin Porotchkin Add ability to use board-specific initialization flow to NETA driver (for instance Ethernet switch bring-up) Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman ---

[U-Boot] [PATCH 09/10] arm64: mvebu: Add default config for ESPRESSOBin board

2017-02-13 Thread kostap
From: Konstantin Porotchkin Add initial default configuration for Marvell ESPRESSOBin community board based on Aramda-3720 SoC Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman ---

[U-Boot] [PATCH 10/10] arm64: a3720: Disable DB configurations on ESPRESSOBin board

2017-02-13 Thread kostap
From: Konstantin Porotchkin Bypass XHCI and AHCi board configuration flow on ESPRESSOBin community board. The community board does not have i2c expander and USB VBUS is always on, so the scan for AHCi and USB devices can be faster. Signed-off-by: Konstantin Porotchkin

[U-Boot] [PATCH 5/6] arm64: mvebu: Enable BUBT command support in A8K default config

2016-11-20 Thread kostap
From: Konstantin Porotchkin Enable mvebu "bubt" command support in the default configuration file for Armada-7040 and Armada-8040 development boards Change-Id: I9dba917baa68fc1e14007e66fda5d22d64bc94c1 Signed-off-by: Konstantin Porotchkin Cc: Stefan

[U-Boot] [PATCH 0/6] arm64: mvebu: Armada-8K family patches

2016-11-20 Thread kostap
From: Konstantin Porotchkin This set of patches is adding more features for bards based on new Marvell MoChi platforms - Armada-70x0 and Armada-80x0. The patches were applied on top of Stefan's patch set with the last patch named "arm64: mvebu: Add PCI support to DB-88F8040

[U-Boot] [PATCH 2/6] arm64: mvebu: Add bubt command for flash image burn

2016-11-20 Thread kostap
From: Konstantin Porotchkin Add support for mvebu bubt command for flash image load, check and burn on boot device. Change-Id: If2b971069ae44232761b601bbbcf0162567f5603 Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Nadav Haklai

[U-Boot] [PATCH 3/6] arm64: mvebu: pinctrl: Add pin control driver for A8K family

2016-11-20 Thread kostap
From: Konstantin Porotchkin Add a port of Marvell pin control driver. The A8K SoC family contains several silicone dies interconnected in a single package. Every die is normally equuipped with its own pin controller unit. Since the UCLASS_PINCTRL device only calls the probe

[U-Boot] [PATCH 4/6] arm64: mvebu: Add pin control nodes to A8K family DTS files

2016-11-20 Thread kostap
From: Konstantin Porotchkin Add pin control nodes to APN806, CP-master, CP-slave and Armada-7040 and Armada-8040 boards DTS files Change-Id: I51522f33f23e3f9e94c6f5a5f9af19f5dc86e6b7 Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese

[U-Boot] [PATCH 1/6] arm64: mvebu: Modify the A8K SPI and I2C config in DTS

2016-11-20 Thread kostap
From: Konstantin Porotchkin Align the Armada-8040-db SPI and I2C DTS settings with latest A8040 DB settings: - disable i2c0 and spi0 on AP (pins are reserved for eMMC) - disable cps_i2c0 on CP1 - enable spi1 on CP1 (the new location of the boot flash) Change-Id:

[U-Boot] [PATCH 6/6] arm64: mvebu: Enable pin control support in A8K default config

2016-11-20 Thread kostap
From: Konstantin Porotchkin Enable mvebu pin control support in the default configuration files for Armada-7040 and Armada-8040 development boards Change-Id: Icc133c97c6f9fea374dd26ea5ab3f65fd66cc796 Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese

[U-Boot] [PATCH v3 2/6] arm64: mvebu: Add bubt command for flash image burn

2016-12-08 Thread kostap
From: Konstantin Porotchkin Add support for mvebu bubt command for flash image load, check and burn on boot device. Signed-off-by: Konstantin Porotchkin Reviewed-by: Stefan Roese Cc: Stefan Roese Cc: Nadav Haklai

[U-Boot] [PATCH v3 3/6] arm64: mvebu: pinctrl: Add pin control driver for A8K family

2016-12-08 Thread kostap
From: Konstantin Porotchkin Add a DM port of Marvell pin control driver. The A8K SoC family contains several silicone dies interconnected in a single package. Every die is normally equipped with its own pin controller unit. There are 2 pin controllers in A70x0 SoC and 3 in

[U-Boot] [PATCH v3 1/6] arm64: mvebu: Modify the A8K SPI and I2C config in DTS

2016-12-08 Thread kostap
From: Konstantin Porotchkin Align the Armada-8040-db and Armada-7040-db SPI and I2C DTS settings with latest DB settings: - 8040-db: disable i2c0 and spi0 on AP (MPPs are reserved for SDIO) - 8040-db: disable cps_i2c0 on CP1 - 8040-db: enable spi1 on CP1 (the new location of

[U-Boot] [PATCH v3 5/6] arm64: mvebu: Enable BUBT command support in A8K default config

2016-12-08 Thread kostap
From: Konstantin Porotchkin Enable mvebu "bubt" command support in the default configuration file for Armada-7040 and Armada-8040 development boards Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Nadav Haklai

[U-Boot] [PATCH v3 4/6] arm64: mvebu: Add pin control nodes to A8K family DTS files

2016-12-08 Thread kostap
From: Konstantin Porotchkin Add pin control nodes to APN806, CP-master, CP-slave and Armada-7040 and Armada-8040 boards DTS files Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Nadav Haklai Cc: Neta Zur

[U-Boot] [PATCH v3 0/6] arm64: mvebu: Armada-8K family patches

2016-12-08 Thread kostap
From: Konstantin Porotchkin This set of patches is adding more features for bards based on new Marvell MoChi platforms - Armada-70x0 and Armada-80x0. The patches were applied on top of Stefan's mvebu-related patch set v2 with the last patch named "dm: core: Add

[U-Boot] [PATCH v3 6/6] arm64: mvebu: Enable pin control support in A8K default config

2016-12-08 Thread kostap
From: Konstantin Porotchkin Enable mvebu pin control support in the default configuration files for Armada-7040 and Armada-8040 development boards Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Nadav Haklai

[U-Boot] [PATCH] arm64: mvebu: Fix A8K memory mapping and add documentation

2016-12-14 Thread kostap
From: Konstantin Porotchkin Fix the MMU mapping for A8K device family: - Separate CP110 master and slave memory regions - Fix memory regions by including IO mapping for all 3 PCIe interfaces existing on each connected CP110 controller This patch fixes the "Synchronous

[U-Boot] [PATCH v2 0/6] arm64: mvebu: Armada-8K family patches

2016-12-04 Thread kostap
From: Konstantin Porotchkin This set of patches is adding more features for bards based on new Marvell MoChi platforms - Armada-70x0 and Armada-80x0. The patches were applied on top of Stefan's mvebu-related patch set v2 with the last patch named "dm: core: Add

[U-Boot] [PATCH v2 2/6] arm64: mvebu: Add bubt command for flash image burn

2016-12-04 Thread kostap
From: Konstantin Porotchkin Add support for mvebu bubt command for flash image load, check and burn on boot device. Changes for v2: - Add "bubt" documentation - Fix code syntax Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc:

[U-Boot] [PATCH v2 1/6] arm64: mvebu: Modify the A8K SPI and I2C config in DTS

2016-12-04 Thread kostap
From: Konstantin Porotchkin Align the Armada-8040-db and Armada-7040-db SPI and I2C DTS settings with latest DB settings: - 8040-db: disable i2c0 and spi0 on AP (MPPs are reserved for SDIO) - 8040-db: disable cps_i2c0 on CP1 - 8040-db: enable spi1 on CP1 (the new location of

[U-Boot] [PATCH v2 5/6] arm64: mvebu: Enable BUBT command support in A8K default config

2016-12-04 Thread kostap
From: Konstantin Porotchkin Enable mvebu "bubt" command support in the default configuration file for Armada-7040 and Armada-8040 development boards Changes for v2: - Remove Gerrit Change ID Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese

[U-Boot] [PATCH v2 4/6] arm64: mvebu: Add pin control nodes to A8K family DTS files

2016-12-04 Thread kostap
From: Konstantin Porotchkin Add pin control nodes to APN806, CP-master, CP-slave and Armada-7040 and Armada-8040 boards DTS files Changes for v2: - Remove Gerrit Change ID - Fix comments - Fix wrong function values - Add missing cpm_i2c0 node to armada-7040-db.dts

[U-Boot] [PATCH v2 6/6] arm64: mvebu: Enable pin control support in A8K default config

2016-12-04 Thread kostap
From: Konstantin Porotchkin Enable mvebu pin control support in the default configuration files for Armada-7040 and Armada-8040 development boards Changes for v2: - Remove Gerrit Change ID Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese

[U-Boot] [PATCH v2 3/6] arm64: mvebu: pinctrl: Add pin control driver for A8K family

2016-12-04 Thread kostap
From: Konstantin Porotchkin Add a DM port of Marvell pin control driver. The A8K SoC family contains several silicone dies interconnected in a single package. Every die is normally equipped with its own pin controller unit. There are 2 pin controllers in A70x0 SoC and 3 in

[U-Boot] [PATCH 2/3] arm64: mvebu: Enable PCIe support in Armada-7040 configuration

2016-12-04 Thread kostap
From: Konstantin Porotchkin Enable PCIe bus support in Armada-7040 DB default configuration Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Nadav Haklai Cc: Neta Zur Hershkovits Cc: Omri

[U-Boot] [PATCH 1/3] arm64: mvebu: Add L3 cache flush functionality to A8K family

2016-12-04 Thread kostap
From: Konstantin Porotchkin Add missing L3 cache flush functionality which absence prevents Linux kernel from normal boot in case the L3 cache is enabled by ATF. The L3 cache is named the "last level" cache in order to keep the terminology similar to the ATF code. This cache

[U-Boot] [PATCH 3/3] arm64: mvebu: Enable hush parser in A8K default configuration

2016-12-04 Thread kostap
From: Konstantin Porotchkin Enable hush parser in Armada-7040 and Armada-8040 DB default configurations. Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Nadav Haklai Cc: Neta Zur Hershkovits

[U-Boot] [PATCH 0/3] arm64: mvebu: Linux kernel boot support

2016-12-04 Thread kostap
From: Konstantin Porotchkin This set of patches adds features for allowing Linux kernel boot and root on NFS for Marvell A8K family boards. These changes were tested when applied on top of previously sent series of patches named: "arm64: mvebu: Armada-8K family patches"

[U-Boot] [PATCH v3 3/6] arm64: mvebu: pinctrl: Add pin control driver for A8K family

2016-12-05 Thread kostap
From: Konstantin Porotchkin Add a DM port of Marvell pin control driver. The A8K SoC family contains several silicone dies interconnected in a single package. Every die is normally equipped with its own pin controller unit. There are 2 pin controllers in A70x0 SoC and 3 in

[U-Boot] [PATCH v2 6/7] arm64: mvebu: dts: Add DTS file for MACCHIATOBin board

2017-01-08 Thread kostap
From: Rabeeh Khoury Added A8040 dts file for community board MACCHIATIBin. The patch includes the following features: AP - eMMC, Serial console (connected to onboard FTDI usb to serial) CP0 - PCIe x4, SATA, I2C and 10G KR (connected to Marvell 3310 10G copper / SFP+

[U-Boot] [PATCH v2 5/7] mvebu: pcie: Add support for GPIO reset for PCIe device

2017-01-08 Thread kostap
From: Konstantin Porotchkin Add support for "marvell,reset-gpio" property to mvebu DW PCIe driver. This option is valid when CONFIG_DM_GPIO=y Change-Id: Ic17c500449050c2fbb700731f1a9ca8b83298986 Signed-off-by: Konstantin Porotchkin Signed-off-by: Rabeeh

[U-Boot] [PATCH v2 2/7] arm64: mvebu: gpio: Add GPIO nodes to A8K family devices

2017-01-08 Thread kostap
From: Konstantin Porotchkin Add GPIO nodes to AP-806 and CP-110-master DTSI files. Change-Id: I05958698d460cb721b7d8683d34f74a5ea32532c Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Nadav Haklai Cc: Neta

[U-Boot] [PATCH v2 7/7] arm64: mvebu: Add default configuraton for MACCHIATOBin board

2017-01-08 Thread kostap
From: Konstantin Porotchkin Add default configuration for MACHHIATOBin community board based on Aramda-8040 SoC. Change-Id: I60efcca5b31060340ad0a948561f082646f6556c Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Nadav Haklai

[U-Boot] [PATCH v2 0/7] arm64: mvebu: Add support for A8K community board

2017-01-08 Thread kostap
From: Konstantin Porotchkin This patch series adds initil support for A8K community board MACCHIATOBin manufactured by SolidRun. It should be applied on top of Stefan Roese patches adding support for SD/eMMC devices on Marvell A37x0/A80x0/A70x0 SoCs. The top level patch is

[U-Boot] [PATCH v2 1/7] arm64: mvebu: Update bubt command MMC block device access

2017-01-08 Thread kostap
From: Konstantin Porotchkin Update the MMC block device access code in bubt command implementation according to the latest MMC driver changes. Change-Id: Ie852ceefa0b040ffe1362bdb7815fcea9b2d923b Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese

[U-Boot] [PATCH v2 3/7] arm64: mvebu: dts: Add i2c1 pin definitions to CPM

2017-01-08 Thread kostap
From: Konstantin Porotchkin Add i2c-1 pin mappings to CP0(master) DTSI file Change-Id: I0c6e6de8a557393f518f7df8e6daa6dfce1788b0 Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Nadav Haklai Cc: Neta Zur

[U-Boot] [PATCH v2 4/7] mvebu: usb: xhci: Add support for VBUS controlled by GPIO

2017-01-08 Thread kostap
From: Konstantin Porotchkin Add support for "marvell,vbus-gpio" property to mvebu XHCI host adapter driver. This option is valid when CONFIG_DM_GPIO=y Change-Id: I930b3ebe001e50ae8d5abe1f3c774bcdb1739e64 Signed-off-by: Konstantin Porotchkin Cc: Stefan

[U-Boot] [PATCH v2] arm64: mvebu: Fix A8K memory mapping and add documentation

2016-12-19 Thread kostap
From: Konstantin Porotchkin Fix the MMU mapping for A8K device family: - Separate A7K and A8K memory mappings - Fix memory regions by including IO mapping for all 3 PCIe interfaces existing on each connected CP110 controller Add A8K memory mapping documentation with all

[U-Boot] [PATCH 1/7] arm64: mvebu: Update bubt command MMC block device access

2016-12-19 Thread kostap
From: Konstantin Porotchkin Update the MMC block device access code in bubt command implementation according to the latest MMC driver changes Change-Id: Ie852ceefa0b040ffe1362bdb7815fcea9b2d923b Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese

[U-Boot] [PATCH 5/7] mvebu: pcie: Add support for GPIO reset for PCIe device

2016-12-19 Thread kostap
From: Konstantin Porotchkin Add board init hook to mvebu DW PCIe device driver. Add support for "marvell,reset-gpio" property to A8K board init function. This option is valid when CONFIG_DM_GPIO=y Change-Id: Ic17c500449050c2fbb700731f1a9ca8b83298986 Signed-off-by: Konstantin

[U-Boot] [PATCH 6/7] arm64: mvebu: dts: Add DTS file for MACCHIATOBin board

2016-12-19 Thread kostap
From: Rabeeh Khoury Added A8040 dts file for community board MACCHIATIBin. The patch includes the following features: AP - eMMC, Serial console (connected to onboard FTDI usb to serial) CP0 - PCIe x4, SATA, I2C and 10G KR (connected to Marvell 3310 10G copper / SFP+

[U-Boot] [PATCH 2/7] arm64: mvebu: gpio: Add GPIO nodes to A8K family devices

2016-12-19 Thread kostap
From: Konstantin Porotchkin Add GPIO nodes to AP-806 and CP-110-master DTSI files. Change-Id: I05958698d460cb721b7d8683d34f74a5ea32532c Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Nadav Haklai Cc: Neta

[U-Boot] [PATCH 3/7] arm64: mvebu: dts: Add i2c1 pin definitions to CPM

2016-12-19 Thread kostap
From: Konstantin Porotchkin Add i2c-1 pin mappings to CP0(master) DTSI file Change-Id: I0c6e6de8a557393f518f7df8e6daa6dfce1788b0 Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Nadav Haklai Cc: Neta Zur

[U-Boot] [PATCH 4/7] mvebu: usb: xhci: Add support for VBUS controlled by GPIO

2016-12-19 Thread kostap
From: Konstantin Porotchkin Add support for "marvell,vbus-gpio" property to mvebu XHCI board init function. This option is valid when CONFIG_DM_GPIO=y Change-Id: I930b3ebe001e50ae8d5abe1f3c774bcdb1739e64 Signed-off-by: Konstantin Porotchkin Cc: Stefan

[U-Boot] [PATCH 7/7] arm64: mvebu: Add default configuraton for MACCHIATOBin board

2016-12-19 Thread kostap
From: Konstantin Porotchkin Add default configuration for MACHHIATOBin community board based on Aramda-8040 SoC. Change-Id: I60efcca5b31060340ad0a948561f082646f6556c Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Nadav Haklai

[U-Boot] [PATCH 0/7] arm64: mvebu: Add support for A8K community board

2016-12-19 Thread kostap
From: Konstantin Porotchkin This patch series adds initil support for A8K community board MACCHIATOBin manufactured by SolidRun. It should be applied on top of Stefan Roese patches adding support for SD/eMMC devices on Marvell A37x0/A80x0/A70x0 SoCs. The top level patch is

[U-Boot] [PATCH 4/5] arm64: a8k: dts: Add support for NAND devices on A8K platform

2017-03-28 Thread kostap
From: Konstantin Porotchkin Add NAND to CP master device tree. Add armada-7040-db-nand device tree for the board configured with NAND boot device. Add comment about boot device ID to armada-7040-db DTS. Signed-off-by: Konstantin Porotchkin Cc: Stefan

[U-Boot] [PATCH 5/5] arm64: mvebu: a8k: Add NAND configuration parameters

2017-03-28 Thread kostap
From: Konstantin Porotchkin Add NAND configuration parameters to A8K shared config file. Add defconfig for db-88f7040 board with boot from NAND setup. Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman

[U-Boot] [PATCH 1/3] arm64: mvebu: Trigger PCI devices scan at early init stage

2017-03-28 Thread kostap
From: Konstantin Porotchkin Add PCIe initialization at early init stage. This operation has a side effect of detecting all PCIe plug-in cards, so the operator is not obligated to issue "pci enum" command though CLI for this purpose. Also convert the SATA first device scan to

[U-Boot] [PATCH 2/3] fix: mvebu: pcie_dw: Allow probing empty PCIe slots

2017-03-28 Thread kostap
From: Konstantin Porotchkin This patch allows probing all PCIe nodes defined in DTS even if there no device connected to such node (no link). Without this fix the driver returns -ENODEV when the PCIe link is down. As result the pci_init function stops scanning bus on first

[U-Boot] [PATCH 1/5] fix: nand: pxa3xx: Remove hardcode values from the driver

2017-03-28 Thread kostap
From: Konstantin Porotchkin Obtain NAND controller setup parameters from the device tree instead of using hardcoded values. Signed-off-by: Konstantin Porotchkin Cc: Scott Wood Cc: Stefan Roese Cc: Igal Liberman

[U-Boot] [PATCH 3/5] arm64: mvebu: Fix the bubt comamnd NAND device support

2017-03-28 Thread kostap
From: Konstantin Porotchkin Fix the NAND structures in bubt command according to latest changes in MTD API. Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman Cc: Nadav Haklai

[U-Boot] [PATCH 3/3] mvebu: dts: a80x0: Sync the DB DTS with standard config A

2017-03-28 Thread kostap
From: Konstantin Porotchkin Sync the default configuration of Armada-8040-DB with Marvell u-boot-2015 standard configuration "A" for the same board. The standard configuration "A" enables 2 PCIe slots on CP0 and 3 PCIe slots on CP1. This is the main configuration used for

[U-Boot] [PATCH 0/5] Add support for NAND flash to A7K/A8K SoC family

2017-03-28 Thread kostap
From: Konstantin Porotchkin This patch series adds NAND flash support to Marvell A7K/A8K SoC families. Additionally it fixes the pxa3xx driver by enforcing usage of DTS-supplied NAND parameters instead of using the hardcoded ones. The Marvell "bubt" command code related to

[U-Boot] [PATCH 2/5] arm64: mvebu: a8k: Add support for NAND clock get

2017-03-28 Thread kostap
From: Konstantin Porotchkin Implement mvebu_get_nand_clock call for A8K family. This function is used by PXA3XX NAND driver. Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman Cc: Nadav Haklai

[U-Boot] [PATCH 0/3] Marvell A7K/A8K PCIe fixes and extensions

2017-03-28 Thread kostap
From: Konstantin Porotchkin This patch series includes fix for the mvebu DW PCIe driver that allows scanning of empty (unlinked) PCIe slots. The default DTS file for Armada-8040-DB is re-arranged and aligned with Marvell default configuration "A" for this board. PCIe devices

[U-Boot] [PATCH v2 4/5] arm64: a8k: dts: Add support for NAND devices on A8K platform

2017-04-05 Thread kostap
From: Konstantin Porotchkin Add NAND to CP master device tree. Add armada-7040-db-nand device tree for the board configured with NAND boot device. Add comment about boot device ID to armada-7040-db DTS. Signed-off-by: Konstantin Porotchkin Cc: Stefan

[U-Boot] [PATCH v2 5/5] arm64: mvebu: a8k: Add NAND configuration parameters

2017-04-05 Thread kostap
From: Konstantin Porotchkin Add NAND configuration parameters to A8K shared config file. Add defconfig for db-88f7040 board with boot from NAND setup. Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman

[U-Boot] [PATCH] fix: mvebu_ comphy: Update COMPHY sequence number

2017-04-19 Thread kostap
From: Konstantin Porotchkin Use local static counter for maintaining the COMPHY chip-ID upon its initialization. The dev->seq originally used as the COMPHY chip-ID depends on the device tree scan order and produces wrong results that breaks the deficated PHYs init flow, which

[U-Boot] [PATCH v2 1/3] arm64: mvebu: Trigger PCI devices scan at early init stage

2017-04-05 Thread kostap
From: Konstantin Porotchkin Add PCIe initialization at early init stage. This operation has a side effect of detecting all PCIe plug-in cards, so the operator is not obligated to issue "pci enum" command though CLI for this purpose. Signed-off-by: Konstantin Porotchkin

[U-Boot] [PATCH v2 2/5] arm64: mvebu: a8k: Add support for NAND clock get

2017-04-05 Thread kostap
From: Konstantin Porotchkin Implement mvebu_get_nand_clock call for A8K family. This function is used by PXA3XX NAND driver. Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman Cc: Nadav Haklai

[U-Boot] [PATCH] tools: Add Marvell recovery image download script

2017-11-30 Thread kostap
From: Konstantin Porotchkin Introduce the recovery image download script for usage with Marvell Armada SoC families (excepting 37xx family). Since Marvell BootROM uses a sliding window in UART buffer for detecting escape sequence during the boot, it's easier to interrupt the

[U-Boot] [PATCH 00/19] Marvell PXA3XX NAND driver fixes and extensions

2018-08-29 Thread kostap
From: Konstantin Porotchkin This patch series introduces the PXA3XX NAND driver changes and extensions accumulated in Marvell LSP sources. Beside the bug fixes the driver is extended to support 2K page 8-bit ECC flash devices (tested with Toshiba TC58NVG1S3ETA00 chip) and 8K page 4/8 bit ECC

[U-Boot] [PATCH 01/19] mtd: nand: pxa3xx_nand: Increase initial buffer size

2018-08-29 Thread kostap
From: Ofer Heifetz The initial buffer is used for the initial commands used to detect a flash device (STATUS, READID and PARAM). ONFI param page is 256 bytes, and there are three redundant copies to be read. JEDEC param page is 512 bytes, and there are also three redundant copies to be read.

[U-Boot] [PATCH 04/19] mtd: nand: pxa3xx_nand: fix early spurious interrupt

2018-08-29 Thread kostap
From: Ofer Heifetz When the nand is first probe, and upon the first command start, the status bits should be cleared before the interrupts are unmasked. This commit is taken from Linux: 'commit 0b14392db2e' ("mtd: nand: pxa3xx_nand: fix early spurious interrupt") Signed-off-by: Chris Packham

  1   2   >