Message ID | 20220920224320.152127-4-mailingradian@gmail.com |
---|---|
State | New |
Headers | show |
Series | SDM670 USB 2.0 support | expand |
On 21.09.2022 00:43, Richard Acayan wrote: > The Snapdragon 670 has DWC3 USB support. Add a compatible for device tree > semantics. > > Signed-off-by: Richard Acayan <mailingradian@gmail.com> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> Konrad > drivers/usb/dwc3/dwc3-qcom.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/usb/dwc3/dwc3-qcom.c b/drivers/usb/dwc3/dwc3-qcom.c > index 9a94b1ab8f7a..34b70c3c2f70 100644 > --- a/drivers/usb/dwc3/dwc3-qcom.c > +++ b/drivers/usb/dwc3/dwc3-qcom.c > @@ -1010,6 +1010,7 @@ static const struct of_device_id dwc3_qcom_of_match[] = { > { .compatible = "qcom,msm8996-dwc3" }, > { .compatible = "qcom,msm8998-dwc3" }, > { .compatible = "qcom,sdm660-dwc3" }, > + { .compatible = "qcom,sdm670-dwc3" }, > { .compatible = "qcom,sdm845-dwc3" }, > { } > };
On 21/09/2022 00:43, Richard Acayan wrote: > The Snapdragon 670 has DWC3 USB support. Add a compatible for device tree > semantics. > > Signed-off-by: Richard Acayan <mailingradian@gmail.com> > --- > drivers/usb/dwc3/dwc3-qcom.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/usb/dwc3/dwc3-qcom.c b/drivers/usb/dwc3/dwc3-qcom.c > index 9a94b1ab8f7a..34b70c3c2f70 100644 > --- a/drivers/usb/dwc3/dwc3-qcom.c > +++ b/drivers/usb/dwc3/dwc3-qcom.c > @@ -1010,6 +1010,7 @@ static const struct of_device_id dwc3_qcom_of_match[] = { > { .compatible = "qcom,msm8996-dwc3" }, > { .compatible = "qcom,msm8998-dwc3" }, > { .compatible = "qcom,sdm660-dwc3" }, > + { .compatible = "qcom,sdm670-dwc3" }, > { .compatible = "qcom,sdm845-dwc3" }, No. This does not make sense. You already have fallback. Best regards, Krzysztof
diff --git a/drivers/usb/dwc3/dwc3-qcom.c b/drivers/usb/dwc3/dwc3-qcom.c index 9a94b1ab8f7a..34b70c3c2f70 100644 --- a/drivers/usb/dwc3/dwc3-qcom.c +++ b/drivers/usb/dwc3/dwc3-qcom.c @@ -1010,6 +1010,7 @@ static const struct of_device_id dwc3_qcom_of_match[] = { { .compatible = "qcom,msm8996-dwc3" }, { .compatible = "qcom,msm8998-dwc3" }, { .compatible = "qcom,sdm660-dwc3" }, + { .compatible = "qcom,sdm670-dwc3" }, { .compatible = "qcom,sdm845-dwc3" }, { } };
The Snapdragon 670 has DWC3 USB support. Add a compatible for device tree semantics. Signed-off-by: Richard Acayan <mailingradian@gmail.com> --- drivers/usb/dwc3/dwc3-qcom.c | 1 + 1 file changed, 1 insertion(+)