From patchwork Wed Jun 12 08:23:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Padmavathi Venna X-Patchwork-Id: 2708571 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9CC46C1459 for ; Wed, 12 Jun 2013 08:21:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EC3F1201DB for ; Wed, 12 Jun 2013 08:21:34 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C58D0201D7 for ; Wed, 12 Jun 2013 08:21:33 +0000 (UTC) Received: from merlin.infradead.org ([205.233.59.134]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UmgIZ-0006x2-SF; Wed, 12 Jun 2013 08:20:56 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UmgIR-0007jx-GR; Wed, 12 Jun 2013 08:20:47 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UmgIN-0007hq-3u for linux-arm-kernel@lists.infradead.org; Wed, 12 Jun 2013 08:20:44 +0000 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MO900J2MTTFHCS0@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 12 Jun 2013 17:20:03 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.125]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 1C.1C.17404.23F28B15; Wed, 12 Jun 2013 17:20:03 +0900 (KST) X-AuditID: cbfee68d-b7f096d0000043fc-22-51b82f328575 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 81.14.28381.23F28B15; Wed, 12 Jun 2013 17:20:02 +0900 (KST) Received: from padma-linuxpc.sisodomain.com ([107.108.83.35]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MO900FSYTT61NR0@mmp2.samsung.com>; Wed, 12 Jun 2013 17:20:02 +0900 (KST) From: Padmavathi Venna To: linux-samsung-soc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, alsa-devel@alsa-project.org, padma.v@samsung.com, padma.kvr@gmail.com Subject: [PATCH RESEND V2] ARM: dts: wm8994: Add wm8994 regulator support on smdk5250. Date: Wed, 12 Jun 2013 13:53:45 +0530 Message-id: <1371025425-480-2-git-send-email-padma.v@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1371025425-480-1-git-send-email-padma.v@samsung.com> References: <1371025425-480-1-git-send-email-padma.v@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpnkeLIzCtJLcpLzFFi42JZI2JSq2usvyPQ4Gs7k8WVi4eYLKY+fMJm cWD2Q1aL3gVX2Sw2Pb7GajHj/D4mi/Zlc1gtft/8zmZxccUXJgdOjw2fm9g8ds66y+6xaVUn m8fmJfUe52csZPTo27KK0ePzJrkA9igum5TUnMyy1CJ9uwSujC0PDzAW/OSt6Nl9ga2BcR53 FyMnh4SAiUTH3l5GCFtM4sK99WxdjFwcQgJLGSVuPutnhyl6v+wGK0RiOqPEy85eFginh0li 67ypQFUcHGwCOhItZ11AGkQEdjNK9F60ALGZBZwkOpauBtsgLBAhc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hTEiurUovy44tKc1KLDzEmAx01kVlKNDkfmATySuINjU3MTY1NLU0sTMws SRNWEuc90GodKCSQnliSmp2aWpBaBLOFiYNTqoGxSPDd/mjVrZOXB9ib5s/8qOi/pW16zu2O FK8vPvFzk5X4vl219FwuVrTyZuF0Z61/Tx+eE+3/OmvVgtMHl3WcevaASyI5TvCnNUPWZ0Ym o4rvmuvvTkoS+Nere2jPfDcubc0wv+vMWhki1S7+C1UO75xWuTnK8u7MXpZ3F6WunrM6sEZm ya8LSizFGYmGWsxFxYkA/TChkPgCAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130612_042043_376619_6EEB756A X-CRM114-Status: UNSURE ( 8.61 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.1 (-------) Cc: sbkim73@samsung.com, kgene.kim@samsung.com, broonie@kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the required regulator supplies and properties for wm8994 codec on smdk5250 board. Signed-off-by: Padmavathi Venna --- Changes since V1: - Clubbed the same supply regulators as suggested by Mark. arch/arm/boot/dts/exynos5250-smdk5250.dts | 37 +++++++++++++++++++++++++++- 1 files changed, 35 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts index f2a025e..dc2ec25 100644 --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts @@ -37,6 +37,30 @@ }; }; + vdd:fixed-regulator@0 { + compatible = "regulator-fixed"; + regulator-name = "vdd-supply"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + dbvdd:fixed-regulator@1 { + compatible = "regulator-fixed"; + regulator-name = "dbvdd-supply"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + spkvdd:fixed-regulator@2 { + compatible = "regulator-fixed"; + regulator-name = "spkvdd-supply"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + }; + i2c@12C70000 { samsung,i2c-sda-delay = <100>; samsung,i2c-max-bus-freq = <20000>; @@ -47,8 +71,17 @@ }; wm8994: wm8994@1a { - compatible = "wlf,wm8994"; - reg = <0x1a>; + compatible = "wlf,wm8994"; + reg = <0x1a>; + + gpio-controller; + #gpio-cells = <2>; + + AVDD2-supply = <&vdd>; + CPVDD-supply = <&vdd>; + DBVDD-supply = <&dbvdd>; + SPKVDD1-supply = <&spkvdd>; + SPKVDD2-supply = <&spkvdd>; }; };