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

dt-bindings: cache: ax45mp: add 2048 as a supported cache-sets value

The QiLai implementation of this cache controller uses a cache-sets of
2048, and mandates it in an if/else block - but the definition of the
property only permits 1024. Add 2048 as an option, and deny its use
outside of the QiLai.

Fixes: 51b081cdb9237 ("dt-bindings: cache: add QiLai compatible to ax45mp")
Reviewed-by: Ben Zong-You Xie <ben717@andestech.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>

+5 -1
+5 -1
Documentation/devicetree/bindings/cache/andestech,ax45mp-cache.yaml
··· 47 47 const: 2 48 48 49 49 cache-sets: 50 - const: 1024 50 + enum: [1024, 2048] 51 51 52 52 cache-size: 53 53 enum: [131072, 262144, 524288, 1048576, 2097152] ··· 81 81 const: 2048 82 82 cache-size: 83 83 const: 2097152 84 + else: 85 + properties: 86 + cache-sets: 87 + const: 1024 84 88 85 89 examples: 86 90 - |