From patchwork Fri Aug 24 14:01:45 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 10937 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 76D9E23E1B for ; Fri, 24 Aug 2012 14:02:30 +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 95A94A1893C for ; Fri, 24 Aug 2012 14:02:12 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id j25so1165259iaf.11 for ; Fri, 24 Aug 2012 07:02:29 -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=MzdDXXgdaGICcnayaugnYrdTAAKTgthuJbKaod3PDuI=; b=m7/DVS2aK2xDuFmDwot8j2m8+nme7rwdn22fs9PgNlUfy5/xNF8DBafnjv5I42MibQ WbOonMLcLXL+iazgGhO9199fEIainVnp6UqAcPLa5b/npY9YqBnbXNquo+pQPJdxRaN4 IlrD/0AAYtaNpOWxhoUWqnOxA3I1badTRr3Y0zhIX4q9RsxvZeN6kePjMAZKf1Szg8x0 +dUPGa9yZxvb6Tr13xyZYBrygrMOO1CiGHUncilQujQeMFjpZj6wTDFRL3WlKKKi0m7b P3WpMJblgjKcVSbxS8H3b7IQ+mEPwZvbGkhBxx/eCY8/FbfdSlZ799R+Fdp2zhPuxOdD GrSA== Received: by 10.50.182.161 with SMTP id ef1mr2340842igc.0.1345816949876; Fri, 24 Aug 2012 07:02:29 -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 ex8csp321619igc; Fri, 24 Aug 2012 07:02:29 -0700 (PDT) Received: by 10.180.74.33 with SMTP id q1mr5856644wiv.4.1345816948221; Fri, 24 Aug 2012 07:02: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 u5si14402435weo.97.2012.08.24.07.02.27 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Aug 2012 07:02: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 u7so1229592wey.37 for ; Fri, 24 Aug 2012 07:02:27 -0700 (PDT) Received: by 10.180.86.106 with SMTP id o10mr5760483wiz.22.1345816947610; Fri, 24 Aug 2012 07:02:27 -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 eu4sm4556709wib.2.2012.08.24.07.02.25 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Aug 2012 07:02:26 -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, ola.o.lilja@stericsson.com, roger.xr.nilsson@stericsson.com, alsa-devel@alsa-project.org, Lee Jones Subject: [PATCH 09/17] ARM: ux500: Add AB8500 CODEC node to DB8500 Device Tree Date: Fri, 24 Aug 2012 15:01:45 +0100 Message-Id: <1345816913-4113-10-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1345816913-4113-1-git-send-email-lee.jones@linaro.org> References: <1345816913-4113-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQnJngcMDvrrHLBf2mkhNEQKWpR9uy7YmjEAcLKpEK9eFZVyEv3/TElApqwEn/Pi4JtJbjPQ 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/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 3180a9c..7f8c9db 100644 --- a/arch/arm/boot/dts/dbx5x0.dtsi +++ b/arch/arm/boot/dts/dbx5x0.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";