ASoC: dt-bindings: maxim,max9867: add clocks property

Add clocks property to require a "mclk" definition for the
maxim,max9867 codec.

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Link: https://lore.kernel.org/r/20230302-max9867-v2-2-fd2036d5e825@skidata.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Richard Leitner 2023-03-03 11:04:02 +01:00 committed by Mark Brown
parent 6668f70abe
commit d63e55b3e8
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -35,9 +35,13 @@ properties:
reg:
maxItems: 1
clocks:
maxItems: 1
required:
- compatible
- reg
- clocks
additionalProperties: false
@ -50,6 +54,13 @@ examples:
compatible = "maxim,max9867";
#sound-dai-cells = <0>;
reg = <0x18>;
clocks = <&codec_clk>;
};
};
codec_clk: clock {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <12288000>;
};
...