Message ID | 20230118005328.2378792-1-abel.vesa@linaro.org |
---|---|
Headers | show |
Series | phy: qualcomm: Add PCIe support for SM8550 | expand |
On 18/01/2023 02:53, Abel Vesa wrote: > The new SM8550 SoC bumps up the HW version of QMP phy to v6 for USB, > UFS and PCIE g3x2. Add the new PCS offsets in a dedicated header file. > > Signed-off-by: Abel Vesa <abel.vesa@linaro.org> > --- > drivers/phy/qualcomm/phy-qcom-qmp-pcs-v6.h | 16 ++++++++++++++++ > drivers/phy/qualcomm/phy-qcom-qmp.h | 2 ++ > 2 files changed, 18 insertions(+) > create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-v6.h Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
On 18/01/2023 02:53, Abel Vesa wrote: > The new SM8550 SoC bumps up the HW version of QMP phy to v6.20 for > PCIE g4x2. Add the new PCS offsets in a dedicated header file. > > Signed-off-by: Abel Vesa <abel.vesa@linaro.org> > --- > drivers/phy/qualcomm/phy-qcom-qmp-pcs-v6_20.h | 18 ++++++++++++++++++ > drivers/phy/qualcomm/phy-qcom-qmp.h | 2 ++ > 2 files changed, 20 insertions(+) > create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-v6_20.h I can not verify register offsets, but generally looks good. Thus: Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
On 23-01-18 06:34:41, Dmitry Baryshkov wrote: > On 18/01/2023 02:53, Abel Vesa wrote: > > Add the SM8550 both g4 and g3 configurations. In addition, there is a > > new "lane shared" table that needs to be configured for g4, along with > > the No-CSR list of resets. > > > > Co-developed-by: Neil Armstrong <neil.armstrong@linaro.org> > > Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> > > Signed-off-by: Abel Vesa <abel.vesa@linaro.org> > > --- > > drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 369 +++++++++++++++++++++++ > > 1 file changed, 369 insertions(+) > > > > diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-pcie.c b/drivers/phy/qualcomm/phy-qcom-qmp-pcie.c > > index bffb9e138715..6f82604bd430 100644 > > --- a/drivers/phy/qualcomm/phy-qcom-qmp-pcie.c > > +++ b/drivers/phy/qualcomm/phy-qcom-qmp-pcie.c > > @@ -1506,6 +1506,234 @@ static const struct qmp_phy_init_tbl sm8450_qmp_gen4x2_pcie_ep_pcs_misc_tbl[] = > > QMP_PHY_INIT_CFG(QPHY_V5_20_PCS_PCIE_OSC_DTCT_MODE2_CONFIG5, 0x08), > > }; > > I see that the last two patches still use 'shrd' a lot. Does this correspond > to hw register names or is it just a vendor kernel code convention? It corresponds to the hw register names.. > > -- > With best wishes > Dmitry >
On 19/01/2023 01:34, Abel Vesa wrote: > On 23-01-18 06:34:41, Dmitry Baryshkov wrote: >> On 18/01/2023 02:53, Abel Vesa wrote: >>> Add the SM8550 both g4 and g3 configurations. In addition, there is a >>> new "lane shared" table that needs to be configured for g4, along with >>> the No-CSR list of resets. >>> >>> Co-developed-by: Neil Armstrong <neil.armstrong@linaro.org> >>> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> >>> Signed-off-by: Abel Vesa <abel.vesa@linaro.org> >>> --- >>> drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 369 +++++++++++++++++++++++ >>> 1 file changed, 369 insertions(+) >>> >>> diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-pcie.c b/drivers/phy/qualcomm/phy-qcom-qmp-pcie.c >>> index bffb9e138715..6f82604bd430 100644 >>> --- a/drivers/phy/qualcomm/phy-qcom-qmp-pcie.c >>> +++ b/drivers/phy/qualcomm/phy-qcom-qmp-pcie.c >>> @@ -1506,6 +1506,234 @@ static const struct qmp_phy_init_tbl sm8450_qmp_gen4x2_pcie_ep_pcs_misc_tbl[] = >>> QMP_PHY_INIT_CFG(QPHY_V5_20_PCS_PCIE_OSC_DTCT_MODE2_CONFIG5, 0x08), >>> }; >> >> I see that the last two patches still use 'shrd' a lot. Does this correspond >> to hw register names or is it just a vendor kernel code convention? > > It corresponds to the hw register names.. Ack, then: Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > >> >> -- >> With best wishes >> Dmitry >>