mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user