From patchwork Mon Aug 21 16:06:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 9913251 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 B3CCA602A0 for ; Mon, 21 Aug 2017 16:11:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A92D428673 for ; Mon, 21 Aug 2017 16:11:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9DF14287D0; Mon, 21 Aug 2017 16:11:43 +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 4B5E0287B9 for ; Mon, 21 Aug 2017 16:11:43 +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=I8ULPNVol116V/ni4bZDRduZGZmSan7zH0gG2TMwzKI=; b=Hm+As/7rVk+1AQfY7ooRF5mkc4 6QCPG43k5++mcI7KaHS8WViegxVPZyyiU9cZkqVXJ3NgfVpgMEVWAn44VD6lSUYaNWM6gQa0u1+QQ /OiR85l6rma4e3nOJ+HcimfCXQFZ83k0pX1MwOY4QlYWqftgW1zypWv5t1G3tW0wVoOChhCypqTEL l/jZXiHjwnzHeRNA47jpDQEiD5dhIT3YAB9S2X99oLpa5W066eda70BdRMx6M44DwefkX0+9HQG5h ER6a/HDIGrl+FN5MSQLMAk2FNTYg/8m3UTDmYYPdl5Azo3XYEZq+oreqMYnphro6LdHq7ziE1V66x cfODDsAw==; 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 1djpIi-0001Kb-ER; Mon, 21 Aug 2017 16:11:40 +0000 Received: from mail-wr0-x22e.google.com ([2a00:1450:400c:c0c::22e]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1djpEH-0004VH-HE for linux-arm-kernel@lists.infradead.org; Mon, 21 Aug 2017 16:08:10 +0000 Received: by mail-wr0-x22e.google.com with SMTP id z91so101657725wrc.4 for ; Mon, 21 Aug 2017 09:06:46 -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=zPHBd80W0jIEr0U5KiMu3G0meGsq+1Q1/3dWhj3EJTI=; b=oT+hczubaKxrOqNUQ6aZJl248M4zfBGMMVmAWwPbnVb0s/Bbc7MKG/8rFKDnjMMQMH 91LOx+rrWVlTRYCOnCsHGuDygZengyfMlh/5eK78sFyMzoT212t5Lftlv4GwK7nrdIJw wGCRDBpJlF7zE+16s3L39Ld5khj/kZm4zXH6UkawEe8s7VAbtU5+q7UVYeFGKm3MaveY rHGJv//Yf9OX6tjojwo6YRxMotXLHk9AdslDzq85/2Bjn3/NAzwBJHqrjG0yfILu5wpM DNh1kZfu27Yj1QSIg2HG9bkEqZyNv1m7zG3sPBXj/2NLPeaa2Yt0NQ+K4TVbNO6gs8wM 8sOw== 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=zPHBd80W0jIEr0U5KiMu3G0meGsq+1Q1/3dWhj3EJTI=; b=QLJGEUz7DTOx+njN2+O/3TX/DTKke2V1iodz82k7xhVWtUKSk+lcKKZZ5WJsJCiuQz GMjRB2pqq71061BWLMhx7ogv1v/dsAFFizTrURN7SM3HakiZ4AOJNbPYDBAO6/OEEp+Y 4Sx64w3Ziw0lHB+31+e8y1lW9Z9H67bksVs36B5Pk2cjc7xDlqaQDqrrymQZrXI7w612 xy5hzkw+F6tTQ1/aWR9Jl1XUPYp8C8dR4UZp4cd+Bq40ExUYGgmR77GtPLSgSg8w4O7I JFz1YCtIYueyjVfLnwUkOwU4HGmjQKi6rlhKoqXOXCtgMqrfbNt18l4xG5imYnPwVuEI /2Tg== X-Gm-Message-State: AHYfb5hp7GGPX12DYbi9mxHU7mW+6L1oG1ir8w5C59zsXHcgZIutAYRI KszfuTjHjZg7z+JB X-Received: by 10.28.147.206 with SMTP id v197mr2198577wmd.133.1503331605015; Mon, 21 Aug 2017 09:06:45 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id r79sm12346432wmd.42.2017.08.21.09.06.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Aug 2017 09:06:44 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH v2 4/9] ARM64: dts: meson-gxbb: nanopi-k2: add card regulator settle times Date: Mon, 21 Aug 2017 18:06:32 +0200 Message-Id: <20170821160637.22456-5-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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170821_090706_779132_5685F0C5 X-CRM114-Status: GOOD ( 10.76 ) 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 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 --- arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 3 +++ 1 file changed, 3 insertions(+) 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 e4c6b2fd52ee..de4ed28d78bc 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 {