From patchwork Sun Oct 11 15:46:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 7369121 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7E1ECBF90C for ; Sun, 11 Oct 2015 15:47:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AECEE206F6 for ; Sun, 11 Oct 2015 15:47:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 84FDA206F8 for ; Sun, 11 Oct 2015 15:47:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752080AbbJKPqo (ORCPT ); Sun, 11 Oct 2015 11:46:44 -0400 Received: from mail-pa0-f66.google.com ([209.85.220.66]:35728 "EHLO mail-pa0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752068AbbJKPqj (ORCPT ); Sun, 11 Oct 2015 11:46:39 -0400 Received: by palb17 with SMTP id b17so16267933pal.2; Sun, 11 Oct 2015 08:46:38 -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:in-reply-to:references; bh=Zjm2LNs55+ueRstYqmcmG8RvcOz7sHwNJlleTrBpu30=; b=KEOeFzXHcz38ML8hkiCezeQWq3ZsmGSI7K5dOF6PZOZCAyiaiqUaRbgMRhBblncsK+ ovN3OaatFWHz0dbuayAJJFuOmo2FvRG28rRAYu5eCh8T6XCBveDgFndhs3GQPOh57wLO /YvDmD0JfzxwrhsD/W+fIEzN1d/moGyzTLF6KccV0sngl+QFkm5tSB23PVVSnXfcjPyU Pj3tZ4D/m8WBdppbw6akaOsD5sFixFNtUZTbZM9ZtLpHzQf4ss2gV3WCt24G78XlOVjv sOcOUqn+vpK+ZR5xb+XmMuIUTTgN23kPm41W8ayUGidGw4i/TteyB7iCfT7w0MbcVGHe 5dTA== X-Received: by 10.66.219.74 with SMTP id pm10mr28774970pac.93.1444578398438; Sun, 11 Oct 2015 08:46:38 -0700 (PDT) Received: from localhost.localdomain ([103.249.90.248]) by smtp.gmail.com with ESMTPSA id xg2sm13407381pbb.2.2015.10.11.08.46.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 11 Oct 2015 08:46:37 -0700 (PDT) From: Anand Moon To: Kukjin Kim , Krzysztof Kozlowski , Javier Martinez Canillas , Anand Moon , Lukasz Majewski , Jaehoon Chung Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] ARM: dts: use vmmc-supply of emmc/sd for exynos5422-odroidxu3 Date: Sun, 11 Oct 2015 15:46:03 +0000 Message-Id: <1444578364-1384-2-git-send-email-linux.amoon@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1444578364-1384-1-git-send-email-linux.amoon@gmail.com> References: <1444578364-1384-1-git-send-email-linux.amoon@gmail.com> 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=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_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 Added support for vmmc/vqmmc-supply for emmc/sd cards. Fixed the min values for regulator ldo13_reg (VDDQ_MMC2). Added ramp-delay for LDO9(VDD33_USB3_0). Added ramp-delay for LDO13(VDDQ_MMC2). Added ramp-delay for LDO15(ETH_P3V3). 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 Note: Changes need for support of UHS-I highspeed cards. changes for vqmmc-supply for emmc is not supported. [ 1.831136] vdd_ldo9: ramp_delay not set [ 1.843049] vdd_ldo13: ramp_delay not set [ 1.850975] vdd_ldo15: ramp_delay not set [ 1.862816] vdd_sd: ramp_delay not set --- arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi index 26decbd..58c06d3 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi @@ -157,6 +157,7 @@ regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3000000>; regulator-always-on; + regulator-ramp-delay = <12000>; }; ldo10_reg: LDO10 { @@ -182,9 +183,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 +215,7 @@ regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>; regulator-always-on; + regulator-ramp-delay = <12000>; }; ldo24_reg: LDO24 { @@ -338,6 +341,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>; @@ -352,6 +356,8 @@ samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-sdr-timing = <0 4>; samsung,dw-mshc-ddr-timing = <0 2>; + vmmc-supply = <&ldo19_reg>; + vqmmc-supply = <&ldo13_reg>; cd-gpios = <&gpc2 2 GPIO_ACTIVE_HIGH>; cd-inverted; pinctrl-names = "default";