summary refs log tree commit diff
path: root/Documentation
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-08-21 11:04:26 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2021-08-21 11:04:26 -0700
commita09434f181f3ae3a0a6a42bfcf0dc375f0eb26a2 (patch)
treedaa96f01ca3ac49d979d7699e44e01d7d0f91f7e /Documentation
parent5479a7fe89664b526d21cd62dac5dfe017e0ebd3 (diff)
parentaa3e1ba32e553e611a58145c2eb349802feaa6eb (diff)
downloadlinux-a09434f181f3ae3a0a6a42bfcf0dc375f0eb26a2.tar.gz
Merge tag 'riscv-for-linus-5.14-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux
Pull RISC-V fixes from Palmer Dabbelt:

 - fix the sifive-l2-cache device tree bindings for json-schema
   compatibility. This does not change the intended behavior of the
   binding.

 - avoid improperly freeing necessary resources during early boot.

* tag 'riscv-for-linus-5.14-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
  riscv: Fix a number of free'd resources in init_resources()
  dt-bindings: sifive-l2-cache: Fix 'select' matching
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/riscv/sifive-l2-cache.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/riscv/sifive-l2-cache.yaml b/Documentation/devicetree/bindings/riscv/sifive-l2-cache.yaml
index 1d38ff76d18f..2b1f91603897 100644
--- a/Documentation/devicetree/bindings/riscv/sifive-l2-cache.yaml
+++ b/Documentation/devicetree/bindings/riscv/sifive-l2-cache.yaml
@@ -24,10 +24,10 @@ allOf:
 select:
   properties:
     compatible:
-      items:
-        - enum:
-            - sifive,fu540-c000-ccache
-            - sifive,fu740-c000-ccache
+      contains:
+        enum:
+          - sifive,fu540-c000-ccache
+          - sifive,fu740-c000-ccache
 
   required:
     - compatible