From patchwork Wed Aug 7 08:50:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Padmavathi Venna X-Patchwork-Id: 2840275 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6B4C69F494 for ; Wed, 7 Aug 2013 12:21:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 406B320276 for ; Wed, 7 Aug 2013 12:21:12 +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 036502026C for ; Wed, 7 Aug 2013 12:21:11 +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 1V6zT8-0007sN-KI; Wed, 07 Aug 2013 08:51:48 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V6zSO-0000So-Ux; Wed, 07 Aug 2013 08:51:00 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V6zRJ-0000KB-Lm for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2013 08:49:54 +0000 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MR500AMIKGUYMA0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2013 17:49:26 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.125]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id AB.62.03969.61A02025; Wed, 07 Aug 2013 17:49:26 +0900 (KST) X-AuditID: cbfee68f-b7f436d000000f81-99-52020a1642aa Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 48.18.32250.61A02025; Wed, 07 Aug 2013 17:49:26 +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 <0MR5006C8KHPAM70@mmp2.samsung.com>; Wed, 07 Aug 2013 17:49:26 +0900 (KST) From: Padmavathi Venna To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, padma.v@samsung.com, padma.kvr@gmail.com Subject: [PATCH 3/7] ARM: dts: Add i2c bus 1 and it's audio codec child node on smdk5420 Date: Wed, 07 Aug 2013 14:20:37 +0530 Message-id: <1375865442-5323-6-git-send-email-padma.v@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1375865442-5323-1-git-send-email-padma.v@samsung.com> References: <1375865442-5323-1-git-send-email-padma.v@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpmkeLIzCtJLcpLzFFi42JZI2JSqyvGxRRksPyxoMXK938ZLaY+fMJm Mf/IOVaL3gVX2Sw2Pb7GajHj/D4mi/Zlc1gtft/8zmaxatcfRgdOj9kNF1k8ds66y+6xaVUn m8fmJfUefVtWMXp83iQXwBbFZZOSmpNZllqkb5fAlfHo/G6mggf8FR96lBsYH/J0MXJySAiY SPy//YQRwhaTuHBvPVsXIxeHkMBSRomvJ5awwhRNWLsIKjGdUWLi9XUsEE4Pk8TqLTeAMhwc bAI6Ei1nXUAaRAQmM0rsbssHsZkFYiU2Ni9kA7GFBaIkWj7/BtvGIqAqcezdJyYQm1fASWJj 5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liYWJmSZqwkjjvgVbr QCGB9MSS1OzU1ILUIpgtTBycUg2MAszHj/7Uq+R84Sm1qnL+hj0LF7xPc+5asvWPRPgLIanP RZ0tyZ6V/3/fStzvonxJtXX5jEP7ZgX0MNX9Nf16eFsor51LdJVmo+fNPXusXxh+miK9MPiC 3gqnX60CTP4L3moVc2+fqyKqar1hgUJsj/7EpSkTiiyd+Tbf+Zf4+xjnskU2Mw73KbEUZyQa ajEXFScCACpsyrDzAgAA 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-20130807_044954_009526_41CA0B14 X-CRM114-Status: UNSURE ( 7.51 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -6.9 (------) Cc: abrestic@chromium.org, kgene.kim@samsung.com, broonie@kernel.org, tomasz.figa@gmail.com 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.2 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 i2c bus 1 and wm8994 codec node on i2c bus1 and the required regulator supplies and properties on smdk5420 board. Signed-off-by: Padmavathi Venna --- arch/arm/boot/dts/exynos5420-smdk5420.dts | 58 +++++++++++++++++++++++++++++ 1 files changed, 58 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts index d05de7a..e86c1ae 100644 --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts @@ -68,4 +68,62 @@ bus-width = <4>; }; }; + + 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; + }; + + spkvdd: fixed-regulator@3 { + compatible = "regulator-fixed"; + regulator-name = "spkvdd-supply"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + }; + + i2c@12C70000 { + status = "okay"; + samsung,i2c-sda-delay = <100>; + samsung,i2c-max-bus-freq = <20000>; + + eeprom@51 { + compatible = "samsung,s524ad0xd1"; + reg = <0x51>; + }; + + wm8994: wm8994@1a { + compatible = "wlf,wm8994"; + reg = <0x1a>; + + gpio-controller; + #gpio-cells = <2>; + + AVDD2-supply = <&avdd2>; + CPVDD-supply = <&cpvdd>; + DBVDD-supply = <&dbvdd>; + SPKVDD1-supply = <&spkvdd>; + SPKVDD2-supply = <&spkvdd>; + }; + }; + };