From patchwork Tue Jul 31 13:39:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 10424 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 7CC6823E02 for ; Tue, 31 Jul 2012 13:39:56 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id 4C5ECA18880 for ; Tue, 31 Jul 2012 13:39:56 +0000 (UTC) Received: by mail-yw0-f52.google.com with SMTP id p61so5928853yhp.11 for ; Tue, 31 Jul 2012 06:39:56 -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=11FHIfhASfkrWZu/x51HiVGH8/k3R4/7vLkB0zKNz9M=; b=k6zbxOAgWrQihItvA7bwjiic7ZPj11roxot0eexH29ROt9SEuKdE2l7ZcoRCtgWdF2 tiBwl2yjDdeSOV1AEUMbouFWIX0Nrre4n4xWyvD3nRF9btgMUbdKg8dKPJSuuGc4fBGy olvqdzVr6GgkHwqTGy+DozhPL+IFgebH4UBgWyBBl8s4pNCWZyV0TpT3apxwYr84FrBa veSmf641FxJDq7hS6njdKUdzY/BKa570vYkBFPzfbYFSzOYilnEzsFRPRX61bhYvwwQG 59dXMB6UOcu9JlYlOn/LXSNld49bD7G7GfDU+L6gSf6dGsJxZ1X6r7BlrHIHxLD3JcNq RuFA== Received: by 10.50.46.132 with SMTP id v4mr2012314igm.25.1343741995831; Tue, 31 Jul 2012 06:39:55 -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.87.40 with SMTP id u8csp143546igz; Tue, 31 Jul 2012 06:39:55 -0700 (PDT) Received: by 10.180.20.11 with SMTP id j11mr737909wie.12.1343741994761; Tue, 31 Jul 2012 06:39:54 -0700 (PDT) Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id s2si310780wiz.17.2012.07.31.06.39.54 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 Jul 2012 06:39:54 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.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-we0-f178.google.com with SMTP id u7so5232514wey.37 for ; Tue, 31 Jul 2012 06:39:54 -0700 (PDT) Received: by 10.216.7.70 with SMTP id 48mr7169101weo.40.1343741994118; Tue, 31 Jul 2012 06:39:54 -0700 (PDT) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id el6sm22252911wib.8.2012.07.31.06.39.52 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 Jul 2012 06:39:53 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, olalilja@yahoo.se, ola.o.lilja@stericsson.com, alsa-devel@alsa-project.org, lrg@ti.com, broonie@opensource.wolfsonmicro.com Cc: STEricsson_nomadik_linux@list.st.com, linus.walleij@stericsson.com, arnd@arndb.de, Lee Jones Subject: [PATCH 19/19] Documentation: Add the AB8500 CODEC device to the MFD AB8500 doc Date: Tue, 31 Jul 2012 14:39:13 +0100 Message-Id: <1343741953-17828-20-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1343741953-17828-1-git-send-email-lee.jones@linaro.org> References: <1343741953-17828-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQlRLs50d/dCs+Cy+rXrLMZKRemyc4ENgeluJKHKxqrYSzgJEE2/3pcWxlWF4oRofcexGne4 Here we document the AB8500 Audio CODEC in the existing MFD AB8500 document. 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";