[PATCH 2/4] PCI: tegra194: Use of_pci_clkreq_present() instead
Shawn Lin
shawn.lin at rock-chips.com
Tue Oct 21 00:48:25 PDT 2025
No functional changes intended.
Signed-off-by: Shawn Lin <shawn.lin at rock-chips.com>
---
drivers/pci/controller/dwc/pcie-tegra194.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/pci/controller/dwc/pcie-tegra194.c b/drivers/pci/controller/dwc/pcie-tegra194.c
index 10e74458e667..7a82a53e7c4d 100644
--- a/drivers/pci/controller/dwc/pcie-tegra194.c
+++ b/drivers/pci/controller/dwc/pcie-tegra194.c
@@ -1161,8 +1161,7 @@ static int tegra_pcie_dw_parse_dt(struct tegra_pcie_dw *pcie)
"nvidia,enable-ext-refclk");
}
- pcie->supports_clkreq =
- of_property_read_bool(pcie->dev->of_node, "supports-clkreq");
+ pcie->supports_clkreq = of_pci_clkreq_present(pcie->dev->of_node);
pcie->enable_cdm_check =
of_property_read_bool(np, "snps,enable-cdm-check");
--
2.43.0
More information about the Linux-rockchip
mailing list