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: 10255 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 48CFA23E56 for ; Thu, 26 Jul 2012 10:29:27 +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 E7E74A18866 for ; Thu, 26 Jul 2012 10:29:26 +0000 (UTC) Received: by yhpp61 with SMTP id p61so1778500yhp.11 for ; Thu, 26 Jul 2012 03:29:26 -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=VFrV5mXQVb9O4RSBRRVl8shQ8L14NH7RQUhJ7p+3dMoFVjeICsDhv7zDWMgLXyQfCT PjAw3VYJf/jvyn+gomDupRqlkBW9rCGypKrhSFNVWyIAHWH9BgzouzbwZR2J/p4XFTiv dnQLpONOWjdASEF4Y0SZreNoeKZ2HV54EWSDbecMu1PZQKVnAAcDA5qq44PVnYakU8hA PQNWp38ngJBd5MvHnfddpf8BTcxY63ej/shVZ66zgl6Z6N2wvcHgNDo/8NmNhOLf3TsN n/5ymYG7r/2fdfPi8aQwcKNUpLRf1u0EglBIWd5KmmlKoqRHWnzqqmAv0M2H9R9jDBUD 0zIg== Received: by 10.50.209.73 with SMTP id mk9mr1167767igc.66.1343298566174; Thu, 26 Jul 2012 03:29:26 -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 bs3csp133365icc; Thu, 26 Jul 2012 03:29:25 -0700 (PDT) Received: by 10.180.98.69 with SMTP id eg5mr12343208wib.3.1343298565058; Thu, 26 Jul 2012 03:29:25 -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 y20si27953694wey.2.2012.07.26.03.29.25 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 Jul 2012 03:29:25 -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 hm11so4884405wib.13 for ; Thu, 26 Jul 2012 03:29:25 -0700 (PDT) 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 Cc: STEricsson_nomadik_linux@list.st.com, linus.walleij@stericsson.com, arnd@arndb.de, broonie@opensource.wolfsonmicro.com, sameo@linux.intel.com, olalilja@yahoo.se, ola.o.lilja@stericsson.com, alsa-devel@alsa-project.org, lrg@ti.com, Lee Jones 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: ALoCoQk+8FbzLryOgTOuRh6pTjLp7u7AKHztIrAzd/ulvUzjVP2gvXWndEu5OVWzXaMWHmFBg/js 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";