From patchwork Thu Dec 20 07:37:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 10738565 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D09246C5 for ; Thu, 20 Dec 2018 07:37:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB4FC2861E for ; Thu, 20 Dec 2018 07:37:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AA32828627; Thu, 20 Dec 2018 07:37:20 +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=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham 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 E9F412861E for ; Thu, 20 Dec 2018 07:37:19 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id D2FB02679E4; Thu, 20 Dec 2018 08:37:18 +0100 (CET) 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 76ACF267A79; Thu, 20 Dec 2018 08:37:16 +0100 (CET) Received: from smtp59.i.mail.ru (smtp59.i.mail.ru [217.69.128.39]) by alsa0.perex.cz (Postfix) with ESMTP id EDE402679E4 for ; Thu, 20 Dec 2018 08:37:14 +0100 (CET) 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=DEUO7mYY0OE5ti5O+IKYKEsXMYCVHg6yy44zPzvCbYE=; b=QUNWd4cXWM3zDZkk9vmm/zCuzzswQLrp1Wv4lJmpeRgqgYLHUi/a4m2HKkJQxhR0mfPygX91I7mj3iz5HLaGgIqNULMUMJiKWwiOsbktzoXwXATLABu8A+ysfWut2HwLKSrGomZJehKM0jtL3Ec8A+ylV9oSAebVM3BU4wOLQHM=; Received: by smtp59.i.mail.ru with esmtpa (envelope-from ) id 1gZstN-0003JY-Gm; Thu, 20 Dec 2018 10:37:13 +0300 From: Alexander Shiyan To: alsa-devel@alsa-project.org Date: Thu, 20 Dec 2018 10:37:08 +0300 Message-Id: <20181220073708.12014-1-shc_work@mail.ru> X-Mailer: git-send-email 2.13.0 Authentication-Results: smtp59.i.mail.ru; auth=pass smtp.auth=shc_work@mail.ru smtp.mailfrom=shc_work@mail.ru X-77F55803: 6115F4D8777AF1675A78504BD2AC2941AC9F5C0DA9FA9AD2533910E73072B44F173148B93FF9EE4FD2B9BEDF6C3D03E1 X-7FA49CB5: 0D63561A33F958A53B0409E6F97E09FD558EB6928E553E1DC9B6A71B66CC7A508941B15DA834481FA18204E546F3947C2FFDA4F57982C5F4F6B57BC7E64490618DEB871D839B7333395957E7521B51C2545D4CF71C94A83E9FA2833FD35BB23D27C277FBC8AE2E8BF1175FABE1C0F9B6A471835C12D1D977C4224003CC8364767815B9869FA544D8D32BA5DBAC0009BE9E8FC8737B5C2249CD9A2A404A1390E33AA81AA40904B5D9CF19DD082D7633A0E7DDDDC251EA7DABD81D268191BDAD3D78DA827A17800CE7E30F873561A58086CD04E86FAF290E2D40A5AABA2AD3711975ECD9A6C639B01B78DA827A17800CE7959E62E36A52C09E80DFCAE196996D5175ECD9A6C639B01B4E70A05D1297E1BBC6867C52282FAC85D9B7C4F32B44FF57285124B2A10EEC6C00306258E7E6ABB4E4A6367B16DE6309 X-Mailru-Sender: 8261CADE3D3FA0B4C2F1292954F703E9D115A69FCD40994F85BD95151002C13A67805A41CC3E60846B3B2BD4812BFD4DC77752E0C033A69E93554C27080790AB3B25A7FBAAF806F0AE208404248635DF 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 DAC 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 DAC. Signed-off-by: Alexander Shiyan --- Documentation/devicetree/bindings/sound/cs4341.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 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 000000000000..12b4aa8ef0db --- /dev/null +++ b/Documentation/devicetree/bindings/sound/cs4341.txt @@ -0,0 +1,22 @@ +Cirrus Logic CS4341 audio DAC + +This device supports both I2C and SPI (configured with pin strapping +on the board). + +Required properties: + - compatible: "cirrus,cs4341a" + - reg : the I2C address of the device for I2C, the chip select + number for SPI. + +For required properties on I2C-bus, please consult +Documentation/devicetree/bindings/i2c/i2c.txt +For required properties on SPI-bus, 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>; + };