Commit Graph

2 Commits

Author SHA1 Message Date
Sai Chaitanya Kaveti
2309da4817 ARM: dts: msm: Add device_type in PCIe nodes for sdxkova
If device_type is not present in PCIe nodes in device tree, flags parsed
from ranges property are seen to be invalid and following errors are
seen. To resolve this add device_type as PCI in all 3 PCIe nodes for
sdxkova.

Error logs before the fix:
pci-msm 1bf0000.qcom,pcie:      err 0x0048200000..0x00482fffff ->
0x0048200000
pci-msm 1bf0000.qcom,pcie:      err 0x0048300000..0x004bffffff ->
0x0048300000

Success logs after the fix:
pci-msm 1bf0000.qcom,pcie:      IO 0x0048200000..0x00482fffff ->
0x0048200000
pci-msm 1bf0000.qcom,pcie:      MEM 0x0048300000..0x004bffffff ->
0x0048300000.

Change-Id: Ib5e8e8b536a6e006ca267020e6ed13aeb9ba9db1
Signed-off-by: Sai Chaitanya Kaveti <quic_skaveti@quicinc.com>
2024-11-06 05:26:47 -08:00
Sai Chaitanya Kaveti
1b9afa3933 ARM: dts: msm: Add PCIe RC configuration for sdxkova
Add all 3 PCIe RC configurations for sdxkova. The number of address
cells and size cells are seen as 2 in msm-imem. Based on this add the
register base addresses, MSI register addresses, Host address in ranges
as 64-bit addresses.

Update the PHY settings from latest HSR.
    - For PCIe0 and PCIe1 there are no changes in PHY settings, update
      the corresponding PHY versions to v1.11 and v1.12.
    - For PCIe2, add one change (PCS_G3S2_PRE_GAIN) as per the PHY
      version v1.5.

Change-Id: I09519045a13e96878046d905bbe6f2378578c464
Signed-off-by: Sai Chaitanya Kaveti <quic_skaveti@quicinc.com>
2024-11-01 06:12:53 -07:00