From patchwork Fri Aug 4 18:08:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 9881891 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 A640460360 for ; Fri, 4 Aug 2017 18:09:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 927F1289A8 for ; Fri, 4 Aug 2017 18:09:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 864D2289E4; Fri, 4 Aug 2017 18:09:34 +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 E1416289B6 for ; Fri, 4 Aug 2017 18:09:33 +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=qDmgoIMJ7XE4cCpXWFYLsbdycfgRNAVtFLiN1RgJb8k=; b=h54NrAT23wYbVSh/8xuoOH+iib w/74eJITLivfhO3+iKMw/A8JS8zUGrpqSSNF4oEm7zgk7c/bhOdteS7DVEo1tIAq+A/KBpQGpNA+v XOdCtMnR4MGCbkyrjIAq87joJSwEq6TNm+BZSpkO82OivH/Koy9Pzm63TG3UcEjMcNtp10dopSa74 nr0KtdqJsVJUTWkVEtTZX7oIwpG9HNqDAwePBRJFIERYSJ2r7I9ogpx1apPrcsxGXUzhLpMhV+0S5 D+JXGzFz3mqIzS0J0xz+FY51ndXMOpwZau0mMreukUai2Hu11IwBRO89cS7PWgzxFokxrmcE+VBjW p87Y6NEw==; 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 1ddh2E-0002jT-4a; Fri, 04 Aug 2017 18:09:18 +0000 Received: from mail-wr0-x22f.google.com ([2a00:1450:400c:c0c::22f]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ddh1r-0002Je-82 for linux-arm-kernel@lists.infradead.org; Fri, 04 Aug 2017 18:08:58 +0000 Received: by mail-wr0-x22f.google.com with SMTP id 33so19453645wrz.4 for ; Fri, 04 Aug 2017 11:08:34 -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=Gu9wnPIgUqV5LbhNVDJ3feL0/GH6FdkXCxxkwJxhAjTNZvdBOxBBBXx7ItPgxRDIlO UBIty1WRqyOYw+8aflesqzF5g7hEexrY0dk2+Q+4+jzphcVzZgtBQFUxWapd9kutVZUR 6MmY501en2P2q2KJ+YJXM7gnfESocm5eev3vpmsvwxNASxtrA+CBscGqdBFFIjDJOEIG zlgl47GV4RCy6Bva5FSn/CqPaKoFUtLRAVUjEEaBlLc+aHXn9pX+MDvFLWeJMQVtbUt8 5iEOEsD6BJju/kr51uolWspJBPuUlO3+sd1uTlornDIcpiJoT874k34B7L4RupsW5J+N Jdqw== X-Gm-Message-State: AIVw111Xgks6QiAFRBjuc65thw2TDEAKOSEU2qtnK0IARoCl0OzUkWHV +BORie+njHnzue+u 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 To: Kevin Hilman , Carlo Caione 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_542925_FB724447 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 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 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 {