From patchwork Fri May 23 19:16:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Handrigan X-Patchwork-Id: 4235461 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 721BE9F1F4 for ; Fri, 23 May 2014 19:23:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9E41E203DA for ; Fri, 23 May 2014 19:23:13 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 2FC14203B8 for ; Fri, 23 May 2014 19:23:12 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 453BE26573E; Fri, 23 May 2014 21:23:11 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 2735026548F; Fri, 23 May 2014 21:21:36 +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 733AB2654BC; Fri, 23 May 2014 21:21:32 +0200 (CEST) Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2lp0207.outbound.protection.outlook.com [207.46.163.207]) by alsa0.perex.cz (Postfix) with ESMTP id 16CA92657B1 for ; Fri, 23 May 2014 21:17:27 +0200 (CEST) Received: from BL2FFO11FD012.protection.gbl (10.173.160.32) by BL2FFO11HUB056.protection.gbl (10.173.161.156) with Microsoft SMTP Server (TLS) id 15.0.949.9; Fri, 23 May 2014 19:17:13 +0000 Received: from mail2.cirrus.com (141.131.128.20) by BL2FFO11FD012.mail.protection.outlook.com (10.173.161.18) with Microsoft SMTP Server (TLS) id 15.0.949.9 via Frontend Transport; Fri, 23 May 2014 19:17:13 +0000 Received: from ex3.ad.cirrus.com ([141.131.36.34]) by mail2.cirrus.com (8.13.8/8.12.11) with ESMTP id s4NJEYl2019177; Fri, 23 May 2014 14:14:34 -0500 Received: from localhost (141.131.108.102) by EX3.ad.cirrus.com (141.131.36.39) with Microsoft SMTP Server id 14.3.174.1; Fri, 23 May 2014 14:17:11 -0500 From: Paul Handrigan To: , Date: Fri, 23 May 2014 14:16:53 -0500 Message-ID: <1400872614-21666-1-git-send-email-Paul.Handrigan@cirrus.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:141.131.128.20; CTRY:US; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(6009001)(189002)(199002)(86362001)(99396002)(575784001)(48376002)(92566001)(92726001)(76482001)(50466002)(76506004)(77156001)(47776003)(64706001)(20776003)(77982001)(102836001)(36756003)(57986005)(93916002)(21056001)(79102001)(46102001)(81542001)(50226001)(80022001)(88136002)(4396001)(31966008)(74502001)(87936001)(62966002)(87286001)(85852003)(74662001)(81342001)(83072002)(50986999)(89996001)(19580395003)(44976005)(83322001)(6806004)(19580405001); DIR:OUT; SFP:; SCL:1; SRVR:BL2FFO11HUB056; H:mail2.cirrus.com; FPR:; MLV:sfv; PTR:mail2.cirrus.com; MX:1; A:1; LANG:; X-OriginatorOrg: cirrus4.onmicrosoft.com X-Forefront-PRVS: 0220D4B98D Received-SPF: SoftFail (: domain of transitioning cirrus.com discourages use of 141.131.128.20 as permitted sender) Authentication-Results: spf=softfail (sender IP is 141.131.128.20) smtp.mailfrom=Paul.Handrigan@cirrus.com; Cc: mark.rutland@arm.com, brian.austin@cirrus.com, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, lgirdwood@gmail.com, robh+dt@kernel.org, broonie@kernel.org, Paul Handrigan , galak@codeaurora.org Subject: [alsa-devel] [PATCH 1/2] ASoC: cs4265: bindings: sound: Add bindings for CS4265 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds binding documentation for the Cirrus Logic CS4265 CODEC. Signed-off-by: Paul Handrigan --- Documentation/devicetree/bindings/sound/cs4265.txt | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/cs4265.txt diff --git a/Documentation/devicetree/bindings/sound/cs4265.txt b/Documentation/devicetree/bindings/sound/cs4265.txt new file mode 100644 index 0000000..03d0dde --- /dev/null +++ b/Documentation/devicetree/bindings/sound/cs4265.txt @@ -0,0 +1,29 @@ +CS4265 audio CODEC + +This device supports I2C only. + +Required properties: + + - compatible : "cirrus,cs4265" + + - reg : the I2C address of the device for I2C. The I2C address depends on + the state of the AD0 pin. If AD0 is high, the i2c address is 0x4f. + If it is low, the i2c address is 0x4e. + +Optional properties: + + - reset-gpio : a GPIO spec for the reset pin. If specified, it will be + deasserted before communication to the codec starts. + +Examples: + +codec_ad0_high: cs4265@4f { /* AD0 Pin is high */ + compatible = "cirrus,cs4265"; + reg = <0x4f>; +}; + + +codec_ad0_low: cs4265@4e { /* AD0 Pin is low */ + compatible = "cirrus,cs4265"; + reg = <0x4e>; +};