]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: sifive-l2-cache: Fix 'select' matching
authorRob Herring <robh@kernel.org>
Tue, 17 Aug 2021 17:47:55 +0000 (12:47 -0500)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Fri, 20 Aug 2021 03:55:49 +0000 (20:55 -0700)
commit963d9ad3cac61953d78a0ca1c37f5cb8b64e7e4d
treeb2020054c1251c3a3f365d66d1a4aa345260b7fe
parent8c4c3b709dab6884e871259f938e876dd6d9dff1
dt-bindings: sifive-l2-cache: Fix 'select' matching

When the schema fixups are applied to 'select' the result is a single
entry is required for a match, but that will never match as there should
be 2 entries. Also, a 'select' schema should have the widest possible
match, so use 'contains' which matches the compatible string(s) in any
position and not just the first position.

Fixes: 91101e76f9c6 ("dt-bindings: riscv: sifive-l2-cache: convert bindings to json-schema")
Signed-off-by: Rob Herring <robh@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Documentation/devicetree/bindings/riscv/sifive-l2-cache.yaml