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: 352017 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id BD88F140092 for ; Sat, 24 May 2014 05:17:17 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751603AbaEWTRR (ORCPT ); Fri, 23 May 2014 15:17:17 -0400 Received: from mail-bn1blp0183.outbound.protection.outlook.com ([207.46.163.183]:40650 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751103AbaEWTRQ (ORCPT ); Fri, 23 May 2014 15:17:16 -0400 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: , CC: , , , , , , , , Paul Handrigan , Paul Handrigan Subject: [PATCH 1/2] ASoC: cs4265: bindings: sound: Add bindings for CS4265 CODEC 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; Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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>; +};