From patchwork Wed Apr 5 09:07:13 2017 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: 9663407 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 74EF660353 for ; Wed, 5 Apr 2017 09:08:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 567D523B24 for ; Wed, 5 Apr 2017 09:08:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 492462859E; Wed, 5 Apr 2017 09:08:50 +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.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM, 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 8CD1C23B24 for ; Wed, 5 Apr 2017 09:08:49 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id D5DBF26700B; Wed, 5 Apr 2017 11:08:09 +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 18D93266FCB; Wed, 5 Apr 2017 11:07:28 +0200 (CEST) Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by alsa0.perex.cz (Postfix) with ESMTP id 4824D266FBF for ; Wed, 5 Apr 2017 11:07:21 +0200 (CEST) Received: by mail-pg0-f67.google.com with SMTP id g2so1238572pge.2 for ; Wed, 05 Apr 2017 02:07:21 -0700 (PDT) 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=AFORWwPkHTAPt6IRp04gKe6ea+8lZJzdSl2DrxxETQFjrkwFfssZXr6GFpbiCOFiPs 5JRkSKjkZGIB+ewvwHk8c5LZUmLXmnDYPDS2EhRE2c1ZJX5frG3gn5DHCqxLe5AY+d5k xEpr8BNcZb+cX+OfUQUHsdxrkCEG0RUofdU8GpcbVPIccvIP4QzdcrA867OJp8SwSS0P FJb9YhvceT/UfJZz4QTzvwq6rHeDIjv+vYApgcWaHjT12Rla7w3pfohalGj1PedBtdSv X+avMGq1PdxJlWz25DB9qu6YBZVnPG0UeOvzE2Mao5tbqb1fxDY58DbfQgkbv4VkBUZq uyOQ== 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=pdHybaPIHddb4ieef0zxJ9pXKWkMwzCmNA7P2MYUZ+c7BxJifXUIAc5uslSNRGYjQD jpqVf3rwFvqexEMjogtQjZfBcQhE7MVjjAgrnOosIH7/+ZI6Ce2rc3wM7FBQ5tfdYlZJ QorEtBmgiDih6xHJ7LT+WblsS65Du3uWiWNMVRDvRed8ts0l0PIQ7K2/248sdNvC+FOK d54EyvJDKwVWdEtY/vDNhA9oREiycYJ584iCBGz1UbCzOkoW2gw6nMEhIlxyslznX0QR KlEi91+N7q4O+XIw4qcZRuRzhbZ6/GYmYr6ShS4Q/aYpjTatKLkyXnnusC4Q+nhHcg+P U6dg== X-Gm-Message-State: AFeK/H2hQ1R0Q90ZuMhyZ1u8CNJb/q+m1jHtO7zPdjXJEl39mABPLyp1uBqzpzA0YrR76Q== X-Received: by 10.98.113.74 with SMTP id m71mr28100027pfc.231.1491383240661; Wed, 05 Apr 2017 02:07:20 -0700 (PDT) Received: from simon-HP-Ubuntu.bbnet.ad (61-222-40-226.HINET-IP.hinet.net. [61.222.40.226]) by smtp.gmail.com with ESMTPSA id u69sm36212633pfg.121.2017.04.05.02.07.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 05 Apr 2017 02:07:20 -0700 (PDT) From: simon.ho.cnxt@gmail.com X-Google-Original-From: simon.ho@conexant.com To: alsa-devel@alsa-project.org Date: Wed, 5 Apr 2017 17:07:13 +0800 Message-Id: <0f800bdd9d66af0a975d903018805aef5330c758.1491382907.git.simon.ho@conexant.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Cc: pierre-louis.bossart@linux.intel.com, Simon Ho , tiwai@suse.com, lgirdwood@gmail.com, broonie@kernel.org Subject: [alsa-devel] [PATCH v2 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"; +};