Commit cba0c95b authored by Sudeep Holla's avatar Sudeep Holla Committed by Rob Herring
Browse files

dt-bindings: firmware: juno,scpi: Move to sram.yaml json schema



Commit a90b15e0 ("Documentation: bindings: decouple juno specific
details from generic binding") moved the juno specific bindings into
separate file. Though there was no need for juno specific binding, it
has been used unfortunately for whatever stupid reason I added it for.

Let us move the same to the generic sram.yaml schema and remove the
old text format binding.

Cc: Rob Herring <robh+dt@kernel.org>
Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20210601224904.917990-4-sudeep.holla@arm.com


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 4041e842
Loading
Loading
Loading
Loading
+0 −26
Original line number Diff line number Diff line
System Control and Power Interface (SCPI) Message Protocol
(in addition to the standard binding in [0])

Juno SRAM and Shared Memory for SCPI
------------------------------------

Required properties:
- compatible : should be "arm,juno-sram-ns" for Non-secure SRAM

Each sub-node represents the reserved area for SCPI.

Required sub-node properties:
- reg : The base offset and size of the reserved area with the SRAM
- compatible : should be "arm,juno-scp-shmem" for Non-secure SRAM based
	       shared memory on Juno platforms

Sensor bindings for the sensors based on SCPI Message Protocol
--------------------------------------------------------------
Required properties:
- compatible : should be "arm,scpi-sensors".
- #thermal-sensor-cells: should be set to 1.
			 For Juno R0 and Juno R1 refer to [1] for the
			 sensor identifiers

[0] Documentation/devicetree/bindings/arm/arm,scpi.txt
[1] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0922b/apas03s22.html
+2 −0
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@ properties:
    contains:
      enum:
        - mmio-sram
        - arm,juno-sram-ns
        - atmel,sama5d2-securam
        - rockchip,rk3288-pmu-sram

@@ -80,6 +81,7 @@ patternProperties:
            - amlogic,meson8b-smp-sram
            - amlogic,meson-gxbb-scp-shmem
            - amlogic,meson-axg-scp-shmem
            - arm,juno-scp-shmem
            - arm,scmi-shmem
            - arm,scp-shmem
            - renesas,smp-sram