overrides prsnt control based on card detection through
GPIO values that reflect PRSNT status
If the platform doesn't support PRSNT through GPIO, software
overrides will be enabled always
Bug
200067556
Change-Id: I24a91e0bcc0dcee842fcb82f306e7f4f5fb8bf95
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/667804
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
- nvidia,lane-map: Each nibble represent lane width starting from lowest
nibble being RP0. Example:- 0x14 has lane width=4 for RP0 and width=1 for RP1
valid values: 0xYZ, Y={0,1}, Z={0,1,2,4}
+- nvidia,presence-detection-gpio: Board specific, represents the present detection
+ pin status
Example:
status = "okay";
pci@1,0 {
status = "okay";
+ nvidia,presence-detection-gpio = <&pca9539_76 1 0>;
};
pci@2,0 {
status = "okay";
+ nvidia,presence-detection-gpio = <&pca9539_76 2 0>;
};
};