[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250304103808.75236-1-krzysztof.kozlowski@linaro.org>
Date: Tue, 4 Mar 2025 11:38:07 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
David Yang <yangxiaohua@...rest-semi.com>,
linux-sound@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Subject: [PATCH 1/2] ASoC: dt-bindings: everest,es8328: Mark ES8388 compatible with ES8328
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@...aro.org>
---
ARM64 Rockchip DTS use only single everest,es8388 compatible, so this
will trigger dtbs_check warnings which I will fix in separate patchset.
No ABI break/impact expected.
Expected dtbs_check warnings:
arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dtb: es8388@11: compatible: 'oneOf' conditional failed, one must be fixed:
['everest,es8388'] is too short
'everest,es8388' is not one of ['everest,es8328']
from schema $id: http://devicetree.org/schemas/sound/everest,es8328.yaml#
---
.../devicetree/bindings/sound/everest,es8328.yaml | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/everest,es8328.yaml b/Documentation/devicetree/bindings/sound/everest,es8328.yaml
index ed18e40dcaac..309c4d01db76 100644
--- a/Documentation/devicetree/bindings/sound/everest,es8328.yaml
+++ b/Documentation/devicetree/bindings/sound/everest,es8328.yaml
@@ -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
--
2.43.0
Powered by blists - more mailing lists