From patchwork Fri Aug 24 14:01:53 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 10945 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 05E6B23E1B for ; Fri, 24 Aug 2012 14:02:47 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 2E51DA18958 for ; Fri, 24 Aug 2012 14:02:29 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id j25so1165259iaf.11 for ; Fri, 24 Aug 2012 07:02:46 -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=NzDfvMBXJ6SoUimdzlduGgjaSJ1W2fui4XZpQ9dK4zP05kflFPaezc6cC/jTIyJ1Vg NxL8V9XiKw2tybT+VMcj/OnLyRrtSyTO6r1Y6kBkrtSP4uo80L6MGFWOO4bbDVEYB6Ga 1cbRIYHI2lWBaYKVD+91mtwHA81t4uoTrucT/g+kddEWZeGm1iQ67YeKqPCnFplZ3nhD sLJ1Nrmm6nCFq5AkQSlOPk7aTcRJx0+Kp6mrepjdJluRvRrhz+IVU5sdgkiipo95hAc6 5WfiI18YC/BiA43uTXyN8HWnVy+gmNJnO0DA9XZDcRvqHFe7zUGWOtzZ4gAIbKIdz00G LJlg== Received: by 10.50.159.196 with SMTP id xe4mr2235325igb.43.1345816966359; Fri, 24 Aug 2012 07:02:46 -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 ex8csp321654igc; Fri, 24 Aug 2012 07:02:45 -0700 (PDT) Received: by 10.216.137.32 with SMTP id x32mr2624551wei.95.1345816964685; Fri, 24 Aug 2012 07:02:44 -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 i14si5968966wiw.43.2012.08.24.07.02.44 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Aug 2012 07:02:44 -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 u7so1229781wey.37 for ; Fri, 24 Aug 2012 07:02:44 -0700 (PDT) Received: by 10.180.94.164 with SMTP id dd4mr5879264wib.1.1345816964211; Fri, 24 Aug 2012 07:02:44 -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 eu4sm4556709wib.2.2012.08.24.07.02.42 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Aug 2012 07:02:43 -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, broonie@opensource.wolfsonmicro.com, ola.o.lilja@stericsson.com, roger.xr.nilsson@stericsson.com, alsa-devel@alsa-project.org, Lee Jones Subject: [PATCH 17/17] Documentation: Add the AB8500 CODEC device to the MFD AB8500 doc Date: Fri, 24 Aug 2012 15:01:53 +0100 Message-Id: <1345816913-4113-18-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1345816913-4113-1-git-send-email-lee.jones@linaro.org> References: <1345816913-4113-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQnB5xYWnhc6puEBH4geey9E7EuNmUI+LdA5QuCj8tVOpWXE9HnGNkLEjvJMI/HUpV1J5wrB 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";