From patchwork Thu Sep 8 16:30:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 9321799 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7059B60752 for ; Thu, 8 Sep 2016 16:49:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 655E829912 for ; Thu, 8 Sep 2016 16:49:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5A18629917; Thu, 8 Sep 2016 16:49:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED75D29912 for ; Thu, 8 Sep 2016 16:49:31 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 45FB72606F8; Thu, 8 Sep 2016 18:49:30 +0200 (CEST) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 2EDAB26047C; Thu, 8 Sep 2016 18:47:12 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id EC356266B80; Thu, 8 Sep 2016 18:30:40 +0200 (CEST) Received: from smtp18.mail.ru (smtp18.mail.ru [94.100.176.155]) by alsa0.perex.cz (Postfix) with ESMTP id 50B4F266B67 for ; Thu, 8 Sep 2016 18:30:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Message-Id:Date:Subject:Cc:To:From; bh=gJtvDTQ9RFfYs3SaoAhSGwJfMH9XeRv4tODvWmvmPwA=; b=rQQNoswUdPyYZ5DvNRoLaPyFZDd9ZGdXY371ChgSXlNefyBEFOYKr8gM6RDUGIXcrNUHw6oqtHZiJPe4PTyNtRF8uxm6RxgS/cRNE5ZNdlaQorq5wtOkyJ+3vzzpCYcFhMGK2JURbRKeg+I7mdAMZVIt3lqDgY8QzsxRhQf9rCE=; Received: from [5.18.202.19] (port=6151 helo=shc.zet) by smtp18.mail.ru with esmtpa (envelope-from ) id 1bi2Dj-0000wf-Uz; Thu, 08 Sep 2016 19:30:36 +0300 From: Alexander Shiyan To: alsa-devel@alsa-project.org Date: Thu, 8 Sep 2016 19:30:28 +0300 Message-Id: <1473352228-24044-1-git-send-email-shc_work@mail.ru> X-Mailer: git-send-email 2.7.3 X-Mailru-Sender: CE311728A058A221EE580633B31732EC9A1DFB217A0C5BBD3B3112AF1C571C107DB7CBEE76C393FE X-Mras: OK Cc: Mark Rutland , devicetree@vger.kernel.org, Brian Austin , Alexander Shiyan , Takashi Iwai , Paul Handrigan , Liam Girdwood , Rob Herring , Mark Brown Subject: [alsa-devel] [PATCH 2/2] ASoC: cs4341: Add DT bindings documentation for CS4341 CODEC X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds DT bindings documentation for Cirrus Logic CS4341 CODEC. Signed-off-by: Alexander Shiyan Acked-by: Rob Herring --- 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>; + };