From patchwork Fri Jul 27 12:45:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 10321 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 B878A23E23 for ; Fri, 27 Jul 2012 12:46:22 +0000 (UTC) Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com [209.85.213.180]) by fiordland.canonical.com (Postfix) with ESMTP id 87376A19130 for ; Fri, 27 Jul 2012 12:46:22 +0000 (UTC) Received: by mail-yx0-f180.google.com with SMTP id q6so3100971yen.11 for ; Fri, 27 Jul 2012 05:46:22 -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=bgSVLRVr6iDoIj+Yl53aV14wRfFFAQG/RAB4QkvdBpZ2jVJTeDW6oSN7nyk16Fvgcp TB2YxtrDVf0g8Dbx/5UYTYvQ8XQPWtc+SkiYDRpfi8uzC2ozMkxTr3jEa5Y4fRJA65PS /fxiZdt5g0FVlXfuJXKStbz2LOKUeCDlE57nPv3UVMq/gbmNwLkFSx9Qk1nW5gcHdn22 SfDvxsBCwvoA24E4Oc9R6uHVE5omKuOGl/2CjwtfMLWOPw5/5fBZB3u36s+SAPai+pCm gtgi2T60HgItDoAF1I6EgUW0t4ISejLU4cnpTJuy6BUwwC2/HDVYGUnGU38r6E63n9RX +/qw== Received: by 10.50.87.201 with SMTP id ba9mr4440567igb.66.1343393182201; Fri, 27 Jul 2012 05:46:22 -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.43.93.3 with SMTP id bs3csp29851icc; Fri, 27 Jul 2012 05:46:21 -0700 (PDT) Received: by 10.216.119.6 with SMTP id m6mr1132351weh.215.1343393180798; Fri, 27 Jul 2012 05:46:20 -0700 (PDT) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx.google.com with ESMTPS id n21si2630731wee.115.2012.07.27.05.46.20 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 Jul 2012 05:46:20 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.172; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.172 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-wi0-f172.google.com with SMTP id hm11so5802099wib.13 for ; Fri, 27 Jul 2012 05:46:20 -0700 (PDT) Received: by 10.217.2.80 with SMTP id o58mr1211401wes.38.1343393180687; Fri, 27 Jul 2012 05:46:20 -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 dc3sm12342025wib.7.2012.07.27.05.46.19 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 Jul 2012 05:46:20 -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, olalilja@yahoo.se, ola.o.lilja@stericsson.com, alsa-devel@alsa-project.org, lrg@ti.com, broonie@opensource.wolfsonmicro.com, Lee Jones Subject: [PATCH 08/18] ARM: ux500: Add AB8500 CODEC node to DB8500 Device Tree Date: Fri, 27 Jul 2012 13:45:52 +0100 Message-Id: <1343393162-11938-9-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1343393162-11938-1-git-send-email-lee.jones@linaro.org> References: <1343393162-11938-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQkdZr48C9Jq2Bwn1nFGXhJUPXUYi+NA7VGMo94V5SaLFy+xfR45E3+G/35CFdzMfn/trgUO 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";