From patchwork Tue May 28 10:35:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Padmavathi Venna X-Patchwork-Id: 2623981 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork2.kernel.org (Postfix) with ESMTP id DA558DFB78 for ; Tue, 28 May 2013 10:32:45 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UhHCu-0001c4-7g; Tue, 28 May 2013 10:32:44 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UhHCr-00023X-2Y; Tue, 28 May 2013 10:32:41 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UhHCn-00022A-GG for linux-arm-kernel@lists.infradead.org; Tue, 28 May 2013 10:32:39 +0000 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MNI00J6M7WXYL01@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 28 May 2013 19:32:14 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.125]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id D4.BF.29708.DA784A15; Tue, 28 May 2013 19:32:14 +0900 (KST) X-AuditID: cbfee690-b7f6f6d00000740c-ae-51a487adae46 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id EF.43.28381.DA784A15; Tue, 28 May 2013 19:32:13 +0900 (KST) Received: from padma-linuxpc.sisodomain.com ([107.108.83.35]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MNI000877XDHU90@mmp1.samsung.com>; Tue, 28 May 2013 19:32:13 +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] ARM: dts: wm8994: Add wm8994 regulator support on smdk5250. Date: Tue, 28 May 2013 16:05:22 +0530 Message-id: <1369737322-10907-1-git-send-email-padma.v@samsung.com> X-Mailer: git-send-email 1.7.4.4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPLMWRmVeSWpSXmKPExsWyRsSkVndd+5JAg701FlcuHmKymPrwCZvF gdkPWS16F1xls9j0+BqrxYzz+5gs2pfNYbX4ffM7m8XFFV+YHDg9NnxuYvPYOesuu8emVZ1s HpuX1Hucn7GQ0aNvyypGj8+b5ALYo7hsUlJzMstSi/TtErgyPs1/zFLwUqBi15UfLA2MN3i7 GDk5JARMJN4efscKYYtJXLi3nq2LkYtDSGApo8T6mweZYIpONR1kh0gsYpS4PmUeM4TTwyRx 4vcJoCoODjYBHYmWsy4gDSICuxklei9agNjMAk4SHUtXM4LYwgI+El0/rrGClLMIqEpcXVUM EuYVcJaYtKwB6ggFiWNTv7KCjJcQWMQucfD0dXaQBIuAgMS3yYdYQHolBGQlNh1ghqiXlDi4 4gbLBEbBBYwMqxhFUwuSC4qT0otM9IoTc4tL89L1kvNzNzECA/v0v2cTdjDeO2B9iDEZaNxE ZinR5HxgZOSVxBsamxlZmJqYGhuZW5qRJqwkzqveYh0oJJCeWJKanZpakFoUX1Sak1p8iJGJ g1OqgTH0X8btKdcPtnEncGSV9nl5qlXMNDhZVPvH9+Kn62vmhP7WTfzJKrloqtNywUWnM1kK Tjhb8p5pfZXqk3HXUr1lt1Sk/OGjpf/j2U+ff/DNeGsdrzx7p4G7FOcUmbt6rBvu5sWYXNC5 3FEj5jr/mUby/xyBchbG/wV7bvZ/eHTLvXqH8SfuyUosxRmJhlrMRcWJACiwbHuCAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrLIsWRmVeSWpSXmKPExsVy+t9jAd217UsCDU4uMrG4cvEQk8XUh0/Y LA7Mfshq0bvgKpvFpsfXWC1mnN/HZNG+bA6rxe+b39ksLq74wuTA6bHhcxObx85Zd9k9Nq3q ZPPYvKTe4/yMhYwefVtWMXp83iQXwB7VwGiTkZqYklqkkJqXnJ+SmZduq+QdHO8cb2pmYKhr aGlhrqSQl5ibaqvk4hOg65aZA3SakkJZYk4pUCggsbhYSd8O04TQEDddC5jGCF3fkCC4HiMD NJCwhjHj0/zHLAUvBSp2XfnB0sB4g7eLkZNDQsBE4lTTQXYIW0ziwr31bF2MXBxCAosYJa5P mccM4fQwSZz4fYKpi5GDg01AR6LlrAtIg4jAbkaJ3osWIDazgJNEx9LVjCC2sICPRNePa6wg 5SwCqhJXVxWDhHkFnCUmLWtghdilIHFs6lfWCYzcCxgZVjGKphYkFxQnpeca6hUn5haX5qXr JefnbmIER84zqR2MKxssDjEKcDAq8fBOyF4cKMSaWFZcmXuIUYKDWUmEt79+SaAQb0piZVVq UX58UWlOavEhxmSg5ROZpUST84FRnVcSb2hsYm5qbGppYmFiZkmasJI474FW60AhgfTEktTs 1NSC1CKYLUwcnFINjA6hr89yrD6cVrYpodrKV6BmmV3DpLZYw+0fknwOJtpMkLM3YugzMHS/ FsyvJLnn7vuKz0+XC9c3Z33O8bOM1yzYsMJOfe1cr037HE/2LynrkrkSX6n9KXZulPO6D9b/ cu437f5stSnkcLe23jfRzJMn3mVkbT+2wtVA5F6m7ybeOlt/fv4UJZbijERDLeai4kQAgWC5 XuACAAA= 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-20130528_063237_792887_14002037 X-CRM114-Status: UNSURE ( 8.78 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -8.0 (--------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-8.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.34 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.1 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 T_HDRS_LCASE Odd capitalization of message header 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 This patch adds the required regulator supplies and properties for wm8994 codec on smdk5250 board. Signed-off-by: Padmavathi Venna --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 53 +++++++++++++++++++++++++++- 1 files changed, 51 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts index f2a025e..42fc79e 100644 --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts @@ -37,6 +37,46 @@ }; }; + avdd2:fixed-regulator@0 { + compatible = "regulator-fixed"; + regulator-name = "avdd2-supply"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + cpvdd:fixed-regulator@1 { + compatible = "regulator-fixed"; + regulator-name = "cpvdd-supply"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + dbvdd:fixed-regulator@2 { + compatible = "regulator-fixed"; + regulator-name = "dbvdd-supply"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + spkvdd1:fixed-regulator@3 { + compatible = "regulator-fixed"; + regulator-name = "spkvdd1-supply"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + }; + + spkvdd2:fixed-regulator@4 { + compatible = "regulator-fixed"; + regulator-name = "spkvdd2-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 +87,17 @@ }; wm8994: wm8994@1a { - compatible = "wlf,wm8994"; - reg = <0x1a>; + compatible = "wlf,wm8994"; + reg = <0x1a>; + + gpio-controller; + #gpio-cells = <2>; + + AVDD2-supply = <&avdd2>; + CPVDD-supply = <&cpvdd>; + DBVDD-supply = <&dbvdd>; + SPKVDD1-supply = <&spkvdd1>; + SPKVDD2-supply = <&spkvdd2>; }; };