From patchwork Thu Jul 26 10:28:41 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 1241531 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 2CF3DDFFBF for ; Thu, 26 Jul 2012 10:54:11 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SuLcx-0003jp-W3; Thu, 26 Jul 2012 10:49:08 +0000 Received: from mail-wg0-f41.google.com ([74.125.82.41]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SuLKe-0008H1-9z for linux-arm-kernel@lists.infradead.org; Thu, 26 Jul 2012 10:30:20 +0000 Received: by wgbds1 with SMTP id ds1so5452510wgb.0 for ; Thu, 26 Jul 2012 03:29:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=+lIN7OfYqfv8hHFMI4x66a9m0ZIoe8IPrFEAoizp2UY=; b=GefL8RPmq80T8cpkfmrJtxFR2bc3GVZ7Wmt4n653zQeBwVCA7COWlqTpyQ+N0WBSbN xn57dzIWihBVX3ST/MTMCqqVIzzggCMorMsbRM2I3CBsRjdIzmVCksbf66R53KNouN8A SkUdzzRrT8DmRzVgUfVzBz0NgsdCygnRA1wfIoxC4O+aWz8QBa3SJ+6vuZuuwkDajYvC 1hQwqkqfqm0XOVZYo8OnBwi/h/H0XWI+Bj0L5kz5CJPb5pOeQ6kA0IEkFnb9xZz5OF5E o0y+NXduHgUqopC13ohksndnyAq7ZSElrHxN/y0FShXFwLXw+Cpmz6dJwPasXRqpkl0W AJIg== Received: by 10.180.89.235 with SMTP id br11mr2229285wib.3.1343298564955; Thu, 26 Jul 2012 03:29:24 -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 fb20sm11559455wid.1.2012.07.26.03.29.23 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 Jul 2012 03:29:24 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 08/21] ARM: ux500: Add AB8500 CODEC node to DB8500 Device Tree Date: Thu, 26 Jul 2012 11:28:41 +0100 Message-Id: <1343298534-13611-9-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1343298534-13611-1-git-send-email-lee.jones@linaro.org> References: <1343298534-13611-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQmF7u1xU6xsu2rOgsLIjPVisjZTtYkDikPgtuNnF7ukgDO3bcBNVpR1g0D3llDRS147JD6H X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.41 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: ola.o.lilja@stericsson.com, alsa-devel@alsa-project.org, linus.walleij@stericsson.com, arnd@arndb.de, broonie@opensource.wolfsonmicro.com, olalilja@yahoo.se, STEricsson_nomadik_linux@list.st.com, Lee Jones , lrg@ti.com, sameo@linux.intel.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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";