Skip to content

Commit b19c3f4

Browse files
committed
Merge branch 'remotes/lorenzo/pci/tegra'
- Fix Tegra CLKREQ dependency programming (Vidya Sagar) * remotes/lorenzo/pci/tegra: PCI: tegra: Fix CLKREQ dependency programming
2 parents 069ade5 + ff5c2bb commit b19c3f4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

drivers/pci/controller/dwc/pcie-tegra194.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@
4040
#define APPL_PINMUX_CLKREQ_OVERRIDE BIT(3)
4141
#define APPL_PINMUX_CLK_OUTPUT_IN_OVERRIDE_EN BIT(4)
4242
#define APPL_PINMUX_CLK_OUTPUT_IN_OVERRIDE BIT(5)
43-
#define APPL_PINMUX_CLKREQ_OUT_OVRD_EN BIT(9)
44-
#define APPL_PINMUX_CLKREQ_OUT_OVRD BIT(10)
4543

4644
#define APPL_CTRL 0x4
4745
#define APPL_CTRL_SYS_PRE_DET_STATE BIT(6)
@@ -1193,8 +1191,8 @@ static int tegra_pcie_config_controller(struct tegra_pcie_dw *pcie,
11931191

11941192
if (!pcie->supports_clkreq) {
11951193
val = appl_readl(pcie, APPL_PINMUX);
1196-
val |= APPL_PINMUX_CLKREQ_OUT_OVRD_EN;
1197-
val |= APPL_PINMUX_CLKREQ_OUT_OVRD;
1194+
val |= APPL_PINMUX_CLKREQ_OVERRIDE_EN;
1195+
val &= ~APPL_PINMUX_CLKREQ_OVERRIDE;
11981196
appl_writel(pcie, val, APPL_PINMUX);
11991197
}
12001198

0 commit comments

Comments
 (0)