summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBrett Zhou <brett_zhou@lecomputing.com>2026-07-21 16:28:47 +0800
committerManivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>2026-08-13 07:23:31 +0200
commit6d99b198629dde79aa098214e82f2a99ea44f330 (patch)
tree8de736d21e09339698089dd8223a4820566bdad5 /include
parent9cb1b6a781ab5166a6afdd4bbcd6044d75bffed1 (diff)
downloadlinux-stable-6d99b198629dde79aa098214e82f2a99ea44f330.tar.gz
linux-stable-6d99b198629dde79aa098214e82f2a99ea44f330.zip
PCI: dwc: Add PCI ID for LECARC PCIe PMU
Add support for the PCIe PMU found on LECARC SoCs. LECARC platforms use the standard DesignWare PCIe Controller, and the existing DWC driver already handles the enumeration and basic functionality through the generic PCIe core. Hence, add the PCI vendor ID to the vendor-specific capability (VSEC) list, which enables the standard DWC RAS/DES feature detection. Signed-off-by: Brett Zhou <brett_zhou@lecomputing.com> Signed-off-by: Braden Zhang <braden_zhang@lecomputing.com> [mani: commit log] Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com> Link: https://patch.msgid.link/20260721-pcie-pmu-v5-1-570e44af7cde@lecomputing.com
Diffstat (limited to 'include')
-rw-r--r--include/linux/pcie-dwc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/pcie-dwc.h b/include/linux/pcie-dwc.h
index 8ff778e7aec0..0df5fa81b561 100644
--- a/include/linux/pcie-dwc.h
+++ b/include/linux/pcie-dwc.h
@@ -11,6 +11,8 @@
#include <linux/pci_ids.h>
+#define PCI_VENDOR_ID_LECARC 0x0720
+
struct dwc_pcie_vsec_id {
u16 vendor_id;
u16 vsec_id;
@@ -32,6 +34,8 @@ static const struct dwc_pcie_vsec_id dwc_pcie_rasdes_vsec_ids[] = {
.vsec_id = 0x02, .vsec_rev = 0x4 },
{ .vendor_id = PCI_VENDOR_ID_SAMSUNG,
.vsec_id = 0x02, .vsec_rev = 0x4 },
+ { .vendor_id = PCI_VENDOR_ID_LECARC,
+ .vsec_id = 0x02, .vsec_rev = 0x4 },
{}
};