2020-10-14 21:22:10

by Arnaud POULIQUEN

[permalink] [raw]
Subject: [PATCH v2 0/4] ARM: stm32: add DT properties for remote proc synchronisation

This series implements the DT part associated to the commit 9276536f455b3
("remoteproc: stm32: Parse syscon that will manage M4 synchronisation")

Delta vs V1 [1]
- add Rob acked-by on patch 1/4
- simplify yaml descriptions and align other syscon descriptions

[1]https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=339339

Arnaud Pouliquen (4):
dt-bindings: arm: stm32: Add compatible for syscon tamp node
dt-bindings: remoteproc: stm32_rproc: update for firmware
synchronization
dt-bindings: remoteproc: stm32_rproc: update syscon descriptions
ARM: dts: stm32: update stm32mp151 for remote proc synchronization
support

.../bindings/arm/stm32/st,stm32-syscon.yaml | 1 +
.../bindings/remoteproc/st,stm32-rproc.yaml | 21 +++++++++++++------
arch/arm/boot/dts/stm32mp151.dtsi | 7 +++++++
3 files changed, 23 insertions(+), 6 deletions(-)

--
2.17.1


2020-10-14 23:03:26

by Arnaud POULIQUEN

[permalink] [raw]
Subject: [PATCH v2 2/4] dt-bindings: remoteproc: stm32_rproc: update for firmware synchronization

Add new properties description used to attach to a pre-loaded
firmware according to the commit 9276536f455b3
("remoteproc: stm32: Parse syscon that will manage M4 synchronisation")
which updates the driver part.

Signed-off-by: Arnaud Pouliquen <[email protected]>
---
.../bindings/remoteproc/st,stm32-rproc.yaml | 15 +++++++++++++++
1 file changed, 15 insertions(+)

diff --git a/Documentation/devicetree/bindings/remoteproc/st,stm32-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/st,stm32-rproc.yaml
index 4ffa25268fcc..3207942d51bf 100644
--- a/Documentation/devicetree/bindings/remoteproc/st,stm32-rproc.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/st,stm32-rproc.yaml
@@ -96,6 +96,19 @@ properties:
3rd cell: register bitmask for the deep sleep bit
maxItems: 1

+ st,syscfg-m4-state:
+ $ref: "/schemas/types.yaml#/definitions/phandle-array"
+ description: |
+ Reference to the tamp register which exposes the Cortex-M4 state.
+ maxItems: 1
+
+ st,syscfg-rsc-tbl:
+ $ref: "/schemas/types.yaml#/definitions/phandle-array"
+ description: |
+ Reference to the tamp register which references the Cortex-M4
+ resource table address.
+ maxItems: 1
+
st,auto-boot:
$ref: /schemas/types.yaml#/definitions/flag
description:
@@ -122,6 +135,8 @@ examples:
resets = <&rcc MCU_R>;
st,syscfg-holdboot = <&rcc 0x10C 0x1>;
st,syscfg-tz = <&rcc 0x000 0x1>;
+ st,syscfg-rsc-tbl = <&tamp 0x144 0xFFFFFFFF>;
+ st,syscfg-m4-state = <&tamp 0x148 0xFFFFFFFF>;
};

...
--
2.17.1

2020-10-20 15:26:52

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v2 2/4] dt-bindings: remoteproc: stm32_rproc: update for firmware synchronization

On Wed, 14 Oct 2020 14:54:39 +0200, Arnaud Pouliquen wrote:
> Add new properties description used to attach to a pre-loaded
> firmware according to the commit 9276536f455b3
> ("remoteproc: stm32: Parse syscon that will manage M4 synchronisation")
> which updates the driver part.
>
> Signed-off-by: Arnaud Pouliquen <[email protected]>
> ---
> .../bindings/remoteproc/st,stm32-rproc.yaml | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>

Reviewed-by: Rob Herring <[email protected]>

2020-10-26 18:21:15

by Bjorn Andersson

[permalink] [raw]
Subject: Re: [PATCH v2 0/4] ARM: stm32: add DT properties for remote proc synchronisation

On Wed 14 Oct 07:54 CDT 2020, Arnaud Pouliquen wrote:

> This series implements the DT part associated to the commit 9276536f455b3
> ("remoteproc: stm32: Parse syscon that will manage M4 synchronisation")
>
> Delta vs V1 [1]
> - add Rob acked-by on patch 1/4
> - simplify yaml descriptions and align other syscon descriptions
>
> [1]https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=339339
>
> Arnaud Pouliquen (4):
> dt-bindings: arm: stm32: Add compatible for syscon tamp node
> dt-bindings: remoteproc: stm32_rproc: update for firmware
> synchronization
> dt-bindings: remoteproc: stm32_rproc: update syscon descriptions

Applied the dt-bindings updates, expecting the dts change to go throught
he ST soc tree.

Thank you,
Bjorn

> ARM: dts: stm32: update stm32mp151 for remote proc synchronization
> support
>
> .../bindings/arm/stm32/st,stm32-syscon.yaml | 1 +
> .../bindings/remoteproc/st,stm32-rproc.yaml | 21 +++++++++++++------
> arch/arm/boot/dts/stm32mp151.dtsi | 7 +++++++
> 3 files changed, 23 insertions(+), 6 deletions(-)
>
> --
> 2.17.1
>

2020-11-17 11:22:27

by Alexandre Torgue

[permalink] [raw]
Subject: Re: [PATCH v2 0/4] ARM: stm32: add DT properties for remote proc synchronisation

Hi Arnaud

On 10/14/20 2:54 PM, Arnaud Pouliquen wrote:
> This series implements the DT part associated to the commit 9276536f455b3
> ("remoteproc: stm32: Parse syscon that will manage M4 synchronisation")
>
> Delta vs V1 [1]
> - add Rob acked-by on patch 1/4
> - simplify yaml descriptions and align other syscon descriptions
>
> [1]https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=339339
>
> Arnaud Pouliquen (4):
> dt-bindings: arm: stm32: Add compatible for syscon tamp node
> dt-bindings: remoteproc: stm32_rproc: update for firmware
> synchronization
> dt-bindings: remoteproc: stm32_rproc: update syscon descriptions
> ARM: dts: stm32: update stm32mp151 for remote proc synchronization
> support
>
> .../bindings/arm/stm32/st,stm32-syscon.yaml | 1 +
> .../bindings/remoteproc/st,stm32-rproc.yaml | 21 +++++++++++++------
> arch/arm/boot/dts/stm32mp151.dtsi | 7 +++++++
> 3 files changed, 23 insertions(+), 6 deletions(-)
>

DT patch applied on stm32-next.

regards
Alex