summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Leitner <richard.leitner@skidata.com>2023-03-03 11:04:02 +0100
committerMark Brown <broonie@kernel.org>2023-03-05 23:37:37 +0000
commitd63e55b3e8ec90da69107f32038f3059d7317cc5 (patch)
tree3fdee035a847b5cb74015b000e7412d09e4547de
parent6668f70abeea30f4674b2fdbc4232d5c3611b272 (diff)
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>
-rw-r--r--Documentation/devicetree/bindings/sound/maxim,max9867.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/maxim,max9867.yaml b/Documentation/devicetree/bindings/sound/maxim,max9867.yaml
index 74cd163546ec..6f27029b137d 100644
--- a/Documentation/devicetree/bindings/sound/maxim,max9867.yaml
+++ b/Documentation/devicetree/bindings/sound/maxim,max9867.yaml
@@ -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>;
+ };
...