Message ID | 20170804180816.18737-2-jbrunet@baylibre.com (mailing list archive) |
---|---|
State | Changes Requested |
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 DCE8F60360 for <patchwork-linux-amlogic@patchwork.kernel.org>; Fri, 4 Aug 2017 18:11:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD567289AB for <patchwork-linux-amlogic@patchwork.kernel.org>; Fri, 4 Aug 2017 18:11:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C2147289E1; Fri, 4 Aug 2017 18:11:17 +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 73FFA289AB for <patchwork-linux-amlogic@patchwork.kernel.org>; Fri, 4 Aug 2017 18:11:17 +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=iIgVM6M5VPqmMREFvqBoAebo7VrmE0E6jTRhDQ/ZXMI=; b=DbXi1Q9TZPTmDHzDsStoqfrx4n scw6LLHy/d0CvI8VwPJigPUtLkvcMhqCSvNZ/epSyii01LuJxyjY/xavELgoJxhfNTKIv0E8nRTKp e0mTh1+EObEFWmHh/piJR6Aw8Bf8cKtpJc9XlMXUAwuYzZQnazheIFa7eysVKDNxvbS95vSgcQFNo 1aegnZePVsWt2gTR+Xh/GAg94mKB0FlzrX68LmP/8ZNh9dzIP+UwqK+b1W/d6jm/fLWxWLbCq2QzZ XfGeB3tyKsIVwkFMZbivdIiKGI2iggWyp8dn9s6329dKqHivqzvCgQyHqemQkJzbjE8Ul6n/5yPB+ Cg31CmHA==; 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 1ddh44-0005jw-O1; Fri, 04 Aug 2017 18:11:12 +0000 Received: from mail-wr0-x229.google.com ([2a00:1450:400c:c0c::229]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ddh1r-0002Jf-CR for linux-amlogic@lists.infradead.org; Fri, 04 Aug 2017 18:08:58 +0000 Received: by mail-wr0-x229.google.com with SMTP id 12so19450942wrb.1 for <linux-amlogic@lists.infradead.org>; Fri, 04 Aug 2017 11:08:35 -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=6MXGhxsO8Ws6+miO4MefqFVbY1YNMRfR7UukAaXYjZE=; b=U+ljQPAKdyNR6qX3ezTPzPruCF3X9mYE7nW8HlEMBl4XI0mowiZOy1cvkRkImzhwWi hS7q7KafYGRNG2+DqwFM0+C6EAJuybMnJAPkg1RPO3VYGd+ekhxQqxJfpn4hQOw2x2F0 k15ePAxzyBqR9MSeKWXIkF0GflBMmZ0oCfINtdPwGdpycz642fjD4PKUKfQJ/flxyi10 ksSkLFz19TxvmgpOsRI5KjNtBvywyNRzlKUCaRHkZ6mUuQQpgKCOav6KeAQj9F7gHP4y +UYV3v9DUF8Exxo1nkPoTOARovw6zm7eP3Iy3rIAvOMYlYwmDGqx/KALdyYJgskADDcK VphA== 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=6MXGhxsO8Ws6+miO4MefqFVbY1YNMRfR7UukAaXYjZE=; b=ub0ABxESRPjI7bq+fyLm2O1tQxhihgvGOPLqQoIdZQNjj16ZpkA0VSnv809zz+uXV/ yYbXcGvMs2QXA63OHWzWqkYDN6qwDyQbPKzMSbZSwC0W5RROTdyFluzbFEwSStPbyhYX Af9OEv9/L+4xkn3l/pR9WFlK4bYW+WTwoPLywDrCqOEkr5nASXJMlXyV4VKlQmC+k+xz Zu0B16ROxshS2D+Q3sJS2xk/SySp860K/dQsyRAdPavXXEhdW10SK7tCYG8GqCmirAC3 ijUQJi+NA0FzKPNXKQmDQpEZ6/W9u4ECbki05liw+NUd7B0fXw571vgF0GCOWMNozLR4 Z31A== X-Gm-Message-State: AIVw113n8tlxbows78UmMeN6Ttll4AV0uFM8EJEoYiLsuc4qMXRTHDgV 6lulqYwR9RXEyvEaMlY= X-Received: by 10.223.130.102 with SMTP id 93mr2168786wrb.253.1501870113649; Fri, 04 Aug 2017 11:08:33 -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.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Aug 2017 11:08:33 -0700 (PDT) From: Jerome Brunet <jbrunet@baylibre.com> To: Kevin Hilman <khilman@baylibre.com>, Carlo Caione <carlo@caione.org> Subject: [PATCH 1/6] ARM64: dts: meson-gxbb: nanopi-k2: add card regulator settle times Date: Fri, 4 Aug 2017 20:08:11 +0200 Message-Id: <20170804180816.18737-2-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_110855_892021_98D05DB1 X-CRM114-Status: UNSURE ( 8.78 ) X-CRM114-Notice: Please train this message. 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-gxbb-nanopi-k2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts index fa462831ccaf..6b7495dc6014 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts @@ -107,6 +107,9 @@ states = <3300000 0>, <1800000 1>; + + regulator-settling-time-up-us = <100>; + regulator-settling-time-down-us = <5000>; }; wifi_32k: wifi-32k {
Changing the card voltage on the nanopi-k2 is not instantaneous, especially when switching from 3.3v to 1.8v. It take at least 3ms 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: 9bc7ffb08daf ("arm64: dts: amlogic: Add NanoPi K2") Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> --- arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 3 +++ 1 file changed, 3 insertions(+)