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: 10632 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 26A7C23ECF for ; Thu, 9 Aug 2012 15:48:31 +0000 (UTC) Received: from mail-gh0-f180.google.com (mail-gh0-f180.google.com [209.85.160.180]) by fiordland.canonical.com (Postfix) with ESMTP id E5842A18A4B for ; Thu, 9 Aug 2012 15:48:30 +0000 (UTC) Received: by mail-gh0-f180.google.com with SMTP id g10so584535ghb.11 for ; Thu, 09 Aug 2012 08:48:30 -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=N+qzx0SOH8d9iWbkO04sdNgI1wOIUc8nhtY2q9BG2Kc=; b=TD11JaHVVmYP/xxdou/cZqRp8c+4nhyhtvQrblOlHTTxsfjMypWKkJAgy6jxl5FU+z nJ6NG3gRDXpmgpS5kRviePJHn6Eawcd00ZNNrt/bd7v8mDcM7+FJFbIACr0c0JvrjeAc YdQpupoGtcbrDIkeWnOaMYwI+MWSzwuQ/yXDZeV+fPHDSM1GHYoVHRXA5CpacCIrm5q6 lM8LvHYkUj9fJdZncJrXD5XTUWR4KRCE2vtHtjet1+48TBUXS6FApIhc0aCD+zMvJF+h bRIQmdhI8FK0EhgOpJGBTQUPAH9S6igy4Mh7g1j/vQhCP6JG73QPwy+/rNnKRLDcEvlT YtnA== Received: by 10.50.154.132 with SMTP id vo4mr1578110igb.31.1344527310174; Thu, 09 Aug 2012 08:48:30 -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.200 with SMTP id ew8csp15259igc; Thu, 9 Aug 2012 08:48:29 -0700 (PDT) Received: by 10.216.138.220 with SMTP id a70mr11992718wej.170.1344527308894; Thu, 09 Aug 2012 08:48:28 -0700 (PDT) Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id u6si1997427wee.28.2012.08.09.08.48.28 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 09 Aug 2012 08:48:28 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.178 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-we0-f178.google.com with SMTP id u7so481065wey.37 for ; Thu, 09 Aug 2012 08:48:28 -0700 (PDT) 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 Cc: STEricsson_nomadik_linux@list.st.com, linus.walleij@stericsson.com, arnd@arndb.de, broonie@opensource.wolfsonmicro.com, Lee Jones 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: ALoCoQn9PWmK5hjSKtw7LsavlWGE0glZAqcwthP/LHSuHLyHmtpr4SLOV9E9iy84Ev9yT0qZ7QTX 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 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";