From patchwork Mon Dec 21 14:56:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 7896411 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 474859F1AF for ; Mon, 21 Dec 2015 14:56:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7320220524 for ; Mon, 21 Dec 2015 14:56:53 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id D071920502 for ; Mon, 21 Dec 2015 14:56:51 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 61C90265083; Mon, 21 Dec 2015 15:56:50 +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, 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 6DECF2614AC; Mon, 21 Dec 2015 15:56:42 +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 649A0261582; Mon, 21 Dec 2015 15:56:41 +0100 (CET) Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by alsa0.perex.cz (Postfix) with ESMTP id 28CA826147E for ; Mon, 21 Dec 2015 15:56:34 +0100 (CET) Received: by mail-pa0-f46.google.com with SMTP id q3so80456144pav.3 for ; Mon, 21 Dec 2015 06:56:34 -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=P8gq0EqmRF43R+xvdS74vN3RUElBb5ekTy6h1Cknlyo=; b=mIzAVsG7MyUH8+bgTxEG0U7gcBUcxZ+v/3cCqdxDd7TrMxjITSKhyJuuc/3Vm/ZKrJ SBV2eKVbTUnptcEfI9u5wDT2oZJwye2kAaJxqBJmpZdBojnDz/i8zy8ZvDOjN7NH2zdB yWs8077RkAI9GIzlLeB8mtmWeAn9IAdWd24YNDFyxUuJqDPcvhKhUFmDUytpfKNb5vaV ggbH/aAfZlOtpBdGFbGBpgO5gXLNsS5xzLGLGa4zvtVVPzDe6QRbE7I0kLiUT0x+qcD5 xfheFbwGBu05V3HH++sX95/XmJaB9e7/+RAuGVVhJ9v2UcnMfLpU9sleCFZGCWlzcnyv qrFQ== X-Received: by 10.66.139.72 with SMTP id qw8mr28263505pab.130.1450709793276; Mon, 21 Dec 2015 06:56:33 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id f24sm35364231pff.68.2015.12.21.06.56.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 21 Dec 2015 06:56:32 -0800 (PST) From: Caesar Wang To: broonie@kernel.org, robh+dt@kernel.org Date: Mon, 21 Dec 2015 22:56:08 +0800 Message-Id: <1450709768-14898-1-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1450703894-32623-2-git-send-email-wxt@rock-chips.com> References: <1450703894-32623-2-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, Caesar Wang Subject: [alsa-devel] [PATCH v1 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 --- Changes in v1: - As Heiko comments, remove the not exist option properties. Documentation/devicetree/bindings/sound/rt5616.txt | 36 ++++++++++++++++++++++ 1 file changed, 36 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..2030a22 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/rt5616.txt @@ -0,0 +1,36 @@ +RT5616 audio CODEC + +This device supports I2C only. + +Required properties: + +- compatible : "realtek,rt5616". + +- reg : The I2C address of the device. + +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>; +};