* [PATCH V2 0/2] remoteproc: add i.MX93 support @ 2022-04-29 0:53 ` Peng Fan (OSS) 0 siblings, 0 replies; 10+ messages in thread From: Peng Fan (OSS) @ 2022-04-29 0:53 UTC (permalink / raw) To: bjorn.andersson, mathieu.poirier, shawnguo, s.hauer, kernel, festevam, linux-imx, linux-remoteproc, linux-arm-kernel, linux-kernel, robh+dt, krzysztof.kozlowski+dt Cc: devicetree, Peng Fan From: Peng Fan <peng.fan@nxp.com> V2: CC dt maintainers Reorder compatible strings in alphabetical order in patch 1 i.MX93 features a general purpose M33 core, support in with this patchset. Peng Fan (2): dt-bindings: remoteproc: imx_rproc: support i.MX93 remoteproc: imx_rproc: support i.MX93 .../bindings/remoteproc/fsl,imx-rproc.yaml | 9 ++--- drivers/remoteproc/imx_rproc.c | 33 +++++++++++++++++++ 2 files changed, 38 insertions(+), 4 deletions(-) -- 2.25.1 ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH V2 0/2] remoteproc: add i.MX93 support @ 2022-04-29 0:53 ` Peng Fan (OSS) 0 siblings, 0 replies; 10+ messages in thread From: Peng Fan (OSS) @ 2022-04-29 0:53 UTC (permalink / raw) To: bjorn.andersson, mathieu.poirier, shawnguo, s.hauer, kernel, festevam, linux-imx, linux-remoteproc, linux-arm-kernel, linux-kernel, robh+dt, krzysztof.kozlowski+dt Cc: devicetree, Peng Fan From: Peng Fan <peng.fan@nxp.com> V2: CC dt maintainers Reorder compatible strings in alphabetical order in patch 1 i.MX93 features a general purpose M33 core, support in with this patchset. Peng Fan (2): dt-bindings: remoteproc: imx_rproc: support i.MX93 remoteproc: imx_rproc: support i.MX93 .../bindings/remoteproc/fsl,imx-rproc.yaml | 9 ++--- drivers/remoteproc/imx_rproc.c | 33 +++++++++++++++++++ 2 files changed, 38 insertions(+), 4 deletions(-) -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH V2 1/2] dt-bindings: remoteproc: imx_rproc: support i.MX93 2022-04-29 0:53 ` Peng Fan (OSS) @ 2022-04-29 0:53 ` Peng Fan (OSS) -1 siblings, 0 replies; 10+ messages in thread From: Peng Fan (OSS) @ 2022-04-29 0:53 UTC (permalink / raw) To: bjorn.andersson, mathieu.poirier, shawnguo, s.hauer, kernel, festevam, linux-imx, linux-remoteproc, linux-arm-kernel, linux-kernel, robh+dt, krzysztof.kozlowski+dt Cc: devicetree, Peng Fan From: Peng Fan <peng.fan@nxp.com> Add i.MX93 remote processor(Cortex-M33) compatible string, and reorder the strings in alphabetical order Signed-off-by: Peng Fan <peng.fan@nxp.com> --- .../devicetree/bindings/remoteproc/fsl,imx-rproc.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml index fc16d903353e..3a1f59ad79e2 100644 --- a/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml +++ b/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml @@ -15,14 +15,15 @@ maintainers: properties: compatible: enum: - - fsl,imx8mq-cm4 + - fsl,imx6sx-cm4 + - fsl,imx7d-cm4 + - fsl,imx7ulp-cm4 - fsl,imx8mm-cm4 - fsl,imx8mn-cm7 - fsl,imx8mp-cm7 + - fsl,imx8mq-cm4 - fsl,imx8ulp-cm33 - - fsl,imx7d-cm4 - - fsl,imx7ulp-cm4 - - fsl,imx6sx-cm4 + - fsl,imx93-cm33 clocks: maxItems: 1 -- 2.25.1 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH V2 1/2] dt-bindings: remoteproc: imx_rproc: support i.MX93 @ 2022-04-29 0:53 ` Peng Fan (OSS) 0 siblings, 0 replies; 10+ messages in thread From: Peng Fan (OSS) @ 2022-04-29 0:53 UTC (permalink / raw) To: bjorn.andersson, mathieu.poirier, shawnguo, s.hauer, kernel, festevam, linux-imx, linux-remoteproc, linux-arm-kernel, linux-kernel, robh+dt, krzysztof.kozlowski+dt Cc: devicetree, Peng Fan From: Peng Fan <peng.fan@nxp.com> Add i.MX93 remote processor(Cortex-M33) compatible string, and reorder the strings in alphabetical order Signed-off-by: Peng Fan <peng.fan@nxp.com> --- .../devicetree/bindings/remoteproc/fsl,imx-rproc.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml index fc16d903353e..3a1f59ad79e2 100644 --- a/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml +++ b/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml @@ -15,14 +15,15 @@ maintainers: properties: compatible: enum: - - fsl,imx8mq-cm4 + - fsl,imx6sx-cm4 + - fsl,imx7d-cm4 + - fsl,imx7ulp-cm4 - fsl,imx8mm-cm4 - fsl,imx8mn-cm7 - fsl,imx8mp-cm7 + - fsl,imx8mq-cm4 - fsl,imx8ulp-cm33 - - fsl,imx7d-cm4 - - fsl,imx7ulp-cm4 - - fsl,imx6sx-cm4 + - fsl,imx93-cm33 clocks: maxItems: 1 -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH V2 1/2] dt-bindings: remoteproc: imx_rproc: support i.MX93 2022-04-29 0:53 ` Peng Fan (OSS) @ 2022-04-29 21:01 ` Krzysztof Kozlowski -1 siblings, 0 replies; 10+ messages in thread From: Krzysztof Kozlowski @ 2022-04-29 21:01 UTC (permalink / raw) To: Peng Fan (OSS), bjorn.andersson, mathieu.poirier, shawnguo, s.hauer, kernel, festevam, linux-imx, linux-remoteproc, linux-arm-kernel, linux-kernel, robh+dt, krzysztof.kozlowski+dt Cc: devicetree, Peng Fan On 29/04/2022 02:53, Peng Fan (OSS) wrote: > From: Peng Fan <peng.fan@nxp.com> > > Add i.MX93 remote processor(Cortex-M33) compatible string, and > reorder the strings in alphabetical order > > Signed-off-by: Peng Fan <peng.fan@nxp.com> > --- > .../devicetree/bindings/remoteproc/fsl,imx-rproc.yaml | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH V2 1/2] dt-bindings: remoteproc: imx_rproc: support i.MX93 @ 2022-04-29 21:01 ` Krzysztof Kozlowski 0 siblings, 0 replies; 10+ messages in thread From: Krzysztof Kozlowski @ 2022-04-29 21:01 UTC (permalink / raw) To: Peng Fan (OSS), bjorn.andersson, mathieu.poirier, shawnguo, s.hauer, kernel, festevam, linux-imx, linux-remoteproc, linux-arm-kernel, linux-kernel, robh+dt, krzysztof.kozlowski+dt Cc: devicetree, Peng Fan On 29/04/2022 02:53, Peng Fan (OSS) wrote: > From: Peng Fan <peng.fan@nxp.com> > > Add i.MX93 remote processor(Cortex-M33) compatible string, and > reorder the strings in alphabetical order > > Signed-off-by: Peng Fan <peng.fan@nxp.com> > --- > .../devicetree/bindings/remoteproc/fsl,imx-rproc.yaml | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH V2 2/2] remoteproc: imx_rproc: support i.MX93 2022-04-29 0:53 ` Peng Fan (OSS) @ 2022-04-29 0:53 ` Peng Fan (OSS) -1 siblings, 0 replies; 10+ messages in thread From: Peng Fan (OSS) @ 2022-04-29 0:53 UTC (permalink / raw) To: bjorn.andersson, mathieu.poirier, shawnguo, s.hauer, kernel, festevam, linux-imx, linux-remoteproc, linux-arm-kernel, linux-kernel, robh+dt, krzysztof.kozlowski+dt Cc: devicetree, Peng Fan From: Peng Fan <peng.fan@nxp.com> i.MX93 features a Cortex-M33 core which could be kicked by ROM/Bootloader /Linux. Similar with i.MX8MN/P, we use SMC to trap into Arm Trusted Firmware to start/stop the M33 core. Signed-off-by: Peng Fan <peng.fan@nxp.com> --- drivers/remoteproc/imx_rproc.c | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remoteproc/imx_rproc.c index 91eb037089ef..4a3352821b1d 100644 --- a/drivers/remoteproc/imx_rproc.c +++ b/drivers/remoteproc/imx_rproc.c @@ -91,6 +91,32 @@ struct imx_rproc { void __iomem *rsc_table; }; +static const struct imx_rproc_att imx_rproc_att_imx93[] = { + /* dev addr , sys addr , size , flags */ + /* TCM CODE NON-SECURE */ + { 0x0FFC0000, 0x201C0000, 0x00020000, ATT_OWN | ATT_IOMEM }, + { 0x0FFE0000, 0x201E0000, 0x00020000, ATT_OWN | ATT_IOMEM }, + + /* TCM CODE SECURE */ + { 0x1FFC0000, 0x201C0000, 0x00020000, ATT_OWN | ATT_IOMEM }, + { 0x1FFE0000, 0x201E0000, 0x00020000, ATT_OWN | ATT_IOMEM }, + + /* TCM SYS NON-SECURE*/ + { 0x20000000, 0x20200000, 0x00020000, ATT_OWN | ATT_IOMEM }, + { 0x20020000, 0x20220000, 0x00020000, ATT_OWN | ATT_IOMEM }, + + /* TCM SYS SECURE*/ + { 0x30000000, 0x20200000, 0x00020000, ATT_OWN | ATT_IOMEM }, + { 0x30020000, 0x20220000, 0x00020000, ATT_OWN | ATT_IOMEM }, + + /* DDR */ + { 0x80000000, 0x80000000, 0x10000000, 0 }, + { 0x90000000, 0x80000000, 0x10000000, 0 }, + + { 0xC0000000, 0xa0000000, 0x10000000, 0 }, + { 0xD0000000, 0xa0000000, 0x10000000, 0 }, +}; + static const struct imx_rproc_att imx_rproc_att_imx8mn[] = { /* dev addr , sys addr , size , flags */ /* ITCM */ @@ -261,6 +287,12 @@ static const struct imx_rproc_dcfg imx_rproc_cfg_imx6sx = { .method = IMX_RPROC_MMIO, }; +static const struct imx_rproc_dcfg imx_rproc_cfg_imx93 = { + .att = imx_rproc_att_imx93, + .att_size = ARRAY_SIZE(imx_rproc_att_imx93), + .method = IMX_RPROC_SMC, +}; + static int imx_rproc_start(struct rproc *rproc) { struct imx_rproc *priv = rproc->priv; @@ -824,6 +856,7 @@ static const struct of_device_id imx_rproc_of_match[] = { { .compatible = "fsl,imx8mn-cm7", .data = &imx_rproc_cfg_imx8mn }, { .compatible = "fsl,imx8mp-cm7", .data = &imx_rproc_cfg_imx8mn }, { .compatible = "fsl,imx8ulp-cm33", .data = &imx_rproc_cfg_imx8ulp }, + { .compatible = "fsl,imx93-cm33", .data = &imx_rproc_cfg_imx93 }, {}, }; MODULE_DEVICE_TABLE(of, imx_rproc_of_match); -- 2.25.1 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH V2 2/2] remoteproc: imx_rproc: support i.MX93 @ 2022-04-29 0:53 ` Peng Fan (OSS) 0 siblings, 0 replies; 10+ messages in thread From: Peng Fan (OSS) @ 2022-04-29 0:53 UTC (permalink / raw) To: bjorn.andersson, mathieu.poirier, shawnguo, s.hauer, kernel, festevam, linux-imx, linux-remoteproc, linux-arm-kernel, linux-kernel, robh+dt, krzysztof.kozlowski+dt Cc: devicetree, Peng Fan From: Peng Fan <peng.fan@nxp.com> i.MX93 features a Cortex-M33 core which could be kicked by ROM/Bootloader /Linux. Similar with i.MX8MN/P, we use SMC to trap into Arm Trusted Firmware to start/stop the M33 core. Signed-off-by: Peng Fan <peng.fan@nxp.com> --- drivers/remoteproc/imx_rproc.c | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remoteproc/imx_rproc.c index 91eb037089ef..4a3352821b1d 100644 --- a/drivers/remoteproc/imx_rproc.c +++ b/drivers/remoteproc/imx_rproc.c @@ -91,6 +91,32 @@ struct imx_rproc { void __iomem *rsc_table; }; +static const struct imx_rproc_att imx_rproc_att_imx93[] = { + /* dev addr , sys addr , size , flags */ + /* TCM CODE NON-SECURE */ + { 0x0FFC0000, 0x201C0000, 0x00020000, ATT_OWN | ATT_IOMEM }, + { 0x0FFE0000, 0x201E0000, 0x00020000, ATT_OWN | ATT_IOMEM }, + + /* TCM CODE SECURE */ + { 0x1FFC0000, 0x201C0000, 0x00020000, ATT_OWN | ATT_IOMEM }, + { 0x1FFE0000, 0x201E0000, 0x00020000, ATT_OWN | ATT_IOMEM }, + + /* TCM SYS NON-SECURE*/ + { 0x20000000, 0x20200000, 0x00020000, ATT_OWN | ATT_IOMEM }, + { 0x20020000, 0x20220000, 0x00020000, ATT_OWN | ATT_IOMEM }, + + /* TCM SYS SECURE*/ + { 0x30000000, 0x20200000, 0x00020000, ATT_OWN | ATT_IOMEM }, + { 0x30020000, 0x20220000, 0x00020000, ATT_OWN | ATT_IOMEM }, + + /* DDR */ + { 0x80000000, 0x80000000, 0x10000000, 0 }, + { 0x90000000, 0x80000000, 0x10000000, 0 }, + + { 0xC0000000, 0xa0000000, 0x10000000, 0 }, + { 0xD0000000, 0xa0000000, 0x10000000, 0 }, +}; + static const struct imx_rproc_att imx_rproc_att_imx8mn[] = { /* dev addr , sys addr , size , flags */ /* ITCM */ @@ -261,6 +287,12 @@ static const struct imx_rproc_dcfg imx_rproc_cfg_imx6sx = { .method = IMX_RPROC_MMIO, }; +static const struct imx_rproc_dcfg imx_rproc_cfg_imx93 = { + .att = imx_rproc_att_imx93, + .att_size = ARRAY_SIZE(imx_rproc_att_imx93), + .method = IMX_RPROC_SMC, +}; + static int imx_rproc_start(struct rproc *rproc) { struct imx_rproc *priv = rproc->priv; @@ -824,6 +856,7 @@ static const struct of_device_id imx_rproc_of_match[] = { { .compatible = "fsl,imx8mn-cm7", .data = &imx_rproc_cfg_imx8mn }, { .compatible = "fsl,imx8mp-cm7", .data = &imx_rproc_cfg_imx8mn }, { .compatible = "fsl,imx8ulp-cm33", .data = &imx_rproc_cfg_imx8ulp }, + { .compatible = "fsl,imx93-cm33", .data = &imx_rproc_cfg_imx93 }, {}, }; MODULE_DEVICE_TABLE(of, imx_rproc_of_match); -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH V2 0/2] remoteproc: add i.MX93 support 2022-04-29 0:53 ` Peng Fan (OSS) @ 2022-05-09 15:46 ` Mathieu Poirier -1 siblings, 0 replies; 10+ messages in thread From: Mathieu Poirier @ 2022-05-09 15:46 UTC (permalink / raw) To: Peng Fan (OSS) Cc: bjorn.andersson, shawnguo, s.hauer, kernel, festevam, linux-imx, linux-remoteproc, linux-arm-kernel, linux-kernel, robh+dt, krzysztof.kozlowski+dt, devicetree, Peng Fan On Fri, Apr 29, 2022 at 08:53:44AM +0800, Peng Fan (OSS) wrote: > From: Peng Fan <peng.fan@nxp.com> > > V2: > CC dt maintainers > Reorder compatible strings in alphabetical order in patch 1 > > i.MX93 features a general purpose M33 core, support in with this patchset. > > Peng Fan (2): > dt-bindings: remoteproc: imx_rproc: support i.MX93 > remoteproc: imx_rproc: support i.MX93 > > .../bindings/remoteproc/fsl,imx-rproc.yaml | 9 ++--- > drivers/remoteproc/imx_rproc.c | 33 +++++++++++++++++++ > 2 files changed, 38 insertions(+), 4 deletions(-) I have applied this set. Thanks, Mathieu > > -- > 2.25.1 > ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH V2 0/2] remoteproc: add i.MX93 support @ 2022-05-09 15:46 ` Mathieu Poirier 0 siblings, 0 replies; 10+ messages in thread From: Mathieu Poirier @ 2022-05-09 15:46 UTC (permalink / raw) To: Peng Fan (OSS) Cc: bjorn.andersson, shawnguo, s.hauer, kernel, festevam, linux-imx, linux-remoteproc, linux-arm-kernel, linux-kernel, robh+dt, krzysztof.kozlowski+dt, devicetree, Peng Fan On Fri, Apr 29, 2022 at 08:53:44AM +0800, Peng Fan (OSS) wrote: > From: Peng Fan <peng.fan@nxp.com> > > V2: > CC dt maintainers > Reorder compatible strings in alphabetical order in patch 1 > > i.MX93 features a general purpose M33 core, support in with this patchset. > > Peng Fan (2): > dt-bindings: remoteproc: imx_rproc: support i.MX93 > remoteproc: imx_rproc: support i.MX93 > > .../bindings/remoteproc/fsl,imx-rproc.yaml | 9 ++--- > drivers/remoteproc/imx_rproc.c | 33 +++++++++++++++++++ > 2 files changed, 38 insertions(+), 4 deletions(-) I have applied this set. Thanks, Mathieu > > -- > 2.25.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2022-05-09 15:47 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-04-29 0:53 [PATCH V2 0/2] remoteproc: add i.MX93 support Peng Fan (OSS) 2022-04-29 0:53 ` Peng Fan (OSS) 2022-04-29 0:53 ` [PATCH V2 1/2] dt-bindings: remoteproc: imx_rproc: support i.MX93 Peng Fan (OSS) 2022-04-29 0:53 ` Peng Fan (OSS) 2022-04-29 21:01 ` Krzysztof Kozlowski 2022-04-29 21:01 ` Krzysztof Kozlowski 2022-04-29 0:53 ` [PATCH V2 2/2] " Peng Fan (OSS) 2022-04-29 0:53 ` Peng Fan (OSS) 2022-05-09 15:46 ` [PATCH V2 0/2] remoteproc: add i.MX93 support Mathieu Poirier 2022-05-09 15:46 ` Mathieu Poirier
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.