[PATCH 0/2] PCI: dwc: Program device-id

From: Sushrut Shree Trivedi

Date: Thu Nov 27 2025 - 10:31:18 EST


For some controllers, HW doesn't program the correct device-id
leading to incorrect identification in lspci. For ex, QCOM
controller SC7280 uses same device id as SM8250. This would
cause issues while applying controller specific quirks.

So, program the correct device-id after reading it from the
devicetree.

Signed-off-by: Sushrut Shree Trivedi <sushrut.trivedi@xxxxxxxxxxxxxxxx>
---
Sushrut Shree Trivedi (2):
PCI: dwc: Program device-id
arm64: dts: qcom: sc7280: Add PCIe device-id

arch/arm64/boot/dts/qcom/sc7280.dtsi | 2 ++
drivers/pci/controller/dwc/pcie-designware-host.c | 7 +++++++
drivers/pci/controller/dwc/pcie-designware.h | 2 ++
3 files changed, 11 insertions(+)
---
base-commit: e26d26ba210e5371c153de892ae45a63b1a34ff8
change-id: 20251126-program-device-id-2a5dd6cafe1b

Best regards,
--
Sushrut Shree Trivedi <quic_sushruts@xxxxxxxxxxx>