* [PATCH v2 0/6] UFS support on SM6350 & FP4 @ 2022-03-21 13:33 Luca Weiss 2022-03-21 13:33 ` [PATCH v2 2/6] dt-bindings: phy: qcom, qmp: Add SM6350 UFS PHY bindings Luca Weiss 2022-03-21 13:33 ` [PATCH v2 3/6] phy: qcom-qmp: Add SM6350 UFS PHY support Luca Weiss 0 siblings, 2 replies; 7+ messages in thread From: Luca Weiss @ 2022-03-21 13:33 UTC (permalink / raw) To: linux-arm-msm Cc: ~postmarketos/upstreaming, phone-devel, Luca Weiss, Alim Akhtar, Andy Gross, AngeloGioacchino Del Regno, Avri Altman, Bjorn Andersson, devicetree, Konrad Dybcio, Linus Walleij, linux-gpio, linux-kernel, linux-phy, linux-scsi, Vinod Koul This series adds support for UFS on SM6350 which is used for internal storage. Changes in v2: - see individual patches Luca Weiss (6): scsi: ufs: dt-bindings: Add SM6350 compatible string dt-bindings: phy: qcom,qmp: Add SM6350 UFS PHY bindings phy: qcom-qmp: Add SM6350 UFS PHY support pinctrl: qcom: sm6350: fix order of UFS & SDC pins arm64: dts: qcom: sm6350: Add UFS nodes arm64: dts: qcom: sm7225-fairphone-fp4: Enable UFS .../devicetree/bindings/phy/qcom,qmp-phy.yaml | 2 + .../devicetree/bindings/ufs/qcom,ufs.yaml | 2 + arch/arm64/boot/dts/qcom/sm6350.dtsi | 77 +++++++++++++++++++ .../boot/dts/qcom/sm7225-fairphone-fp4.dts | 18 +++++ drivers/phy/qualcomm/phy-qcom-qmp.c | 3 + drivers/pinctrl/qcom/pinctrl-sm6350.c | 16 ++-- 6 files changed, 110 insertions(+), 8 deletions(-) -- 2.35.1 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v2 2/6] dt-bindings: phy: qcom, qmp: Add SM6350 UFS PHY bindings 2022-03-21 13:33 [PATCH v2 0/6] UFS support on SM6350 & FP4 Luca Weiss @ 2022-03-21 13:33 ` Luca Weiss 2022-03-21 13:41 ` [PATCH v2 2/6] dt-bindings: phy: qcom,qmp: " Krzysztof Kozlowski ` (2 more replies) 2022-03-21 13:33 ` [PATCH v2 3/6] phy: qcom-qmp: Add SM6350 UFS PHY support Luca Weiss 1 sibling, 3 replies; 7+ messages in thread From: Luca Weiss @ 2022-03-21 13:33 UTC (permalink / raw) To: linux-arm-msm Cc: ~postmarketos/upstreaming, phone-devel, Luca Weiss, Andy Gross, Bjorn Andersson, Kishon Vijay Abraham I, Vinod Koul, Rob Herring, Krzysztof Kozlowski, linux-phy, devicetree, linux-kernel Document the compatible string for the UFS PHY found in SM6350. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> --- Changes in v2: - add second hunk for clock validation Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml index e20d9b087bb8..5d7417c34c87 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml @@ -39,6 +39,7 @@ properties: - qcom,sdm845-qmp-usb3-phy - qcom,sdm845-qmp-usb3-uni-phy - qcom,sm6115-qmp-ufs-phy + - qcom,sm6350-qmp-ufs-phy - qcom,sm8150-qmp-ufs-phy - qcom,sm8150-qmp-usb3-phy - qcom,sm8150-qmp-usb3-uni-phy @@ -279,6 +280,7 @@ allOf: enum: - qcom,msm8998-qmp-ufs-phy - qcom,sdm845-qmp-ufs-phy + - qcom,sm6350-qmp-ufs-phy - qcom,sm8150-qmp-ufs-phy - qcom,sm8250-qmp-ufs-phy - qcom,sc8180x-qmp-ufs-phy -- 2.35.1 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v2 2/6] dt-bindings: phy: qcom,qmp: Add SM6350 UFS PHY bindings 2022-03-21 13:33 ` [PATCH v2 2/6] dt-bindings: phy: qcom, qmp: Add SM6350 UFS PHY bindings Luca Weiss @ 2022-03-21 13:41 ` Krzysztof Kozlowski 2022-03-21 21:46 ` Rob Herring 2022-04-11 18:04 ` Vinod Koul 2 siblings, 0 replies; 7+ messages in thread From: Krzysztof Kozlowski @ 2022-03-21 13:41 UTC (permalink / raw) To: Luca Weiss, linux-arm-msm Cc: ~postmarketos/upstreaming, phone-devel, Andy Gross, Bjorn Andersson, Kishon Vijay Abraham I, Vinod Koul, Rob Herring, Krzysztof Kozlowski, linux-phy, devicetree, linux-kernel On 21/03/2022 14:33, Luca Weiss wrote: > Document the compatible string for the UFS PHY found in SM6350. > > Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> > --- > Changes in v2: > - add second hunk for clock validation > > Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Best regards, Krzysztof -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 2/6] dt-bindings: phy: qcom,qmp: Add SM6350 UFS PHY bindings 2022-03-21 13:33 ` [PATCH v2 2/6] dt-bindings: phy: qcom, qmp: Add SM6350 UFS PHY bindings Luca Weiss 2022-03-21 13:41 ` [PATCH v2 2/6] dt-bindings: phy: qcom,qmp: " Krzysztof Kozlowski @ 2022-03-21 21:46 ` Rob Herring 2022-04-11 18:04 ` Vinod Koul 2 siblings, 0 replies; 7+ messages in thread From: Rob Herring @ 2022-03-21 21:46 UTC (permalink / raw) To: Luca Weiss Cc: Krzysztof Kozlowski, ~postmarketos/upstreaming, phone-devel, linux-phy, Bjorn Andersson, Vinod Koul, devicetree, Andy Gross, linux-kernel, Rob Herring, linux-arm-msm, Kishon Vijay Abraham I On Mon, 21 Mar 2022 14:33:14 +0100, Luca Weiss wrote: > Document the compatible string for the UFS PHY found in SM6350. > > Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> > --- > Changes in v2: > - add second hunk for clock validation > > Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Rob Herring <robh@kernel.org> -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 2/6] dt-bindings: phy: qcom,qmp: Add SM6350 UFS PHY bindings 2022-03-21 13:33 ` [PATCH v2 2/6] dt-bindings: phy: qcom, qmp: Add SM6350 UFS PHY bindings Luca Weiss 2022-03-21 13:41 ` [PATCH v2 2/6] dt-bindings: phy: qcom,qmp: " Krzysztof Kozlowski 2022-03-21 21:46 ` Rob Herring @ 2022-04-11 18:04 ` Vinod Koul 2 siblings, 0 replies; 7+ messages in thread From: Vinod Koul @ 2022-04-11 18:04 UTC (permalink / raw) To: Luca Weiss Cc: linux-arm-msm, ~postmarketos/upstreaming, phone-devel, Andy Gross, Bjorn Andersson, Kishon Vijay Abraham I, Rob Herring, Krzysztof Kozlowski, linux-phy, devicetree, linux-kernel On 21-03-22, 14:33, Luca Weiss wrote: > Document the compatible string for the UFS PHY found in SM6350. Applied, thanks -- ~Vinod -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v2 3/6] phy: qcom-qmp: Add SM6350 UFS PHY support 2022-03-21 13:33 [PATCH v2 0/6] UFS support on SM6350 & FP4 Luca Weiss 2022-03-21 13:33 ` [PATCH v2 2/6] dt-bindings: phy: qcom, qmp: Add SM6350 UFS PHY bindings Luca Weiss @ 2022-03-21 13:33 ` Luca Weiss 2022-04-11 18:04 ` Vinod Koul 1 sibling, 1 reply; 7+ messages in thread From: Luca Weiss @ 2022-03-21 13:33 UTC (permalink / raw) To: linux-arm-msm Cc: ~postmarketos/upstreaming, phone-devel, Luca Weiss, Andy Gross, Bjorn Andersson, Kishon Vijay Abraham I, Vinod Koul, linux-phy, linux-kernel The SM6350 UFS PHY is compatible with the one from SDM845. Add a compatible for that. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> --- Changes in v2: - nothing drivers/phy/qualcomm/phy-qcom-qmp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers/phy/qualcomm/phy-qcom-qmp.c index b144ae1f729a..1628275265b5 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp.c @@ -6007,6 +6007,9 @@ static const struct of_device_id qcom_qmp_phy_of_match_table[] = { }, { .compatible = "qcom,sm6115-qmp-ufs-phy", .data = &sm6115_ufsphy_cfg, + }, { + .compatible = "qcom,sm6350-qmp-ufs-phy", + .data = &sdm845_ufsphy_cfg, }, { .compatible = "qcom,sm8150-qmp-ufs-phy", .data = &sm8150_ufsphy_cfg, -- 2.35.1 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v2 3/6] phy: qcom-qmp: Add SM6350 UFS PHY support 2022-03-21 13:33 ` [PATCH v2 3/6] phy: qcom-qmp: Add SM6350 UFS PHY support Luca Weiss @ 2022-04-11 18:04 ` Vinod Koul 0 siblings, 0 replies; 7+ messages in thread From: Vinod Koul @ 2022-04-11 18:04 UTC (permalink / raw) To: Luca Weiss Cc: linux-arm-msm, ~postmarketos/upstreaming, phone-devel, Andy Gross, Bjorn Andersson, Kishon Vijay Abraham I, linux-phy, linux-kernel On 21-03-22, 14:33, Luca Weiss wrote: > The SM6350 UFS PHY is compatible with the one from SDM845. Add a > compatible for that. Applied, thanks -- ~Vinod -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-04-11 18:04 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-03-21 13:33 [PATCH v2 0/6] UFS support on SM6350 & FP4 Luca Weiss 2022-03-21 13:33 ` [PATCH v2 2/6] dt-bindings: phy: qcom, qmp: Add SM6350 UFS PHY bindings Luca Weiss 2022-03-21 13:41 ` [PATCH v2 2/6] dt-bindings: phy: qcom,qmp: " Krzysztof Kozlowski 2022-03-21 21:46 ` Rob Herring 2022-04-11 18:04 ` Vinod Koul 2022-03-21 13:33 ` [PATCH v2 3/6] phy: qcom-qmp: Add SM6350 UFS PHY support Luca Weiss 2022-04-11 18:04 ` Vinod Koul
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox