From patchwork Thu Aug 31 13:52:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 111401 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp2586535qge; Thu, 31 Aug 2017 06:55:38 -0700 (PDT) X-Received: by 10.84.217.150 with SMTP id p22mr2718178pli.178.1504187738691; Thu, 31 Aug 2017 06:55:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504187738; cv=none; d=google.com; s=arc-20160816; b=hKeGKwFfjxxI+LPqlEQB+SerS5qg16opsRL8VVlpEskoNqzAp1mnKjJ72DfLas2JP0 AI+0Tgo6S/hQzo+wMi3H5huLyF+sQdK/xsatg7vkRpbT0DHSmkVEJM3CJ2gjIY/g1SlM 5Rpms86A9OdS5g5tA4srkJ6LE8zFb5+AputRQJEgoVqZ3nToAsAw23G/hU/4vqJSFVsM 57qXaj4Wu3LBiuLJJK7vEwjHh/IUqC2fHtO9eHtdLtDyAe9hpmeKpAjVCSU/3zRipxDt 7Nd1HsdjnM1qZXdBZHDS7gJEexSNL6VP/1Pv4Q634ieqb3bLx3Tn+dK+HN0I5JYGMlt4 y3pA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=SJml9oNbJPdd7e5NzDlD//F26UrJah/aQdexlnPXiQA=; b=Z9HIM18Y9LSM6mBk6o4uNa5zxiBTV2FvjpttRa9D9TZeZOm1jtrLIKPy2jSbEooFGJ M7nzAi0+XFc+UjqTlcybUYASxjszb8T0r8c8LQDoMFK/a59OJOf8YoNsBlonf2ygNoHY aBMGdgZSXOH52em7agTKHmtGRa7J5k1BwwYCPnMa+Ejr0b3kRPf79QmjAhhpNkxnj9Ow lDq3bednVa2613PaZ3aUsnOocrgoRWr9ZQsJ2uV9Retz6LZEguVxI0iaU31+SQa5fdPF aJe7yiED4ahxmwGU7foiKdWi8sqBgui0l4eSP2/WvRs2X6NdLwUECN6YUounC2BEQGG5 Deew== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Fv3Yh0YM; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 79si6466999pga.492.2017.08.31.06.55.38; Thu, 31 Aug 2017 06:55:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Fv3Yh0YM; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751359AbdHaNzg (ORCPT + 6 others); Thu, 31 Aug 2017 09:55:36 -0400 Received: from mail-wm0-f43.google.com ([74.125.82.43]:33294 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751740AbdHaNwh (ORCPT ); Thu, 31 Aug 2017 09:52:37 -0400 Received: by mail-wm0-f43.google.com with SMTP id r202so8701860wmd.0 for ; Thu, 31 Aug 2017 06:52:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=lO10cyxJm+KfplEdvh1y+FTQ+bxebr5SHA1aCnSTAaE=; b=Fv3Yh0YMYV4XywJDYG6Bli48s0PuND/tM+xZNAQ7L+jGExBB5RLjWHJ1JrLA2DSs8w bHB1iDOSNRfLKQZRVAHaQDyA3WzbMy4RhctN7PsA/vN0uC3mb9SLA6BIk8+GliSJ40gR rUtolzYFLaReOJ+BT14urCEQk7blWRc4VeMss2L5TOxt0bsbTnXFxpCPRMlVssKq1eMx HDqXDE/n/svEU5K0VUI+Il8ixk/aM+PWmyiSUUJgKEFav9hSB4LaPQvsJlTmd+v5TsGg 9UIQT5ZABMS+9kSzb2QML5EjnCzNvBlouGwJlwF0DRvHw1hVoOC1OQdKparDeRn9wl42 dmJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=lO10cyxJm+KfplEdvh1y+FTQ+bxebr5SHA1aCnSTAaE=; b=qF6YWirMxAb43td3G01Ti0Z/NFYgao+UiXVPM3maEgCQOUNO4Um+SmiTxxZ91ie4Tu 8f0LWeUDqi/v6PvdxKqPTF11lNF23MakhuvmQdRkOksRaP7bzSTeoEjNq3moCz5ZiG2+ CM0YjGuHWIM23Z0VNffDS3ROf5s+JVS90rUvcU8bjMd8qyp86MfDheN/gNiq1d0ZaZHf Tc4EP2bwt9puzAfgXglftcAEv65iPFe364YWTvQHfH+DqQ/BeUV74O9AG0xBnk6raJ0P YxiTakmubQm/JxSuimXUCX8Q0eoETfY/5x2noGbWj+WURGTnuI1JdOfmqsO9EPxgEwrt 82DA== X-Gm-Message-State: AHPjjUiKFCis6wsnpuZhPxVDUVz6Nwj+RYCHEMjAeLol8eWfc//2vjOV MQyGgTGKtQlyv4wm X-Google-Smtp-Source: ADKCNb4h3zfeZTDodZzhqQr3pYGoosugDmgK4XWlTQ/IQzbc79Tmgy6HThzugK8PlseDkvyh5PXUww== X-Received: by 10.28.169.69 with SMTP id s66mr542226wme.93.1504187555953; Thu, 31 Aug 2017 06:52:35 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id z1sm147959wmz.45.2017.08.31.06.52.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Aug 2017 06:52:35 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 5/9] ARM64: dts: meson-gxl: libretech-cc: add card regulator settle times Date: Thu, 31 Aug 2017 15:52:22 +0200 Message-Id: <20170831135226.19784-6-jbrunet@baylibre.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20170831135226.19784-1-jbrunet@baylibre.com> References: <20170831135226.19784-1-jbrunet@baylibre.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Changing the card voltage on the cc is not instantaneous, especially when switching from 3.3v to 1.8v. It take at least 30ms for the regulator to go from 3.3v to 1.8v. Add margin to that to make sure we don't upset the sdcard during the voltage switch Fixes: 61ff2af9b278 ("ARM64: dts: fixup libretech cc definition") Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts | 3 +++ 1 file changed, 3 insertions(+) -- 2.9.5 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts index a014c052241e..7d252168c2fa 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts @@ -91,6 +91,9 @@ states = <3300000 0>, <1800000 1>; + + regulator-settling-time-up-us = <200>; + regulator-settling-time-down-us = <50000>; }; vddio_boot: regulator-vddio_boot {