[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230302-max9867-v1-2-aa9f7f25db5e@skidata.com>
Date: Thu, 02 Mar 2023 12:55:02 +0100
From: richard.leitner@...ux.dev
To: Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Ladislav Michl <ladis@...ux-mips.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Benjamin Bara <benjamin.bara@...data.com>
Cc: alsa-devel@...a-project.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Richard Leitner <richard.leitner@...data.com>
Subject: [PATCH 2/3] ASoC: dt-bindings: maxim,max9867: add "mclk" property
From: Richard Leitner <richard.leitner@...data.com>
Add clocks and clock-names properties to require a "mclk" definition for
the maxim,max9867 codec.
Signed-off-by: Richard Leitner <richard.leitner@...data.com>
---
Documentation/devicetree/bindings/sound/maxim,max9867.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/maxim,max9867.yaml b/Documentation/devicetree/bindings/sound/maxim,max9867.yaml
index cefa43c3d34e..152340fe9cc7 100644
--- a/Documentation/devicetree/bindings/sound/maxim,max9867.yaml
+++ b/Documentation/devicetree/bindings/sound/maxim,max9867.yaml
@@ -35,9 +35,17 @@ properties:
reg:
maxItems: 1
+ clocks:
+ maxItems: 1
+
+ clock-names:
+ const: "mclk"
+
required:
- compatible
- reg
+ - clocks
+ - clock-names
examples:
- |
@@ -46,6 +54,8 @@ examples:
compatible = "maxim,max9867";
#sound-dai-cells = <0>;
reg = <0x18>;
+ clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_SAI3_MCLK1>;
+ clock-names = "mclk";
};
};
...
--
2.39.2
Powered by blists - more mailing lists