From patchwork Tue Jul 31 13:39:01 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 10413 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 112E723E02 for ; Tue, 31 Jul 2012 13:39:37 +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 CEB2DA18880 for ; Tue, 31 Jul 2012 13:39:36 +0000 (UTC) Received: by mail-yw0-f52.google.com with SMTP id p61so5928853yhp.11 for ; Tue, 31 Jul 2012 06:39:36 -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=+lIN7OfYqfv8hHFMI4x66a9m0ZIoe8IPrFEAoizp2UY=; b=CoBTVAWU691CNMSpgZepupWbBlGydNrCLPsZAO+qPeyykZVaUsuhGvPdnpccR3VjnA twZUSzkRosNCcmkS6dUODV68WKGEKRCSa9qqc6FYAvwBjcauWM58x1cLMOJU8gnmB7Pd hH3RNOUYZD2smnjtX4np1XyDNcQX/+4U+FYdDLia0IsHp5TIapsxW3vKeF97PyZPHX3W FGG+SF/1MnkGiP09PXmkmNdFTNNMWvqu2en3dCEQeoBTyWEIi0OVBNzG+smIBza3Tm1g JHedYok0qbdPm72OX+x7H62vP0I5YleMlx0dT7/ed3pjG1Um0uyBAIekt3xtOgNUJcQy KxIg== Received: by 10.50.219.226 with SMTP id pr2mr1979514igc.51.1343741976334; Tue, 31 Jul 2012 06:39:36 -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 u8csp143516igz; Tue, 31 Jul 2012 06:39:35 -0700 (PDT) Received: by 10.180.99.196 with SMTP id es4mr2362176wib.18.1343741974797; Tue, 31 Jul 2012 06:39:34 -0700 (PDT) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id di4si302604wib.26.2012.07.31.06.39.34 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 Jul 2012 06:39:34 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by wgbds11 with SMTP id ds11so5606186wgb.31 for ; Tue, 31 Jul 2012 06:39:34 -0700 (PDT) Received: by 10.216.243.10 with SMTP id j10mr7619591wer.211.1343741974146; Tue, 31 Jul 2012 06:39:34 -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.32 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 Jul 2012 06:39:33 -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 07/19] ARM: ux500: Add AB8500 CODEC node to DB8500 Device Tree Date: Tue, 31 Jul 2012 14:39:01 +0100 Message-Id: <1343741953-17828-8-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: ALoCoQmO9Bu/ct+AsOJa3DG9jAOf1VXLmfD4gOdQewF3MkRNx3MXQMgJdeIHyOtYWvh2Larlshb0 Ensure correct probing and pass though important configuration options to the AB8500 CODEC driver when DT is enabled Signed-off-by: Lee Jones --- arch/arm/boot/dts/db8500.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/db8500.dtsi b/arch/arm/boot/dts/db8500.dtsi index 7279165..a3bee0a 100644 --- a/arch/arm/boot/dts/db8500.dtsi +++ b/arch/arm/boot/dts/db8500.dtsi @@ -370,6 +370,12 @@ compatible = "stericsson,ab8500-debug"; }; + codec: ab8500-codec { + compatible = "stericsson,ab8500-codec"; + + stericsson,earpeice-cmv = <950>; /* Units in mV. */ + }; + ab8500-regulators { compatible = "stericsson,ab8500-regulator";