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: 5019281 Return-Path: X-Original-To: patchwork-linux-mmc@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 2D5B3C11AC for ; Thu, 2 Oct 2014 16:10:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4F19D20158 for ; Thu, 2 Oct 2014 16:10:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3E15420200 for ; Thu, 2 Oct 2014 16:10:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753865AbaJBQKX (ORCPT ); Thu, 2 Oct 2014 12:10:23 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:58176 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753129AbaJBQKW (ORCPT ); Thu, 2 Oct 2014 12:10:22 -0400 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>; 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 Cc: Doug Anderson , Yuvaraj Kumar C D , Ulf Hansson , "cpgs ." , Yuvaraj Kumar C D , linux-samsung-soc , "linux-arm-kernel@lists.infradead.org" , Jaehoon Chung , Chris Ball , Seung-Won Jeon , linux-mmc , Sonny Rao , Tomasz Figa , Kukjin Kim , SUNIL JOSHI , PRASHANTH GODREHAL , ALIM AKHTAR , Javier Martinez Canillas , Abhilash Kesavan 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 Content-transfer-encoding: 7Bit Content-type: text/plain; charset=us-ascii 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= Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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(-) -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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>;