From patchwork Mon Jun 23 22:29:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Handrigan X-Patchwork-Id: 4408981 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8C9B9BEEAA for ; Tue, 24 Jun 2014 14:17:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C3228202E9 for ; Tue, 24 Jun 2014 14:17:56 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 6CC6F201EF for ; Tue, 24 Jun 2014 14:17:55 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 035C726553B; Tue, 24 Jun 2014 16:17:53 +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 3FA11265699; Tue, 24 Jun 2014 13:20:34 +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 19B29265091; Tue, 24 Jun 2014 13:20:32 +0200 (CEST) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0140.outbound.protection.outlook.com [207.46.163.140]) by alsa0.perex.cz (Postfix) with ESMTP id 4BD162656D8 for ; Tue, 24 Jun 2014 00:34:34 +0200 (CEST) Received: from BN1BFFO11FD055.protection.gbl (10.58.144.33) by BN1BFFO11HUB026.protection.gbl (10.58.144.173) with Microsoft SMTP Server (TLS) id 15.0.969.12; Mon, 23 Jun 2014 22:34:29 +0000 Received: from mail1.cirrus.com (141.131.3.20) by BN1BFFO11FD055.mail.protection.outlook.com (10.58.145.10) with Microsoft SMTP Server (TLS) id 15.0.969.12 via Frontend Transport; Mon, 23 Jun 2014 22:34:28 +0000 Received: from ex3.ad.cirrus.com ([141.131.36.34]) by mail1.cirrus.com (8.13.8/8.12.11) with ESMTP id s5NMYSpp030538; Mon, 23 Jun 2014 17:34:28 -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; Mon, 23 Jun 2014 17:34:25 -0500 From: Paul Handrigan To: , Date: Mon, 23 Jun 2014 17:29:52 -0500 Message-ID: <1403562593-31952-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.3.20; CTRY:US; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(6009001)(199002)(189002)(99396002)(4396001)(50226001)(85852003)(77156001)(88136002)(83072002)(50986999)(89996001)(76482001)(86362001)(92566001)(92726001)(93916002)(64706001)(21056001)(50466002)(77982001)(80022001)(79102001)(20776003)(47776003)(87936001)(19580395003)(44976005)(36756003)(19580405001)(83322001)(87286001)(95666004)(46102001)(6806004)(85306003)(106466001)(105596002)(102836001)(48376002)(104166001)(31966008)(57986006)(62966002)(81542001)(74502001)(74662001)(77096002)(76506005)(81342001); DIR:OUT; SFP:; SCL:1; SRVR:BN1BFFO11HUB026; H:mail1.cirrus.com; FPR:; MLV:sfv; PTR:mail1.cirrus.com; A:1; MX:1; LANG:en; X-OriginatorOrg: cirrus4.onmicrosoft.com X-Microsoft-Antispam: BCL:0;PCL:0;RULEID: X-Forefront-PRVS: 025100C802 Received-SPF: SoftFail (: domain of transitioning cirrus.com discourages use of 141.131.3.20 as permitted sender) Authentication-Results: spf=softfail (sender IP is 141.131.3.20) smtp.mailfrom=Paul.Handrigan@cirrus.com; Cc: mark.rutland@arm.com, brian.austin@cirrus.com, ijc+devicetree@hellion.org.uk, lgirdwood@gmail.com, robh+dt@kernel.org, broonie@kernel.org, Paul Handrigan , galak@codeaurora.org, pawl.moll@arm.com Subject: [alsa-devel] [PATCH v2 1/2] ASoC: cs4265: bindings: sound: Add binding 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 I2C CODEC. Changes for v2: * Change DT reset pin name to "reset-gpios" 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..380fff8 --- /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-gpios : 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>; +};