From: Marcel Ziswiler Date: Tue, 8 May 2018 17:34:05 +0200 Subject: [U-Boot] [PATCH v6 0/6] fix apalis-tk1 pcie gigabit ethernet operation Message-ID: <20180508153411.22198-1-marcel@ziswiler.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This series addresses a gigabit Ethernet reliability issue as observed on Apalis TK1 related to a PCIe reset timing violation. This series is available at http://git.toradex.com/cgit/u-boot-toradex.git/log/?h=for-next Changes in v6: - Use macro AS3722_LDO_CONTROL0_MAX_INDEX instead of the hard-coded number 7 in LDO index check as suggested by Jaehoon Chung. - Updated to latest SPDX style. Changes in v5: - Add Stephen's acked-by. - Updated copyright period to 2016-2018. - Changed error() to pr_err(). - Added a blank line after declarations as warned by patman. - Rebased and resend as series so far never got applied! Changes in v4: - Revert previously missed (struct tegra_pcie_port *) casts as reported by Stephen. Changes in v3: - Stick to struct tegra_pcie_port as suggested by Stephen. - Stick to struct tegra_pcie_port as suggested by Stephen. - Introduce proper CONFIG_APALIS_TK1_PCIE_EVALBOARD_INIT Kconfig option as suggested by Stephen. Changes in v2: - Add Simon's reviewed-by. - New bug fix. - Incorporate Stephen's review feedback by introducing a tegra_pcie_port_index_of_port() function as well as a board-specific reset override function. - Add Simon's reviewed-by. Marcel Ziswiler (5): apalis-tk1: add missing as3722 gpio0 configuration power: as3722: fix ldo_get/set_enable for ldo index bigger than 7 pci: tegra: introduce weak tegra_pcie_board_port_reset() function power: as3722: add as3722_ldo_set_voltage signature to header file apalis-tk1: fix pcie reset for reliable gigabit ethernet operation Sanchayan Maity (1): configs: apalis-tk1: fix boot failure using ext4 rootfs arch/arm/dts/tegra124-apalis.dts | 6 +- board/toradex/apalis-tk1/Kconfig | 8 + board/toradex/apalis-tk1/apalis-tk1.c | 252 ++++++++++++++++++----------- drivers/pci/pci_tegra.c | 17 +- drivers/power/regulator/as3722_regulator.c | 18 ++- include/configs/apalis-tk1.h | 4 +- include/pci_tegra.h | 10 ++ include/power/as3722.h | 4 +- 8 files changed, 213 insertions(+), 106 deletions(-) create mode 100644 include/pci_tegra.h -- 2.14.3