From patchwork Tue Jul 31 13:39:01 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 1260311 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 43ECCDF26F for ; Tue, 31 Jul 2012 14:17:52 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SwDBX-0005vC-Dk; Tue, 31 Jul 2012 14:12:32 +0000 Received: from mail-we0-f177.google.com ([74.125.82.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SwCfe-0007ue-I2 for linux-arm-kernel@lists.infradead.org; Tue, 31 Jul 2012 13:39:35 +0000 Received: by mail-we0-f177.google.com with SMTP id r3so4892946wey.36 for ; Tue, 31 Jul 2012 06:39:34 -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=WrsvIZIYEhCgygJ8pEyTFZcuLG1LeY6dtpj55UXsrCINy6WNmWBmsuxWLtPUNyf/Er OmtMrunEWXMErOLnw7svPiT3MgEIOHtcrpUDLSHsF3tHOwoVlMQrnpP5MeyMPxKDUXr8 JWpiuHhq3IqXaHai6lPujrxwTZTzHJ+XPimvP0L6SXfq6luB7XR+6kl00OVhg2KaRADn 0BnEpzvJOFW/xsfYYL+6lCTF05oJlBXqjCl0iSlrHZ0x8FcyeMLG6tGUVwkPFfJMaPox Lo8qB3lD09d9dAh3VLJ4+bANENTKIXYZy75coBXJK1ULaUeAUwdYvUfnA0WY9REt3Nnx VZSw== Received: by 10.216.243.10 with SMTP id j10mr7619591wer.211.1343741974146; Tue, 31 Jul 2012 06:39:34 -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 el6sm22252911wib.8.2012.07.31.06.39.32 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 Jul 2012 06:39:33 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, olalilja@yahoo.se, ola.o.lilja@stericsson.com, alsa-devel@alsa-project.org, lrg@ti.com, broonie@opensource.wolfsonmicro.com Subject: [PATCH 07/19] ARM: ux500: Add AB8500 CODEC node to DB8500 Device Tree Date: Tue, 31 Jul 2012 14:39:01 +0100 Message-Id: <1343741953-17828-8-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1343741953-17828-1-git-send-email-lee.jones@linaro.org> References: <1343741953-17828-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQmASqMAzOGWG8/qZ7DxGI8uHS2fAztCPAQc5Plt85XSiW6HfYzxkHTCUKWgnhmss250J/N7 X-Spam-Note: CRM114 invocation failed X-Spam-Note: SpamAssassin invocation failed Cc: STEricsson_nomadik_linux@list.st.com, Lee Jones , linus.walleij@stericsson.com, arnd@arndb.de 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";