From patchwork Tue Oct 20 12:56:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 7447071 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 D77E29F302 for ; Tue, 20 Oct 2015 12:56:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E86FD2088B for ; Tue, 20 Oct 2015 12:56:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E131320889 for ; Tue, 20 Oct 2015 12:56:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752483AbbJTM4y (ORCPT ); Tue, 20 Oct 2015 08:56:54 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:33117 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751996AbbJTM4x (ORCPT ); Tue, 20 Oct 2015 08:56:53 -0400 Received: by pabrc13 with SMTP id rc13so21177864pab.0; Tue, 20 Oct 2015 05:56:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=ZmSrbDMhncYAAmCBT5DnCwJI6ugAsXSgU41qTcwTFFA=; b=rGvyn0WCwkSurj/DxYDMRG9jJGV09RyuHU6OfxKCYWG66vaXC1Linm7sNCenz10U5X T4A2ZfduVLRRx67XzuJAgZByWkzp2ESXLveILxVLFhSoSp4aeNOKMGQKu48xaNmiNVNu a4T92RHdiA6f1qajKFX/m9JdSXCWBXrMNfhF70OlGBluu1v6N9SF/HHw80pRHUJVt3Ee eoPbkSVC3McpIV5yzaGOCXqMgeNwMlWWOXDRcktAsQaGlAKTxTele01y5OKYvrobu7Y/ UxSTjhz+S/QFBriC/rMZQbCXL41PauPofUf7bt3hztgNxU3IW5bKBhJY6pRl0azUb67O /qFQ== X-Received: by 10.68.57.171 with SMTP id j11mr3860986pbq.17.1445345812646; Tue, 20 Oct 2015 05:56:52 -0700 (PDT) Received: from localhost.localdomain ([115.117.45.10]) by smtp.gmail.com with ESMTPSA id rz7sm3784842pbc.7.2015.10.20.05.56.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 20 Oct 2015 05:56:51 -0700 (PDT) From: Anand Moon To: Kukjin Kim , Krzysztof Kozlowski , Javier Martinez Canillas Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Anand Moon Subject: [PATCHv2] ARM: dts: use vmmc-supply of emmc/sd for exynos5422-odroidxu3 Date: Tue, 20 Oct 2015 12:56:33 +0000 Message-Id: <1445345793-5189-1-git-send-email-linux.amoon@gmail.com> X-Mailer: git-send-email 2.1.4 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=-3.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SBL_CSS, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 Changes need for host controller to detect UHS-I highspeed cards. Changes in VDDQ_MMC2 voltage range help scale the required voltage to detect and load the microSD cards. Signed-off-by: Anand Moon --- Changes based on git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git v4.4-next/dt-samsung branch Changes: Drop the ranp_delay for LDO9. Thanks to : Krzysztof, Doug Anderson, Jaehoon Chung for helping me out figure out the mmc core requirement. Also drop the previous changes: use cd-gpio method to detect sd-card. Added UHS-I bus speed support. [ 4.713553] random: nonblocking pool is initialized [ 4.718423] 14530000.hdmi supply hdmi-en not found, using dummy regulator [ 4.726206] exynos-drm exynos-drm: bound 14400000.fimd (ops fimd_component_ops) [ 4.732555] exynos-drm exynos-drm: bound 14450000.mixer (ops mixer_component_ops) [ 4.740180] exynos-drm exynos-drm: bound 14530000.hdmi (ops hdmi_component_ops) [ 4.746936] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 4.753428] [drm] No driver support for vblank timestamp query. [ 4.940794] Console: switching to colour frame buffer device 274x77 [ 4.995344] exynos-drm exynos-drm: fb0: frame buffer device [ 5.024573] [drm] Initialized exynos 1.0.0 20110530 on minor 0 [ 5.031164] exynos-dwc3 usb@12000000: no suspend clk specified [ 5.054571] usb 2-1: new full-speed USB device number 2 using exynos-ohci [ 5.159527] dwmmc_exynos 12220000.mmc: Busy; trying anyway [ 5.163705] mmc_host mmc1: Timeout sending command (cmd 0x202000 arg 0x0 status 0x0) --- arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi index 1af5bdc..a4be3e0 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi @@ -182,9 +182,10 @@ ldo13_reg: LDO13 { regulator-name = "vdd_ldo13"; - regulator-min-microvolt = <2800000>; + regulator-min-microvolt = <1800000>; regulator-max-microvolt = <2800000>; regulator-always-on; + regulator-ramp-delay = <12000>; }; ldo15_reg: LDO15 { @@ -213,6 +214,7 @@ regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>; regulator-always-on; + regulator-ramp-delay = <12000>; }; ldo24_reg: LDO24 { @@ -338,6 +340,7 @@ samsung,dw-mshc-ddr-timing = <0 2>; samsung,dw-mshc-hs400-timing = <0 2>; samsung,read-strobe-delay = <90>; + vmmc-supply = <&ldo3_reg>; pinctrl-names = "default"; pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_cd &sd0_rclk>; bus-width = <8>; @@ -355,6 +358,8 @@ pinctrl-names = "default"; pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>; bus-width = <4>; + vmmc-supply = <&ldo19_reg>; + vqmmc-supply = <&ldo13_reg>; cap-sd-highspeed; };