Message ID | 20170821160637.22456-6-jbrunet@baylibre.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org> 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 8B58A60382 for <patchwork-linux-amlogic@patchwork.kernel.org>; Mon, 21 Aug 2017 17:24:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 74F4928686 for <patchwork-linux-amlogic@patchwork.kernel.org>; Mon, 21 Aug 2017 17:24:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 695CE28709; Mon, 21 Aug 2017 17:24:28 +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=-2.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW 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 6CC4928686 for <patchwork-linux-amlogic@patchwork.kernel.org>; Mon, 21 Aug 2017 17:24:27 +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=rlFg5CShd73UcC/TIaUk2kvsLHlHiA9GbP/EcBW7fKo=; b=Is7l2YyFStlmVg1wvKeyQ2++YM sfl1MZPBW75Z0bb7kKH+RmGz4jghXlLfQiwv+9QF0UX0kuq1nmJ/yRQR1ylOcVUQLT4fW4+pQvbzs UIvbTswST+L0b/yIoLHMPOA+2Yaw987yxddnRMDnhWIxApiP+X3A86/GXxgt0rTj/g29vxL7DA6H5 v4eLV+N5wRTs+RHG7TEKCRgaBrZb5sahRAXVETzN/pultBqoSd+dmcz8+B3mGsDZYq5M5HWVAgkR8 A0wioNvOu676HA097Rn8aWj9BfXI27UV+rgIiVGoTlAuAOqlvBeLsNv2CEtr7wajjdooFVD42QYno gjBSYHTw==; 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 1djqR0-0002N3-Al; Mon, 21 Aug 2017 17:24:18 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1djqLY-0005WC-8B for linux-amlogic@bombadil.infradead.org; Mon, 21 Aug 2017 17:18:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=7c7D0zv0g5yaIKJa4SbdcT/Z1NduI/6pFQ7GEpoQZ1s=; b=Hic2Io3EOg2JOL0c7FvghQ5eA YUHBb1iFurhHshTFzyCc5GwwPxya5GzPkOQVZz7nNKVoPVuvtPkTWJWMayuZcwa9WJvKyDEbpf9qZ sKaZ8zF1/3RYUTVFnaF+sBn5gr2ZIpL/B+D9Upc8SaKhOLSzCOOUEUrFmFm0BY5RXkzUvO/fK8xEU BNXnAi3rWT2raQ42fRvhqK6rNLWDbYkulBgROSQGn+EumN8lCYtyQSsxr5YEzKCEtVkQEUYIbPi6W wHpt36Ya7xiFdUSq3TONO56neOk5taYN/18qeJm3aIB3wyDQUa2TJ9GB8MCVMLwAfE5EBTTz/cuZ1 RaFlNX7+Q==; Received: from mail-wr0-x230.google.com ([2a00:1450:400c:c0c::230]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1djpEK-0006h0-8P for linux-amlogic@lists.infradead.org; Mon, 21 Aug 2017 16:07:08 +0000 Received: by mail-wr0-x230.google.com with SMTP id k46so28477219wre.2 for <linux-amlogic@lists.infradead.org>; Mon, 21 Aug 2017 09:06:48 -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=7c7D0zv0g5yaIKJa4SbdcT/Z1NduI/6pFQ7GEpoQZ1s=; b=pTTlJsqnbfP1WVekBiS8xoe+abAIOL5hZw7V+fugVVYeVc12svLJSUTld+CAhVutFy 3EGP0h7iZLSujJprkSAy5JVONuMBXnCkRXR7PjarTBna2Wy0CwQhPYXQYVWxN2cWn7GB w8/1sf0JuyOgTmOG1lJLdf+Rhx24QmZZbo689A48ek6V2//M1lFGnB10kgZxBNQ8UJ/S l4/ug2WWRp0arV3CbO5J9+EZ/gFYCx9pgBl25pA92iM5t131WM2LV6m+h0kZ6xcUiWm6 5yx7oBj4T8d1GyKuDHUiw8rpKwR8q52iMhKf/grnuI0YSK3aDlfXVtffcxlXRoj/rSil T01w== 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=7c7D0zv0g5yaIKJa4SbdcT/Z1NduI/6pFQ7GEpoQZ1s=; b=RZ0DhcFFyW/jidz+w9PfXFqpcvuCHJ7O+de4/2nwdmt2Z44TrROBjhIIMGdNYFy7qH iqUliYLp2n3tdlIeb4Qa3VpSSh5xR2wUBB8h14QmWMwnWda+IPInG1PFg1N1dVYh1vsl +3e749nOj/G39yVzqFAcs4wr1c8PRk/SlarBkwGKrfwQdOkN84fvIe5aOVdTDEmGxG7I dZLPvevSmByD5AGmD6D1FjlwNk5uOQNH+cGErG17kN00P2hpNtABwlg675gt7e+4hGUn jkdM27V7HNZV7YpkizOYEZWkfpmRCZg8FGD2O6eXloXh/fAD35wsAUBjAiLIfJ6FKobO xX+g== X-Gm-Message-State: AHYfb5jvmmxXeI6qLefA7jYs7NHQ+gB3Q8KVTFRINBH3e9tmUlBM7j+A efXciy9k7jyFOjU8 X-Received: by 10.223.161.8 with SMTP id o8mr10329872wro.213.1503331606058; Mon, 21 Aug 2017 09:06:46 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id r79sm12346432wmd.42.2017.08.21.09.06.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Aug 2017 09:06:45 -0700 (PDT) From: Jerome Brunet <jbrunet@baylibre.com> To: Kevin Hilman <khilman@baylibre.com>, Carlo Caione <carlo@caione.org> Subject: [PATCH v2 5/9] ARM64: dts: meson-gxl: libretech-cc: add card regulator settle times Date: Mon, 21 Aug 2017 18:06:33 +0200 Message-Id: <20170821160637.22456-6-jbrunet@baylibre.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20170821160637.22456-1-jbrunet@baylibre.com> References: <20170821160637.22456-1-jbrunet@baylibre.com> X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-amlogic.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-amlogic/> List-Post: <mailto:linux-amlogic@lists.infradead.org> List-Help: <mailto:linux-amlogic-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=subscribe> Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet <jbrunet@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" <linux-amlogic-bounces@lists.infradead.org> Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
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 2b56f7d9be2b..0537b92cd226 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 {
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 <jbrunet@baylibre.com> --- arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts | 3 +++ 1 file changed, 3 insertions(+)