Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <hnagalla@ti.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240604171450.2455-1-hnagalla@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>

authored by

Hari Nagalla and committed by
Mathieu Poirier
430e2978 568b13b6

+51 -38
+51 -38
Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml
··· 25 25 host processor (Arm CorePac) to perform the device management of the remote 26 26 processor and to communicate with the remote processor. 27 27 28 - allOf: 29 - - $ref: /schemas/arm/keystone/ti,k3-sci-common.yaml# 30 - 31 28 properties: 32 29 compatible: 33 30 enum: ··· 86 89 should be defined as per the generic bindings in, 87 90 Documentation/devicetree/bindings/sram/sram.yaml 88 91 89 - if: 90 - properties: 91 - compatible: 92 - enum: 93 - - ti,j721e-c66-dsp 94 - then: 95 - properties: 96 - reg: 97 - items: 98 - - description: Address and Size of the L2 SRAM internal memory region 99 - - description: Address and Size of the L1 PRAM internal memory region 100 - - description: Address and Size of the L1 DRAM internal memory region 101 - reg-names: 102 - items: 103 - - const: l2sram 104 - - const: l1pram 105 - - const: l1dram 106 - else: 107 - if: 108 - properties: 109 - compatible: 110 - enum: 111 - - ti,am62a-c7xv-dsp 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 92 + allOf: 93 + - if: 94 + properties: 95 + compatible: 96 + enum: 97 + - ti,j721e-c66-dsp 98 + then: 99 + properties: 100 + reg: 101 + items: 102 + - description: Address and Size of the L2 SRAM internal memory region 103 + - description: Address and Size of the L1 PRAM internal memory region 104 + - description: Address and Size of the L1 DRAM internal memory region 105 + reg-names: 106 + items: 107 + - const: l2sram 108 + - const: l1pram 109 + - const: l1dram 110 + 111 + - if: 112 + properties: 113 + compatible: 114 + enum: 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 127 + 128 + - if: 129 + properties: 130 + compatible: 131 + enum: 132 + - ti,am62a-c7xv-dsp 133 + then: 134 + properties: 135 + reg: 136 + items: 137 + - description: Address and Size of the L2 SRAM internal memory region 138 + reg-names: 139 + items: 140 + - const: l2sram 141 + 142 + - $ref: /schemas/arm/keystone/ti,k3-sci-common.yaml# 124 143 125 144 required: 126 145 - compatible