Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1445331rwb; Fri, 18 Nov 2022 19:25:16 -0800 (PST) X-Google-Smtp-Source: AA0mqf7rvTErKbTl0bophYFRTEmWEPJZO4pve3l0nZOjLr1+6h7yQ9SBWTx20G5jueXfJG0Z8k8/ X-Received: by 2002:a62:f252:0:b0:572:30f2:cbe7 with SMTP id y18-20020a62f252000000b0057230f2cbe7mr10759069pfl.46.1668828316208; Fri, 18 Nov 2022 19:25:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668828316; cv=none; d=google.com; s=arc-20160816; b=GaDNvfJyqonhdzzq8nprYllwQnxaDndKLOctcknI+OSwlXZ9afTHbSLY2OGfOkArbC lVGNDjeIdPugRbWKVGo7Ox2vDXth7D7WJjZ9BTu1lXooRKU6s1olrXUj79CcMUVqZonK 6g8O2Ydoqsi6Gmqk5FMAVM3VTEzOF1F+NXk/e4e85U5rqZRxdDVrWZ2/Xxi3KWfnPXJo +JiEA5v8j8ULnmuUGU+l+0cOWCSIwO6JD0BZ7biGEML7vgZrvlNZY5jnBebJSLfsYy3X VYMtL31kE5Xaj4buCRFwf2Q4ikrp2OylqrNBldSKPIPQ6SNK826Nn3UHLZ8u84yVHqn/ UxrA== 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=bPb2zfddZqhzRqW06ZbuHQV2RkNyFOtuup3yQyvC+jY=; b=VBnE3xFxehE62ElQGFB8+uoHmm2b3uUR/IX2TQ9v4P8U1N6H37tgnSUFfoll8iGlEM x/9yG1ZcTqaJF8sL4HDDOcHDd2neUvKdxQOCKTJoVJWXeNsI3Ol60FiuoUpgGw19WLXQ ezRyi8wL8MXraJEJAPIl2HqWV+GNRpg55z2TNNXKqdbGQJTe0LPrZrS8/IpQYnbJ8zI/ zQRn3IJE1N1UvlvzJ608mRqWCE/vqJhpx14jGdQPgt7mRvZBL9ZesijIK9vUHA9drF6F oboiTxvdg2KMFoy8Z7x/BSJIN3eihgXTqONx8s5Rc+JspYssqATMH9EuAsUaWhC/Tc3f IdPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OYCVa7yG; 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 lr10-20020a17090b4b8a00b002189516ee01si1587459pjb.100.2022.11.18.19.25.05; Fri, 18 Nov 2022 19:25:16 -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=OYCVa7yG; 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 S231847AbiKSDIu (ORCPT + 91 others); Fri, 18 Nov 2022 22:08:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232062AbiKSDIo (ORCPT ); Fri, 18 Nov 2022 22:08:44 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 240CCCE29 for ; Fri, 18 Nov 2022 19:08:40 -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 ams.source.kernel.org (Postfix) with ESMTPS id 66233B82523 for ; Sat, 19 Nov 2022 03:08:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F210C433D6; Sat, 19 Nov 2022 03:08:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668827318; bh=Aa/UzsuEa2XC5pnHqhdLpclcpJ30O7MVovQPv+tNr0o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OYCVa7yGEVkkapypRtLw7cQWBpshoMXdQFiWnH3V/QgCxu+SL3ICcaacEjjm0FzGt wnp7E69VWQnp8a6a/vw5ZJ/z+jN1Vbt0MnQML9Bjsj4ADQxUUiSRyJTMQbhfZIq8Bi Ae1aLXyxRpe1Qufk2ZbfueVN9hjnpwfwLshSVU3Rm9i5FLb/YseNWIlFTk3egh52qh 6zmbtBOuBgSPiYFjq0z+6WtBMUCmNk5BkBGLMEYCU56MgiGxx/QGsMUx5xXG5XqtLy OA59uxYAGCzBdIeJvJimdaB2ZkK8NYFrRx3rxfyW7ez05cHcdHos3Had+ol4XQ6yxm 3HWu+AZ36xr9Q== Date: Sat, 19 Nov 2022 11:08:31 +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, Peng Fan , Marco Felsch Subject: Re: [PATCH V6 08/12] arm64: dts: imx8mn-evk: set off-on-delay-us in regulator Message-ID: <20221119030830.GI16229@T480> References: <20221117095403.1876071-1-peng.fan@oss.nxp.com> <20221117095403.1876071-9-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221117095403.1876071-9-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:53:59PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > 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: Peng Fan > Reviewed-by: Marco Felsch Applied, thanks!