From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11A7CC433FE for ; Sat, 19 Nov 2022 03:12:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232030AbiKSDML (ORCPT ); Fri, 18 Nov 2022 22:12:11 -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) 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!