From patchwork Thu Oct 2 16:10:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 5019291 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 9FCF8C11AB for ; Thu, 2 Oct 2014 16:13:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C1D9420158 for ; Thu, 2 Oct 2014 16:13:06 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AD96020154 for ; Thu, 2 Oct 2014 16:13:05 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XZixz-0007Ci-0g; Thu, 02 Oct 2014 16:10:55 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XZixw-00075J-6n for linux-arm-kernel@lists.infradead.org; Thu, 02 Oct 2014 16:10:52 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NCT00G6IRL83060@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 03 Oct 2014 01:10:20 +0900 (KST) X-AuditID: cbfee61b-f79d76d0000024d6-60-542d78ec051c Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 0F.46.09430.CE87D245; Fri, 03 Oct 2014 01:10:20 +0900 (KST) Received: from amdc1032.localnet ([106.116.147.136]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NCT00K1QRL75730@mmp2.samsung.com>; Fri, 03 Oct 2014 01:10:20 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Kukjin Kim Subject: [PATCH] ARM: dts: fix MMC2 regulators for Exynos5420 Arndale Octa board Date: Thu, 02 Oct 2014 18:10:06 +0200 Message-id: <2750153.I3nVqzmXTP@amdc1032> User-Agent: KMail/4.8.4 (Linux/3.2.0-54-generic-pae; KDE/4.8.5; i686; ; ) MIME-version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplkeLIzCtJLcpLzFFi42I5/e+xoO6bCt0Qg1N3NC0er1nMZPFg3jY2 i+2vN7JZvDykabFg+0omi6O/Cyxu/Gpjtfi+6wu7Re+Cq2wWmx5fY7U48r+f0WLG+X1MFqsO b2C3eHJmJqPFh/sXmS1W7frDaHF8bbjFw6PdrBZnT5U7CHvMbrjI4vH3+XUWj52z7rJ7LNhU 6nHoylpGjzvX9rB5bF5S79G3ZRWjx+dNcgGcUVw2Kak5mWWpRfp2CVwZPa3TWAumc1f8fSrZ wLiTs4uRk0NCwESiYdYLdghbTOLCvfVsXYxcHEIC0xkl+r9cYYVwWpgkHq67xQpSxSZgJTGx fRUjiC0ioCbRs3grI0gRs8BuNonu/yfAEsICARI7P+wBa2ARUJV49P0qUJyDg1dAU+Lkx0SQ sKiAp8SO7SvZQGxeAUGJH5PvsYDYzALyEvv2T2WFsLUk1u88zjSBkW8WkrJZSMpmISlbwMi8 ilE0tSC5oDgpPddIrzgxt7g0L10vOT93EyM4kp5J72Bc1WBxiFGAg1GJhzejQSdEiDWxrLgy 9xCjBAezkgivXpRuiBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHeg63WgUIC6YklqdmpqQWpRTBZ Jg5OqQZGsZnb97ROaLvZqe9eE6D7Wez+ByGOOVeubi84Vx35gVe4tOa1zfnw8DJ16XnFtabJ KuXFNzRWlLemv3n2gOGPT++fovmLg2fMuW1nuXH7qTTNCoN7ZjN+vzPjs/xwIPS57WMpUfNM HYV6IZeJfr/sH8tU9t17tkK491ye3vzPz3rXb4i9+OSVEktxRqKhFnNRcSIAVJJEh6ACAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141002_091052_390763_64849D45 X-CRM114-Status: UNSURE ( 8.72 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.9 (-----) Cc: Yuvaraj Kumar C D , Ulf Hansson , linux-samsung-soc , ALIM AKHTAR , Seung-Won Jeon , PRASHANTH GODREHAL , linux-mmc , Tomasz Figa , Doug Anderson , Jaehoon Chung , Kukjin Kim , Yuvaraj Kumar C D , "cpgs ." , Abhilash Kesavan , SUNIL JOSHI , Chris Ball , Sonny Rao , Javier Martinez Canillas , "linux-arm-kernel@lists.infradead.org" X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, 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 Regulators for MMC2 (SD card) are PVDD_TFLASH_2V8 (LDO19) for vmmc and PVDD_APIO_MMCOFF_2V8 (LDO13) for vqmmc. Currently the device tree entry for MMC2 uses PVDD_PRE_1V8 (LDO10) for vmmc and vqmmc is not specified. Fix it. Without this patch: - "mmc: dw_mmc: use mmc_regulator_get_supply to handle regulators" patch causes a SD card detection to fail - "mmc: dw_mmc: Support voltage changes" patch causes a boot hang This patch fixes both above problems. Suggested-by: Doug Anderson Cc: Yuvaraj Kumar C D Cc: Ulf Hansson Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Kyungmin Park Acked-by: Arnd Bergmann --- arch/arm/boot/dts/exynos5420-arndale-octa.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: b/arch/arm/boot/dts/exynos5420-arndale-octa.dts =================================================================== --- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts 2014-10-02 15:44:53.014826886 +0200 +++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts 2014-10-02 17:35:24.110600398 +0200 @@ -74,7 +74,8 @@ samsung,dw-mshc-ddr-timing = <1 2>; pinctrl-names = "default"; pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; - vmmc-supply = <&ldo10_reg>; + vmmc-supply = <&ldo19_reg>; + vqmmc-supply = <&ldo13_reg>; slot@0 { reg = <0>;