Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1444983rwb; Fri, 18 Nov 2022 19:24:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf7QoOUpPvuOkuPwQmPdxVq5ECy+2NS9eSLTFt7IUqg0YhH8XqRphyR6LTVBIXnt6NzWxuuW X-Received: by 2002:a17:90b:ecc:b0:218:7b04:ce99 with SMTP id gz12-20020a17090b0ecc00b002187b04ce99mr9030339pjb.68.1668828283448; Fri, 18 Nov 2022 19:24:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668828283; cv=none; d=google.com; s=arc-20160816; b=S0dy1hb0u+stdyuXhD+QMMegPV27QP3x7Ewhk6LghjPavMK/+QHseyA5XTjyY9iBcp P14HRooex0R0dHYAE/FT3fL50vl1fiCXslwj7pECZBvoeRrMKzeqw6p9be2A/rLLZOCy bp3Adprg0s2F0nQ9YhYuDrkrGd0Kf1kB6HDPcDUpzCe0YYJ8+Na3YsY7X9A6vUxTucfw sO5gIUwFcmxBJQ3f6yisg1kzZguxg4RKj2Bpv3JvTjQywALxAhllSvBrDsA5FMacI/eP fgR8IwSGx4zkmX0pO1KqbpckETMT1J2Ysq6wSUkezDEmKhrCBZRXJWH561B91gGpspgk 7sCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=HlktP4bC1qkNpnjL7ggGBvUkrl9prqURoBZ8J7SDebA=; b=jCsm3ptNWogVu6WVyDSkxbIbRIbZLetcVCaCIYIooZ6HufYP6uCwW4H/FRMpfr4xoh 9y8K6LbQC/seovSdC9MNuGG9VYuaKuDITDSiBOW+k7qk/1l1CV/6cBHipuluhaXqFoqT CW7plImt87cYtje+tc7ZRuXTSYOtfJs3HNpdcvw3RuGOvZ1X8MyTSY7RPy6UTiA5om1p AdZPAt5zju3+KefjtX83hD/6XNYvs5JJFcdSI/mXVLcAsI1HAynUFqrmCzDQUaowVsN1 vFsMNt1d3PECgTSroJwtV2RDkLibsowz0AXr42ZNtmDaYKJJolPQRzTsMLhMg5oi8eba UXZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E0kqpqIL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 16-20020a631450000000b004767da73249si5231215pgu.815.2022.11.18.19.24.31; Fri, 18 Nov 2022 19:24:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E0kqpqIL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232003AbiKSDMK (ORCPT + 91 others); Fri, 18 Nov 2022 22:12:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229992AbiKSDMH (ORCPT ); Fri, 18 Nov 2022 22:12:07 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F4BC79344 for ; Fri, 18 Nov 2022 19:12:07 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A007262820 for ; Sat, 19 Nov 2022 03:12:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E3878C433C1; Sat, 19 Nov 2022 03:12:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668827526; bh=rMQXIL2kO4YjPbFeD3OJw42gZ0RYdQ2+zCpif6NS19w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=E0kqpqIL4DMKMyz7iPf3TRcvp4t77sawjb64lqR7XsrVSx4RoU50DE8m7AjBjq6Pj Gn2uCaQT2jCRHYX/oX/mPpywGUz4Iom82lwvy6poAIWdlQdk2clSgRktSKvXacNDf8 rvq7qWjxFo5Z3jwtvlvdGS02KrJT+N0Da65SHwPR0WJlSEvurSiueP462FMgAAd+ee allVl7BtuIm23dRQXzrZZrzQdM6z8rQFMILPND6Fx7Q9C8ECAhFt8PzMF67kCsisGj K6jKQuzuw0s9/+ppv+GyVlkizQUKq1X+sxNdjUPEYbLq/FXT/ajXhA5MaoTMJuHNMf MoS1ZL11SlxJw== Date: Sat, 19 Nov 2022 11:11:58 +0800 From: Shawn Guo To: "Peng Fan (OSS)" Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Haibo Chen , Peng Fan , Marco Felsch Subject: Re: [PATCH V6 11/12] arm64: dts: imx8m[m,q]-evk: change to use off-on-delay-us in regulator Message-ID: <20221119031157.GL16229@T480> References: <20221117095403.1876071-1-peng.fan@oss.nxp.com> <20221117095403.1876071-12-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221117095403.1876071-12-peng.fan@oss.nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 17, 2022 at 05:54:02PM +0800, Peng Fan (OSS) wrote: > From: Haibo Chen > > Some SD Card controller and power circuitry has increased capacitance, > so the usual toggling of regulator to power the card off and on > is insufficient. > > According to SD spec, for sd card power reset operation, the sd card > supply voltage needs to be lower than 0.5v and keep over 1ms, otherwise, > next time power back the sd card supply voltage to 3.3v, sd card can't > support SD3.0 mode again. > > This patch add the off-on-delay-us, make sure the sd power reset behavior > is align with the specification. Without this patch, when do quick system > suspend/resume test, some sd card can't work at SD3.0 mode after system > resume back. > > Signed-off-by: Haibo Chen > Signed-off-by: Peng Fan > Reviewed-by: Marco Felsch Applied, thanks!