clk: qcom: negcc-nord: Add the secondary QUSB2 PHY reset
cover clk: qcom: negcc-nord: Add the secondary QUSB2 PHY reset
The series adds the missing secondary QUSB2 PHY reset to negcc-nord clock driver, so that usb_1_hsphy can be enabled properly on Nord platform.
Bartosz Golaszewski (2):
dt-bindings: clock: qcom: nord-negcc: Add the secondary QUSB2 PHY
reset
clk: qcom: negcc-nord: Add the secondary QUSB2 PHY reset
drivers/clk/qcom/negcc-nord.c | 1 + include/dt-bindings/clock/qcom,nord-negcc.h | 1 + 2 files changed, 2 insertions(+)
Signature · 1 line
2.43.0
PATCH 1/2 dt-bindings: clock: qcom: nord-negcc: Add the secondary QUSB2 PHY reset
From: Bartosz Golaszewski <[email protected]>
The NE_GCC block has two eUSB2 PHY block resets - PRIM and SEC - but right now only the primary is registered. Add the secondary, which is required by the usb_1 eUSB2 PHY.
Note that the SoC has three eUSB2 PHYs but only these two QUSB2PHY
resets: the HS-only USB20 tile has no dedicated QUSB2PHY reset and is instead reset as a whole via NE_GCC_USB20_PRIM_BCR.
--- include/dt-bindings/clock/qcom,nord-negcc.h | 1 + 1 file changed, 1 insertion(+)
include/dt-bindings/clock/qcom,nord-negcc.h +1 -0
@@ -121,5 +121,6 @@#define NE_GCC_USB3PHY_PHY_PRIM_BCR 11#define NE_GCC_USB3PHY_PHY_SEC_BCR 12#define NE_GCC_QUSB2PHY_PRIM_BCR 13 +#define NE_GCC_QUSB2PHY_SEC_BCR 14#endif
Signature · 1 line
2.43.0
Re: [PATCH 1/2] dt-bindings: clock: qcom: nord-negcc: Add the secondary QUSB2 PHY reset
Quoted 6 lines · Shawn Guo
From: Bartosz Golaszewski <[email protected]>
The
NE_GCCblock has two eUSB2 PHY block resets - PRIM and SEC - but right now only the primary is registered. Add the secondary, which is required by theusb_1eUSB2 PHY.
Quoted 6 lines
Note that the SoC has three eUSB2 PHYs but only these two QUSB2PHY
resets: the HS-only USB20 tile has no dedicated QUSB2PHY reset and is instead reset as a whole viaNE_GCC_USB20_PRIM_BCR.Signed-off-by Bartosz Golaszewski <[email protected]>Signed-off-by Shawn Guo <[email protected]>
Signature · 2 lines
Thanks, Taniya Das
PATCH 2/2 clk: qcom: negcc-nord: Add the secondary QUSB2 PHY reset
In reply to Shawn GuoFrom: Bartosz Golaszewski <[email protected]>
Add the secondary USB2 PHY reset which is needed by usb_1_hsphy enabling on Nord platform.
--- drivers/clk/qcom/negcc-nord.c | 1 + 1 file changed, 1 insertion(+)
drivers/clk/qcom/negcc-nord.c +1 -0
@@ -1877,6 +1877,7 @@ static const struct qcom_reset_map ne_gcc_nord_resets[] = { [NE_GCC_USB3PHY_PHY_PRIM_BCR] = { 0x2b004 }, [NE_GCC_USB3PHY_PHY_SEC_BCR] = { 0x2d004 }, [NE_GCC_QUSB2PHY_PRIM_BCR] = { 0x2e000 }, + [NE_GCC_QUSB2PHY_SEC_BCR] = { 0x2f000 }, };static const struct clk_rcg_dfs_data ne_gcc_nord_dfs_clocks[] = {
Signature · 1 line
2.43.0
Quoted 10 lines · Shawn Guo
From: Bartosz Golaszewski <[email protected]>
Add the secondary USB2 PHY reset which is needed by
usb_1_hsphyenabling on Nord platform.Signed-off-by Bartosz Golaszewski <[email protected]>Signed-off-by Shawn Guo <[email protected]>--- drivers/clk/qcom/negcc-nord.c | 1 + 1 file changed, 1 insertion(+)
Signature · 2 lines
Thanks, Taniya Das
Re: (subset) [PATCH 0/2] clk: qcom: negcc-nord: Add the secondary QUSB2 PHY reset
In reply to Shawn GuoQuoted 10 lines · Shawn Guo
The series adds the missing secondary QUSB2 PHY reset to negcc-nord clock driver, so that
usb_1_hsphycan be enabled properly on Nord platform.Bartosz Golaszewski (2):
dt-bindings: clock: qcom: nord-negcc: Add the secondary QUSB2 PHY
reset
clk: qcom: negcc-nord: Add the secondary QUSB2 PHY reset[...]
Applied, thanks!
[2/2] clk: qcom: negcc-nord: Add the secondary QUSB2 PHY reset
commit: 03445cb3e60340ac8215db9a59daff97d63a5ba9
Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>