From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Shiyan Subject: [PATCH 2/2] ASoC: cs4341: Add DT bindings documentation for CS4341 CODEC Date: Thu, 8 Sep 2016 19:30:28 +0300 Message-ID: <1473352228-24044-1-git-send-email-shc_work@mail.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org Cc: Mark Rutland , devicetree@vger.kernel.org, Brian Austin , Alexander Shiyan , Takashi Iwai , Paul Handrigan , Liam Girdwood , Rob Herring , Mark Brown List-Id: devicetree@vger.kernel.org This patch adds DT bindings documentation for Cirrus Logic CS4341 CODEC. Signed-off-by: Alexander Shiyan --- Documentation/devicetree/bindings/sound/cs4341.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/cs4341.txt diff --git a/Documentation/devicetree/bindings/sound/cs4341.txt b/Documentation/devicetree/bindings/sound/cs4341.txt new file mode 100644 index 0000000..78d45be --- /dev/null +++ b/Documentation/devicetree/bindings/sound/cs4341.txt @@ -0,0 +1,15 @@ +Cirrus Logic CS4341 DT bindings + +Required properties: + - compatible: "cirrus,cs4341a" + +For required properties on SPI, please consult +Documentation/devicetree/bindings/spi/spi-bus.txt + +Example: + codec: cs4341@0 { + #sound-dai-cells = <0>; + compatible = "cirrus,cs4341a"; + reg = <0>; + spi-max-frequency = <6000000>; + }; -- 2.7.3