Skip to content

Commit 51b081c

Browse files
ben717-linuxConchuOD
authored andcommitted
dt-bindings: cache: add QiLai compatible to ax45mp
Add a new compatible string for ax45mp-cache on QiLai SoC. Also, add allOf constraints to enforce specific cache-sets and cache-size values for qilai-ax45mp-cache. Signed-off-by: Ben Zong-You Xie <[email protected]> Signed-off-by: Conor Dooley <[email protected]>
1 parent 64d60a0 commit 51b081c

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

Documentation/devicetree/bindings/cache/andestech,ax45mp-cache.yaml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ select:
2828
properties:
2929
compatible:
3030
items:
31-
- const: renesas,r9a07g043f-ax45mp-cache
31+
- enum:
32+
- andestech,qilai-ax45mp-cache
33+
- renesas,r9a07g043f-ax45mp-cache
3234
- const: andestech,ax45mp-cache
3335
- const: cache
3436

@@ -66,6 +68,20 @@ required:
6668
- cache-size
6769
- cache-unified
6870

71+
allOf:
72+
- if:
73+
properties:
74+
compatible:
75+
contains:
76+
const: andestech,qilai-ax45mp-cache
77+
78+
then:
79+
properties:
80+
cache-sets:
81+
const: 2048
82+
cache-size:
83+
const: 2097152
84+
6985
examples:
7086
- |
7187
#include <dt-bindings/interrupt-controller/irq.h>

0 commit comments

Comments
 (0)