From patchwork Thu Aug 9 15:47:38 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 1301931 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id BD0E23FD8C for ; Thu, 9 Aug 2012 15:56:02 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SzV1K-0003rJ-91; Thu, 09 Aug 2012 15:51:35 +0000 Received: from mail-we0-f177.google.com ([74.125.82.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SzUyL-0002FG-GX for linux-arm-kernel@lists.infradead.org; Thu, 09 Aug 2012 15:48:31 +0000 Received: by weyr3 with SMTP id r3so419734wey.36 for ; Thu, 09 Aug 2012 08:48:28 -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=N+qzx0SOH8d9iWbkO04sdNgI1wOIUc8nhtY2q9BG2Kc=; b=oWyUXXkkaWSAbCDJvSpLg3+Eg+ISapF09CwUjq4KlhpNeLxirBlenTLPZ8vaZweZKF aQ4Wzxw5vEwiEandAx3u2kaVRSN3uT25gBM0FB2739uKGhbPVRLkfTlGxT/fK7F6tHfU isneByMEhCeek4ayPM/lGDLfHicjFtb73RQRi7Cw+Xi9QeZ3MECxxodiJF1BtzSipRry wHijYZycB58HMiArG4ziH7zpMRq9YS+KM+dQ1C6zHuXfigb/kfmZyVXpcB++PXZXdi+/ Yk4uwKTfO21uoGug3xHjoFM06NsQFobv6w/MqMVwcurPVC78s7OGPzM5NSoD0jihfcuI cdtQ== Received: by 10.180.99.196 with SMTP id es4mr3903129wib.18.1344527308407; Thu, 09 Aug 2012 08:48:28 -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 q4sm2278954wix.9.2012.08.09.08.48.27 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 09 Aug 2012 08:48:27 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 12/22] ARM: ux500: Add AB8500 CODEC node to DB8500 Device Tree Date: Thu, 9 Aug 2012 16:47:38 +0100 Message-Id: <1344527268-5964-13-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1344527268-5964-1-git-send-email-lee.jones@linaro.org> References: <1344527268-5964-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQmVcFKnGlq3Dw4yK6szlcNWk9PC0Fn4RLC9gibOfmoMqWfGLF2lf2okHzykudEdNdliFRen 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.177 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: STEricsson_nomadik_linux@list.st.com, broonie@opensource.wolfsonmicro.com, Lee Jones , linus.walleij@stericsson.com, arnd@arndb.de 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 Acked-by: Linus Walleij --- 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 33fafe3..83ed692 100644 --- a/arch/arm/boot/dts/db8500.dtsi +++ b/arch/arm/boot/dts/db8500.dtsi @@ -389,6 +389,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";