2019-02-08 12:25:44

by Sugaya Taichi

[permalink] [raw]
Subject: [PATCH v2 01/15] dt-bindings: sram: milbeaut: Add binding for Milbeaut smp-sram

The Milbeaut M10V SoC needs a part of sram for smp, so this adds the
M10V sram compatible and binding.

Signed-off-by: Sugaya Taichi <[email protected]>
---
.../devicetree/bindings/sram/milbeaut-smp-sram.txt | 24 ++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sram/milbeaut-smp-sram.txt

diff --git a/Documentation/devicetree/bindings/sram/milbeaut-smp-sram.txt b/Documentation/devicetree/bindings/sram/milbeaut-smp-sram.txt
new file mode 100644
index 0000000..194f6a3
--- /dev/null
+++ b/Documentation/devicetree/bindings/sram/milbeaut-smp-sram.txt
@@ -0,0 +1,24 @@
+Milbeaut SRAM for smp bringup
+
+Milbeaut SoCs use a part of the sram for the bringup of the secondary cores.
+Once they get powered up in the bootloader, they stay at the specific part
+of the sram.
+Therefore the part needs to be added as the sub-node of mmio-sram.
+
+Required sub-node properties:
+- compatible : should be "socionext,milbeaut-smp-sram"
+
+Example:
+
+ sram: sram@0 {
+ compatible = "mmio-sram";
+ reg = <0x0 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges = <0 0x0 0x10000>;
+
+ smp-sram@f100 {
+ compatible = "socionext,milbeaut-smp-sram";
+ reg = <0xf100 0x20>;
+ };
+ };
--
1.9.1



2019-02-18 19:51:28

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH v2 01/15] dt-bindings: sram: milbeaut: Add binding for Milbeaut smp-sram

On Fri, 8 Feb 2019 21:25:33 +0900, Sugaya Taichi wrote:
> The Milbeaut M10V SoC needs a part of sram for smp, so this adds the
> M10V sram compatible and binding.
>
> Signed-off-by: Sugaya Taichi <[email protected]>
> ---
> .../devicetree/bindings/sram/milbeaut-smp-sram.txt | 24 ++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/sram/milbeaut-smp-sram.txt
>

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

2019-02-19 07:40:09

by Sugaya Taichi

[permalink] [raw]
Subject: Re: [PATCH v2 01/15] dt-bindings: sram: milbeaut: Add binding for Milbeaut smp-sram

Hi,

On 2019/02/19 4:49, Rob Herring wrote:
> On Fri, 8 Feb 2019 21:25:33 +0900, Sugaya Taichi wrote:
>> The Milbeaut M10V SoC needs a part of sram for smp, so this adds the
>> M10V sram compatible and binding.
>>
>> Signed-off-by: Sugaya Taichi <[email protected]>
>> ---
>> .../devicetree/bindings/sram/milbeaut-smp-sram.txt | 24 ++++++++++++++++++++++
>> 1 file changed, 24 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/sram/milbeaut-smp-sram.txt
>>
>
> Reviewed-by: Rob Herring <[email protected]>
>
Thank you!