Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6748560rwb; Tue, 15 Nov 2022 03:12:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf6frrUYHlRFtR3RF045whyoA8mTPdM5C8IF55e+Y4f7EH2/fuiyFrfXSWjEym40v2ilbBJj X-Received: by 2002:a17:90b:4f8d:b0:213:971d:9022 with SMTP id qe13-20020a17090b4f8d00b00213971d9022mr1767061pjb.47.1668510766636; Tue, 15 Nov 2022 03:12:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668510766; cv=none; d=google.com; s=arc-20160816; b=Y4uJPq0OoCnTNpMvJYASNdgXSHQZlpI0Dz8/C3DEol5qaedikRSk44mhNjC/MOB2dD DHGmCFQQ9stlCGYLmMr4nwEaLLmGffKPFXfn1hpxeMFvKIqCW/4MLhRWfLt9PO0kH5sD 0PzkFyTVhA7yt/vhrmkE3Ee1myGthvkDFT9ZBDtMol+iVShJKx2Zpa0ikC22yAtQCL+N 7tKZrSnPmqaN9VqqSW3PuPI54HekoArpVoYThwTN4HwgQ7PqydhTL+fSe8Qd0XFXHsVH +XILutX8dQtuB4qV5tYhEciUjVthVA2nArscHZuHwIcuN0JQZiDMycfufyDwzAaVK439 Deyg== 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; bh=ejnCDJ75nIhFzI7fHXtHMRMr+eVjjfCsptYlz5lTIcw=; b=bav0HaBY0gA0D8LU7KFKzNHVYq8bRJGfxPQfbbRM2F9FwYeBwJTP9jmRi8iIVqkw3g Z8NdvExoSV0QKxLTMGZNoDk2TCXBIuBjAkxCnonrYvkIisSi6hvj7+P0tEO63JDXzMOK x+wgrq8tHnt0zlrIeaSq+89sf0WTUxDtWttrb0skaQTZtVmVJkAdNaMxJFSusJ3KaJvV JcEzifGuFr9z+//2LjFe7cPSmcEQORly+VKfl9DQ4JvcoAvvfSgtTVLufvZJ5YMM4tfE 8fbuxLRvfQpHTFOwDU1WPNP8IU+9ABJo4942WvIqwiPeJvqvFWvEU8Y277LZhOrDCGjR 6icA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a21-20020a63e855000000b0046f9443ad6asi12299883pgk.377.2022.11.15.03.12.33; Tue, 15 Nov 2022 03:12:46 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230001AbiKOKHa (ORCPT + 88 others); Tue, 15 Nov 2022 05:07:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238030AbiKOKHX (ORCPT ); Tue, 15 Nov 2022 05:07:23 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAE151BEB0 for ; Tue, 15 Nov 2022 02:07:22 -0800 (PST) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ousqe-0002K2-9Q; Tue, 15 Nov 2022 11:07:20 +0100 Received: from mfe by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1ousqd-000795-Rz; Tue, 15 Nov 2022 11:07:19 +0100 Date: Tue, 15 Nov 2022 11:07:19 +0100 From: Marco Felsch To: "Peng Fan (OSS)" Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, Peng Fan , linux-kernel@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, festevam@gmail.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH V5 08/12] arm64: dts: imx8mn-evk: set off-on-delay-us in regulator Message-ID: <20221115100719.brt72kve6sulxd5a@pengutronix.de> References: <20221115091709.2865997-1-peng.fan@oss.nxp.com> <20221115091709.2865997-9-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221115091709.2865997-9-peng.fan@oss.nxp.com> User-Agent: NeoMutt/20180716 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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 22-11-15, 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 > --- > arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi > index 261c36540079..2b4395854283 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi > @@ -36,6 +36,7 @@ reg_usdhc2_vmmc: regulator-usdhc2 { > regulator-min-microvolt = <3300000>; > regulator-max-microvolt = <3300000>; > gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>; > + off-on-delay-us = <12000>; > enable-active-high; > }; > > -- > 2.37.1 > > >