From patchwork Mon Dec 21 13:18:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 7895871 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 11C55BEEE5 for ; Mon, 21 Dec 2015 13:19:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5417B20561 for ; Mon, 21 Dec 2015 13:19:30 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 1D3592055C for ; Mon, 21 Dec 2015 13:19:29 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 2605026548B; Mon, 21 Dec 2015 14:19:28 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_DNS_FOR_FROM, RCVD_IN_DNSWL_LOW, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 34AEA2652E2; Mon, 21 Dec 2015 14:18:41 +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 8F71D26526E; Mon, 21 Dec 2015 14:18:39 +0100 (CET) Received: from mail-pf0-f180.google.com (mail-pf0-f180.google.com [209.85.192.180]) by alsa0.perex.cz (Postfix) with ESMTP id 422E3265268 for ; Mon, 21 Dec 2015 14:18:32 +0100 (CET) Received: by mail-pf0-f180.google.com with SMTP id u7so42331400pfb.1 for ; Mon, 21 Dec 2015 05:18:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8xAYtT+TwIf7H2wsCM8FJbKba3Y7R/w0je+6YPsG+Dw=; b=aw1nuIntVgP0fCN7sHwlu+ttngemnxO/+BhCKCn75pSEi/RmZPId/SQ+RNrPao4d55 VYbKPs7x29gtk+eGZUYejLa8EEvjmTZozWsNWURVCICgq6ch7UrqkM/m4qX74Kzfk3tg qJLcqy0nT2v2NQZ0j33N/D4EtFXSVZ2fdbztSSIdelp9Q97dy8WqsZNtvBs8zancV6HL bW6UqYFK3jjGoWtwdW8gHrzwijRWJVqUHJAohuwn5auVBYO3N7bZ3BfWYo/gR7KYMNHP o/jZ1b2HG/RE8eIK60PJNpIdBTjh0K5jrjaAbHQdgxgugFM/SHbF0Jf8ro3ytfxWwW+P r/Gg== X-Received: by 10.98.73.19 with SMTP id w19mr27223787pfa.103.1450703911560; Mon, 21 Dec 2015 05:18:31 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id 7sm21717194pfn.83.2015.12.21.05.18.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 21 Dec 2015 05:18:30 -0800 (PST) From: Caesar Wang To: robh+dt@kernel.org, broonie@kernel.org Date: Mon, 21 Dec 2015 21:18:14 +0800 Message-Id: <1450703894-32623-2-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1450703894-32623-1-git-send-email-wxt@rock-chips.com> References: <1450703894-32623-1-git-send-email-wxt@rock-chips.com> Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, heiko@sntech.de, linux-kernel@vger.kernel.org, bardliao@realtek.com, wxt@rock-chips.com Subject: [alsa-devel] [PATCH 2/2] dt-bindings: sound: add devicetree document for rt5616 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 Add the description for rt5616 codec. Signed-off-by: Caesar Wang --- Documentation/devicetree/bindings/sound/rt5616.txt | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/rt5616.txt diff --git a/Documentation/devicetree/bindings/sound/rt5616.txt b/Documentation/devicetree/bindings/sound/rt5616.txt new file mode 100644 index 0000000..af96207 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/rt5616.txt @@ -0,0 +1,38 @@ +RT5616 audio CODEC + +This device supports I2C only. + +Required properties: + +- compatible : "realtek,rt5616". + +- reg : The I2C address of the device. + +Optional properties: + +Pins on the device (for linking into audio routes) for RT5616: + + * IN1P + * IN2P + * IN2N + * LOUTL + * LOUTR + * CPN2 + * CPP2 + * CPN1 + * CPP1 + * HPO_R + * HPO_L + * ADCDAT1 + * DACDAT1 + * LRCK1 + * BCLK1 + * MCLK + * GPIO1 + +Example: + +rt5616 { + compatible = "realtek,rt5616"; + reg = <0x1b>; +};