From patchwork Thu Sep 20 12:12:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11554 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 B013D1B4E37 for ; Thu, 20 Sep 2012 12:13:35 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 17E92A1917C for ; Thu, 20 Sep 2012 12:13:34 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id j25so1561861iaf.11 for ; Thu, 20 Sep 2012 05:13:34 -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=bg03SnL9NGbb4JHxncMmwIsy8wQGC2SpGttBigTlqIs=; b=dkHIb4mx2ZijYa1qIeK3lWNnv8rVqoY72ZyHcOu97EJ13FBKVOnCOZREBDmoEqKgP5 qWBX57FPMTMG1ZdSCZYmZh2iM1bJE1w/RM98q5aKg8jxloWWmw7R23yhOvCBVA59sDsi ugWvVTXqV7cM2b8hFR7s/hP+alGFRxmfiFQdPcmRa888fh/8KRqQIL/Kwyq2C3iS3pPy d/XyB5AvOilMDDao3rUGKpl9VzGbdbZ0NJse+yydjJAsE4nS8WRMf3j3uQ5LczMqFB2g Zoq8bco0J2BAz3HYI7Ath6pSAYQZpCzwtWSBpsgK+M6GxISWedgf4mPgSHx9HjAMyuXX NzPg== Received: by 10.50.7.212 with SMTP id l20mr1438626iga.43.1348143214714; Thu, 20 Sep 2012 05:13:34 -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.184.232 with SMTP id ex8csp71621igc; Thu, 20 Sep 2012 05:13:33 -0700 (PDT) Received: by 10.180.96.3 with SMTP id do3mr4172208wib.5.1348143213443; Thu, 20 Sep 2012 05:13:33 -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 o3si41904294wiz.4.2012.09.20.05.13.33 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 05:13:33 -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 mail-wg0-f50.google.com with SMTP id 16so1635626wgi.31 for ; Thu, 20 Sep 2012 05:13:33 -0700 (PDT) Received: by 10.216.99.199 with SMTP id x49mr1086524wef.171.1348143212944; Thu, 20 Sep 2012 05:13:32 -0700 (PDT) Received: from localhost.localdomain (LPuteaux-156-14-44-212.w82-127.abo.wanadoo.fr. [82.127.83.212]) by mx.google.com with ESMTPS id w7sm32394460wiz.0.2012.09.20.05.13.31 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 05:13:32 -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, olof.johansson@gmail.com, Lee Jones Subject: [PATCH 17/32] ARM: ux500: Add AB8500 CODEC node to DB8500 Device Tree Date: Thu, 20 Sep 2012 14:12:35 +0200 Message-Id: <1348143170-2130-18-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1348143170-2130-1-git-send-email-lee.jones@linaro.org> References: <1348143170-2130-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQmkGFlpJ5ofUxNUyhTMveUaTxluF2yi8p/NNgKVrNVtZDzQcQLKhdjlWdojTtz51eUFQ91l Ensure correct probing and pass though important configuration options to the AB8500 CODEC driver when DT is enabled Acked-by: Linus Walleij Signed-off-by: Lee Jones --- arch/arm/boot/dts/dbx5x0.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/dbx5x0.dtsi b/arch/arm/boot/dts/dbx5x0.dtsi index cbef6ab..f055902 100644 --- a/arch/arm/boot/dts/dbx5x0.dtsi +++ b/arch/arm/boot/dts/dbx5x0.dtsi @@ -392,6 +392,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";