diff mbox series

[v2,2/8] dt-bindings: firmware: arm,scmi: Move arm,scmi-shmem to json schema

Message ID 20210601224904.917990-3-sudeep.holla@arm.com
State New
Headers show
Series dt-bindings: firmware: Convert SCPI and SCMI to json schema | expand

Commit Message

Sudeep Holla June 1, 2021, 10:48 p.m. UTC
Move the SRAM and shared memory binding for SCMI into the existing
Generic on-chip SRAM. We just need to update the compatible list and
there-by remove the whole old text format binding for the same.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Cristian Marussi <cristian.marussi@arm.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>

---
 .../devicetree/bindings/arm/arm,scmi.txt          | 15 ---------------
 Documentation/devicetree/bindings/sram/sram.yaml  |  1 +
 2 files changed, 1 insertion(+), 15 deletions(-)

-- 
2.25.1

Comments

Rob Herring June 2, 2021, 3:41 p.m. UTC | #1
On Tue, 01 Jun 2021 23:48:58 +0100, Sudeep Holla wrote:
> Move the SRAM and shared memory binding for SCMI into the existing

> Generic on-chip SRAM. We just need to update the compatible list and

> there-by remove the whole old text format binding for the same.

> 

> Cc: Rob Herring <robh+dt@kernel.org>

> Cc: Cristian Marussi <cristian.marussi@arm.com>

> Cc: Florian Fainelli <f.fainelli@gmail.com>

> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>

> ---

>  .../devicetree/bindings/arm/arm,scmi.txt          | 15 ---------------

>  Documentation/devicetree/bindings/sram/sram.yaml  |  1 +

>  2 files changed, 1 insertion(+), 15 deletions(-)

> 


Applied, thanks!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/arm/arm,scmi.txt b/Documentation/devicetree/bindings/arm/arm,scmi.txt
index 667d58e0a659..b7be2000afcb 100644
--- a/Documentation/devicetree/bindings/arm/arm,scmi.txt
+++ b/Documentation/devicetree/bindings/arm/arm,scmi.txt
@@ -106,21 +106,6 @@  signal binding[5].
  - #reset-cells : Should be 1. Contains the reset domain ID value used
 		  by SCMI commands.
 
-SRAM and Shared Memory for SCMI
--------------------------------
-
-A small area of SRAM is reserved for SCMI communication between application
-processors and SCP.
-
-The properties should follow the generic mmio-sram description found in [4]
-
-Each sub-node represents the reserved area for SCMI.
-
-Required sub-node properties:
-- reg : The base offset and size of the reserved area with the SRAM
-- compatible : should be "arm,scmi-shmem" for Non-secure SRAM based
-	       shared memory
-
 [0] http://infocenter.arm.com/help/topic/com.arm.doc.den0056a/index.html
 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
 [2] Documentation/devicetree/bindings/power/power-domain.yaml
diff --git a/Documentation/devicetree/bindings/sram/sram.yaml b/Documentation/devicetree/bindings/sram/sram.yaml
index 7fc208692a7a..543aa400fbdf 100644
--- a/Documentation/devicetree/bindings/sram/sram.yaml
+++ b/Documentation/devicetree/bindings/sram/sram.yaml
@@ -80,6 +80,7 @@  description: |+
             - amlogic,meson8b-smp-sram
             - amlogic,meson-gxbb-scp-shmem
             - amlogic,meson-axg-scp-shmem
+            - arm,scmi-shmem
             - arm,scp-shmem
             - renesas,smp-sram
             - rockchip,rk3066-smp-sram