From patchwork Thu Sep 20 12:12:22 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11541 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 97FD91B4E37 for ; Thu, 20 Sep 2012 12:13:12 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id C2FD13D098F1 for ; Thu, 20 Sep 2012 12:13:11 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so2722108iej.11 for ; Thu, 20 Sep 2012 05:13:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=WxiiqcIRJK9FjXZURxMN0k4vqelWc8pUQpPg3btpzqI=; b=c60LKPTC6iDbBkQXCX5RAHEm9YbA+CvoA4GwZFAjyQLUccq1ib/zzQkhjCCDngaS+z 9iRhqkDv2IMJ7pwovjKcy5NZcjADyMqWSH4ypv3CxXogikQcA0JApCb3QJcc7ONl1+Lm zjaC9h2lkZuWAKbXxptHx+iTrz5uV7FbU54zSXeGRwvfOsXosJt+fDuMLuRJ0/w2VDnk 89rdhnUN0tRUcNPu20Up4HXKCwg93aiOuT2HPRc6vZj3ZaAf8Cz5gANWXXJ2i3PljnD9 eMnxw+GdFdefX2ZK6hGE0RJ0x8C2r9alWWRRjT/IYBJ8LNMe0HWonmMgjHUPZJN36ELi KhSQ== Received: by 10.50.195.134 with SMTP id ie6mr1474614igc.28.1348143191496; Thu, 20 Sep 2012 05:13:11 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp71580igc; Thu, 20 Sep 2012 05:13:10 -0700 (PDT) Received: by 10.180.14.8 with SMTP id l8mr4162502wic.6.1348143189167; Thu, 20 Sep 2012 05:13:09 -0700 (PDT) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx.google.com with ESMTPS id h52si7314940wep.93.2012.09.20.05.13.08 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 05:13:09 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-wi0-f178.google.com with SMTP id hr14so429497wib.13 for ; Thu, 20 Sep 2012 05:13:08 -0700 (PDT) Received: by 10.216.210.16 with SMTP id t16mr1007619weo.175.1348143188692; Thu, 20 Sep 2012 05:13:08 -0700 (PDT) Received: from localhost.localdomain (LPuteaux-156-14-44-212.w82-127.abo.wanadoo.fr. [82.127.83.212]) by mx.google.com with ESMTPS id w7sm32394460wiz.0.2012.09.20.05.13.06 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 05:13:07 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: STEricsson_nomadik_linux@list.st.com, linus.walleij@stericsson.com, arnd@arndb.de, olof.johansson@gmail.com, Lee Jones , alsa-devel@alsa-project.org Subject: [PATCH 04/32] Documentation: Add the AB8500 CODEC device to the MFD AB8500 doc Date: Thu, 20 Sep 2012 14:12:22 +0200 Message-Id: <1348143170-2130-5-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1348143170-2130-1-git-send-email-lee.jones@linaro.org> References: <1348143170-2130-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQmWvi4C5o2tmn+mASFxbu8j3a0LdV3h9j7kGoXAOWCs3upuOa3C66YvfWH1gWhLzKvXB5CA Here we document the AB8500 Audio CODEC in the existing MFD AB8500 document. CC: alsa-devel@alsa-project.org Acked-by: Linus Walleij Signed-off-by: Lee Jones --- Documentation/devicetree/bindings/mfd/ab8500.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/ab8500.txt b/Documentation/devicetree/bindings/mfd/ab8500.txt index 69e757a..ce83c8d 100644 --- a/Documentation/devicetree/bindings/mfd/ab8500.txt +++ b/Documentation/devicetree/bindings/mfd/ab8500.txt @@ -23,6 +23,7 @@ Device IRQ Names Supply Names Description ab8500-bm : : : Battery Manager ab8500-btemp : : : Battery Temperature ab8500-charger : : : Battery Charger +ab8500-codec : : : Audio Codec ab8500-fg : : : Fuel Gauge ab8500-gpadc : HW_CONV_END : vddadc : Analogue to Digital Converter SW_CONV_END : : @@ -52,6 +53,14 @@ Optional child device properties: supplied in the interrupts property - -supply : contains a phandle to the regulator supply node in Device Tree +Non-standard child device properties: + - Audio CODEC: + - stericsson,amic[1|2]-type-single-ended : Single-ended Analoge Mic (default: differential) + - stericsson,amic1a-bias-vamic2 : Analoge Mic wishes to use a non-standard Vamic + - stericsson,amic1b-bias-vamic2 : Analoge Mic wishes to use a non-standard Vamic + - stericsson,amic2-bias-vamic1 : Analoge Mic wishes to use a non-standard Vamic + - stericsson,earpeice-cmv : Earpeice voltage (only: 950 | 1100 | 1270 | 1580) + ab8500@5 { compatible = "stericsson,ab8500"; reg = <5>; /* mailbox 5 is i2c */ @@ -110,6 +119,12 @@ ab8500@5 { compatible = "stericsson,ab8500-pwm"; }; + codec: ab8500-codec { + compatible = "stericsson,ab8500-codec"; + + stericsson,earpeice-cmv = <950>; /* Units in mV. */ + }; + ab8500-regulators { compatible = "stericsson,ab8500-regulator";