Message ID | 20201014125441.2457-1-arnaud.pouliquen@st.com |
---|---|
Headers | show |
Series | ARM: stm32: add DT properties for remote proc synchronisation | expand |
On Wed, Oct 14, 2020 at 02:54:41PM +0200, Arnaud Pouliquen wrote: > Two backup registers are used to store the Cortex-M4 state and the resource > table address. > Declare the tamp node and add associated properties in m4_rproc node > to allow Linux to attach to a firmware loaded by the first boot stages. > > Associated driver implementation is available in commit 9276536f455b3 > ("remoteproc: stm32: Parse syscon that will manage M4 synchronisation"). > > Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com> > --- > arch/arm/boot/dts/stm32mp151.dtsi | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi > index bfe29023fbd5..842ecffae73a 100644 > --- a/arch/arm/boot/dts/stm32mp151.dtsi > +++ b/arch/arm/boot/dts/stm32mp151.dtsi > @@ -1541,6 +1541,11 @@ > status = "disabled"; > }; > > + tamp: tamp@5c00a000 { > + compatible = "st,stm32-tamp", "syscon"; > + reg = <0x5c00a000 0x400>; > + }; > + > /* > * Break node order to solve dependency probe issue between > * pinctrl and exti. > @@ -1717,6 +1722,8 @@ > st,syscfg-holdboot = <&rcc 0x10C 0x1>; > st,syscfg-tz = <&rcc 0x000 0x1>; > st,syscfg-pdds = <&pwr_mcu 0x0 0x1>; > + st,syscfg-rsc-tbl = <&tamp 0x144 0xFFFFFFFF>; > + st,syscfg-m4-state = <&tamp 0x148 0xFFFFFFFF>; Tested-by: Mathieu Poirier <mathieu.poirier@linaro.org> > status = "disabled"; > }; > }; > -- > 2.17.1 >
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 >
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