ARM: dts: msm: Add a flag to support card presence pin

Some endpoints like SDExpress cards have the GPIO to notify the host when
card is removed.

Introducing this flag for such endpoints. When this flag is present, PCIe
driver will use this flag while dumping registers at the time of linkdown.
If card removal causes linkdown, PCIe driver will not dump the PCIe
registers else it will.

Change-Id: I4e5870dbf2190501d96e7d7ed6feb0c1f72b7ded
This commit is contained in:
Paras Sharma
2023-02-20 16:54:25 +05:30
parent b924f72ccd
commit 6fbd43ca56
2 changed files with 2 additions and 0 deletions

View File

@@ -102,6 +102,7 @@ Main node
- "perst-gpio" PCIe reset signal line
- "wake-gpio" PCIe wake signal line
- "qcom,ep-gpio" (opt) PCIe endpoint specific signal line
- "card-presence-pin" Device presence detect signal line
- pinctrl-names:
Usage: required

View File

@@ -571,6 +571,7 @@
msi-parent = <&pcie2_msi>;
perst-gpio = <&tlmm 170 GPIO_ACTIVE_HIGH>;
card-presence-pin = <&tlmm 172 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pcie2_perst_default>;
pinctrl-1 = <&pcie2_perst_default>;