Skip to content

Commit 5075d08

Browse files
Marek Vasutbroonie
authored andcommitted
ASoC: dt-bindings: ti,tas2552: Add sound-dai-cells
Add missing sound-sai-cells for this codec into schema. At the same time, drop trailing spaces from description. Fixes: 506e082 ("ASoC: dt-bindings: Convert ti,tas2552 to DT schema") Signed-off-by: Marek Vasut <marex@nabladev.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Link: https://patch.msgid.link/20260405234502.154227-1-marex@nabladev.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 591cd65 commit 5075d08

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

Documentation/devicetree/bindings/sound/ti,tas2552.yaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ maintainers:
1212
- Baojun Xu <baojun.xu@ti.com>
1313

1414
description: >
15-
The TAS2552 can receive its reference clock via MCLK, BCLK, IVCLKIN pin or
16-
use the internal 1.8MHz. This CLKIN is used by the PLL. In addition to PLL,
15+
The TAS2552 can receive its reference clock via MCLK, BCLK, IVCLKIN pin or
16+
use the internal 1.8MHz. This CLKIN is used by the PLL. In addition to PLL,
1717
the PDM reference clock is also selectable: PLL, IVCLKIN, BCLK or MCLK.
1818
1919
For system integration the dt-bindings/sound/tas2552.h header file provides
@@ -34,14 +34,20 @@ properties:
3434
maxItems: 1
3535
description: gpio pin to enable/disable the device
3636

37+
'#sound-dai-cells':
38+
const: 0
39+
3740
required:
3841
- compatible
3942
- reg
4043
- vbat-supply
4144
- iovdd-supply
4245
- avdd-supply
4346

44-
additionalProperties: false
47+
allOf:
48+
- $ref: dai-common.yaml#
49+
50+
unevaluatedProperties: false
4551

4652
examples:
4753
- |
@@ -54,6 +60,7 @@ examples:
5460
audio-codec@41 {
5561
compatible = "ti,tas2552";
5662
reg = <0x41>;
63+
#sound-dai-cells = <0>;
5764
vbat-supply = <&reg_vbat>;
5865
iovdd-supply = <&reg_iovdd>;
5966
avdd-supply = <&reg_avdd>;

0 commit comments

Comments
 (0)