]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: dt-bindings: everest,es8328: Mark ES8388 compatible with ES8328
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 4 Mar 2025 10:38:07 +0000 (11:38 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 4 Mar 2025 12:27:12 +0000 (12:27 +0000)
Based on Linux driver, the ES8388 looks fully compatible with ES8328.
One upstream DTS (ARM rk3288-rock2-square.dts) already uses ES8328
fallback, so mark the devices as compatible in the binding.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20250304103808.75236-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/everest,es8328.yaml

index ed18e40dcaacf7eed39fa659795efb1518678379..309c4d01db76e6d2ca58b11adae335158cffc714 100644 (file)
@@ -24,9 +24,13 @@ maintainers:
 
 properties:
   compatible:
-    enum:
-      - everest,es8328
-      - everest,es8388
+    oneOf:
+      - enum:
+          - everest,es8328
+      - items:
+          - enum:
+              - everest,es8388
+          - const: everest,es8328
 
   reg:
     maxItems: 1