All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/3] arm: mvebu: mcbin: dts: fix PCIe reset polarity
@ 2019-02-03 13:15 Baruch Siach
  2019-02-03 13:15 ` [U-Boot] [PATCH 2/3] pcie: designware: mvebu: fix reset release polarity Baruch Siach
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Baruch Siach @ 2019-02-03 13:15 UTC (permalink / raw)
  To: u-boot

The PCIe slot PERST signal is active low. Fix the gpio signal
description in the dts.

This happened to work because the pcie_dw_mvebu driver sets the reset
gpio level to 1 (high) to release the reset. The following commit will
fix that.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 arch/arm/dts/armada-8040-mcbin.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/dts/armada-8040-mcbin.dts b/arch/arm/dts/armada-8040-mcbin.dts
index 7e8e2f707ccf..5a046d9de474 100644
--- a/arch/arm/dts/armada-8040-mcbin.dts
+++ b/arch/arm/dts/armada-8040-mcbin.dts
@@ -132,7 +132,7 @@
 	num-lanes = <4>;
 	pinctrl-names = "default";
 	pinctrl-0 = <&cpm_pcie_reset_pins>;
-	marvell,reset-gpio = <&cpm_gpio1 20 GPIO_ACTIVE_HIGH>; /* GPIO[52] */
+	marvell,reset-gpio = <&cpm_gpio1 20 GPIO_ACTIVE_LOW>; /* GPIO[52] */
 	status = "okay";
 };
 
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-02-11 12:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-03 13:15 [U-Boot] [PATCH 1/3] arm: mvebu: mcbin: dts: fix PCIe reset polarity Baruch Siach
2019-02-03 13:15 ` [U-Boot] [PATCH 2/3] pcie: designware: mvebu: fix reset release polarity Baruch Siach
2019-02-11  8:34   ` Stefan Roese
2019-02-11 12:31   ` Stefan Roese
2019-02-03 13:15 ` [U-Boot] [PATCH 3/3] arm: mvebu: cf gt-8k: dts: add PCIe slot reset support Baruch Siach
2019-02-11  8:34   ` Stefan Roese
2019-02-11 12:31   ` Stefan Roese
2019-02-11  8:33 ` [U-Boot] [PATCH 1/3] arm: mvebu: mcbin: dts: fix PCIe reset polarity Stefan Roese
2019-02-11 12:30 ` Stefan Roese

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.