* [PATCH 1/3] dt-bindings: phy: qcom,qmp-usb3-dp: Add sm6350 compatible @ 2022-11-21 7:53 Luca Weiss 2022-11-21 7:53 ` [PATCH 3/3] arm64: dts: qcom: sm6350: Use specific qmpphy compatible Luca Weiss 2022-11-21 8:07 ` [PATCH 1/3] dt-bindings: phy: qcom,qmp-usb3-dp: Add sm6350 compatible Johan Hovold 0 siblings, 2 replies; 5+ messages in thread From: Luca Weiss @ 2022-11-21 7:53 UTC (permalink / raw) To: linux-arm-msm Cc: ~postmarketos/upstreaming, phone-devel, Luca Weiss, Andy Gross, Bjorn Andersson, Konrad Dybcio, Vinod Koul, Kishon Vijay Abraham I, Rob Herring, Krzysztof Kozlowski, Wesley Cheng, linux-phy, devicetree, linux-kernel Add the compatible describing the combo phy found on SM6350. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> --- Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml index 97a7ecafbf85..68aecb638870 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml @@ -18,6 +18,7 @@ properties: - qcom,sc8180x-qmp-usb3-dp-phy - qcom,sc8280xp-qmp-usb43dp-phy - qcom,sdm845-qmp-usb3-dp-phy + - qcom,sm6350-qmp-usb3-dp-phy - qcom,sm8250-qmp-usb3-dp-phy reg: items: -- 2.38.1 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] arm64: dts: qcom: sm6350: Use specific qmpphy compatible 2022-11-21 7:53 [PATCH 1/3] dt-bindings: phy: qcom,qmp-usb3-dp: Add sm6350 compatible Luca Weiss @ 2022-11-21 7:53 ` Luca Weiss 2022-11-21 8:07 ` [PATCH 1/3] dt-bindings: phy: qcom,qmp-usb3-dp: Add sm6350 compatible Johan Hovold 1 sibling, 0 replies; 5+ messages in thread From: Luca Weiss @ 2022-11-21 7:53 UTC (permalink / raw) To: linux-arm-msm Cc: ~postmarketos/upstreaming, phone-devel, Luca Weiss, Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, devicetree, linux-kernel The sc7180 phy compatible works fine for some cases, but it turns out sm6350 does need proper phy configuration in the driver, so use the newly added sm6350 compatible. This fixes qmpphy init when no USB cable is plugged in during bootloader stage. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index 7ccbb8f437fa..1cbc73e5f10e 100644 --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi @@ -1342,7 +1342,7 @@ usb_1_hsphy: phy@88e3000 { }; usb_1_qmpphy: phy@88e9000 { - compatible = "qcom,sc7180-qmp-usb3-dp-phy"; + compatible = "qcom,sm6350-qmp-usb3-dp-phy"; reg = <0 0x088e9000 0 0x200>, <0 0x088e8000 0 0x40>, <0 0x088ea000 0 0x200>; -- 2.38.1 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/3] dt-bindings: phy: qcom,qmp-usb3-dp: Add sm6350 compatible 2022-11-21 7:53 [PATCH 1/3] dt-bindings: phy: qcom,qmp-usb3-dp: Add sm6350 compatible Luca Weiss 2022-11-21 7:53 ` [PATCH 3/3] arm64: dts: qcom: sm6350: Use specific qmpphy compatible Luca Weiss @ 2022-11-21 8:07 ` Johan Hovold 2022-11-22 7:55 ` Luca Weiss 1 sibling, 1 reply; 5+ messages in thread From: Johan Hovold @ 2022-11-21 8:07 UTC (permalink / raw) To: Luca Weiss Cc: linux-arm-msm, ~postmarketos/upstreaming, phone-devel, Andy Gross, Bjorn Andersson, Konrad Dybcio, Vinod Koul, Kishon Vijay Abraham I, Rob Herring, Krzysztof Kozlowski, Wesley Cheng, linux-phy, devicetree, linux-kernel On Mon, Nov 21, 2022 at 08:53:55AM +0100, Luca Weiss wrote: > Add the compatible describing the combo phy found on SM6350. > > Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> > --- > Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml > index 97a7ecafbf85..68aecb638870 100644 > --- a/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml > +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml > @@ -18,6 +18,7 @@ properties: > - qcom,sc8180x-qmp-usb3-dp-phy > - qcom,sc8280xp-qmp-usb43dp-phy > - qcom,sdm845-qmp-usb3-dp-phy > + - qcom,sm6350-qmp-usb3-dp-phy > - qcom,sm8250-qmp-usb3-dp-phy > reg: > items: The current USB3-DP bindings are broken and we should no be adding further compatibles here. Please consider rebasing on: https://lore.kernel.org/all/20221115144005.2478-1-johan+linaro@kernel.org/ Johan ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/3] dt-bindings: phy: qcom,qmp-usb3-dp: Add sm6350 compatible 2022-11-21 8:07 ` [PATCH 1/3] dt-bindings: phy: qcom,qmp-usb3-dp: Add sm6350 compatible Johan Hovold @ 2022-11-22 7:55 ` Luca Weiss 2022-11-22 8:10 ` Johan Hovold 0 siblings, 1 reply; 5+ messages in thread From: Luca Weiss @ 2022-11-22 7:55 UTC (permalink / raw) To: Johan Hovold Cc: linux-arm-msm, ~postmarketos/upstreaming, phone-devel, Andy Gross, Bjorn Andersson, Konrad Dybcio, Vinod Koul, Kishon Vijay Abraham I, Rob Herring, Krzysztof Kozlowski, Wesley Cheng, linux-phy, devicetree, linux-kernel Hi Johan, On Mon Nov 21, 2022 at 9:07 AM CET, Johan Hovold wrote: > On Mon, Nov 21, 2022 at 08:53:55AM +0100, Luca Weiss wrote: > > Add the compatible describing the combo phy found on SM6350. > > > > Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> > > --- > > Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml > > index 97a7ecafbf85..68aecb638870 100644 > > --- a/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml > > +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml > > @@ -18,6 +18,7 @@ properties: > > - qcom,sc8180x-qmp-usb3-dp-phy > > - qcom,sc8280xp-qmp-usb43dp-phy > > - qcom,sdm845-qmp-usb3-dp-phy > > + - qcom,sm6350-qmp-usb3-dp-phy > > - qcom,sm8250-qmp-usb3-dp-phy > > reg: > > items: > > The current USB3-DP bindings are broken and we should no be adding > further compatibles here. Please consider rebasing on: > > https://lore.kernel.org/all/20221115144005.2478-1-johan+linaro@kernel.org/ I'm not quite clear what you want me to do. Just rebase this change on top of your patchset and resend or something else? Regards Luca > > Johan ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/3] dt-bindings: phy: qcom,qmp-usb3-dp: Add sm6350 compatible 2022-11-22 7:55 ` Luca Weiss @ 2022-11-22 8:10 ` Johan Hovold 0 siblings, 0 replies; 5+ messages in thread From: Johan Hovold @ 2022-11-22 8:10 UTC (permalink / raw) To: Luca Weiss Cc: linux-arm-msm, ~postmarketos/upstreaming, phone-devel, Andy Gross, Bjorn Andersson, Konrad Dybcio, Vinod Koul, Kishon Vijay Abraham I, Rob Herring, Krzysztof Kozlowski, Wesley Cheng, linux-phy, devicetree, linux-kernel On Tue, Nov 22, 2022 at 08:55:31AM +0100, Luca Weiss wrote: > Hi Johan, > > On Mon Nov 21, 2022 at 9:07 AM CET, Johan Hovold wrote: > > On Mon, Nov 21, 2022 at 08:53:55AM +0100, Luca Weiss wrote: > > > Add the compatible describing the combo phy found on SM6350. > > > > > > Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> > > > --- > > > Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml > > > index 97a7ecafbf85..68aecb638870 100644 > > > --- a/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml > > > +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml > > > @@ -18,6 +18,7 @@ properties: > > > - qcom,sc8180x-qmp-usb3-dp-phy > > > - qcom,sc8280xp-qmp-usb43dp-phy > > > - qcom,sdm845-qmp-usb3-dp-phy > > > + - qcom,sm6350-qmp-usb3-dp-phy > > > - qcom,sm8250-qmp-usb3-dp-phy > > > reg: > > > items: > > > > The current USB3-DP bindings are broken and we should no be adding > > further compatibles here. Please consider rebasing on: > > > > https://lore.kernel.org/all/20221115144005.2478-1-johan+linaro@kernel.org/ > > I'm not quite clear what you want me to do. Just rebase this change on > top of your patchset and resend or something else? Yes, you should rebase this series on top of the above, add qcom,sm6350-qmp-usb3-dp-phy to the new (sc8280xp) schema, add a register offset table for QMP v3 to the PHY driver, and update the dts. Note that the USB/DP configuration structures have been merged (and some config fields have already been removed in linux-next). Johan ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-11-22 8:11 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-11-21 7:53 [PATCH 1/3] dt-bindings: phy: qcom,qmp-usb3-dp: Add sm6350 compatible Luca Weiss 2022-11-21 7:53 ` [PATCH 3/3] arm64: dts: qcom: sm6350: Use specific qmpphy compatible Luca Weiss 2022-11-21 8:07 ` [PATCH 1/3] dt-bindings: phy: qcom,qmp-usb3-dp: Add sm6350 compatible Johan Hovold 2022-11-22 7:55 ` Luca Weiss 2022-11-22 8:10 ` Johan Hovold
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox