From patchwork Fri Aug 4 18:08:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 9881901 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C9C7460360 for ; Fri, 4 Aug 2017 18:10:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B79382899E for ; Fri, 4 Aug 2017 18:10:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A45A3289D9; Fri, 4 Aug 2017 18:10:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E58E92899E for ; Fri, 4 Aug 2017 18:10:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=+b7ufaWqNO5hwkdEgPMpPCzucfmLjDop6GOkT8A55jU=; b=BOYc7DLs/sAWYZ8M8sxJXfzdCN SVUWwhM8j3KW2BH9oc4P1cAkmKEMtdsg5Dt7qh+TZyzEjwxq0J64nAkmEFVLpE0uIDdz9A0/grEL6 ZzrU/eRp73Ju1es6ItoSkr2eh9tWzhSgyOVicT0c3lWnwQf4BhFytSnVmOO7pjo32nUwFakSI7Kem ektcU6GTllu27kZjou/n8+HCR2Nc4x+z3izzkIw/tcTQc3rAc3J19P4pDpEySK6YkQktd8Ah8MqHS a53/GN965bR8ztSwKYPZ1I+bqdFEG+1RYn71BC/Bw05c3lXRsRDKxr9eeMJHkmuxy4iUZ6nu5zUpD tYhn34Aw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ddh38-00041h-JE; Fri, 04 Aug 2017 18:10:14 +0000 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ddh1u-0002KW-GK for linux-arm-kernel@lists.infradead.org; Fri, 04 Aug 2017 18:09:06 +0000 Received: by mail-wm0-x232.google.com with SMTP id t138so13405115wmt.1 for ; Fri, 04 Aug 2017 11:08:38 -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=0DAM28rPNtPhSqIv1xgMTY2GV6JL3M5/Lq8DJ3+ObNE=; b=ijYMGcVDdWCSSGzmKSRvHqolaKlCQoC4CyziWFH0keQnaAArBm57u/ePqIdTpwluUk 4tGxeb7+SOF5zp7rOjLBZ/EvqVUC02LBVZrjJxiByc1THlBBKDQZDn1bTbW/F7rRVYO4 mtGfvHh6Nv9phvcINe3BhVdaj1wWNaW1hegC4YL5gU/Y+PanVjLwhdr1x68aEjspIS5v IS48IEuSiFyYFIajGOremXXzSWAIjYYzirkktd69CPDAQ6CsjtMTy+0cMDlPHITGcsE7 jqgncfQNCfLi9H56X/tUYGU6ixRVORQ2E3apStW+Zv3pAbVa18PpKVcwIpbnNtwjm6jI NKsA== 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=0DAM28rPNtPhSqIv1xgMTY2GV6JL3M5/Lq8DJ3+ObNE=; b=ZaE9xnnlN1hCz4mM1SDq7gQM79zipIZ5yMY7FKu7Ja2Kn2/XVqHN94tfaCBcYBDUPE Ojxzq3BlPRHmjorTppMc+ZxhTsEj8fOXJPOUbRGILerKVjObAIEaI3BVmCGWNKj4uFfG QMRhvjk5XDNvpEaWfhD7dMBtblog8IBbA635xrlciDWr3FiaytkiXq6DAh3Fx8u1zp1R BsHXgrHLCqstS0gMpBiqkVdnO4quhGba/XlP2SRqzofXDA7ypskvKT80NbsRTBUdWnu0 0uP0Sm7DMlRNf99MXYHi+OlfqK6GqvlhHhLgW7AAOG19uLAZuR+UTD73sTH8Nbdf041C r0Ng== X-Gm-Message-State: AHYfb5ijCcnFpd3eeGnDfsp0jUS6Q2tL0ceuT/iLXJjvXcMzS4YPWRu9 vpIxYxyQIjcKm6ZAIxM= X-Received: by 10.28.175.65 with SMTP id y62mr2019177wme.77.1501870116826; Fri, 04 Aug 2017 11:08:36 -0700 (PDT) Received: from localhost.localdomain (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id t130sm3455416wme.39.2017.08.04.11.08.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Aug 2017 11:08:36 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 2/6] ARM64: dts: meson-gxl: libretech-cc: add card regulator settle times Date: Fri, 4 Aug 2017 20:08:12 +0200 Message-Id: <20170804180816.18737-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170804180816.18737-1-jbrunet@baylibre.com> References: <20170804180816.18737-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170804_110859_416241_C88427C8 X-CRM114-Status: GOOD ( 10.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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 51c4ecc3b31e..185d737f1549 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 @@ -92,6 +92,9 @@ states = <3300000 0>, <1800000 1>; + + regulator-settling-time-up-us = <200>; + regulator-settling-time-down-us = <50000>; }; vddio_boot: regulator-vddio_boot {