[PATCH v14 3/5] firmware: xilinx: Add RPU configuration APIs

2020-09-17 Thread Ben Levinsky
This patch adds APIs to access to configure RPU and its processor-specific memory. That is query the run-time mode of RPU as either split or lockstep as well as API to set this mode. In addition add APIs to access configuration of the RPUs' tightly coupled memory (TCM). Signed-off-by

[PATCH v14 2/5] firmware: xilinx: Add shutdown/wakeup APIs

2020-09-17 Thread Ben Levinsky
Add shutdown/wakeup a resource eemi operations to shutdown or bringup a resource. Note alignment of args matches convention of other fn's in this file. The reason being that the long fn name results in aligned args that otherwise go over 80 chars so shift right to avoid this Signed-off-by

[PATCH v14 4/5] dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindings

2020-09-17 Thread Ben Levinsky
Add binding for ZynqMP R5 OpenAMP. Represent the RPU domain resources in one device node. Each RPU processor is a subnode of the top RPU domain node. Signed-off-by: Jason Wu Signed-off-by: Wendy Liang Signed-off-by: Michal Simek Signed-off-by: Ben Levinsky --- v3: - update zynqmp_r5 yaml

[PATCH v14 1/5] firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU configuration.

2020-09-17 Thread Ben Levinsky
Add ZynqMP firmware ioctl enums for RPU configuration. Signed-off-by: Ben Levinsky --- v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct v4: - add default values for enums --- include/linux/firmware/xlnx-zynqmp.h

[PATCH v14 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-09-17 Thread Ben Levinsky
he R5 configuration, memory access and R5 lifecycle management. The interface to this manager is done in this driver via zynqmp_pm_* function calls. Signed-off-by: Wendy Liang Signed-off-by: Michal Simek Signed-off-by: Ed Mooring Signed-off-by: Jason Wu Signed-off-by: Ben Levinsky --- v2: - r

[PATCH v14 0/5] Provide basic driver to control Arm R5 co-processor found on Xilinx ZynqMP

2020-09-17 Thread Ben Levinsky
mem_release error if pnode id is invalid - remove obsolete TODOs - only call zynqmp_r5_remoteproc::zynqmp_r5_probe if the index is valid - remove uneven dev_dbg/dev_err fn calls Ben Levinsky (5): firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU configuration. firmware: xilinx: Add sh

[PATCH v13 2/5] firmware: xilinx: Add shutdown/wakeup APIs

2020-09-04 Thread Ben Levinsky
Add shutdown/wakeup a resource eemi operations to shutdown or bringup a resource. Note alignment of args matches convention of other fn's in this file. The reason being that the long fn name results in aligned args that otherwise go over 80 chars so shift right to avoid this Signed-off-by

[PATCH v13 0/5] Provide basic driver to control Arm R5 co-processor found on Xilinx ZynqMP

2020-09-04 Thread Ben Levinsky
set_tcm_config fn arg's to reflect what is expected in the function and the usage in zynqmp_r5_remoteproc accordingly v13: - zynqmp_pm_get_rpu_mode argument zynqmp_pm_get_rpu_mode is only set if no error Ben Levinsky (5): firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU configu

[PATCH v13 4/5] dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindings

2020-09-04 Thread Ben Levinsky
Add binding for ZynqMP R5 OpenAMP. Represent the RPU domain resources in one device node. Each RPU processor is a subnode of the top RPU domain node. Signed-off-by: Jason Wu Signed-off-by: Wendy Liang Signed-off-by: Michal Simek Signed-off-by: Ben Levinsky --- v3: - update zynqmp_r5 yaml

[PATCH v13 1/5] firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU configuration.

2020-09-04 Thread Ben Levinsky
Add ZynqMP firmware ioctl enums for RPU configuration. Signed-off-by: Ben Levinsky --- v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct v4: - add default values for enums --- include/linux/firmware/xlnx-zynqmp.h

[PATCH v13 3/5] firmware: xilinx: Add RPU configuration APIs

2020-09-04 Thread Ben Levinsky
This patch adds APIs to access to configure RPU and its processor-specific memory. That is query the run-time mode of RPU as either split or lockstep as well as API to set this mode. In addition add APIs to access configuration of the RPUs' tightly coupled memory (TCM). Signed-off-by

[PATCH v13 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-09-04 Thread Ben Levinsky
ation, memory access and R5 lifecycle management. The interface to this manager is done in this driver via zynqmp_pm_* function calls. Signed-off-by: Wendy Liang Signed-off-by: Michal Simek Signed-off-by: Ed Mooring Signed-off-by: Jason Wu Signed-off-by: Ben Levinsky --- v2: - remove domain stru

[PATCH v12 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-09-03 Thread Ben Levinsky
ation, memory access and R5 lifecycle management. The interface to this manager is done in this driver via zynqmp_pm_* function calls. Signed-off-by: Wendy Liang Signed-off-by: Michal Simek Signed-off-by: Ed Mooring Signed-off-by: Jason Wu Signed-off-by: Ben Levinsky --- v2: - remove domain stru

[PATCH v12 2/5] firmware: xilinx: Add shutdown/wakeup APIs

2020-09-03 Thread Ben Levinsky
Add shutdown/wakeup a resource eemi operations to shutdown or bringup a resource. Note alignment of args matches convention of other fn's in this file. The reason being that the long fn name results in aligned args that otherwise go over 80 chars so shift right to avoid this Signed-off-by

[PATCH v12 4/5] dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindings

2020-09-03 Thread Ben Levinsky
Add binding for ZynqMP R5 OpenAMP. Represent the RPU domain resources in one device node. Each RPU processor is a subnode of the top RPU domain node. Signed-off-by: Jason Wu Signed-off-by: Wendy Liang Signed-off-by: Michal Simek Signed-off-by: Ben Levinsky --- v3: - update zynqmp_r5 yaml

[PATCH v12 0/5] Provide basic driver to control Arm R5 co-processor found on Xilinx ZynqMP

2020-09-03 Thread Ben Levinsky
ty - fix device tree binding so no warnings from 'make dt_binding_check' v12: - update signed off by so that latest developer name is last - in drivers/firmware/zynqmp.c, update zynqmp_pm_set_rpu_mode so rpu_mode is only set if no error - update args for zynqmp_pm_set_rpu_mode, zynqmp_pm_s

[PATCH v12 1/5] firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU configuration.

2020-09-03 Thread Ben Levinsky
Add ZynqMP firmware ioctl enums for RPU configuration. Signed-off-by: Ben Levinsky --- v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct v4: - add default values for enums --- include/linux/firmware/xlnx-zynqmp.h

[PATCH v12 3/5] firmware: xilinx: Add RPU configuration APIs

2020-09-03 Thread Ben Levinsky
This patch adds APIs to access to configure RPU and its processor-specific memory. That is query the run-time mode of RPU as either split or lockstep as well as API to set this mode. In addition add APIs to access configuration of the RPUs' tightly coupled memory (TCM). Signed-off-by

[PATCH v11 4/5] dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindings

2020-09-02 Thread Ben Levinsky
Add binding for ZynqMP R5 OpenAMP. Represent the RPU domain resources in one device node. Each RPU processor is a subnode of the top RPU domain node. Signed-off-by: Ben Levinsky Signed-off-by: Jason Wu Signed-off-by: Wendy Liang Signed-off-by: Michal Simek --- v3: - update zynqmp_r5 yaml

[PATCH v11 3/5] firmware: xilinx: Add RPU configuration APIs

2020-09-02 Thread Ben Levinsky
This patch adds APIs to access to configure RPU and its processor-specific memory. That is query the run-time mode of RPU as either split or lockstep as well as API to set this mode. In addition add APIs to access configuration of the RPUs' tightly coupled memory (TCM). Signed-off-by

[PATCH v11 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-09-02 Thread Ben Levinsky
ation, memory access and R5 lifecycle management. The interface to this manager is done in this driver via zynqmp_pm_* function calls. Signed-off-by: Ben Levinsky Signed-off-by: Wendy Liang Signed-off-by: Michal Simek Signed-off-by: Ed Mooring Signed-off-by: Jason Wu --- v2: - remove domain stru

[PATCH v11 2/5] firmware: xilinx: Add shutdown/wakeup APIs

2020-09-02 Thread Ben Levinsky
Add shutdown/wakeup a resource eemi operations to shutdown or bringup a resource. Note alignment of args matches convention of other fn's in this file. The reason being that the long fn name results in aligned args that otherwise go over 80 chars so shift right to avoid this Signed-off-by

[PATCH v11 0/5] Provide basic driver to control Arm R5 co-processor found on Xilinx ZynqMP

2020-09-02 Thread Ben Levinsky
e - zynqmp_r5_remoteproc: look up tcm banks via property instead of string name - print device tree nodes with %pOF instead of %s with node name field - update tcm release to unmap VA - handle r5-1 use case - device tree binding r5 node to have link to TCMs via meta-memory-regions property - fi

[PATCH v11 1/5] firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU configuration.

2020-09-02 Thread Ben Levinsky
Add ZynqMP firmware ioctl enums for RPU configuration. Signed-off-by: Ben Levinsky --- v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct v4: - add default values for enums --- include/linux/firmware/xlnx-zynqmp.h

RE: [PATCH v9 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-09-01 Thread Ben Levinsky
Hi Michael, I put some comments inline on reworking the zynqmp_pm* functions Best, Ben > -Original Message- > From: Ben Levinsky > Sent: Tuesday, September 1, 2020 8:10 AM > To: Michael Auchter > Cc: devicet...@vger.kernel.org; linux-remotep...@vger.kernel.or

RE: [PATCH v9 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-09-01 Thread Ben Levinsky
Hi Michael, > -Original Message- > From: Michael Auchter > Sent: Wednesday, August 26, 2020 2:32 PM > To: Ben Levinsky > Cc: Stefano Stabellini ; Michal Simek > ; devicet...@vger.kernel.org; > mathieu.poir...@linaro.org; Ed T. Mooring ; linux- > remotep...@vger.

RE: [PATCH v9 0/5] Provide basic driver to control Arm R5 co-processor found on Xilinx ZynqMP

2020-08-27 Thread Ben Levinsky
other comments? With that being said, I will make sure the R51 case is more completely covered. Thanks Ben > -Original Message- > From: Michael Auchter > Sent: Thursday, August 27, 2020 6:48 AM > To: Ben Levinsky > Cc: Stefano Stabellini ; Michal Simek > ; devicet..

[PATCH v9 0/5] Provide basic driver to control Arm R5 co-processor found on Xilinx ZynqMP

2020-08-26 Thread Ben Levinsky
mment for call to r5_set_mode fn - make mbox usage optional and gracefully inform user via dev_dbg if not present - change lockstep_mode from u32* to u32 - update zynqmp_pm_set_rpu_mode and zynqmp_pm_set_rpu_mode documentation and remove unused args v10: - add include types.h to xlnx-zynqmp

[PATCH v10 2/5] firmware: xilinx: Add shutdown/wakeup APIs

2020-08-26 Thread Ben Levinsky
Add shutdown/wakeup a resource eemi operations to shutdown or bringup a resource. Note alignment of args matches convention of other fn's in this file. The reason being that the long fn name results in aligned args that otherwise go over 80 chars so shift right to avoid this Signed-off-by

[PATCH v10 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-08-26 Thread Ben Levinsky
ation, memory access and R5 lifecycle management. The interface to this manager is done in this driver via zynqmp_pm_* function calls. Signed-off-by: Ben Levinsky Signed-off-by: Wendy Liang Signed-off-by: Michal Simek Signed-off-by: Ed Mooring Signed-off-by: Jason Wu --- v2: - remove domain stru

[PATCH v10 3/5] firmware: xilinx: Add RPU configuration APIs

2020-08-26 Thread Ben Levinsky
This patch adds APIs to access to configure RPU and its processor-specific memory. That is query the run-time mode of RPU as either split or lockstep as well as API to set this mode. In addition add APIs to access configuration of the RPUs' tightly coupled memory (TCM). Signed-off-by

[PATCH v10 1/5] firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU configuration.

2020-08-26 Thread Ben Levinsky
Add ZynqMP firmware ioctl enums for RPU configuration. Signed-off-by: Ben Levinsky --- v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct v4: - add default values for enums --- include/linux/firmware/xlnx-zynqmp.h

[PATCH v10 4/5] dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindings

2020-08-26 Thread Ben Levinsky
Add binding for ZynqMP R5 OpenAMP. Represent the RPU domain resources in one device node. Each RPU processor is a subnode of the top RPU domain node. Signed-off-by: Ben Levinsky Signed-off-by: Jason Wu Signed-off-by: Wendy Liang Signed-off-by: Michal Simek --- v3: - update zynqmp_r5 yaml

RE: [PATCH v9 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-08-26 Thread Ben Levinsky
Hi Michael, Thanks for the catch, will update in v10 > -Original Message- > From: Michael Auchter > Sent: Wednesday, August 26, 2020 2:32 PM > To: Ben Levinsky > Cc: Stefano Stabellini ; Michal Simek > ; devicet...@vger.kernel.org; > mathieu.poir...@linaro.org;

[PATCH v9 0/5] Provide basic driver to control Arm R5 co-processor found on Xilinx ZynqMP

2020-08-26 Thread Ben Levinsky
mment for call to r5_set_mode fn - make mbox usage optional and gracefully inform user via dev_dbg if not present - change lockstep_mode from u32* to u32 - update zynqmp_pm_set_rpu_mode and zynqmp_pm_set_rpu_mode documentation and remove unused args Ben Levinsky (5): firmware: xilinx: Add Zyn

[PATCH v9 3/5] firmware: xilinx: Add RPU configuration APIs

2020-08-26 Thread Ben Levinsky
This patch adds APIs to access to configure RPU and its processor-specific memory. That is query the run-time mode of RPU as either split or lockstep as well as API to set this mode. In addition add APIs to access configuration of the RPUs' tightly coupled memory (TCM). Signed-off-by

[PATCH v9 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-08-26 Thread Ben Levinsky
ation, memory access and R5 lifecycle management. The interface to this manager is done in this driver via zynqmp_pm_* function calls. Signed-off-by: Ben Levinsky Signed-off-by: Wendy Liang Signed-off-by: Michal Simek Signed-off-by: Ed Mooring Signed-off-by: Jason Wu --- v2: - remove domain stru

[PATCH v9 4/5] dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindings

2020-08-26 Thread Ben Levinsky
Add binding for ZynqMP R5 OpenAMP. Represent the RPU domain resources in one device node. Each RPU processor is a subnode of the top RPU domain node. Signed-off-by: Ben Levinsky Signed-off-by: Jason Wu Signed-off-by: Wendy Liang Signed-off-by: Michal Simek --- v3: - update zynqmp_r5 yaml

[PATCH v9 2/5] firmware: xilinx: Add shutdown/wakeup APIs

2020-08-26 Thread Ben Levinsky
igned in the file. Signed-off-by: Ben Levinsky --- v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct - fix formatting v4: - add default values for enumv3: - add xilinx-related platform mgmt fn's instead of wrapping around f

[PATCH v9 1/5] firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU configuration.

2020-08-26 Thread Ben Levinsky
Add ZynqMP firmware ioctl enums for RPU configuration. Signed-off-by: Ben Levinsky --- v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct v4: - add default values for enums --- include/linux/firmware/xlnx-zynqmp.h

RE: [PATCH v8 2/5] firmware: xilinx: Add shutdown/wakeup APIs

2020-08-24 Thread Ben Levinsky
Hi Stefano > -Original Message- > From: linux-remoteproc-ow...@vger.kernel.org ow...@vger.kernel.org> On Behalf Of Ben Levinsky > Sent: Tuesday, August 18, 2020 7:24 AM > To: Stefano Stabellini > Cc: Michal Simek ; devicet...@vger.kernel.org; > mathieu.poir...@lina

RE: [PATCH v8 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-08-24 Thread Ben Levinsky
Hi Stefano This is just response to few unanswered comments Thanks Ben > -Original Message- > From: linux-remoteproc-ow...@vger.kernel.org ow...@vger.kernel.org> On Behalf Of Ben Levinsky > Sent: Thursday, August 20, 2020 8:13 AM > To: Stefano Stabellini > Cc: Mich

RE: [PATCH v2 1/4] dt-bindings: remoteproc: Add bindings for R5F subsystem on TI K3 SoCs

2020-08-24 Thread Ben Levinsky
> -Original Message- > From: Suman Anna > Sent: Thursday, August 20, 2020 2:54 PM > To: Stefano Stabellini ; Mathieu Poirier > ; Rob Herring ; Stefano > Stabellini ; Ben Levinsky > Cc: Bjorn Andersson ; Lokesh Vutla > ; linux-remotep...@vger.kernel.org; >

RE: [PATCH v8 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-08-20 Thread Ben Levinsky
> -Original Message- > From: Stefano Stabellini > Sent: Wednesday, August 19, 2020 2:21 PM > To: Ben Levinsky > Cc: Stefano Stabellini ; Michal Simek > ; devicet...@vger.kernel.org; > mathieu.poir...@linaro.org; Ed T. Mooring ; linux- > remotep...@vger.

RE: [PATCH v8 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-08-18 Thread Ben Levinsky
Hi Stefano Please see my comments inline > -Original Message- > From: Stefano Stabellini > Sent: Thursday, August 13, 2020 1:36 PM > To: Ben Levinsky > Cc: Stefano Stabellini ; Michal Simek > ; devicet...@vger.kernel.org; > mathieu.poir...@linaro.org; Ed T. Moori

RE: [PATCH v8 3/5] firmware: xilinx: Add RPU configuration APIs

2020-08-18 Thread Ben Levinsky
> -Original Message- > From: Stefano Stabellini > Sent: Thursday, August 13, 2020 1:36 PM > To: Ben Levinsky > Cc: Stefano Stabellini ; Michal Simek > ; devicet...@vger.kernel.org; > mathieu.poir...@linaro.org; Ed T. Mooring ; linux- > remotep...@vger.

RE: [PATCH v8 2/5] firmware: xilinx: Add shutdown/wakeup APIs

2020-08-18 Thread Ben Levinsky
> -Original Message- > From: Stefano Stabellini > Sent: Thursday, August 13, 2020 1:36 PM > To: Ben Levinsky > Cc: Stefano Stabellini ; Michal Simek > ; devicet...@vger.kernel.org; > mathieu.poir...@linaro.org; Ed T. Mooring ; linux- > remotep...@vger.

[PATCH v8 1/5] firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU configuration.

2020-08-10 Thread Ben Levinsky
Add ZynqMP firmware ioctl enums for RPU configuration. Signed-off-by: Ben Levinsky --- v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct v4: - add default values for enums --- include/linux/firmware/xlnx-zynqmp.h

[PATCH v8 2/5] firmware: xilinx: Add shutdown/wakeup APIs

2020-08-10 Thread Ben Levinsky
Add shutdown/wakeup a resource eemi operations to shutdown or bringup a resource. Signed-off-by: Ben Levinsky --- v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct - fix formatting v4: - add default values for enumv3: - add x

[PATCH v8 0/5] Provide basic driver to control Arm R5 co-processor found on Xilinx ZynqMP

2020-08-10 Thread Ben Levinsky
remoteproc_probe call of platform_set_drvdata as pdata is handled in zynqmp_r5_remoteproc_remove v8: - remove old acks, reviewed-by's in commit message Ben Levinsky (5): firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU configuration. firmware: xilinx: Add shutdown/wakeup APIs firmware: xilinx:

[PATCH v8 4/5] dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindings

2020-08-10 Thread Ben Levinsky
Add binding for ZynqMP R5 OpenAMP. Represent the RPU domain resources in one device node. Each RPU processor is a subnode of the top RPU domain node. Signed-off-by: Ben Levinsky Signed-off-by: Jason Wu Signed-off-by: Wendy Liang Signed-off-by: Michal Simek --- v3: - update zynqmp_r5 yaml

[PATCH v8 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-08-10 Thread Ben Levinsky
R5 is included in Xilinx Zynq UltraScale MPSoC so by adding this remotproc driver, we can boot the R5 sub-system in different configurations. Signed-off-by: Ben Levinsky Signed-off-by: Wendy Liang Signed-off-by: Michal Simek Signed-off-by: Ed Mooring Signed-off-by: Jason Wu --- v2

[PATCH v8 3/5] firmware: xilinx: Add RPU configuration APIs

2020-08-10 Thread Ben Levinsky
This patch adds APIs to provide access and a configuration interface to the current power state of a sub-system on Zynqmp sub-system. Signed-off-by: Ben Levinsky --- v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct v4:

[PATCH v8 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-08-07 Thread Ben Levinsky
R5 is included in Xilinx Zynq UltraScale MPSoC so by adding this remotproc driver, we can boot the R5 sub-system in different configurations. Signed-off-by: Ben Levinsky Signed-off-by: Wendy Liang Signed-off-by: Michal Simek Signed-off-by: Ed Mooring Signed-off-by: Jason Wu --- v2

[PATCH v7 0/5] Provide basic driver to control Arm R5 co-processor found on

2020-07-31 Thread Ben Levinsky
remoteproc_probe call of platform_set_drvdata as pdata is handled in zynqmp_r5_remoteproc_remove Ben Levinsky (5): firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU configuration. firmware: xilinx: Add shutdown/wakeup APIs firmware: xilinx: Add RPU configuration APIs dt-bindings: remoteproc

[PATCH v7 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-07-31 Thread Ben Levinsky
R5 is included in Xilinx Zynq UltraScale MPSoC so by adding this remotproc driver, we can boot the R5 sub-system in different configurations. Acked-by: Stefano Stabellini Acked-by: Ben Levinsky Reviewed-by: Radhey Shyam Pandey Signed-off-by: Ben Levinsky Signed-off-by: Wendy Liang Signed-off

[PATCH v7 1/5] firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU configuration.

2020-07-31 Thread Ben Levinsky
Add ZynqMP firmware ioctl enums for RPU configuration. Signed-off-by: Ben Levinsky --- v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct v4: - add default values for enums --- include/linux/firmware/xlnx-zynqmp.h

[PATCH v7 3/5] firmware: xilinx: Add RPU configuration APIs

2020-07-31 Thread Ben Levinsky
This patch adds APIs to provide access and a configuration interface to the current power state of a sub-system on Zynqmp sub-system. Signed-off-by: Ben Levinsky --- v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct v4:

[PATCH v7 4/5] dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindings

2020-07-31 Thread Ben Levinsky
Add binding for ZynqMP R5 OpenAMP. Represent the RPU domain resources in one device node. Each RPU processor is a subnode of the top RPU domain node. Signed-off-by: Ben Levinsky Signed-off-by: Jason Wu Signed-off-by: Wendy Liang Signed-off-by: Michal Simek --- v3: - update zynqmp_r5 yaml

[PATCH v7 2/5] firmware: xilinx: Add shutdown/wakeup APIs

2020-07-31 Thread Ben Levinsky
Add shutdown/wakeup a resource eemi operations to shutdown or bringup a resource. Signed-off-by: Ben Levinsky --- v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct - fix formatting v4: - add default values for enum --- dr

[PATCH v6 0/5] Provide basic driver to control Arm R5 co-processor found on

2020-07-15 Thread Ben Levinsky
ry as needed. That is, TCM nodes are not coupled to remoteproc anymore. This is reflected in the remoteproc R5 driver and the device tree binding. - remove mailbox from device tree binding as it is not necessary for elf loading Ben Levinsky (5): firmware: xilinx: Add ZynqMP firmware

[PATCH v6 3/5] firmware: xilinx: Add RPU configuration APIs

2020-07-15 Thread Ben Levinsky
This patch adds APIs to provide access and a configuration interface to the current power state of a sub-system on Zynqmp sub-system. Signed-off-by: Ben Levinsky --- v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct v4:

[PATCH v6 1/5] firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU configuration.

2020-07-15 Thread Ben Levinsky
Add ZynqMP firmware ioctl enums for RPU configuration. Signed-off-by: Ben Levinsky --- v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct v4: - add default values for enums --- include/linux/firmware/xlnx-zynqmp.h

[PATCH v6 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-07-15 Thread Ben Levinsky
R5 is included in Xilinx Zynq UltraScale MPSoC so by adding this remotproc driver, we can boot the R5 sub-system in different configurations. Acked-by: Stefano Stabellini Acked-by: Ben Levinsky Reviewed-by: Radhey Shyam Pandey Signed-off-by: Ben Levinsky Signed-off-by: Wendy Liang Signed-off

[PATCH v6 4/5] dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindings

2020-07-15 Thread Ben Levinsky
Add binding for ZynqMP R5 OpenAMP. Represent the RPU domain resources in one device node. Each RPU processor is a subnode of the top RPU domain node. Signed-off-by: Ben Levinsky Signed-off-by: Jason Wu Signed-off-by: Wendy Liang Signed-off-by: Michal Simek --- v3: - update zynqmp_r5 yaml

[PATCH v6 2/5] firmware: xilinx: Add shutdown/wakeup APIs

2020-07-15 Thread Ben Levinsky
Add shutdown/wakeup a resource eemi operations to shutdown or bringup a resource. Signed-off-by: Ben Levinsky --- v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct - fix formatting v4: - add default values for enum --- dr

RE: [PATCH v4 4/5] dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindings

2020-06-30 Thread Ben Levinsky
memory-region = <&elf_load>; pnode-id = <0x10>; }; }; -Original Message- From: Ben Levinsky Sent: Tuesday, June 30, 2020 8:39 AM To: Bjorn Andersson ; Stefano Stabellini Cc: Rob Herring ; o...@wizery.com; Michal Simek ; Jolly Shah ; Rajan Vaja

RE: [PATCH v4 4/5] dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindings

2020-06-30 Thread Ben Levinsky
Hi Bjorn, -Original Message- From: Bjorn Andersson Sent: Monday, June 29, 2020 7:20 PM To: Stefano Stabellini Cc: Rob Herring ; Ben Levinsky ; o...@wizery.com; Michal Simek ; Jolly Shah ; Rajan Vaja ; mark.rutl...@arm.com; linux-remotep...@vger.kernel.org; linux-arm-ker

RE: [PATCH v5 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-06-09 Thread Ben Levinsky
Hi Suman, Mathieu, Thank you for your comments. Please see my replies inline. Best Regards, Ben -Original Message- From: Suman Anna Sent: Monday, June 8, 2020 5:00 PM To: Mathieu Poirier ; Ben Levinsky Cc: o...@wizery.com; bjorn.anders...@linaro.org; Michal Simek ; Jolly Shah

[PATCH v5 4/5] dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindings

2020-06-03 Thread Ben Levinsky
Add binding for ZynqMP R5 OpenAMP. Represent the RPU domain resources in one device node. Each RPU processor is a subnode of the top RPU domain node. Signed-off-by: Ben Levinsky Signed-off-by: Jason Wu Signed-off-by: Wendy Liang Signed-off-by: Michal Simek --- v3: - update zynqmp_r5 yaml

[PATCH v5 1/5] firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU configuration.

2020-06-03 Thread Ben Levinsky
Add ZynqMP firmware ioctl enums for RPU configuration. Signed-off-by: Ben Levinsky --- v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct v4: - add default values for enums --- include/linux/firmware/xlnx-zynqmp.h

[PATCH v5 3/5] firmware: xilinx: Add RPU configuration APIs

2020-06-03 Thread Ben Levinsky
This patch adds APIs to provide access and a configuration interface to the current power state of a sub-system on Zynqmp sub-system. Signed-off-by: Ben Levinsky --- v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct v4:

[PATCH v5 0/5] remoteproc: Add zynqmp_r5 driver

2020-06-03 Thread Ben Levinsky
gs - description for memory-region in yaml parsing - compatible string in yaml parsing for TCM - parse_fw change from use of rproc_of_resm_mem_entry_init to rproc_mem_entry_init and use of alloc/release - var's of type zynqmp_r5_pdata all have same local variable name - use dev_dbg instead of dev_

[PATCH v5 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-06-03 Thread Ben Levinsky
R5 is included in Xilinx Zynq UltraScale MPSoC so by adding this remotproc driver, we can boot the R5 sub-system in different configurations. Acked-by: Stefano Stabellini Acked-by: Ben Levinsky Reviewed-by: Radhey Shyam Pandey Signed-off-by: Ben Levinsky Signed-off-by: Wendy Liang Signed-off

[PATCH v5 2/5] firmware: xilinx: Add shutdown/wakeup APIs

2020-06-03 Thread Ben Levinsky
Add shutdown/wakeup a resource eemi operations to shutdown or bringup a resource. Signed-off-by: Ben Levinsky --- v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct - fix formatting v4: - add default values for enums --- dr

RE: [PATCH v4 4/5] dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindings

2020-05-26 Thread Ben Levinsky
ate System Device Tree representation but it is not going to be ready right away. Our preference would be to upstream the remoteproc node and driver in their current forms while system device tree is maturing. Will also update as per your below comments in a v5 too. Best Regards, Ben Levinsky ---

<    1   2