Message ID | 20221115091709.2865997-9-peng.fan@oss.nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2608035wru; Tue, 15 Nov 2022 01:23:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf6Oo535/iPnaA+lGnkYj40jvln5QHksYSORYBDWOKRPrDVN9cYLnlMNkyRWbj980w4JYp8A X-Received: by 2002:a17:902:ccca:b0:188:aa84:14 with SMTP id z10-20020a170902ccca00b00188aa840014mr3208481ple.17.1668504205948; Tue, 15 Nov 2022 01:23:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668504205; cv=pass; d=google.com; s=arc-20160816; b=i6YaV3mLwoqGfFQOwjiPvR+IvOys0SmrwL4jUb2fLH1uyeJjxDy5cYe/Y2cV8v4xSQ jyPt1cVun48F5WjUrT87z8sBd4cohtWLZvo5fOS90EPWSe9gLxem4vXBu7RJc3+99enk IMU6OK92IyOEPbHLQS/eH6b5LYiyc+QY6vUyU1esUEXppP0r2yJ/QHH8tPejS5TaHNmy JtXpqPgzYabI/BgKVE3RLj9vKaXyuBjiK2T1Px2zUxpfDeb3ldVegKcMG2xTrDzeULQv 5pyXq5REhBkeSYn7tSEZDiOp6vvObk4bpIbxNO6krFdkmlHzYXMI9aJUc6IdZ5OcJWem PQCA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wvUAb3mcK96FP9e73bKTht9uQvkXPfy6sAzCX5waNMc=; b=x4ulfkMxs1rZaH7ZYWOgsCOxYUuZE8ovtp+z+g2Jtf0eNuNSX8dSh20GFPsQU4lmy2 fI4rgKwbeqqZzy/vJTXgPAASlbnLaN0RGwJ/GxeBDpyGPr84/rm44s/2QVGWtIKx/TlB GssMC1FOANynJ7ws2vF6DRWFp1tP1fjXOUhyoQy4Q3o4Nh9gx0epiWKuOAoDcFXGpatg IO44TzwkEi9KUqM3Vd+kwPYbsffPhu7KoIng93iAO33ntCwm4SVgvST0C+/tJ2owob3w JR2+dYw8u932cp7J+pzUUgQEijnkMEQqThUY6C422/PYhAvK2hMQX4GDczSSgLT6tH6e KIcw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=EXxrisbS; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m13-20020a056a00080d00b0056c064d3fb1si13134312pfk.152.2022.11.15.01.23.12; Tue, 15 Nov 2022 01:23:25 -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=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=EXxrisbS; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237946AbiKOJRO (ORCPT <rfc822;zwp10758@gmail.com> + 99 others); Tue, 15 Nov 2022 04:17:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238008AbiKOJQf (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 15 Nov 2022 04:16:35 -0500 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2076.outbound.protection.outlook.com [40.107.105.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 441D2220E9 for <linux-kernel@vger.kernel.org>; Tue, 15 Nov 2022 01:16:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i/PEF8Rwj9MxyhIW9OALEPjAx/9fJO1ICK4aAcC4XsPf6s72DbegP/RJAPFY3lDd0PEVnGet45K6jFAnsf9hvH/o8MXAAvqG+VH7CASFYuxOkRxzq061a5s9Q6QaBsUh4a86aGuQhdox02X+BtpAYy1XhSNi7G5q8VvqeQcLo6uEfsLTubMvK40PqEyhJ3T1uhSlzWFFPYt3IfOxAdlFm2LZ4edVNB4hZn14BTbgOY5rMgjz5OCtKSYcvx5Hvjw/UIKyfViAuf7uAsyciR9n4tb0Xix2j/cpvwWsTAbPVVCoQWld4mYhfbt2rLe7PF8/oNW7NRP0U0jLbKie04qMOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wvUAb3mcK96FP9e73bKTht9uQvkXPfy6sAzCX5waNMc=; b=E+HWnhrWOSQJpUs1GGVJeQQZ0wr8/iyA1Xv36ydyPlr4ApaGlNOXc828cclRgI4qY4Hy84Af6dV5PD+nbAPHIm/0zlRTuuexQ1gBP4BxQbK6UueEer8wH82woYn/JDwMK+5eYdBEefyr8RD60OpUGORjKqYC6zn5LHWvOztECQjoXdDboW2/BrSwn1i5O+bdO/usfzztgYtqQZ6DInydkl4dUVQWiQa75Kos+TX042Yed0nU5HcS6aD6CNB8EFIQBm8FUm2N+DD4tDD9jCpKvELNnG4UVzCW8MqdDgvM+K5N9SiCNtdw6d6P9pxcYYq9CgZQG9XYt6amieGPX2vAUA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wvUAb3mcK96FP9e73bKTht9uQvkXPfy6sAzCX5waNMc=; b=EXxrisbSaQFM1ko7rW1uYxkz8bWXBtWVmWM2ttu23zNIxG4Vo3yTOepR78lthUHlI7IDS8V4JxzYDTYNcBPhVNiyM8k5LFq1oqVSoMebF6Zrg7XJCznxCYVCZ3m/cUV9/rUJNWb5TS5kspXHD5N2h1ZXcYqDgTC7Fba+GG30H/M= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AM9PR04MB8195.eurprd04.prod.outlook.com (2603:10a6:20b:3b7::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Tue, 15 Nov 2022 09:16:10 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ac6c:bcb8:674c:35d0]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ac6c:bcb8:674c:35d0%4]) with mapi id 15.20.5813.013; Tue, 15 Nov 2022 09:16:10 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> To: shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan <peng.fan@nxp.com> Subject: [PATCH V5 08/12] arm64: dts: imx8mn-evk: set off-on-delay-us in regulator Date: Tue, 15 Nov 2022 17:17:05 +0800 Message-Id: <20221115091709.2865997-9-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221115091709.2865997-1-peng.fan@oss.nxp.com> References: <20221115091709.2865997-1-peng.fan@oss.nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2P153CA0007.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::8) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AM9PR04MB8195:EE_ X-MS-Office365-Filtering-Correlation-Id: a503dc12-0bfb-4593-2060-08dac6ea08b3 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XPy6g3JhE/zxQtpzy/iiqN+psS0BMKVyWoQDOh9MQt0z6CEMKRbZZEFxdwseYZT9+Z9xTGuiaCFzdFfvb6/Q8n++Nz9FX6KmRPVWLte+Ow2sNkKJGu988H2q4Xl4wAKubvwg4Lg/Y/4jDhx1GL+FZ/D21EeWog+g7qs9ASZFK6cB6fNP/uXK/DaTHRZINR8vugRMg1c3ZbSHdhV/FoBgGFEWkCdzJVEM5M955xO3ZQcjzbb+mksLkcO81nZcsRU2y3Pgds92xlWlNDi4lGfUdVi/GL/5K7AegmnPRmSPd7vQAhvAkf2GaNGVc3Rb3U9hs+3hPgVwktsP28q8m33OrHSYU2BwcH7c1w29Rbyxe/MdoXe1fKJfBzNPh4KKoJAl9rO/h3AbF1Ay85MyspjEwVUVoW8BpuV8nQO6QijTKDKTKo7r0dWXJq56KuPLNFH05kdN7tfX8Wg6hQiRFfY3pfghIWvgGdJHdAfMu99wM9rEy+s4hY7tYwNNIzf4OkGyUpr3az+2V47U4TP1rlFt4mnKhxHr+SRrb+9nw7ewCzNMRJvG/6pDMFhNK+X11ny0NvNTHcUbKcOBLuTIMcQbdU3ugrfaIDjqFOr/hJfGodN4SSnDJvEBnwNkOZNBLbo/rAvu+5OhL00ZtUKhkmFIOC8CX3SL5W+BX5ep/xNrTw6hhd73Ty0KYpkl8ZxR7N2BfDmUORT2se4QT9yg1GSslYHxOZ8sKQArGT7FKHG4l2lG9FBpmuT8pCnfSuhvd2JT0Vjver4v1seqpy69U+MUAzVPtlAZxHtknFROtgHdCsc= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(346002)(376002)(366004)(396003)(136003)(39860400002)(451199015)(6512007)(52116002)(86362001)(38350700002)(38100700002)(1076003)(186003)(83380400001)(2616005)(2906002)(26005)(6506007)(8936002)(5660300002)(6666004)(478600001)(6486002)(66476007)(66946007)(316002)(66556008)(8676002)(41300700001)(4326008)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: YIn5j9F24BiBp5xThsq0UpBm15hBLgbMgARLGNR+da5Q0QMVgmcFo5byaUB7rgEW/xP5xX9TcnXsPH+5d6CWYEIuKeAliJnxFzU9Rmod21i5R9Xtd19Cy+boApZ4SiOzr8hWewLJKahcgZnQdsiOsYMAiNnKR0xGFh3Q9L2kcboS8mwekGJcC2gKwKC6QFdN1EzatYPvXq5UVi0h57IIQi1z4rpyZVLqzwHHUjhZbDzsB+1t3DjPaHXo2aqUO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GvS1HhgYoEb+UPlTmvMY+Nr/doQE9Iilczl4wqzXyUZj9AdOM6m8pYFpsIbP1t0rJRlclOKkX/Ri+w5lRJkd8mOGBfScitXdwCMpMA0WvXwu6R9ZB3jVXf/xgbdy2kgH97cB6nl47gwA+S0hvSIhvOhL5VPpNgxUhh0GP4JwV3GFSV4gsKFNss5gzLBwJpVikkvBOgLvGu60mp81l9awa5H+SS3LTxgWxdE3fqEGKkWGMD3XBYjXMQZ9GZhMR X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a503dc12-0bfb-4593-2060-08dac6ea08b3 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Nov 2022 09:16:10.0074 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 1v/dlRnbdQ7Iqi9KjHWl1yJny6m5//WSHjj3jQPEyZCj4F5+dRzhhqT3AfA7wlhP++oesTaD19AgqvzVIzYDyg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8195 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749553466184580736?= X-GMAIL-MSGID: =?utf-8?q?1749553466184580736?= |
Series |
arm64: dts: imx8m-evk: misc dts update
|
|
Commit Message
Peng Fan (OSS)
Nov. 15, 2022, 9:17 a.m. UTC
From: Peng Fan <peng.fan@nxp.com> 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 <peng.fan@nxp.com> --- arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 1 + 1 file changed, 1 insertion(+)
Comments
On 22-11-15, Peng Fan (OSS) wrote: > From: Peng Fan <peng.fan@nxp.com> > > 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 <peng.fan@nxp.com> Reviewed-by: Marco Felsch <m.felsch@pengutronix.de> > --- > 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 > > >
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; };