From patchwork Tue Aug 1 15:22:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 9874841 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 63B826038F for ; Tue, 1 Aug 2017 15:23:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5292E28652 for ; Tue, 1 Aug 2017 15:23:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 46E13286B1; Tue, 1 Aug 2017 15:23:39 +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 D3527286D0 for ; Tue, 1 Aug 2017 15:23:37 +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: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:In-Reply-To: References:List-Owner; bh=GxgqOxxmYexIwr4c8b2Nt/dPt294GnmwBRkXUs1wsi4=; b=UJK WCZXtc9G+QPuzXKH5fhY2t/2/8Xaj517N7JkSPjZfe2UVZjDocaJZbqFiESG84ucvhYOYh/7VE7Gt Q8yCH9Cv5QtL4avCmoQHcNCjJOC1KJEbtRDJPXaQn5uAw4Fd5d5+Ddj6iRVjU0WO/NAcleSs2emQw zcwUlra1I8Iza6PabcrvKgzsp3FQSP8ppoSrX7uIESitt6Jq3uKsVHrl6QiO1tzA0BAB1mGOhp/Us 4nyMK2ewebm+tf8oiPb8N0jXxY1l5RQdp28kv9VuF+Lopf+240Krkk8FkiuaWq3MHENr9mF/jXYp3 avijhR6rtx3awQM+5OI+mMxXERZl7oA==; 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 1dcZ0b-0007nz-7A; Tue, 01 Aug 2017 15:22:57 +0000 Received: from mail-wr0-x232.google.com ([2a00:1450:400c:c0c::232]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dcZ0W-0007mP-Vb for linux-arm-kernel@lists.infradead.org; Tue, 01 Aug 2017 15:22:55 +0000 Received: by mail-wr0-x232.google.com with SMTP id k71so8265173wrc.2 for ; Tue, 01 Aug 2017 08:22:29 -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; bh=7EiDIi/4JjPswt1ZgHTb4BqtZZ260oNoFo6+m6iU8lY=; b=1fDRCUitlDetNHWRJceSLYucsLJ5DeRB59YgZXlhoS+48zkOxInTfALHVIbXXpJrWq 2pAPyaSyIZkP6TZ4d4ZIhZKFVeQAvg1qfIW9e9RMmd1i9yACTzPoecIRP4igNWHzE8D9 Qe6+fPyTpAxh72X9vnY9/INkAoAf8hkz/piptJSvMQ0nuGlE8MgfiB6BrS9o/P5aZgM5 Ry3qh4uNuP2CdOjpCYjEzfNBqg3meA9F3JHKFbpV6pzdk+YNP458fdLUw98NjYPYy8cT hNP5oALpoS307ngq9PidHu+AMLrlpmYh44Tw112eU6kfVdVUXLiPWS50KpZqVK56YCCT 4pDw== 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; bh=7EiDIi/4JjPswt1ZgHTb4BqtZZ260oNoFo6+m6iU8lY=; b=NK9DhFXBK/GgxhNl9EdIt7JIS2xj3lc5W2BdLUUHqX0uqutrubELPPf/EzVC1pOjbx yfFkCiIWWXGo0wqio5MQd5zHaLc0O39e2m8QT/kbS3MCKAIlkIN4lU12vOyKz8KYb+kX PyCjKluMue1rfeEl65cL5Fm0/Aff263nhmIug9XaD/TiYs6SIFeWUnUfVfQNyfNaTaDc D/QCY6jyI9/dvnB/6VvDydM9Tpia/VfCYgIcqYdX44rFfpXW0u64NtSDpz2x2h9ibHqv VIcte2amnddDeXaeOw62vQqPpKJ4fpnnH/w2zbdlURi9LcYtwWKN4t+/JRMByfykh6T3 jGVw== X-Gm-Message-State: AIVw110zNZiMX3fQa9Qfh1ywZvc43I2osWeNRXscxRvDHpHbrwRq1EyI MHkUm0K7GOLb9yPs X-Received: by 10.223.171.17 with SMTP id q17mr16810609wrc.12.1501600948351; Tue, 01 Aug 2017 08:22:28 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id p135sm1980645wmg.12.2017.08.01.08.22.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Aug 2017 08:22:27 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH] ARM64: dts: meson-gxbb: p20x: add card regulator settle times Date: Tue, 1 Aug 2017 17:22:24 +0200 Message-Id: <20170801152224.15754-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.9.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170801_082253_205223_88FDD0A5 X-CRM114-Status: GOOD ( 10.95 ) 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 p200 is not instantaneous, especially when switching from 3.3v to 1.8v. I take at least 70ms 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: ef8d2ffedf18 ("ARM64: dts: meson-gxbb: add MMC support") Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi index 9603a635c7af..d3b194c20b72 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi @@ -84,6 +84,9 @@ /* Based on P200 schematics, signal CARD_1.8V/3.3V_CTR */ states = <1800000 0 3300000 1>; + + regulator-settling-time-up-us = <10000>; + regulator-settling-time-down-us = <150000>; }; vddio_boot: regulator-vddio_boot {