I am using Jetson AGX Xavier and trying to connect another board to it’s PCIe slot (C5). Initially lspci was not showing this slot at all, in “dmesg | grep pci” there was
“”"
[ 6.296298] tegra194-pcie 141a0000.pcie: Failed to get slot regulators: -517
[ 6.953919] tegra194-pcie 141a0000.pcie: Failed to get slot regulators: -517
…
[ 8.518227] pci_bus 0005:01: busn_res: [bus 01-ff] is released
[ 8.518532] pci 0005:00:00.0: Removing from iommu group 11
[ 8.518695] pci_bus 0005:00: busn_res: [bus 00-ff] is released
“”"
Then I have done following changes in Linux_for_Tegra/source/public/hardware/nvidia/platform/t19x/galen/kernel-dts/common:
- in file tegra194-p2888-0000-a00.dtsi, section pcie@141a0000, changed “nvidia,enable-power-down” to “nvidia,disable-power-down”
- in file tegra194-fixed-regulator-p2822-1000.dtsi, sections p2822_vdd_3v3_pcie and p2822_vdd_12v_pcie commented lines “regulator-boot-on;”
- in file tegra194-spmic-p2888-0001.dtsi, section p2888_spmic_sd3 commented line “regulator-boot-on;”
Now lspci shows 0005:00:00.0 PCI bridge but there is no 0005:01:00.0, and in in “dmesg | grep pci” there is still
“”"
tegra194-pcie 141a0000.pcie: Failed to get slot regulators: -517
tegra194-pcie 141a0000.pcie: Failed to get slot regulators: -517
“”"
I have 2 questions:
- in file tegra194-fixed-regulator-p2822-1000.dtsi, section p2822_vdd_12v_pcie regulator_min_microvolt and regulator_max_microvolt are set to 1200000 (like 1.2V) instead of 12000000 (12V), is it a typo? Should I append zero?
- why does it fail to get slot regulators?