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: 1249631 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 948903FDCA for ; Fri, 27 Jul 2012 13:20:59 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SukOE-0008Qp-4P; Fri, 27 Jul 2012 13:15:34 +0000 Received: from mail-wi0-f171.google.com ([209.85.212.171]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SujwD-000206-6U for linux-arm-kernel@lists.infradead.org; Fri, 27 Jul 2012 12:46:37 +0000 Received: by wibhq4 with SMTP id hq4so5519704wib.0 for ; Fri, 27 Jul 2012 05:46:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=+lIN7OfYqfv8hHFMI4x66a9m0ZIoe8IPrFEAoizp2UY=; b=UceHQTpZ5IoPkWkzOe59YiLObkPmxcwlvXloKAGaYjwMGjS2u0IQHyIUeUJ/AcRAH/ ciMadLkJFul8TM3hbk3+Tr9T9uzlu/OKfwj/Xa0uaFqxvJtPaOwLo/Y50+dpbZeQXsTY 3BT7nrdmmN62ABXTeL7dXGthv0Foe0THRof9A0O8KYR1JeZMFLCbgHSVzFJ1m/zUx7Oh ECb5yniQUR+p/gJ05Pjoo9tYSJumLIridFvodsRbMxo2RRLLX+YHda+Yq37xJeL1xJKr xmz9Bhz10JNPc0tHPKfo39GUNg/fsxruA4h8sen5vfk3qVhpg3udxHjHIqn1oCaXBUAY yETQ== 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 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: ALoCoQlNACyrQ3RMP0Ve6l6mSfKlkf/TPYvl5vNpvotZl9VsxTlkcM2kjt0zJ61TNtAor+tPtgbz X-Spam-Note: CRM114 invocation failed X-Spam-Note: SpamAssassin invocation failed Cc: ola.o.lilja@stericsson.com, alsa-devel@alsa-project.org, linus.walleij@stericsson.com, arnd@arndb.de, broonie@opensource.wolfsonmicro.com, olalilja@yahoo.se, STEricsson_nomadik_linux@list.st.com, Lee Jones , lrg@ti.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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";