From patchwork Sat Dec 17 07:52:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: simon.ho.cnxt@gmail.com X-Patchwork-Id: 9478911 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 95F00601C2 for ; Sat, 17 Dec 2016 08:12:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 78C88285E7 for ; Sat, 17 Dec 2016 08:12:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6B59D285EB; Sat, 17 Dec 2016 08:12:40 +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_ADSP_CUSTOM_MED, 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 8D3A2285E7 for ; Sat, 17 Dec 2016 08:12:38 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 832CD2666FB; Sat, 17 Dec 2016 09:12:37 +0100 (CET) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 76195266653; Sat, 17 Dec 2016 09:10:16 +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 10C96266649; Sat, 17 Dec 2016 08:52:46 +0100 (CET) Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by alsa0.perex.cz (Postfix) with ESMTP id 2FB25266569 for ; Sat, 17 Dec 2016 08:52:43 +0100 (CET) Received: by mail-pg0-f67.google.com with SMTP id a1so5118245pgf.3 for ; Fri, 16 Dec 2016 23:52:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=j/fETVlVnYnl2URFDAL62CUwZr4sJzD5PwDQJxswMto=; b=Q0WoazW1d8t+PSWaKHSqkp7/J1k6ioxsjFyLJpn14t+MUzIuROf5Lq7x9Skp6Mjowu o+PuFhV8zcK6+XoWNL66G1wdTQpRa0ByadDu82E4+nk7zg8CNkdOUJUzfuZLGdkSeVNS yUnTpVCMPiR/OOZvyjEeNBIXXxyq8USH2IJeslgmFf+sMQn9567k9kZo0FRErPyPYD9o YGWWkHecZPOC+7iaHMz+s0jfSVG+zZaJpq/KwRQ0jzWqThmPx3zVW9bHrdpJN/z6k5tN 3pnXpHULZtOxNlQnvyB0NQXRo4UFOfkApPkJaWwI5CGdwnbMYqGxyNCuqA+oI3yuG6EX CNWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=j/fETVlVnYnl2URFDAL62CUwZr4sJzD5PwDQJxswMto=; b=pdH6T5n0KpvttdlpmNirr7UHxKYje7510ZhWx/9rsDOY04261jmx7wtqybLoLvDDRm 7OPPSJ4K/y/BzxWNNEtHsyZKr7DRkI585S4RMDPnsYr/lNOAyPAm0DvYCMY5E0hbEgHk 4bgKOe72B03CQyThzTs9Omp0c92dv7fJdv8I58YZ1nmlvHoiRQULSRKMqDAUKX0OZlpi R/h0i10WIL4bODdOqKBtMHGmCPnaDg0xONdeWuNFeP0mdbqVGWCcT8H9pGb8Bo9brycF TtEbzK/K02nVbkgCo3wTiiI7X5OfsBBUScaZrDSB3RthO/mPpTiidK66KtuWr/UtiQc3 EoXw== X-Gm-Message-State: AKaTC00Aa7Dqp1jhVrzE8tM6s+RPluicskSlQpjGgLRJg6Uaww4jH/ro+AnVxktD8j2NGQ== X-Received: by 10.99.176.76 with SMTP id z12mr9437208pgo.158.1481961162744; Fri, 16 Dec 2016 23:52:42 -0800 (PST) Received: from localhost.localdomain (114-42-205-151.dynamic.hinet.net. [114.42.205.151]) by smtp.gmail.com with ESMTPSA id x2sm16600793pfx.65.2016.12.16.23.52.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 16 Dec 2016 23:52:41 -0800 (PST) From: simon.ho.cnxt@gmail.com X-Google-Original-From: simon.ho@conexant.com To: alsa-devel@alsa-project.org Date: Sat, 17 Dec 2016 15:52:32 +0800 Message-Id: <6cb94db3a39df9904e1f96438f0484456166024e.1481903061.git.simon.ho@conexant.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Cc: tiwai@suse.de, broonie@kernel.org, Simon Ho Subject: [alsa-devel] [PATCH 1/2] ASoC: cx2072x: Add DT bingings documentation for CX2072X 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 From: Simon Ho Initial version of CX2072X device tree bindings document. Signed-off-by: Simon Ho --- .../devicetree/bindings/sound/cx2072x.txt | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/cx2072x.txt diff --git a/Documentation/devicetree/bindings/sound/cx2072x.txt b/Documentation/devicetree/bindings/sound/cx2072x.txt new file mode 100644 index 0000000..05ddf7c --- /dev/null +++ b/Documentation/devicetree/bindings/sound/cx2072x.txt @@ -0,0 +1,36 @@ +Conexant CX20721/CX20723/CX7601 audio CODEC + +The devices support I2C only. + +Required properties: + + - compatible : One of "cnxt,cx20721", "cnxt,cx20723", "cnxt,cx7601". + + - reg : the I2C address of the device for I2C, it should be <0x33> + +Optional properties: + + - clocks : phandle and clock specifier for codec MCLK. + - clock-names : Clock name string for 'clocks' attribute, should be "mclk". + +CODEC output pins: + "PORTA" - Headphone + "PORTG" - Class-D output + "PORTE" - Line out + +CODEC output pins for Conexant DSP chip: + "AEC REF" - AEC reference signal + +CODEC input pins: + "PORTB" - Analog mic + "PORTC" - Digital mic + "PORTD" - Headset mic + +Example: + +codec: cx20721@33 { + compatible = "cnxt,cx20721"; + reg = <0x33>; + clocks = <&sco>; + clock-names = "mclk"; +};