1 From 2c2313c84ad7c0e5e39fbd98559d40f6b9ec1f83 Mon Sep 17 00:00:00 2001
2 From: Lorenzo Bianconi <lorenzo@kernel.org>
3 Date: Wed, 18 Sep 2024 15:32:53 +0200
4 Subject: [PATCH 2/4] phy: airoha: Fix REG_PCIE_PMA_TX_RESET config in
5 airoha_pcie_phy_init_csr_2l()
7 Fix typos configuring REG_PCIE_PMA_TX_RESET register in
8 airoha_pcie_phy_init_csr_2l routine for lane0 and lane1
10 Fixes: d7d2818b9383 ("phy: airoha: Add PCIe PHY driver for EN7581 SoC.")
11 Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
13 drivers/phy/phy-airoha-pcie.c | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
16 --- a/drivers/phy/phy-airoha-pcie.c
17 +++ b/drivers/phy/phy-airoha-pcie.c
18 @@ -471,9 +471,9 @@ static void airoha_pcie_phy_init_csr_2l(
19 PCIE_SW_XFI_RXPCS_RST | PCIE_SW_REF_RST |
21 airoha_phy_pma0_set_bits(pcie_phy, REG_PCIE_PMA_TX_RESET,
22 - PCIE_TX_TOP_RST | REG_PCIE_PMA_TX_RESET);
23 + PCIE_TX_TOP_RST | PCIE_TX_CAL_RST);
24 airoha_phy_pma1_set_bits(pcie_phy, REG_PCIE_PMA_TX_RESET,
25 - PCIE_TX_TOP_RST | REG_PCIE_PMA_TX_RESET);
26 + PCIE_TX_TOP_RST | PCIE_TX_CAL_RST);
29 static void airoha_pcie_phy_init_rx(struct airoha_pcie_phy *pcie_phy)