PCI: cadence: Add HPA IP debugfs for LTSSM status

Add debugfs support for HPA-based Cadence PCIe controllers. A new file
'ltssm_status' is created under debugfs, allowing users to read the
current LTSSM state as a string and raw value.

Signed-off-by: Hans Zhang <18255117159@163.com>
[mani: fixed the makefile and dropped MODULE_* macros]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Tested-by: Aksh Garg <a-garg7@ti.com>
Link: https://patch.msgid.link/20260701073513.1101559-3-18255117159@163.com
This commit is contained in:
Hans Zhang 2026-07-01 15:35:11 +08:00 • committed by Manivannan Sadhasivam
commit ea34744eb0
7 changed files with 400 additions and 1 deletions