Commit b75596db authored by Nishanth Menon's avatar Nishanth Menon

Merge tag '20210327143117.1840-2-s-anna@ti.com' of...

Merge tag '20210327143117.1840-2-s-anna@ti.com' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc into ti-k3-dts-next

v5.13-rc1 + 20210327143117.1840-2-s-anna@ti.com

* tag '20210327143117.1840-2-s-anna@ti.com' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc:
  dt-bindings: remoteproc: k3-r5f: Update bindings for AM64x SoCs
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
parents 3de27ef1 c16ced60
...@@ -14,8 +14,12 @@ description: | ...@@ -14,8 +14,12 @@ description: |
processor subsystems/clusters (R5FSS). The dual core cluster can be used processor subsystems/clusters (R5FSS). The dual core cluster can be used
either in a LockStep mode providing safety/fault tolerance features or in a either in a LockStep mode providing safety/fault tolerance features or in a
Split mode providing two individual compute cores for doubling the compute Split mode providing two individual compute cores for doubling the compute
capacity. These are used together with other processors present on the SoC capacity on most SoCs. These are used together with other processors present
to achieve various system level goals. on the SoC to achieve various system level goals.
AM64x SoCs do not support LockStep mode, but rather a new non-safety mode
called "Single-CPU" mode, where only Core0 is used, but with ability to use
Core1's TCMs as well.
Each Dual-Core R5F sub-system is represented as a single DTS node Each Dual-Core R5F sub-system is represented as a single DTS node
representing the cluster, with a pair of child DT nodes representing representing the cluster, with a pair of child DT nodes representing
...@@ -33,6 +37,7 @@ properties: ...@@ -33,6 +37,7 @@ properties:
- ti,am654-r5fss - ti,am654-r5fss
- ti,j721e-r5fss - ti,j721e-r5fss
- ti,j7200-r5fss - ti,j7200-r5fss
- ti,am64-r5fss
power-domains: power-domains:
description: | description: |
...@@ -56,11 +61,12 @@ properties: ...@@ -56,11 +61,12 @@ properties:
ti,cluster-mode: ti,cluster-mode:
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
enum: [0, 1]
description: | description: |
Configuration Mode for the Dual R5F cores within the R5F cluster. Configuration Mode for the Dual R5F cores within the R5F cluster.
Should be either a value of 1 (LockStep mode) or 0 (Split mode), Should be either a value of 1 (LockStep mode) or 0 (Split mode) on
default is LockStep mode if omitted. most SoCs (AM65x, J721E, J7200), default is LockStep mode if omitted;
and should be either a value of 0 (Split mode) or 2 (Single-CPU mode)
on AM64x SoCs, default is Split mode if omitted.
# R5F Processor Child Nodes: # R5F Processor Child Nodes:
# ========================== # ==========================
...@@ -97,6 +103,7 @@ patternProperties: ...@@ -97,6 +103,7 @@ patternProperties:
- ti,am654-r5f - ti,am654-r5f
- ti,j721e-r5f - ti,j721e-r5f
- ti,j7200-r5f - ti,j7200-r5f
- ti,am64-r5f
reg: reg:
items: items:
...@@ -198,6 +205,20 @@ patternProperties: ...@@ -198,6 +205,20 @@ patternProperties:
unevaluatedProperties: false unevaluatedProperties: false
if:
properties:
compatible:
enum:
- ti,am64-r5fss
then:
properties:
ti,cluster-mode:
enum: [0, 2]
else:
properties:
ti,cluster-mode:
enum: [0, 1]
required: required:
- compatible - compatible
- power-domains - power-domains
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment