* [PATCH 0/2] phy: qcom: snps-eusb2: Add support for X1E80100 @ 2023-11-22 10:28 Abel Vesa 2023-11-22 10:28 ` [PATCH 1/2] dt-bindings: phy: qcom: snps-eusb2: Document the X1E80100 compatible Abel Vesa 2023-11-22 10:28 ` [PATCH 2/2] phy: qcom: snps-eusb2: Add X1E80100 Compatible Abel Vesa 0 siblings, 2 replies; 7+ messages in thread From: Abel Vesa @ 2023-11-22 10:28 UTC (permalink / raw) To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Vinod Koul, Kishon Vijay Abraham I, Rob Herring, Krzysztof Kozlowski, Conor Dooley Cc: linux-arm-msm, linux-phy, devicetree, linux-kernel, Abel Vesa This patchset adds the compatible (and documents it) for the X1E80100 eUSB2 PHY. Signed-off-by: Abel Vesa <abel.vesa@linaro.org> --- Abel Vesa (2): dt-bindings: phy: qcom: snps-eusb2: Document the X1E80100 compatible phy: qcom: snps-eusb2: Add X1E80100 Compatible Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml | 1 + drivers/phy/qualcomm/phy-qcom-snps-eusb2.c | 1 + 2 files changed, 2 insertions(+) --- base-commit: 07b677953b9dca02928be323e2db853511305fa9 change-id: 20231122-phy-qualcomm-eusb2-x1e80100-36dacab8fd52 Best regards, -- Abel Vesa <abel.vesa@linaro.org> ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/2] dt-bindings: phy: qcom: snps-eusb2: Document the X1E80100 compatible 2023-11-22 10:28 [PATCH 0/2] phy: qcom: snps-eusb2: Add support for X1E80100 Abel Vesa @ 2023-11-22 10:28 ` Abel Vesa 2023-11-22 11:02 ` Dmitry Baryshkov 2023-11-22 10:28 ` [PATCH 2/2] phy: qcom: snps-eusb2: Add X1E80100 Compatible Abel Vesa 1 sibling, 1 reply; 7+ messages in thread From: Abel Vesa @ 2023-11-22 10:28 UTC (permalink / raw) To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Vinod Koul, Kishon Vijay Abraham I, Rob Herring, Krzysztof Kozlowski, Conor Dooley Cc: linux-arm-msm, linux-phy, devicetree, linux-kernel, Abel Vesa Add the X1E80100 compatible to the list of supported PHYs. Signed-off-by: Abel Vesa <abel.vesa@linaro.org> --- Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml index 8f5d7362046c..ea1809efbf56 100644 --- a/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml @@ -21,6 +21,7 @@ properties: - qcom,sm8650-snps-eusb2-phy - const: qcom,sm8550-snps-eusb2-phy - const: qcom,sm8550-snps-eusb2-phy + - const: qcom,x1e80100-snps-eusb2-phy reg: maxItems: 1 -- 2.34.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] dt-bindings: phy: qcom: snps-eusb2: Document the X1E80100 compatible 2023-11-22 10:28 ` [PATCH 1/2] dt-bindings: phy: qcom: snps-eusb2: Document the X1E80100 compatible Abel Vesa @ 2023-11-22 11:02 ` Dmitry Baryshkov 2023-11-22 12:10 ` Krzysztof Kozlowski 0 siblings, 1 reply; 7+ messages in thread From: Dmitry Baryshkov @ 2023-11-22 11:02 UTC (permalink / raw) To: Abel Vesa Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Vinod Koul, Kishon Vijay Abraham I, Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-phy, devicetree, linux-kernel On Wed, 22 Nov 2023 at 12:28, Abel Vesa <abel.vesa@linaro.org> wrote: > > Add the X1E80100 compatible to the list of supported PHYs. > > Signed-off-by: Abel Vesa <abel.vesa@linaro.org> > --- > Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml > index 8f5d7362046c..ea1809efbf56 100644 > --- a/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml > +++ b/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml > @@ -21,6 +21,7 @@ properties: > - qcom,sm8650-snps-eusb2-phy > - const: qcom,sm8550-snps-eusb2-phy Ah, I think this answers my question for patch2. Can we instead reuse the existing compat string as it was done for sm8650? > - const: qcom,sm8550-snps-eusb2-phy > + - const: qcom,x1e80100-snps-eusb2-phy > > reg: > maxItems: 1 > > -- > 2.34.1 > > -- With best wishes Dmitry ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] dt-bindings: phy: qcom: snps-eusb2: Document the X1E80100 compatible 2023-11-22 11:02 ` Dmitry Baryshkov @ 2023-11-22 12:10 ` Krzysztof Kozlowski 0 siblings, 0 replies; 7+ messages in thread From: Krzysztof Kozlowski @ 2023-11-22 12:10 UTC (permalink / raw) To: Dmitry Baryshkov, Abel Vesa Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Vinod Koul, Kishon Vijay Abraham I, Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-phy, devicetree, linux-kernel On 22/11/2023 12:02, Dmitry Baryshkov wrote: > On Wed, 22 Nov 2023 at 12:28, Abel Vesa <abel.vesa@linaro.org> wrote: >> >> Add the X1E80100 compatible to the list of supported PHYs. >> >> Signed-off-by: Abel Vesa <abel.vesa@linaro.org> >> --- >> Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml >> index 8f5d7362046c..ea1809efbf56 100644 >> --- a/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml >> +++ b/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml >> @@ -21,6 +21,7 @@ properties: >> - qcom,sm8650-snps-eusb2-phy >> - const: qcom,sm8550-snps-eusb2-phy > > Ah, I think this answers my question for patch2. Can we instead reuse > the existing compat string as it was done for sm8650? If not, commit msg should explain why it cannot. Best regards, Krzysztof ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/2] phy: qcom: snps-eusb2: Add X1E80100 Compatible 2023-11-22 10:28 [PATCH 0/2] phy: qcom: snps-eusb2: Add support for X1E80100 Abel Vesa 2023-11-22 10:28 ` [PATCH 1/2] dt-bindings: phy: qcom: snps-eusb2: Document the X1E80100 compatible Abel Vesa @ 2023-11-22 10:28 ` Abel Vesa 2023-11-22 11:01 ` Dmitry Baryshkov 1 sibling, 1 reply; 7+ messages in thread From: Abel Vesa @ 2023-11-22 10:28 UTC (permalink / raw) To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Vinod Koul, Kishon Vijay Abraham I, Rob Herring, Krzysztof Kozlowski, Conor Dooley Cc: linux-arm-msm, linux-phy, devicetree, linux-kernel, Abel Vesa Add the X1E80100 to the list of supported PHYs for eUSB2 SNPS driver. Signed-off-by: Abel Vesa <abel.vesa@linaro.org> --- drivers/phy/qualcomm/phy-qcom-snps-eusb2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/qualcomm/phy-qcom-snps-eusb2.c b/drivers/phy/qualcomm/phy-qcom-snps-eusb2.c index 1484691a41d5..6420f342dc85 100644 --- a/drivers/phy/qualcomm/phy-qcom-snps-eusb2.c +++ b/drivers/phy/qualcomm/phy-qcom-snps-eusb2.c @@ -425,6 +425,7 @@ static int qcom_snps_eusb2_hsphy_probe(struct platform_device *pdev) static const struct of_device_id qcom_snps_eusb2_hsphy_of_match_table[] = { { .compatible = "qcom,sm8550-snps-eusb2-phy", }, + { .compatible = "qcom,x1e80100-snps-eusb2-phy", }, { }, }; MODULE_DEVICE_TABLE(of, qcom_snps_eusb2_hsphy_of_match_table); -- 2.34.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] phy: qcom: snps-eusb2: Add X1E80100 Compatible 2023-11-22 10:28 ` [PATCH 2/2] phy: qcom: snps-eusb2: Add X1E80100 Compatible Abel Vesa @ 2023-11-22 11:01 ` Dmitry Baryshkov 2023-11-22 12:10 ` Krzysztof Kozlowski 0 siblings, 1 reply; 7+ messages in thread From: Dmitry Baryshkov @ 2023-11-22 11:01 UTC (permalink / raw) To: Abel Vesa Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Vinod Koul, Kishon Vijay Abraham I, Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-phy, devicetree, linux-kernel On Wed, 22 Nov 2023 at 12:28, Abel Vesa <abel.vesa@linaro.org> wrote: > > Add the X1E80100 to the list of supported PHYs for eUSB2 > SNPS driver. > > Signed-off-by: Abel Vesa <abel.vesa@linaro.org> > --- > drivers/phy/qualcomm/phy-qcom-snps-eusb2.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/phy/qualcomm/phy-qcom-snps-eusb2.c b/drivers/phy/qualcomm/phy-qcom-snps-eusb2.c > index 1484691a41d5..6420f342dc85 100644 > --- a/drivers/phy/qualcomm/phy-qcom-snps-eusb2.c > +++ b/drivers/phy/qualcomm/phy-qcom-snps-eusb2.c > @@ -425,6 +425,7 @@ static int qcom_snps_eusb2_hsphy_probe(struct platform_device *pdev) > > static const struct of_device_id qcom_snps_eusb2_hsphy_of_match_table[] = { > { .compatible = "qcom,sm8550-snps-eusb2-phy", }, > + { .compatible = "qcom,x1e80100-snps-eusb2-phy", }, Do we need a separate compatible string or is it fully compatible with sm8550? If it is the same IP block, maybe you can use a fallback compatible instead? > { }, > }; > MODULE_DEVICE_TABLE(of, qcom_snps_eusb2_hsphy_of_match_table); > > -- > 2.34.1 > > -- With best wishes Dmitry ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] phy: qcom: snps-eusb2: Add X1E80100 Compatible 2023-11-22 11:01 ` Dmitry Baryshkov @ 2023-11-22 12:10 ` Krzysztof Kozlowski 0 siblings, 0 replies; 7+ messages in thread From: Krzysztof Kozlowski @ 2023-11-22 12:10 UTC (permalink / raw) To: Dmitry Baryshkov, Abel Vesa Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Vinod Koul, Kishon Vijay Abraham I, Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, linux-phy, devicetree, linux-kernel On 22/11/2023 12:01, Dmitry Baryshkov wrote: > On Wed, 22 Nov 2023 at 12:28, Abel Vesa <abel.vesa@linaro.org> wrote: >> >> Add the X1E80100 to the list of supported PHYs for eUSB2 >> SNPS driver. >> >> Signed-off-by: Abel Vesa <abel.vesa@linaro.org> >> --- >> drivers/phy/qualcomm/phy-qcom-snps-eusb2.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/phy/qualcomm/phy-qcom-snps-eusb2.c b/drivers/phy/qualcomm/phy-qcom-snps-eusb2.c >> index 1484691a41d5..6420f342dc85 100644 >> --- a/drivers/phy/qualcomm/phy-qcom-snps-eusb2.c >> +++ b/drivers/phy/qualcomm/phy-qcom-snps-eusb2.c >> @@ -425,6 +425,7 @@ static int qcom_snps_eusb2_hsphy_probe(struct platform_device *pdev) >> >> static const struct of_device_id qcom_snps_eusb2_hsphy_of_match_table[] = { >> { .compatible = "qcom,sm8550-snps-eusb2-phy", }, >> + { .compatible = "qcom,x1e80100-snps-eusb2-phy", }, > > Do we need a separate compatible string or is it fully compatible with > sm8550? If it is the same IP block, maybe you can use a fallback > compatible instead? Yep. This should use fallback. Best regards, Krzysztof ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-11-22 12:11 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-11-22 10:28 [PATCH 0/2] phy: qcom: snps-eusb2: Add support for X1E80100 Abel Vesa 2023-11-22 10:28 ` [PATCH 1/2] dt-bindings: phy: qcom: snps-eusb2: Document the X1E80100 compatible Abel Vesa 2023-11-22 11:02 ` Dmitry Baryshkov 2023-11-22 12:10 ` Krzysztof Kozlowski 2023-11-22 10:28 ` [PATCH 2/2] phy: qcom: snps-eusb2: Add X1E80100 Compatible Abel Vesa 2023-11-22 11:01 ` Dmitry Baryshkov 2023-11-22 12:10 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).