[U-Boot] [PATCH] dm: pcie: designware: add correct ATU handling

2018-02-14 Thread igall
From: Igal Liberman Currently, ATU (address translation unit) implementation doesn't support translate addresses > 32 bits. This patch allows to configure ATU correctly for different memory accesses (memory, configuration and IO). The same approach is used in Linux Kernel. Signed-off-by: Igal L

[U-Boot] [v2] arm64: mvebu: use single defconfig for Armada8K development boards

2017-06-13 Thread igall
From: Igal Liberman Currently, Marvell Armada8k development board use 3 different defconfigs: mvebu_db-88f7040-nand_defconfig mvebu_db-88f7040_defconfig mvebu_db-88f8040_defconfig Having 3 different defconfigs makes maintenance difficult. This patch removes the defconfigs

[U-Boot] [PATCH] arm64: mvebu: use single defconfig for Armada8K development boards

2017-06-07 Thread igall
From: Igal Liberman Currently, Marvell Armada8k development board use 3 different defconfigs: mvebu_db-88f7040-nand_defconfig mvebu_db-88f7040_defconfig mvebu_db-88f8040_defconfig Having 3 different defconfigs makes maintenance difficult. This patch removes the defconfigs

[U-Boot] [v2, 01/13] phy: marvell: Replace PHY_TYPE_KR with PHY_TYPE_SFI

2017-04-24 Thread igall
From: Stefan Roese Use correct naming as done in the latest Marvell U-Boot version as well. Signed-off-by: Stefan Roese Signed-off-by: Igal Liberman --- arch/arm/dts/armada-8040-db.dts | 8 arch/arm/dts/armada-8040-mcbin.dts | 10 +- drivers/phy/marvell/comphy

[U-Boot] [v2, 10/13] phy: marvell: print comphy status even when it's disconnected

2017-04-24 Thread igall
From: Stefan Roese since now the COMPHY can also be ignored, we must know the state of the COMPHY. we cannot assume anymore that a missing COMPHY is unconnected. Signed-off-by: Yehuda Yitschak Signed-off-by: Stefan Roese Signed-off-by: Igal Liberman --- drivers/phy/marvell/comphy_core.c | 3

[U-Boot] [v2, 07/13] fix: phy: marvell: cp110: update comphy selector option

2017-04-24 Thread igall
From: Stefan Roese Align PHY selectors register with Armada-CP-110 functional SPEC update all relevant device trees with this change. Signed-off-by: Hanna Hawa Signed-off-by: Stefan Roese Signed-off-by: Igal Liberman --- arch/arm/dts/armada-7040-db.dts| 2 +- arch/arm/dts/armada-8040-mc

[U-Boot] [v2, 03/13] phy: marvell: cp110: update utmi phy connection type

2017-04-24 Thread igall
From: Stefan Roese UTMI_PHY_TO_USB_HOST was used in USB3 UTMI dts node only, but there will be USB2 UTMI dts node for some SoCs that have got USB2 controller, so rename TO_USB_HOST to TO_USB3_HOST to distinguish TO_USB2_HOST in later on patches. Signed-off-by: zachary Signed-off-by: Stefan Roes

[U-Boot] [v2, 12/13] fix: phy: marvell: cp110: rename comphy_index to cp_index

2017-04-24 Thread igall
From: Igal Liberman No functional change. The variable name "comphy_index" is misleading, it represents cp index and not comphy index. Signed-off-by: Igal Liberman --- drivers/phy/marvell/comphy.h | 2 +- drivers/phy/marvell/comphy_core.c | 8 drivers/phy/marvell/comphy_cp110.c

[U-Boot] [v2, 02/13] phy: marvell: cp110: add support for end point configuration

2017-04-24 Thread igall
From: Stefan Roese The serdes was always configured in root complex mode. this patch add new entry in device tree (per serdes) which indicates whether the serdes is in end point mode. if so, it skips the root complex configuration. Signed-off-by: Haim Boot Signed-off-by: Stefan Roese Signed-of

[U-Boot] [v2, 08/13] phy: marvell: cp110: add 5G XFI mode

2017-04-24 Thread igall
From: Igal Liberman This patch adds the option to configure a comphy to 5G XFI mode. In order to configure the comphy to 5G XFI, update the comphy node in the device-tree: phy2 { phy-type = ; phy-speed = ; }; Signed-off-by: Igal Liberman Signed-o

[U-Boot] [v2, 13/13] fix: phy: marvell: cp110: pcie: update analog parameters according to latest ETP

2017-04-24 Thread igall
From: Igal Liberman Add PCIE analog parameters initialization values according to latest ETP. Signed-off-by: Igal Liberman --- drivers/phy/marvell/comphy_cp110.c | 66 -- drivers/phy/marvell/comphy_hpipe.h | 44 - 2 files changed, 106

[U-Boot] [PATCH 12/13] fix: phy: marvell: comphy: cp110: rename comphy_index to cp_index

2017-04-24 Thread igall
From: Igal Liberman No functional change. The variable name "comphy_index" is misleading, it represents cp index and not comphy index. Change-Id: I8c256bebb0505f4f527aec8a01dc5e75376bb79e Signed-off-by: Igal Liberman --- drivers/phy/marvell/comphy.h | 2 +- drivers/phy/marvell/comphy_cor

[U-Boot] [v2, 04/13] phy: marvell: add IGNORE COMPHY type

2017-04-24 Thread igall
From: Stefan Roese This type tells u-boot to preserve the COMPHY settings as is it is usefull in situations where the COMPHY was initialized by earlier firmware. Note that IGNORE is different from UNCONNECTED since setting UNCONNECTED type will disconnect the COMPHY in the COMPHY MUX which is a d

[U-Boot] [v2, 06/13] fix: phy: marvell: cp110: sata: update analog parameters according to latest ETP

2017-04-24 Thread igall
From: Igal Liberman Add SATA analog parameters initialization values according to latest ETP. Signed-off-by: Konstantin Porotchkin Signed-off-by: Stefan Roese Signed-off-by: Igal Liberman --- drivers/phy/marvell/comphy_cp110.c | 188 ++--- drivers/phy/marvell/

[U-Boot] [PATCH 13/13] fix: phy: marvell: comphy: cp110: pcie: update analog parameters according to latest ETP

2017-04-24 Thread igall
From: Igal Liberman Add PCIE analog parameters initialization values according to latest ETP. Change-Id: I4a65082c8cd70861e21bb2dda673c41ae7089969 Signed-off-by: Igal Liberman --- drivers/phy/marvell/comphy_cp110.c | 66 -- drivers/phy/marvell/comphy_hpipe.h

[U-Boot] [v2, 00/13] phy: marvell: cp110: varius comphy updates

2017-04-24 Thread igall
From: Igal Liberman This patchset improves Marvell A70x0/80x0 comphy driver: - Improve comphy electrical parameters - New modes - Style - Bug fixes v1 --> v2: - update commit messages - remove change-id Igal Liberman (5): fix: phy: marvell: cp110

[U-Boot] [PATCH 08/13] phy: marvell: comphy: cp110: add 5G XFI mode

2017-04-24 Thread igall
From: Igal Liberman This patch adds the option to configure a comphy to 5G XFI mode. In order to configure the comphy to 5G XFI, update the comphy node in the device-tree: phy2 { phy-type = ; phy-speed = ; }; Change-Id: I1bc1861389edd32e60ed8b59d2

[U-Boot] [v2, 09/13] fix: phy: marvell: cp110: fix comphy lane 4 selection options

2017-04-24 Thread igall
From: Stefan Roese The comphy configuration is incorrect. Set the correct values for SGMII. In addition, remove xaui from the comment as it is not supported. Signed-off-by: Yoav Gvili Signed-off-by: Stefan Roese Signed-off-by: Igal Liberman --- drivers/phy/marvell/comphy_cp110.c | 6 +++---

[U-Boot] [v2, 05/13] fix: phy: marvell: cp110: fix the KR/SFI line 4 selector

2017-04-24 Thread igall
From: Stefan Roese This patch fixes the following: 1. KR/SFI on lane #4 mux selector is 0x2 and not 0x1 2. Comment typo Signed-off-by: Rabeeh Khoury Signed-off-by: Stefan Roese Signed-off-by: Igal Liberman --- drivers/phy/marvell/comphy_cp110.c | 4 ++-- 1 file changed, 2 insertions(+), 2 de

[U-Boot] [PATCH 09/13] fix: phy: marvell: comphy: cp110: fix comphy lane 4 selection options

2017-04-24 Thread igall
From: Stefan Roese The comphy configuration is incorrect. Set the correct values for SGMII. In addition, remove xaui from the comment as it is not supported. Change-Id: I85446b4f1b683ccd54bff8586fa1fabcd00d3ce1 Signed-off-by: Yoav Gvili Signed-off-by: Stefan Roese Signed-off-by: Igal Liberman

[U-Boot] [v2, 11/13] fix: phy: marvell: cp110: sfi: update analog parameters according to latest ETP

2017-04-24 Thread igall
From: Igal Liberman Add SFI analog parameters initialization values according to latest ETP. Signed-off-by: Igal Liberman --- drivers/phy/marvell/comphy_cp110.c | 88 +++--- drivers/phy/marvell/comphy_hpipe.h | 40 + 2 files changed, 121 insertio

[U-Boot] [PATCH 11/13] fix: phy: marvell: cp110: sfi: update analog parameters according to latest ETP

2017-04-24 Thread igall
From: Igal Liberman Add SFI analog parameters initialization values according to latest ETP. Change-Id: I61bdd9817b34473d5fcf6e839478cd2ebd0b5fdc Signed-off-by: Igal Liberman --- drivers/phy/marvell/comphy_cp110.c | 88 +++--- drivers/phy/marvell/comphy_hpipe.h

[U-Boot] [PATCH 04/13] phy: marvell: comphy: add IGNORE COMPHY type

2017-04-24 Thread igall
From: Stefan Roese This type tells u-boot to preserve the COMPHY settings as is it is usefull in situations where the COMPHY was initialized by earlier firmware. Note that IGNORE is different from UNCONNECTED since setting UNCONNECTED type will disconnect the COMPHY in the COMPHY MUX which is a d

[U-Boot] [PATCH 03/13] phy: marvell: comphy: cp110: update utmi phy connection type

2017-04-24 Thread igall
From: Stefan Roese UTMI_PHY_TO_USB_HOST was used in USB3 UTMI dts node only, but there will be USB2 UTMI dts node for some SoCs that have got USB2 controller, so rename TO_USB_HOST to TO_USB3_HOST to distinguish TO_USB2_HOST in later on patches. Change-Id: I51d283e24bc3826934b19c06f5bbf8e83e7b9d

[U-Boot] [PATCH 10/13] phy: marvell: comphy: print comphy status even when it's disconnected

2017-04-24 Thread igall
From: Stefan Roese since now the COMPHY can also be ignored, we must know the state of the COMPHY. we cannot assume anymore that a missing COMPHY is unconnected. Change-Id: Iab2bd537d5af607b218ed95e1221e827f82777ca Signed-off-by: Yehuda Yitschak Signed-off-by: Stefan Roese Signed-off-by: Igal

[U-Boot] [PATCH 05/13] fix: phy: marvell: comphy: cp110: fix the KR/SFI line 4 selector

2017-04-24 Thread igall
From: Stefan Roese This patch fixes the following: 1. KR/SFI on lane #4 mux selector is 0x2 and not 0x1 2. Comment typo Change-Id: I1e628576dc483697e454408463a34dac13ba277c Signed-off-by: Rabeeh Khoury Signed-off-by: Stefan Roese Signed-off-by: Igal Liberman --- drivers/phy/marvell/comphy_cp

[U-Boot] [PATCH 07/13] fix: phy: marvell: comphy: cp110: update comphy selector option

2017-04-24 Thread igall
From: Stefan Roese Align PHY selectors register with Armada-CP-110 functional SPEC update all relevant device trees with this change. Change-Id: I4384eb561ec6a7e02e7fa701626ad81fd6e10f1c Signed-off-by: Hanna Hawa Signed-off-by: Stefan Roese Signed-off-by: Igal Liberman --- arch/arm/dts/armad

[U-Boot] [PATCH 06/13] fix: phy: marvell: comphy: cp110: sata: update analog parameters according to latest ETP

2017-04-24 Thread igall
From: Igal Liberman Add SATA analog parameters initialization values according to latest ETP. Change-Id: I85165a43cd540bf08e39112e48800add623daaf4 Signed-off-by: Konstantin Porotchkin Signed-off-by: Stefan Roese Signed-off-by: Igal Liberman --- drivers/phy/marvell/comphy_cp110.c | 188 ++

[U-Boot] [PATCH 02/13] phy: marvell: comphy: cp110: add support for end point configuration

2017-04-24 Thread igall
From: Stefan Roese The serdes was always configured in root complex mode. this patch add new entry in device tree (per serdes) which indicates whether the serdes is in end point mode. if so, it skips the root complex configuration. Change-Id: I7ce6c64501f7f8d4de26bace5f776f28369fe99a Signed-off-

[U-Boot] [PATCH 01/13] phy: marvell: comphy: Replace PHY_TYPE_KR with PHY_TYPE_SFI

2017-04-24 Thread igall
From: Stefan Roese Use correct naming as done in the latest Marvell U-Boot version as well. Change-Id: Ic65c74b709e0c5c262673d840fdc22351d6aeabf Signed-off-by: Stefan Roese Signed-off-by: Igal Liberman --- arch/arm/dts/armada-8040-db.dts | 8 arch/arm/dts/armada-8040-mcbin.

[U-Boot] [PATCH 00/13] phy: marvell: cp110: varius comphy updates

2017-04-24 Thread igall
From: Igal Liberman This patchset improves Marvell A70x0/80x0 comphy driver: - Improve comphy electrical parameters - New modes - Style - Bug fixes Igal Liberman (5): fix: phy: marvell: comphy: cp110: sata: update analog parameters according to latest ETP