Skip to content

Commit 430e297

Browse files
h-nagallamathieupoirier
authored andcommitted
dt-bindings: remoteproc: k3-dsp: Correct optional sram properties for AM62A SoCs
The C7xv-dsp on AM62A have 32KB L1 I-cache and a 64KB L1 D-cache. It does not have an addressable l1dram . So, remove this optional sram property from the bindings to fix device tree build warnings. Signed-off-by: Hari Nagalla <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mathieu Poirier <[email protected]>
1 parent 568b13b commit 430e297

File tree

1 file changed

+51
-38
lines changed

1 file changed

+51
-38
lines changed

Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml

Lines changed: 51 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ description: |
2525
host processor (Arm CorePac) to perform the device management of the remote
2626
processor and to communicate with the remote processor.
2727
28-
allOf:
29-
- $ref: /schemas/arm/keystone/ti,k3-sci-common.yaml#
30-
3128
properties:
3229
compatible:
3330
enum:
@@ -89,41 +86,57 @@ properties:
8986
should be defined as per the generic bindings in,
9087
Documentation/devicetree/bindings/sram/sram.yaml
9188
92-
if:
93-
properties:
94-
compatible:
95-
enum:
96-
- ti,j721e-c66-dsp
97-
then:
98-
properties:
99-
reg:
100-
items:
101-
- description: Address and Size of the L2 SRAM internal memory region
102-
- description: Address and Size of the L1 PRAM internal memory region
103-
- description: Address and Size of the L1 DRAM internal memory region
104-
reg-names:
105-
items:
106-
- const: l2sram
107-
- const: l1pram
108-
- const: l1dram
109-
else:
110-
if:
111-
properties:
112-
compatible:
113-
enum:
114-
- ti,am62a-c7xv-dsp
115-
- ti,j721e-c71-dsp
116-
- ti,j721s2-c71-dsp
117-
then:
118-
properties:
119-
reg:
120-
items:
121-
- description: Address and Size of the L2 SRAM internal memory region
122-
- description: Address and Size of the L1 DRAM internal memory region
123-
reg-names:
124-
items:
125-
- const: l2sram
126-
- const: l1dram
89+
allOf:
90+
- if:
91+
properties:
92+
compatible:
93+
enum:
94+
- ti,j721e-c66-dsp
95+
then:
96+
properties:
97+
reg:
98+
items:
99+
- description: Address and Size of the L2 SRAM internal memory region
100+
- description: Address and Size of the L1 PRAM internal memory region
101+
- description: Address and Size of the L1 DRAM internal memory region
102+
reg-names:
103+
items:
104+
- const: l2sram
105+
- const: l1pram
106+
- const: l1dram
107+
108+
- if:
109+
properties:
110+
compatible:
111+
enum:
112+
- ti,j721e-c71-dsp
113+
- ti,j721s2-c71-dsp
114+
then:
115+
properties:
116+
reg:
117+
items:
118+
- description: Address and Size of the L2 SRAM internal memory region
119+
- description: Address and Size of the L1 DRAM internal memory region
120+
reg-names:
121+
items:
122+
- const: l2sram
123+
- const: l1dram
124+
125+
- if:
126+
properties:
127+
compatible:
128+
enum:
129+
- ti,am62a-c7xv-dsp
130+
then:
131+
properties:
132+
reg:
133+
items:
134+
- description: Address and Size of the L2 SRAM internal memory region
135+
reg-names:
136+
items:
137+
- const: l2sram
138+
139+
- $ref: /schemas/arm/keystone/ti,k3-sci-common.yaml#
127140

128141
required:
129142
- compatible

0 commit comments

Comments
 (0)