* [PATCH 1/2] dt-bindings: usb: ci-hdrc-usb2: add fsl,imx8ulp-usb compatible @ 2023-05-30 10:40 Xu Yang 2023-05-30 10:40 ` [PATCH 2/2] usb: chipidea: imx: don't request QoS for imx8ulp Xu Yang 2023-05-31 17:23 ` [PATCH 1/2] dt-bindings: usb: ci-hdrc-usb2: add fsl,imx8ulp-usb compatible Krzysztof Kozlowski 0 siblings, 2 replies; 5+ messages in thread From: Xu Yang @ 2023-05-30 10:40 UTC (permalink / raw) To: peter.chen, robh+dt Cc: gregkh, linux-usb, linux-imx, jun.li, xu.yang_2, devicetree, peng.fan The imx8ulp and imx8dxl are compatible. This will add fsl,imx8ulp-usb to the compatible property. Signed-off-by: Xu Yang <xu.yang_2@nxp.com> --- Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml index b26d26c2b023..782402800d4a 100644 --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml @@ -45,7 +45,9 @@ properties: - fsl,vf610-usb - const: fsl,imx27-usb - items: - - const: fsl,imx8dxl-usb + - enum: + - fsl,imx8dxl-usb + - fsl,imx8ulp-usb - const: fsl,imx7ulp-usb - const: fsl,imx6ul-usb - items: -- 2.34.1 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] usb: chipidea: imx: don't request QoS for imx8ulp 2023-05-30 10:40 [PATCH 1/2] dt-bindings: usb: ci-hdrc-usb2: add fsl,imx8ulp-usb compatible Xu Yang @ 2023-05-30 10:40 ` Xu Yang 2023-06-04 23:18 ` Peter Chen 2023-05-31 17:23 ` [PATCH 1/2] dt-bindings: usb: ci-hdrc-usb2: add fsl,imx8ulp-usb compatible Krzysztof Kozlowski 1 sibling, 1 reply; 5+ messages in thread From: Xu Yang @ 2023-05-30 10:40 UTC (permalink / raw) To: peter.chen, robh+dt Cc: gregkh, linux-usb, linux-imx, jun.li, xu.yang_2, devicetree, peng.fan Use dedicated imx8ulp usb compatible to remove QoS request since imx8ulp has no such limitation of imx7ulp: DMA will not work if system enters idle. Signed-off-by: Xu Yang <xu.yang_2@nxp.com> Signed-off-by: Li Jun <jun.li@nxp.com> --- drivers/usb/chipidea/ci_hdrc_imx.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c index 9f0f4ec701c5..336ef6dd8e7d 100644 --- a/drivers/usb/chipidea/ci_hdrc_imx.c +++ b/drivers/usb/chipidea/ci_hdrc_imx.c @@ -70,6 +70,10 @@ static const struct ci_hdrc_imx_platform_flag imx7ulp_usb_data = { CI_HDRC_PMQOS, }; +static const struct ci_hdrc_imx_platform_flag imx8ulp_usb_data = { + .flags = CI_HDRC_SUPPORTS_RUNTIME_PM, +}; + static const struct of_device_id ci_hdrc_imx_dt_ids[] = { { .compatible = "fsl,imx23-usb", .data = &imx23_usb_data}, { .compatible = "fsl,imx28-usb", .data = &imx28_usb_data}, @@ -80,6 +84,7 @@ static const struct of_device_id ci_hdrc_imx_dt_ids[] = { { .compatible = "fsl,imx6ul-usb", .data = &imx6ul_usb_data}, { .compatible = "fsl,imx7d-usb", .data = &imx7d_usb_data}, { .compatible = "fsl,imx7ulp-usb", .data = &imx7ulp_usb_data}, + { .compatible = "fsl,imx8ulp-usb", .data = &imx8ulp_usb_data}, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, ci_hdrc_imx_dt_ids); -- 2.34.1 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] usb: chipidea: imx: don't request QoS for imx8ulp 2023-05-30 10:40 ` [PATCH 2/2] usb: chipidea: imx: don't request QoS for imx8ulp Xu Yang @ 2023-06-04 23:18 ` Peter Chen 0 siblings, 0 replies; 5+ messages in thread From: Peter Chen @ 2023-06-04 23:18 UTC (permalink / raw) To: Xu Yang; +Cc: robh+dt, gregkh, linux-usb, linux-imx, jun.li, devicetree, peng.fan On 23-05-30 18:40:07, Xu Yang wrote: > Use dedicated imx8ulp usb compatible to remove QoS request > since imx8ulp has no such limitation of imx7ulp: DMA will > not work if system enters idle. > > Signed-off-by: Xu Yang <xu.yang_2@nxp.com> > Signed-off-by: Li Jun <jun.li@nxp.com> > --- > drivers/usb/chipidea/ci_hdrc_imx.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c > index 9f0f4ec701c5..336ef6dd8e7d 100644 > --- a/drivers/usb/chipidea/ci_hdrc_imx.c > +++ b/drivers/usb/chipidea/ci_hdrc_imx.c > @@ -70,6 +70,10 @@ static const struct ci_hdrc_imx_platform_flag imx7ulp_usb_data = { > CI_HDRC_PMQOS, > }; > > +static const struct ci_hdrc_imx_platform_flag imx8ulp_usb_data = { > + .flags = CI_HDRC_SUPPORTS_RUNTIME_PM, > +}; > + > static const struct of_device_id ci_hdrc_imx_dt_ids[] = { > { .compatible = "fsl,imx23-usb", .data = &imx23_usb_data}, > { .compatible = "fsl,imx28-usb", .data = &imx28_usb_data}, > @@ -80,6 +84,7 @@ static const struct of_device_id ci_hdrc_imx_dt_ids[] = { > { .compatible = "fsl,imx6ul-usb", .data = &imx6ul_usb_data}, > { .compatible = "fsl,imx7d-usb", .data = &imx7d_usb_data}, > { .compatible = "fsl,imx7ulp-usb", .data = &imx7ulp_usb_data}, > + { .compatible = "fsl,imx8ulp-usb", .data = &imx8ulp_usb_data}, > { /* sentinel */ } > }; > MODULE_DEVICE_TABLE(of, ci_hdrc_imx_dt_ids); > -- > 2.34.1 > Acked-by: Peter Chen <peter.chen@kernel.org> -- Thanks, Peter Chen ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] dt-bindings: usb: ci-hdrc-usb2: add fsl,imx8ulp-usb compatible 2023-05-30 10:40 [PATCH 1/2] dt-bindings: usb: ci-hdrc-usb2: add fsl,imx8ulp-usb compatible Xu Yang 2023-05-30 10:40 ` [PATCH 2/2] usb: chipidea: imx: don't request QoS for imx8ulp Xu Yang @ 2023-05-31 17:23 ` Krzysztof Kozlowski 2023-06-01 2:54 ` [EXT] " Xu Yang 1 sibling, 1 reply; 5+ messages in thread From: Krzysztof Kozlowski @ 2023-05-31 17:23 UTC (permalink / raw) To: Xu Yang, peter.chen, robh+dt Cc: gregkh, linux-usb, linux-imx, jun.li, devicetree, peng.fan On 30/05/2023 12:40, Xu Yang wrote: > The imx8ulp and imx8dxl are compatible. This will add fsl,imx8ulp-usb > to the compatible property. > > Signed-off-by: Xu Yang <xu.yang_2@nxp.com> Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC. It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel. Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof ^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [EXT] Re: [PATCH 1/2] dt-bindings: usb: ci-hdrc-usb2: add fsl,imx8ulp-usb compatible 2023-05-31 17:23 ` [PATCH 1/2] dt-bindings: usb: ci-hdrc-usb2: add fsl,imx8ulp-usb compatible Krzysztof Kozlowski @ 2023-06-01 2:54 ` Xu Yang 0 siblings, 0 replies; 5+ messages in thread From: Xu Yang @ 2023-06-01 2:54 UTC (permalink / raw) To: Krzysztof Kozlowski, peter.chen@kernel.org, robh+dt@kernel.org Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, dl-linux-imx, Jun Li, devicetree@vger.kernel.org, Peng Fan > -----Original Message----- > From: Krzysztof Kozlowski <krzk@kernel.org> > Sent: Thursday, June 1, 2023 1:23 AM > To: Xu Yang <xu.yang_2@nxp.com>; peter.chen@kernel.org; robh+dt@kernel.org > Cc: gregkh@linuxfoundation.org; linux-usb@vger.kernel.org; dl-linux-imx <linux-imx@nxp.com>; Jun Li <jun.li@nxp.com>; > devicetree@vger.kernel.org; Peng Fan <peng.fan@nxp.com> > Subject: [EXT] Re: [PATCH 1/2] dt-bindings: usb: ci-hdrc-usb2: add fsl,imx8ulp-usb compatible > > Caution: This is an external email. Please take care when clicking links or opening attachments. When in doubt, report the > message using the 'Report this email' button > > > On 30/05/2023 12:40, Xu Yang wrote: > > The imx8ulp and imx8dxl are compatible. This will add fsl,imx8ulp-usb > > to the compatible property. > > > > Signed-off-by: Xu Yang <xu.yang_2@nxp.com> > > Please use scripts/get_maintainers.pl to get a list of necessary people > and lists to CC. It might happen, that command when run on an older > kernel, gives you outdated entries. Therefore please be sure you base > your patches on recent Linux kernel. Okay, I got it. Thanks, Xu Yang > > > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > Best regards, > Krzysztof ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-06-04 23:18 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-05-30 10:40 [PATCH 1/2] dt-bindings: usb: ci-hdrc-usb2: add fsl,imx8ulp-usb compatible Xu Yang 2023-05-30 10:40 ` [PATCH 2/2] usb: chipidea: imx: don't request QoS for imx8ulp Xu Yang 2023-06-04 23:18 ` Peter Chen 2023-05-31 17:23 ` [PATCH 1/2] dt-bindings: usb: ci-hdrc-usb2: add fsl,imx8ulp-usb compatible Krzysztof Kozlowski 2023-06-01 2:54 ` [EXT] " Xu Yang
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).