PCI: designware-ep: Disable PTM capabilities for EP mode
authorVidya Sagar <vidyas@nvidia.com>
Mon, 19 Sep 2022 14:33:40 +0000 (20:03 +0530)
committerLorenzo Pieralisi <lpieralisi@kernel.org>
Thu, 27 Oct 2022 12:42:56 +0000 (14:42 +0200)
commit442ae919e6ca77354551a7b8717746b44272e274
tree8b4e8810be409663bf444d76b92f1df2a66a65d5
parente32e1e26c4098d8a866ce09fd26d8004da4ddf9e
PCI: designware-ep: Disable PTM capabilities for EP mode

Dual mode DesignWare PCIe IP has PTM capability enabled (if supported) even
in the EP mode. The PCIe compliance for the EP mode expects PTM
capabilities (ROOT_CAPABLE, RES_CAPABLE, CLK_GRAN) be disabled.
Hence disable PTM for the EP mode.

Link: https://lore.kernel.org/r/20220919143340.4527-3-vidyas@nvidia.com
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Acked-by: Jingoo Han <jingoohan1@gmail.com>
drivers/pci/controller/dwc/pcie-designware-ep.c