From patchwork Wed Apr 27 12:19:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 8956451 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 486019F441 for ; Wed, 27 Apr 2016 12:21:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 16AA1200E1 for ; Wed, 27 Apr 2016 12:21:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 25C662021F for ; Wed, 27 Apr 2016 12:21:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752893AbcD0MTx (ORCPT ); Wed, 27 Apr 2016 08:19:53 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:48874 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750897AbcD0MTv (ORCPT ); Wed, 27 Apr 2016 08:19:51 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O6A00HZWKWF6030@mailout2.w1.samsung.com>; Wed, 27 Apr 2016 13:19:27 +0100 (BST) X-AuditID: cbfec7f4-f796c6d000001486-3b-5720ae4f2ff7 Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id D5.00.05254.F4EA0275; Wed, 27 Apr 2016 13:19:27 +0100 (BST) Received: from AMDC2174.DIGITAL.local ([106.120.53.17]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O6A00JXCKWBUR20@eusync4.samsung.com>; Wed, 27 Apr 2016 13:19:27 +0100 (BST) From: Krzysztof Kozlowski To: Kukjin Kim , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Tobias Jakobi , Anand Moon , Jaehoon Chung , linux-mmc@vger.kernel.org, Marek Szyprowski , Bartlomiej Zolnierkiewicz Subject: [PATCH 2/3] ARM: dts: exynos: Define vqmmc for eMMC card on Odroid X/X2/U3 Date: Wed, 27 Apr 2016 14:19:12 +0200 Message-id: <1461759553-10119-2-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1461759553-10119-1-git-send-email-k.kozlowski@samsung.com> References: <1461759553-10119-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrALMWRmVeSWpSXmKPExsVy+t/xa7r+6xTCDS7v5bbYOGM9q8X8I+dY LW78amO1eP3C0KL/8Wtmi02Pr7FaXN41h83iyP9+RosZ5/cxWazbeIvdYu2Ru+wWbas/sDrw eOycdZfdY9OqTjaPzUvqPf4dY/fo27KK0ePzJrkAtigum5TUnMyy1CJ9uwSujNsNrSwFTdwV mw6tY21gbOLsYuTkkBAwkZh3egoThC0mceHeerYuRi4OIYGljBKLdp1kh3AamST+72lhBqli EzCW2Lx8CViViMBNRokdK48zgzjMIFWTFr0EqxIWCJWYvu8VC4jNIqAq8fnrQ6A4BwevgLvE znMlEOvkJE4em8wKYnMKeEhM3v2TEcQWAiqZ83UeywRG3gWMDKsYRVNLkwuKk9JzDfWKE3OL S/PS9ZLzczcxQsLxyw7GxcesDjEKcDAq8fAWSiiEC7EmlhVX5h5ilOBgVhLhNVwLFOJNSays Si3Kjy8qzUktPsQozcGiJM47d9f7ECGB9MSS1OzU1ILUIpgsEwenVAPjqm16LTLMcjN92Hw/ bleVN2Svf3HoddIrbu2aZ/O28EocEb0WkKNcGLY4dk7qhNA3V8MmdivnLSnte9yzQ5q5ITbx fJJTaejZdjYxn4rM9Jzvzm4Sd9c5zbs6my+oq4XxxOTlMvO4tzzoFMhdYJZx5+l6dd132cdn 3De4VpSTx5HJsqfh2SIlluKMREMt5qLiRABDkwSdQwIAAA== Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@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 The eMMC card vmmc-supply contained incorrectly two regulators: LDO20 and buck8. The second one is ignored. Additionally the buck8 is not supplying the eMMC host but LAN (SMSC95xx). Instead the LDO22 should be used. Fix this by defining proper vmmc and vqmmc supplies. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi index 3d0d44581fbd..55d766f28202 100644 --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi @@ -347,6 +347,14 @@ regulator-boot-on; }; + /* VDDQ for MSHC (eMMC card) */ + ldo22_reg: LDO22 { + regulator-name = "VDDQ_MMC4_2.8V"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-boot-on; + }; + ldo25_reg: LDO25 { regulator-name = "VDDQ_LCD_1.8V"; regulator-min-microvolt = <1800000>; @@ -456,7 +464,8 @@ &mshc_0 { pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>; pinctrl-names = "default"; - vmmc-supply = <&ldo20_reg &buck8_reg>; + vmmc-supply = <&ldo20_reg>; + vqmmc-supply = <&ldo22_reg>; mmc-pwrseq = <&emmc_pwrseq>; status = "okay";