From patchwork Fri Nov 11 03:27:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 18415 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp516341wru; Thu, 10 Nov 2022 19:29:20 -0800 (PST) X-Google-Smtp-Source: AA0mqf6gueZ9hl+4ryf+mW8tegV0CPSDAJPOlch16ZrsnnH82gp7oTejXQU9/mmqNC76Yoe7P5SV X-Received: by 2002:a17:902:d203:b0:178:2a08:2e7f with SMTP id t3-20020a170902d20300b001782a082e7fmr581408ply.128.1668137360089; Thu, 10 Nov 2022 19:29:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668137360; cv=pass; d=google.com; s=arc-20160816; b=RXqMFSG4HfQ0n+DUJh3wDvHhbMzyIDpphuL7qkGkL71svVwpeRiZxYcqo7PyMeMGSK CP4dM4w+WNG8Q/Eitpsu5OI3OqSwj0bsay/jiQsYPHFVyosxUT/slxxHKZAwuWwwKaPS wyHxGzG4yvZ0Ho0F4lys2/4gkkkmi9usmORChOF2i6dUpAJnzDwufmSbBGvqMnvPJCJ0 j/OkZ7r82MGOA3hyA9MJDuakMkHb7TKJ3RJs+uRw1YpypDgnUnRpIAjYhbYe+WBKSL7N SRqkHAANkppEv8IDGvK727JsStLOTOOHLqVh3IAy5T45UyG8aD2Pv3FMl+V7/nBl/ydk +hag== 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=hQby33EV02onxRlFM7akkEkA0XvFpAwKcx9wYCEmXOc=; b=oQqR2UW/Y+MdeyWWIi2h/1nM0vVjvs37cWNv3GN60CR6vGyMrjOCduRHnJLIiuXafb AmI2rr8luJ6EE+7e/5j0sXkpgUoeiKBDbhIuCx34imeBCLYPYQR584xZGaP8GcVL7sC6 jD57CttUWnHJvY2lOqT9OSSj4doQs/+q46rPhNujXmz5i/k3WuvPZ9WUcowOk79d/oOM j3EI92eurcUuHGHLo+qG+7MRAv6guKJV6JHTwgnQIoCuDgTeXmPIoztIAKoZj3q2Jkh5 Rz7t9NGo02AhMNgdCOvW3rfZaMPPjj50HyIRjPxD1wOo7jYeyqFbwE5Z3d7WttSYCs5A MAEQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=BAraR3lk; 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 q18-20020a17090311d200b0017486813f81si1391646plh.528.2022.11.10.19.29.06; Thu, 10 Nov 2022 19:29:20 -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=BAraR3lk; 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 S232580AbiKKD21 (ORCPT + 99 others); Thu, 10 Nov 2022 22:28:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232866AbiKKD1o (ORCPT ); Thu, 10 Nov 2022 22:27:44 -0500 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2080.outbound.protection.outlook.com [40.107.20.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93A43654DD for ; Thu, 10 Nov 2022 19:26:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hZ5iTgcNJ8ADp9d5pmtm/lui5UhCzS5ynIdWW+TSgnAq/0cYEYdge11fja+qkSYLunP24fzx7HUtxOPUq4M/WqvPbbMENco456Ow1BBqreDLtKT7K5/wX/xuC/WYkg9OEhPe+IuYRENdOXSXAwFQdGlcTkm3vl2LGRqWgdLhOsP/oeNccHbXmEbakGnb0t0gRHbk1PGULl8XiS+miEpu+vI7aYci9j7jSAQiNjkNrcVuRkR8kKugINhpQ24+pCcOotZ1z6p0b7YDhQeQaw4/vrrtFexP5xUYYozbYFLyUJjz3mLMcqiNR5yjDLK+IvR0HVkbeSZr1LeGlIVz/M8lGw== 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=hQby33EV02onxRlFM7akkEkA0XvFpAwKcx9wYCEmXOc=; b=fMZeJjzmCeZvJyl8/EebwybnTjCWzsKR2WJHwqZ5SGYqa5/X6f37nHb1iBMfkpDUep6WsE4HNgMGI9dayEWhyEY29vvP1xVBC8H2T5MexrTc5BHRXEXWuchH3XfBRH1hM8F+Zd8rfRDflAm55BlFjn7fC722c4bDoxC667wFg739VS7ErL0YZ7xkS9sBaK+9tfAi7MryErwKdMwsnDzdYRwWN8HD0Xu6SkaiOB1dMvmHKve7yiyZkvAB/vGpe189XaGFT5nMECX/1b1TlrwbbjekbuNflt7G7v6uru0V+FCAG4KYnK+RDUrK5DcEKcU3aZePketNNSr2TARakZDiHQ== 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=hQby33EV02onxRlFM7akkEkA0XvFpAwKcx9wYCEmXOc=; b=BAraR3lk8TraQ0PVTA/2kyiJo3hNxFgWgkmkbqN7mWkyvLveiKUw0k4dIyLPP1ICCjx+s44rn6EvAzDVyjAopfcA5xp1v+45nmJMRN/bQuB2pIFPHj1b5pbbUT9ZKA5a1ZBK9k4YaD76ho+CcEeXVQefrZdFMoRONVRibyQ7Nfw= 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 DU0PR04MB9321.eurprd04.prod.outlook.com (2603:10a6:10:354::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.27; Fri, 11 Nov 2022 03:26:48 +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; Fri, 11 Nov 2022 03:26:48 +0000 From: "Peng Fan (OSS)" 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 , Marco Felsch Subject: [PATCH V4 01/14] arm64: dts: imx8mp: add mlmix power domain Date: Fri, 11 Nov 2022 11:27:58 +0800 Message-Id: <20221111032811.2456916-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221111032811.2456916-1-peng.fan@oss.nxp.com> References: <20221111032811.2456916-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0040.apcprd02.prod.outlook.com (2603:1096:4:1f6::7) 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_|DU0PR04MB9321:EE_ X-MS-Office365-Filtering-Correlation-Id: 80ba9a4d-3fb2-47d9-192c-08dac39490d6 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: /tpsdTf8Rkqs6NG7CLPUMDjvMei5QzAtCZWeCjgMsdl5W7pEaMsE3pmCwu+YOzrWLt363XqBh2MwVeqL6HGTzGeEdhGAP9ROfY3S355h9Xp7ydngd0ly5YRdm99qkZY3aLhqQCT6RF4chhBw6qNiDX/r4TLG4ld/kOxtXo+tDTHGlFS/Y/H3yCbNohdeE693Whwj0yhduPrq1Hr1jhCHnZNW0WdAGatwTWUD2pD7WQHQukqczzTJ6UCMlsP8Y8BINeYJIk6E0twG0Na/MGqT5Z6TYuef9oPAH6fSJu7G8Ysaaqs8SX9CI1yqCVc5JjrbIrA7uYIn87OB1lPt4vaNXhTZZ34+ZRnnyGZg8B15vIXjm5Ak0XT7HbiI5gIAIM4W6H8sgalAWl0S+X+LCAmgcSMS6emHsMZn34uE/o+EelIWgEUQ6pGalBZ1j7xwLO+H+9Sma1pO/Y/+5J0/ol0yF2QITulIgSMOl8xPbOhTepmWlWyvqXgcJIrC4Tia9w7tCuhdshY+PKl9aRKexAJlLzAxAGK9QS+ez0/xC5p5t1sIQ0WCSCqOHs7o8UmCt3EK1OL5SnQJ61DEun9Pjvz3b0FinWlX99PnW2E1Quf5vBiVCvU3WiI3S/EsPHBZ3+IKT85J8z/ttwl33VZd2ykoPAbG4HoVYDkF5QerveaiN/rFRBAe5x81j71Ch/vjT3cu1buG2NyUU24IkBBljKwmYKRPHvRpDU+NizJzvMvWZi4XJlOfgS85ZJYX3Vfn9WRY7sBeOFg0F077r686hpbZPk5IB9lHl4F9naXvrD7QcWU= 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)(366004)(346002)(396003)(39860400002)(376002)(136003)(451199015)(83380400001)(86362001)(2906002)(38100700002)(478600001)(6486002)(26005)(66946007)(5660300002)(2616005)(66556008)(6666004)(41300700001)(54906003)(316002)(66476007)(4326008)(52116002)(8676002)(186003)(4744005)(6506007)(6512007)(1076003)(8936002)(38350700002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3/06mLGFt40djVlK4RA38NfpYjInokw/75jI9ZR86Z6iURImV9TcIzLCRiEaaTiIxrBTsAA7s/J8tAOw0XlhLjt5hVIPormqnZntshooWwlYersf112Djh95622o/OTLQm65f3VMNcwEJAEYs4bg1njYWIiGfIxXKQl/S+KeSgvkBdzLN7rMEEsTuxJhTdcJlZv/YWU8P7ETe3dBHQ+ob0zk9FBTp7xfR7k40ooAZzZ3nE37YnQ7Y+vIcGoJB5VX+ysXbUfdi2laZNRc8r4K+l/0pimoFby0AgNcHi3jhi2mnZDoUEAWLvusxyZ74oNNBrzyQ0ec00qhXH9s/at5xtokzbBAiy1l8ZioT1TEXJrlyTHmXkuPfWfrZpifFazQXZRAfiqTypjNt1etnZsQYAq4R6IYD3Oz7gDCoaf8j6QI9PBOpK4AV5b4/1R5ZCTJQunnKkfVaWp7ViXbqaMaLKN/AOJodEMa+XFacT8g2THiV7H4SgJSgnUAEWyjD36MBBJs6wNlDRPm0G22yLujrhs+78ozFMYN4gyeL2XSyn6Mvx8vJ4mkDttcBx27x0/OIgS3ut3Gqdm2qObUdX7UFYqeEZtTtkZJdKcZBPBhL+TEhvQpj8HMvn5xKixi+76N8qZsqfbG95LdghCEULYnoMbniTZnViCYA6TMRqip2Tge9TnCwAcuQPt5fuzni17jGkCit1HDaEyrwH0p2bgXBghuMPKMTE2DxJvMYPy40iGMkoErwK16b+fUDPk9V9X7yt0egPzuV+/TAKoIJPkl48zW+XadUeBQ7lcWXpFeRfiSiuphLGg485+tClijWTNDIlNpgrtDURmhog1vGkdwF1QHGZuojIK4i+5eRDKnVtO6tBCpr0y2izSEepHlOhjZBoEjpsQZpjW1rpwKGNnT5ZTx8wAklY4/tjYhlaKzRJtHkdk2dfY+TvmmudWT6hKjCVF6O8fEtPoxqhs0csMtRmO4+nGys51bngy39J45d7IU7W5xs+yXtFUvRFE4tcHk0Ix1NvkTsL9q8mVQWoCAMyxQCQcCS61pcXcaPfmnNd/9HDgQNg416o9h9h5wlNg/+8CrvqRZWysrlK5uD3gBzBRK53ww4/1DYK2RWsMdHb1Pd9VzlDXQh1Q/eyDFr1b2yr32uibhtjozYrWHF/dTd7ho+VMfO9cLmd/PlP0yd8jl9X82F8lxeGpcB0/divGCziPSOW7D5YlSoiKkcjEvZwrzLJuvCmCz5LtDoja4b7NOUzVTnUxL2UHz+YlQ/xiYoUlcSU6SSnSFThURcOBOuwtg4EMgK/RMKzUuimA7bOf/GA3une10MSzK8INcUOPXDtTPghETzTUEN9OZW5culX1ysNsJ5Lc+VwAdUghiswdeAaF/n5LJLAVKS55aZltwuXddShxC7Tvc18gT6OjLwKsaHUTsm8XlDsYR6vrz5Zzi8p1hO3i/kfmKWO/DCImwvAWjJQH3q1O8gZG3ELKQEB5uWvMnkA8TMIBbpoT6aedgAO4I2fch4nvtJyUZOvXIpwONDsEIs3WIYernBCfB22Jg4hgwR+jFXBqq6xddwQELXCwAoViLUnn9mv14Fexc X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 80ba9a4d-3fb2-47d9-192c-08dac39490d6 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2022 03:26:48.2153 (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: AVLUkgzgmBDcwjOFMfTAqCK1hhJ99eoQcjKLjC6Kc9j3nVxhJSg/lVHdK8IkSc67R/BDrnVLMRyp5pmsBBJL7Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR04MB9321 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749168800512150156?= X-GMAIL-MSGID: =?utf-8?q?1749168800512150156?= From: Peng Fan Add mlmix power domain Signed-off-by: Peng Fan Acked-by: Marco Felsch --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 7be02cd100cf..08704d2d9fdf 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -631,6 +631,14 @@ pgc_vpu_vc8000e: power-domain@22 { reg = ; clocks = <&clk IMX8MP_CLK_VPU_VC8KE_ROOT>; }; + + pgc_mlmix: power-domain@24 { + #power-domain-cells = <0>; + reg = ; + clocks = <&clk IMX8MP_CLK_ML_AXI>, + <&clk IMX8MP_CLK_ML_AHB>, + <&clk IMX8MP_CLK_NPU_ROOT>; + }; }; }; }; From patchwork Fri Nov 11 03:27:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 18416 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp516343wru; Thu, 10 Nov 2022 19:29:20 -0800 (PST) X-Google-Smtp-Source: AMsMyM465uzuCdJaM1HVd5UrH6IRobCd1v87CV5trkzA/QHmttjRoKVgt86eYY5C5eGAa6BL6ShD X-Received: by 2002:a17:90b:2647:b0:213:1944:dde2 with SMTP id pa7-20020a17090b264700b002131944dde2mr3289570pjb.193.1668137360417; Thu, 10 Nov 2022 19:29:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668137360; cv=pass; d=google.com; s=arc-20160816; b=snzU7O6G6agTX1AVv1BiYgBYuFKUCnFNcqHLEgr8pBO9HZeCErHvL4xyACnTjHnqo4 NsZQ7XdUfU59p8JVbT2toOl6tVj/ZJY4+MyyE7TIRqgemQa4ilPu/7o7ju7Eleb3nerA tYheKu5Qc/RJg5rIJvQfQ8Bz6MIYwJS56zrUd5EFC5YwJ/ZpHaPZWwQk/jdGjaKyTQvT 4c3AhJrxBdkEidQMhHQElxWHIRNStH/wsL1iL8DrqKrhZI5LXGL3yYLl+Ej0lWzJLZei DZTQA6SU3N4os1BleOzN+XXn1YTVD8/rd8b2CDjcgo89fRzAuUeCx32srG+ZuBEgrUxd x0Aw== 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=mD3y/1/E0ibJpbjGPCjYtWgvN8kRPlJ5U7hqTre8rJI=; b=0WNCqU1A1eBzFN8gWOfX3Xq0X9n+nuXUDCxe3TGykG1AvA56LhL9fEvgJBaVOhrcMf Sy0Fckk0ENBKbuLcu5aq8Ofch3maPGcytLuX8Lu0d7r0Cwc62J3vzGnP14KQJRWNjlz+ igD1K9pUvDQWfY+p/H4+p1mDU3iewM+viPK+2M7E+5pd2v+mpHneZY+3LFNoF2eeE/Q+ eSYZU6i7ZxA8oufn7oChOqnhzlkKfpzsy1Zy7l99lLfpuUp5JlQUcOOgvkrpf2w5Ms1Q FUe5X8lGRK11YZpF44eJs1HVJrL71hBxCOFzYXzXKaOVNBOOs48CAox7CHY2UlZQkV+/ PiNA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=O8ZZrYsL; 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 d15-20020a056a00198f00b005660f2c4b27si1228691pfl.274.2022.11.10.19.29.07; Thu, 10 Nov 2022 19:29:20 -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=O8ZZrYsL; 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 S232788AbiKKD2e (ORCPT + 99 others); Thu, 10 Nov 2022 22:28:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232891AbiKKD1p (ORCPT ); Thu, 10 Nov 2022 22:27:45 -0500 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2080.outbound.protection.outlook.com [40.107.20.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD36A65E47 for ; Thu, 10 Nov 2022 19:26:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AatSscwVSVp1ZhRRi3HMEKhAuRcA7HuNDWoVUOthkRFulI64SfZKLKEJlQpD9JGXMy6uVKHP8qzJv0edEdAM7Ybd6PRf1juPhle5/GZAQIdzuY9DmVtc49M/Mw0hYiRUgxC2nIsSmGNqdhEgYdbEe/kUeTz5dhWtGBAwCW54xpGk+ci5VB7kmh1fsexh8+I+WnGYFzjHj5icvy6K8DzKJNb5K8gUnsoVYgAx6i9DsKtiB3O7T5rLZnojHXLKQ2JTc4GAoKoHPwqo5VIZYRoMx5/6iAMjglGpfV20wuW2QkVQe9Xbz/9te2YOWNbyDh/f3npKt8h1w2Ov/QbgNl6J6A== 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=mD3y/1/E0ibJpbjGPCjYtWgvN8kRPlJ5U7hqTre8rJI=; b=c3VFrNhWsaXWIrWsY21r7kgtLFxa+62panB2opurSXG+S+WW2rLFOL15HZk1XE2S91lHgdi+cIyB1u/9fUesxgAqEfTQASl/pebJemLW+VFLg6lZPBRRlsGeE9uz0IxHNJ/9fjT3oKo2vKFE2EaZtv5vhqhwqefzJOGK4z5gDIKHH+DM+wtb7AHN3TpVtRIzEbGoW6uEhHms5pMlC4qnxOqGmRC2B59mTDZwjJkzurXPznB3CVi2Hu7nvS1GWlIH7cOklswDL/wbvi9ScqFS745FJxi2/HxUoMp6RUr9tbuRIpbCVd3Xm7WZSFFCb44MQS38xPAJMRzGFmN40rhSLA== 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=mD3y/1/E0ibJpbjGPCjYtWgvN8kRPlJ5U7hqTre8rJI=; b=O8ZZrYsLw+I0uL97QEmCKVfBoggz78lRZlwPyMeY/VFZCUoM0u4YOv091OwM2lUez7bvjx6uVNnYapqAd9vgz4Z1XCIal7PSIspdDAlbFLIcB0QifnmpJDHTYH9oK7GU+1KsTRNXM5lb6pAfRWRIFzaz9r94iuEZ/xagLRZFOHo= 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 DU0PR04MB9321.eurprd04.prod.outlook.com (2603:10a6:10:354::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.27; Fri, 11 Nov 2022 03:26:51 +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; Fri, 11 Nov 2022 03:26:51 +0000 From: "Peng Fan (OSS)" 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 , Marco Felsch Subject: [PATCH V4 02/14] arm64: dts: imx8mp-evk: correct pcie pad settings Date: Fri, 11 Nov 2022 11:27:59 +0800 Message-Id: <20221111032811.2456916-3-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221111032811.2456916-1-peng.fan@oss.nxp.com> References: <20221111032811.2456916-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0040.apcprd02.prod.outlook.com (2603:1096:4:1f6::7) 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_|DU0PR04MB9321:EE_ X-MS-Office365-Filtering-Correlation-Id: 39bf4a95-1478-4f3e-fa6e-08dac39492be 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: O6Ju/uDAQDBcHBHQTcc4biCLqSbZMe20OT5XpYhOT8v1oi4my/WHghtZt4zxD5P2JPsp6ySeLrgSDT7VzoG+3EVNkLzILi3JgXGJ7XAUvDPkqYrBbKl3n8EAvGUvwe//qHP428h2IVudBUurKdu/ikOz2iJjmsoyR3ZcAdZ38GOeIs2e9526V3Sfs58EXu6LjgQ9QllA/5Ko9V1BWIZ/53OSeq6ynRHRyY1dsmVJSSoaRPp4cHwJBy7u7DRA6nJ1SdRYKa1wj1ZuKytyl3pFM/ekMReE7+2NlBbalj17gFZAmj6pJKVuVtuzTyHlYENlw7ixWnq6XsgmbuHz1eRfV1MhrVgIRXT4zpAUhJbw+VqgyZGom2VIdvNgsq1oe6aQjHOgCK0HAZArxCxGWBywZddQZKZSEjaQrlSVQ0f+WFseXBhc9blKMsCrY3JpNF4SdKoWh3bQnf9uTe9fZz56WJfxHCqhrMmAMgHGL25rFHEJ0bJTjRBEptEH5BD8j42ZW9zUDQW+CqgzPVnU190QRtW1+SQTF8FDmN7WH6/lBh+DKqQ0ZYr2SoYXycTRMnxr+8iYCyFUfEsc6nvgv5KDL11Yp1cMPEN9AgbSsYPyguRqzftTpQx4hHxbj37yyzmBNsaw+euuK1rN7YCCVYlHz0At3tikJxKi1kMLvvzSIZqI3naExBa5c7mRHkufblkqRqyR6tic+vVSSgaGKAGTOy6xosoYHtmgmRFKGRmNm4S97Vvy0iSzHdTXsQVoockZ3QP5j4dcX1pTx4cVW1ibnOboLBXxuf83wYOHg1xItf4= 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)(366004)(346002)(396003)(39860400002)(376002)(136003)(451199015)(83380400001)(86362001)(2906002)(38100700002)(478600001)(6486002)(26005)(66946007)(5660300002)(2616005)(66556008)(41300700001)(54906003)(316002)(66476007)(4326008)(52116002)(8676002)(186003)(6506007)(6512007)(1076003)(8936002)(38350700002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: /ToxnZYWLNkpOQ9VYd02I8TzV4SihItkdfYLJAljGhK3TflNseHKcukSLzOU3NbHKAtAxkM4VJOepjeU2opMlahzqgoCcyW3WQGbKuE2EwsNnxV9vsyEVsSX4IwTG3MvcheQyT39xIL3ZdM1bqBYEXG+LaD19opETSX3rZfTIcL3S2IEd1wtDfwW+GMZPdudL2ZBdNYC33zdVj9ahcilb8uebIAK+dHsPZGZEyPzRgmPL5PbfcMlWPF6m9h+gI03NBgzDNIy8tehxUk+ixTv+H/RJy6Lz8aJyf5IENrZXgPjr/IKjDS3EjIBQo1wNBUgaj4356A7UFmvmG9w2cYIFlY+DcA01EXd/QDxv/lIXkFnnhzly5klNy6dVTwxlj2yROtYd1KsRrvJv2yaO+qBg/68H/5t6cwRRVYs/ZkCnLjvWnJjfBWBD80vaBWpgcx8w3UZIfb9NLzGwwjFCJcroHo96jNue5G9oddB+05IaeA/EiUFIsuaO/atvb7bX1psVVmN7BdAGymIwzwv5ImZnBuy0JPffBf2xD95ySgaESPczJELaSbTogx6F7qRIzFQUkK31PL9cGPY1kP7a2ZQhKSSjddqAqB4m7dSF7HvjJqBgLJJlmbO1xMNeLjgx+SI9kB4SoiarqO2C7azeqESusKaRv/0USBMzwldodhe7Zx8RPL1sLN3TxfxVxpdWk4yXYsLxBOO0NAANgFoIh486WVIE4elMT8yRYmfuYi0Nf+v6Hpyu3VK9waVANHKtnpFYlw+Pam+kpuUTKYXafogrmIjy4MnI/6SPmpDplUUH1WyBLo+r5i+x/kxUxlTt44tTfYSvBQFvuxFRQSajMPLz3n8ll+v5W5nPyLV3IrHXe75/cwWsX+inQQ7IRY0agCap9rHbk6Gk6eVbGZPaNHJ2YaiYJdvRM9te4gNnI4g8rFH7+XOydJTxb0PWT7LpwHUwPf+f/ysPX6pUOvuPWbyg38zcgQo8bs2ZVuKWT9GggXuK5C+9GVbPykP62kpbxDPEIsEChQJOG6+3r6huN3bf9tnZstwzrbDIcKj8tgTBCXTueK23J65QtCW4qiD74l4b/SSvXSiVKvQWili+gE84NDCwp5wVFYNZlQXIARttTk0Z36042bo7K2gft9NApNY6Ms+WVZ6UIKGzn3pDZQxEn2JVCaCRwIbSCUKMYWZT1k+IF7b97NZomNzjcAQW7cfZuamPc9CDFLoJKQxiuheqlgFI1In6iKhtr1eWh298K0EREMqqEePRT2zYvUZMMbInfSTPdlQtahmXwp1FbYSo2Pob65afBhp20nnZbFTYwEyGu/IdzoVcJ288OI1kXq4MQkRQGp3U252k0snS3UjLFRFt8FqoKDlFclTdF8vqdFgM3HRMuJwDiDS6IIfvninQ2aQ1fTHASh0KA6y8326LxSZrYwvLuyrDB4yfSAsls1ls75i1EAxAczDYTufCwlWe7HpsSDprN3/TQWYDA21tGLCyivaZKN4Bxi8gFi1f2/NxYLkGQyt3Bwk9KZbdYSbiOoM3LDrWcWm505JPTZqt0L/8XU/CFXTUJiWqaBefB6b78BysPdoT50GHlThz0Wt X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 39bf4a95-1478-4f3e-fa6e-08dac39492be X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2022 03:26:51.4192 (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: l0DNA3ggvSqmvswBzCwonAYRE/hHZeoXRWj4NyaOYsTQgTzih9FHSB+Qk4jRV/BqWhGcQsuVkfR9XSNsVoF/Tw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR04MB9321 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749168801073604190?= X-GMAIL-MSGID: =?utf-8?q?1749168801073604190?= From: Peng Fan According to RM bit layout, BIT3 and BIT0 are reserved. 8 7 6 5 4 3 2 1 0 PE HYS PUE ODE FSEL X DSE X Although function is not broken, we should not set reserved bit. Fixes: d50650500064 ("arm64: dts: imx8mp-evk: Add PCIe support") Signed-off-by: Peng Fan Reviewed-by: Marco Felsch --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index 9f1469db554d..b4c1ef2559f2 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -544,14 +544,14 @@ MX8MP_IOMUXC_SPDIF_TX__I2C5_SCL 0x400001c2 pinctrl_pcie0: pcie0grp { fsl,pins = < - MX8MP_IOMUXC_I2C4_SCL__PCIE_CLKREQ_B 0x61 /* open drain, pull up */ - MX8MP_IOMUXC_SD1_DATA5__GPIO2_IO07 0x41 + MX8MP_IOMUXC_I2C4_SCL__PCIE_CLKREQ_B 0x60 /* open drain, pull up */ + MX8MP_IOMUXC_SD1_DATA5__GPIO2_IO07 0x40 >; }; pinctrl_pcie0_reg: pcie0reggrp { fsl,pins = < - MX8MP_IOMUXC_SD1_DATA4__GPIO2_IO06 0x41 + MX8MP_IOMUXC_SD1_DATA4__GPIO2_IO06 0x40 >; }; From patchwork Fri Nov 11 03:28:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 18417 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp516409wru; Thu, 10 Nov 2022 19:29:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf77QBxVdpCIj9OViCVbKJ6d0Gx43iyJlKD2y4vNvDOjaPXKcrmQcbFiwEZc+4baofHRByOu X-Received: by 2002:a17:902:c611:b0:188:6300:57ad with SMTP id r17-20020a170902c61100b00188630057admr750643plr.7.1668137373659; Thu, 10 Nov 2022 19:29:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668137373; cv=pass; d=google.com; s=arc-20160816; b=FpJXcC2R8UUkdmUASXvqvfIMJln+R60LDZgItnIAI9z7x5WQ6HJ5cSlNASVd0kzFa+ 3u93mjo+LVAR1WHq3sSpSLiYBWmHmSl7+zAHTfBv3mHs6IBF3aW0bjWpusONMq9sWjEL /sQbHmEaAsToOactAnc2Y+BwNwq2/2dgeYBAsNefhIaBMqp4h+73+BHe8aGOXkQrfNLr RDgy4lCaiyvO5uh73+Ad5pPuLSbHJfqe2baTeysfjSrs6SLwtiktvdTknF5CvzMBHT0N Nr5c5MNOV9myQQYpv6/YdB9CQvwldbthaKwvd3Nv+waVQ9YMqM+t958El7/AF0G/8oGg R7wA== 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=94TR/gJ3QFYxCbPvYw8g71pvCpJSSj08ePQxdLAnyuQ=; b=ttuWn3upxXmWi7NRRbQtVXGa4WA5PUbfFvmuiJ9GSn5ZhkgeggKIKg9AY5/rWtf69+ wjzy51TG4lgOHbcU3Kb8nudqlNo8Pfj+NZYMixd5Dso/h7qpcreKo2vgsJPUg0CCrjvj OLoeyqH11z65RVdVwipXLwBdYEtCOR/jyMlxITJCbjTRHGGQsLRfsuKCYTUeOaP9b/qh XUszJWA5p6AW8RXaAmUMAK5+PYgT4pOzT7wbVZL6Jmze+xyuzWLl+FzznYTQlvOF2q+E oXDdzNlVmK2mubqp7LD0Ulu/GLAUQSPO4yEVlQPAcgBbNz9+OIStVUMUcwQChkbUSOOA ZjhA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=ayMIIw7A; 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 l25-20020a635b59000000b0045a73a1790asi1110095pgm.613.2022.11.10.19.29.20; Thu, 10 Nov 2022 19:29:33 -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=ayMIIw7A; 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 S229703AbiKKD2k (ORCPT + 99 others); Thu, 10 Nov 2022 22:28:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232590AbiKKD1q (ORCPT ); Thu, 10 Nov 2022 22:27:46 -0500 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2083.outbound.protection.outlook.com [40.107.21.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A25C6587B for ; Thu, 10 Nov 2022 19:26:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iUkf9SOaQhoYSbcSWleUCaISESoNcfGWEM8jReTBaJWmn4k5tuxlSsv9d3j4uOc3iiK7j66m/pnq5GuDkvagfeBH70g4733T3Qe7qrNXqCEtQWJxBuowENN86QsUMkFB86yxmKydIiOnFyxck+5JfauJvdYN+xLRf4MGD6BEubZXwIlN70Q2H0gL9Qbc4k1jSNUW2/t866V0cfPYEXdo//p7SzBTmqZX5sHhpWrw4qe2hBzRwdbu0B6I/YhRo3vKD0NscX+Kl6qnvO4MVIGa6KzjUe67hedLT7eQczNlKH1ZdVDxQwuijxOS3IJF5quawJsN/LcftZJwTuL5qwRHDw== 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=94TR/gJ3QFYxCbPvYw8g71pvCpJSSj08ePQxdLAnyuQ=; b=EW1Agw/lDFbptgplZGVZs/EeMjtHIKh1sGCOEbU2TfO9YT4KUE/+jz3PXpdd4t/r/zkRaOR3nWSsfo6S8G//Oqjq15H0YLvwOdbUsTbeOYqpHTI9/VAl6Fwi+0DhWtyRsUF2blS4YZ/71MOJSIiVvzSpP4TnMPr+BURp0spQLliE62QScw3AOP9tzxRUH/vg2zqWMgszLHR3bNgJqQtEb3zCy/yoZRNEomuV4atVyjGzLVy7BUh+D3uOr3j13CpaHQnrSpELvuDK6BkgaBZXL4+K3OkV6J6rlOodyIwOSihKf4w4tukB02YdNEojHd+RDE/aivmxC6Xw1QP4I0AaJA== 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=94TR/gJ3QFYxCbPvYw8g71pvCpJSSj08ePQxdLAnyuQ=; b=ayMIIw7AtvJUZ8clC2XH2BUmTaZPP1KlkjcayAlnYF2T+zegHY6KjqUmc5feLy+crmVFP1cf99sd9xF5u4WOw8kxjuDkykMgGVi/E7fmvguQai4wugHWz3waTO1lmNlwpyZbQtI7whVL1udLdedNVZNzJmDM3k/wh6b+VHTYCJI= 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 DB8PR04MB7020.eurprd04.prod.outlook.com (2603:10a6:10:126::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Fri, 11 Nov 2022 03:26:55 +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; Fri, 11 Nov 2022 03:26:55 +0000 From: "Peng Fan (OSS)" 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, Clark Wang , Fugang Duan , Peng Fan , Marco Felsch Subject: [PATCH V4 03/14] ARM64: dts: imx8mp-evk: add pwm support Date: Fri, 11 Nov 2022 11:28:00 +0800 Message-Id: <20221111032811.2456916-4-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221111032811.2456916-1-peng.fan@oss.nxp.com> References: <20221111032811.2456916-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0040.apcprd02.prod.outlook.com (2603:1096:4:1f6::7) 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_|DB8PR04MB7020:EE_ X-MS-Office365-Filtering-Correlation-Id: e6307b78-ab4b-4bcd-babc-08dac39494f1 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: 1K+Th6rLCqW4IJpkoJkcQPID7xFXZbNdrPsBz/FLIAamC5sAzfjsr3bN+tXfCnzODYfYK+8jpBP6ZrjyzKMYthmPVeUldnwXfR5fi+gGkP6u+7osE7gQxIXhG2GuOBptriQ6XnnhRJfcADHgFNc8oxHFRfgtXq5b7JY/KKMI8ju4q/UZtP/pbQ+aAschQISW+6/BQuVT1QZ3CS0tti5J9L9pCc4sBBx6twdzJIp+xkm6COUrhxoMv7l8w4YjFmiRMEYpe0wOV8efumXBbOhkZ17R4DeDekIpkaARGy4UnB5V17DegP8wj8T4lIOqS9CZ9nNrCWzR+mwS2B1vyLPu9FaWK9RZ3QpLjkMu9p8CTXjQtqN3xIM21SUjJsbNbWKU5ihAkbOgUsbc0o2MBX86XjG/PFymRDnsQ+lw73tXSvdj8jsrlFFW/kuxt0yl/NIAveVpf8/yhos2qIY2wV+0zuLBaJRY0I+2FOlyQtGsN693Y1tLAkTbqeF+46qB17jgTuQypWcD85C4Z44jOOm/NIddxhC/49O6ItRXNkT4sbQ44yvDzb+t607SnbhuOAM7VZ0vXST+2ckb9TsJ7M2E08nNQc4KHnSn3lAGUdBqQQfFFOEpMZbNAsrNdvlHT08ZmdXFbofAeW3YOJkCEKyXd2qdk/kVuVLncyU+MvZ8yyhI4yhh3A5F7TCftNjNKtbjn9kNeIYWaTqUexvepb5JaLLWAVoBpLpgjW8WcRiSc9IwWgZzxqbZ7a3uytbpNoIZabIu7Owh0CfY2A1YKss5UG7CEFFA1hiaQPdmY2Xx9b4LmXOLdnh3N9vDYxciETSBr5tdElHlYEWth5HbSEjepC+LoNuT8fMr77cKMvbMGnc= 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)(136003)(376002)(396003)(366004)(39860400002)(451199015)(6486002)(6666004)(8936002)(478600001)(41300700001)(5660300002)(1076003)(186003)(316002)(6506007)(4326008)(38100700002)(38350700002)(6512007)(26005)(86362001)(2616005)(8676002)(2906002)(66556008)(66946007)(66476007)(54906003)(52116002)(32563001)(414714003)(473944003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zjWiDLxnx8GInDfKQXNczCNVN3Z9x1/hvoXD07LakeAZcU3a9wX57PT2/9h177lEaTySf6QOuJELHAQVt9h0xCwGsVD6P94swubfVrkl/vVde51vQqgVTJMZ/Z2CaFVOLB8nyaub5P/FteC4z+8zx/zAlYo7XwxkZeWCbSbqgCGkQZP/jtT5mw4v1cCnUjDG7W8dK0Me5NaE7ph/UwiW8MKPPiSChiGCU5ioUQshXl9x3YKDriqFF1kP4iNY8toHwBb9LiBmP17x3R3rZd2xp9ofuCJqEASeBUDz9E63tOPV+zYduD70UFzXNTixPEb12rQT6BtDfIKzER5rXLQh0l2D7W/eFzL2wHkK2mtiyHmQDq7N+ZLS93BirpZGia7CmqjRVONYYDa2q5m9CBI2VJfsc3EZ4rX+RRfU2a+5oynpzjC3DfVg3x8wf9cjfUxMzBJRqxhXwxpytlnszLch0GYUfPkZnG2toYtrprJJRtUnXRUUPWfVa2WSY5n4/cojEUUR6cqv/uJ51CWxa4FT6fhqFul41kuSNBmYr8WVPbmpkN9lJbyzLv9+OTpMn5FYlvt7HOgeFhXpVUzDChY68dbF/7YGuLvql96DKkqmGMgLf+hAxtNZzYVK+yrieN55PTI/XLCipfQygTrwS2AqAawfSIFgxzcsEAOi12k7AOdp62P1bS39YNHreQV7Kq5nf2Azg7e0grPqiw15tbX3tm0G1n1i0sydC40mA1plzNu+lcwpLlTandfjeAvoJYIrqfxDscPpODMSeAvSI1zhhmKnhcP3UMTjUGQGSfqLDxInqXfDnGAfGymYxPR0qFGZCYrnAie2XIa3taTIuJ0Zmpc8fkVvXOuHcMtGdVIicsMQfoM6aSWsNMRDpM3+PKTxX0pktPnR0xFqEN+jD2ZciKaD6G9kjEZKlMbRKzj0YukafBKlsYTO12VZrrHeSUUNYRtqG3/X6aPmLiGwrYyTXUuKOT/VifSW3meDyWSf8fB+cF6SsfppKvojd5JqoECW/3XRfN9Duu6UVBS/6Mg2UmOXfScPqLOH9+qVZpVjzhr6Dq0bmO7JqG1Usa4IkLhGM6no1cFbkqgFTzPwVf8Qh5nEwWonL4r/YltJXsv4MJM3hOzeGT8aOfKjkyOQc9IJsvXPsD60fWMRq4XVLb+dGv2hJreuBEAT2CBWqXbplVLqRSI5P/y3qB19H71oFT7wNnOMS7By5R59QL7GYSyxn0bWCXMgAM7PlrFUggC9gwFFuoNiLgz9QOIKjrKJFiLleNP/VE9IlwY3W3xhVdGGOobNYfEiaIJzaCgQOALSlk7bQR96E2JTWNYzZf+ri4IDaFRHr4joXrhCizAdnVSnk/4AFEChGLfl3kAXKdgXAlnjH8WCMb+B2LL/mm6iurJaBQC4z9g0mxSCqpwLC97WSpA+5VCQIcYj1Zs0Yl+jpJo0kDim7fnVAi9RU8Gn4Ioks6ascoR6v9Vnqfq/Ky7QVl9NtHzMaAtXnRwZGp0bVT5KInOMiDzncKYu5S3ctHmgjABtNMHLYstUuakYLPwXlgZ0DBFOCoBV7P2HOARQMdjTO4jNaF/Skf4OCguoFk2k X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e6307b78-ab4b-4bcd-babc-08dac39494f1 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2022 03:26:54.9824 (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: 0zCf5kcWTA7+QGFUxdqp5nPh7yh5VVWl/65S70yes/nO5J+n8OCxbEv66JbdXgU/jThO1wTZabPs95ue00jD3Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7020 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749168814627238208?= X-GMAIL-MSGID: =?utf-8?q?1749168814627238208?= From: Clark Wang Enable pwm1/2/4 support. Enable pwm1 on pin GPIO1_IO01 for DSI_BL_PWM pwm2 on pin GPIO1_IO11 for LVDS_BL_PWM pwm4 on pin SAI5_RXFS for J21-32 Acked-by: Fugang Duan Signed-off-by: Clark Wang Signed-off-by: Peng Fan Reviewed-by: Marco Felsch --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 36 ++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index b4c1ef2559f2..e323e6f4b7e5 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -390,6 +390,24 @@ &pcie { status = "okay"; }; +&pwm1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm1>; + status = "okay"; +}; + +&pwm2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm2>; + status = "okay"; +}; + +&pwm4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm4>; + status = "okay"; +}; + &snvs_pwrkey { status = "okay"; }; @@ -567,6 +585,24 @@ MX8MP_IOMUXC_GPIO1_IO12__GPIO1_IO12 0x146 /* Input pull-up. */ >; }; + pinctrl_pwm1: pwm1grp { + fsl,pins = < + MX8MP_IOMUXC_GPIO1_IO01__PWM1_OUT 0x116 + >; + }; + + pinctrl_pwm2: pwm2grp { + fsl,pins = < + MX8MP_IOMUXC_GPIO1_IO11__PWM2_OUT 0x116 + >; + }; + + pinctrl_pwm4: pwm4grp { + fsl,pins = < + MX8MP_IOMUXC_SAI5_RXFS__PWM4_OUT 0x116 + >; + }; + pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp { fsl,pins = < MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19 0x40 From patchwork Fri Nov 11 03:28:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 18418 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp516433wru; Thu, 10 Nov 2022 19:29:40 -0800 (PST) X-Google-Smtp-Source: AA0mqf6cH77rk0BhjEJzzW7FsEIEuFr7QowJZvql70ybE7zSZ4/OdvuiJHHUjOML77i4RObC/EUQ X-Received: by 2002:a62:3382:0:b0:561:f3bb:878 with SMTP id z124-20020a623382000000b00561f3bb0878mr562895pfz.83.1668137380155; Thu, 10 Nov 2022 19:29:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668137380; cv=pass; d=google.com; s=arc-20160816; b=HYFumFPS6kE/w2c4uLiV281E0G0W80dwwCMgNEdLaIIRiyYxEbykibA77GNFBpL7Lz czS4302+LljrCdesT2qlAXaGrAjqS0edZBEtze1t2ZSvEt7003sJLZzdDlNrW6KAgB8T wdiZbVL2odYvJC3Ts0PXty9czeXC/Uxt6WxbEr3Y8yu3v7pqtVPykgMQI72kDW+25KPD iNKvvUJuGmSLDkOAWZgq9KlEaUz0l3ASgdv79SndWXhxF3TSLZa0nUV8e5mt0uZxajv0 EC3Ri4MVjmDRDMQth99YUQbh3gnERqmZy4tW9kCrtPyKwpP4ucReeWE1edn5Zi+v27HL /tdg== 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=lp2YYOSAdZyP2Ed0cVr3XmjW1UCXA/Ikw+0NhZenzck=; b=mmbknMfAMQwuL5wGELwO1aTQPvRpwBABLzf/UHYakdwC8wgg4CJbc7680EaCf64pS7 d6wai7aVVCfSoiisesMK+QUz3E4Avg/hz/sWtH5vYdtWfDjGyM2YaIVD6T926y2SMaA2 h/Ci8pOz2uhaNgwtlWvQfq4PjO5S79BYMEJEi2UDrJu90mAYJzaNQaNYsLYDSPQcrmNh DMpPe2TWp0n3KWIiRU582aVKxjnZzQuP3US5mX0uWKWN3zLwY8zxfeYT3fDDyhi8Olhj jvkRysxcYtX41SYZ4L7IBOpss7itFS6uwDb+bBYomz/29qRf2NHCd8q0Of/D3/aD+c3x pIYg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=EanZblln; 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 v17-20020aa799d1000000b0056cdb20de28si1004274pfi.320.2022.11.10.19.29.26; Thu, 10 Nov 2022 19:29:40 -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=EanZblln; 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 S232077AbiKKD2p (ORCPT + 99 others); Thu, 10 Nov 2022 22:28:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231549AbiKKD1t (ORCPT ); Thu, 10 Nov 2022 22:27:49 -0500 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2047.outbound.protection.outlook.com [40.107.21.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A22A365E50 for ; Thu, 10 Nov 2022 19:27:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T7IJ4oFnBSVU0DKkVIN/T8yqEmkImU2kSkJW5N6svjZqvtDGANYoDIEqy4hLpPnTZn/Ca9TGXo/AMTI8FkjDtKt9qNBl4QtuW13ftSqakO04uT2xBLspgbmk0kM47UY4+s7mgyMHwuDmjNaCja2QERLh7ymkNOzxl993a96vTI9CtAIEIOKK1F8gTAlWNS9fr45YJ+4XTaNKBzec/FtSg/EyxVIOz/DNOZiGKXycnyLl1isGyUVkrk0R+EpeI+4t6zR+w1v0X1NK5rNVAOcAYuS6kVgUAQ1JsXjPE6WfcREA93BZNXZ0Hfu3C9jp2ET+x01few5fR8/eT8IFxKgWVg== 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=lp2YYOSAdZyP2Ed0cVr3XmjW1UCXA/Ikw+0NhZenzck=; b=UedBcICo4kh8bPSSl7ujWdLFbGOUw0X7XnNZujPgeSqozFLcrz6ta18aGOLwMiXzns5C1pktmDo4c9y6enuOIMc81u4cVlxnmpTrcX1l23UinsAwfIjsduHm0RROcNal5gG7LQerFv+jXAV0R19Za3n1zjwrsSwqa/cozJRPZYfg4vCUkoQ7KSbii45Gkr5eAltXkH3QPSojNuB9NHEajP4CZq7P2bZNRFwpuDKtXqo0dPMYtDhdmjiwpu6Hb5yNbVv2OLJ+xSjOPSYLQ5kx9RFqF99t195ZPY93YyX4VWQAuT5+JVaFtP1XvKc4sfu0Ck+ePI6CMzCo/5uy40rPcg== 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=lp2YYOSAdZyP2Ed0cVr3XmjW1UCXA/Ikw+0NhZenzck=; b=EanZbllnxgDEqAsFWp0lXZmwMEcudNphHCEFxUH3YVSPT6PlzQNjNsFqUqAaR65LdBWWCVhVZ1ogtPBiYwku4bkZfLOBT62pmVIoHkrbfiMcS61Yl2qBwoPbd0wi4FgSCWLk6lRh2euQYxPvTMpE7aohPaI4zalRUcry8qtdVbQ= 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 DB8PR04MB7020.eurprd04.prod.outlook.com (2603:10a6:10:126::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Fri, 11 Nov 2022 03:26:58 +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; Fri, 11 Nov 2022 03:26:58 +0000 From: "Peng Fan (OSS)" 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 , Marco Felsch Subject: [PATCH V4 04/14] arm64: dts: imx8mp-evk: enable uart1/3 ports Date: Fri, 11 Nov 2022 11:28:01 +0800 Message-Id: <20221111032811.2456916-5-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221111032811.2456916-1-peng.fan@oss.nxp.com> References: <20221111032811.2456916-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0040.apcprd02.prod.outlook.com (2603:1096:4:1f6::7) 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_|DB8PR04MB7020:EE_ X-MS-Office365-Filtering-Correlation-Id: 8e4e8edd-ef74-4349-6410-08dac39496c7 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: NuTQAzT+jOFBQWQSbyHL+l8PAZ4R/5hMjJ6C7N8BrbR35petd8B7D+FavO7/3uvadqNR93nDntTAonEMaqMz/1YDDHRIOebv4y3Am/fd2rTTWeZMCYpzhwK8zpO8FtLORI0VjpvFEQP0eGXL9pJLtPLLttw3Ewt3XM+1rehh7ahRsxH69RsIBke1ko5pgspnmCnUogy0WhkJxYkzGx9L5GxIjhnGQBHOV5LoLTLugjuzowlMkdxVHGoTJjPZ1Xbpqg3FjvEzZ5KT2tD7xbaOl/tawYuWsVPzcBYhBtrM/57ADJcvEXqkexgf6Sy+mQLJGviIpnIP7+BUk4Lqq/mLBqJRHT7AcocKsCXNcR27+tHfNKH1xIpdKXVUr4PklLopXF5EhtiAoqgO8K2sIwES8t/b0611/qxvm6ENoxRyYbeS1PMnJyJ9QPIYou6kLyGv/D1BGQxnGa1yPZ+jja3c7MTUiaiF5fOCK7KJpH0AzQCWCiipHzDhVEmlfvF9y46ex7xdWLaFT6+jSg5vFnWWNiVN8ff+xZhdFbxK79W3TqLP+p4S9oDJdW73w7LM1MDzvDdbX0/A3GCVRkSRp06fBXIUuBJf1kYujmYhCxghYfZ6/rzMKF0r0kldgH+DhKe12ardXOvTCzj2Qwk50pEmJXiwc2Gp8HowH6vd+mTfcw2ygIZGRxcDtqjSPDJfgu+M/xL44Jo+Nces9mI1MA/CIUEo7ReJcF0pG6GNKq7bdQUO4kRWjCHsC/Bw3BXhiRlTLo7w6BnFUAver/6slzU+aIB68oASOQLkFgIeM3dLMmHCWoA9Y5NpSHHVoaMwzKGa 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)(136003)(376002)(396003)(366004)(39860400002)(451199015)(6486002)(83380400001)(6666004)(8936002)(478600001)(41300700001)(5660300002)(1076003)(186003)(316002)(6506007)(4326008)(38100700002)(38350700002)(6512007)(26005)(86362001)(2616005)(8676002)(2906002)(66556008)(66946007)(66476007)(54906003)(52116002)(32563001)(473944003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: uDDrDZcENDeINKmPnwTIXOdLHacm3LnksLJTtdAtXPmMcK6Kmu5cudpz6Eh2KJ3lE0RQq3fEbfknij167LT+MivM9jexKfs+1c/1YPdcEAW6diwAGQ9iYWneM3cir5+WyDQvJA/Uy7VOHwUF6yoB693bJWB/8ZeJtaPbVOZn8LbeqvRCdI8F+8VLi/NK5U7J39zAOzhypaHDDtUzZW4JgShqDiuDAkchFbx6upcF66Tryo16V6+tXu1Z+ur8XYAISCnLpFGHben3U0rBREZAWDMGMpYPO1ehdVTxowjNgGHIiCCm97boggaCNM+4n0vj9CuzXhb7Eecgk57LetY9sXRTWbunYR8WXFRNSdaLtZTKkDRyIWhQPooU8NcLjJ9MmFRMsCMy5q9q3FlWpcm8izoW0eOH/pf03LLSTpjTuuCazEBs/Ha0plHQVSjhn9iAmwg5iDyL707kE8q4za1rpyWpvj9Z7O/Aw8kt9BPeg2v7qA8hr+FlK9NXkVIlzLwc3Ayz1eOMmBI7G0V4srwvIfVtmdfOrf4BSmMAQMpP4FTfXw0bzu1B++pGKaatHQbxWMwgjL7eQ6hHepHHuAPiD3+M2XAm2GCF5lHnXEcM/DLA+6pwSFRdlaATkpyTx8IUBsFHHGj2SJfLB+8N2uTVGnzvlpEv+0FIawRihSR6+Hj+Q5d5gR1ihEtS/SL/slqIL1oIPEr+tgKGXEjslmookhLQoBE9gY4FoAXP/mlQXdZyycRSnUShehZjaIJMkd+31IbC7m+2n1yZh0vDeQNWusEOkAYBcZ5zCTcu4kJL0LEX6KcOLLxsUtnurrjEFvcdQhuYBCcF5YZPn2ZRZtDnIW3SLVzL8R/ToBMJ3tbKB7vi8vjyHNiOZ/YsfiPpIw4iBp7bQ896p3ZfJm9Xpga8l1gXq526FhH62GLqtta7EtJRtzQynlO65wm0s13736QibNOjF6d/f2hAoYgBAXOxvWkh9GmNkYeTUOw2FO1rxz/mQ4MWyEe2X+sWZdVMhqn7miGnydrRNByUCiBSCiE+kT+UfNbEdL6GQtMMKS2O/h9YY2lIqX0mRmDImwaxPhU9qlzE3okbq595YA7T0tbR7b05qxnnpoKrJs7NQVx7zRUCtvv+jICnRYUvToGK3r6kfWPtyvg9IAeYZyDPOXR3Q5zwoyZC85qoVb7X98afR6r6Cyfjjp6OARefcnazFkBsMd6cSWTeb8ji0qjN68UL1DVJT1qg9OkXesC7SVuomrxuUVcyH3k1fhD/98XXRHh5jBbLoxSxAR83iI40kM4k8/GmzNVSrvXhfQ9cgzbia30pOHhsa8CGRIehFr1Jj+L76mj6FEDUv6EmsSODaBwRkph/bjcBxGbFkebO4fTNTccR+7+AbWcDU71wSlrD48ENJV5rCJn9mjwtVvHEt8myvBHyXlvR9llhcKzFNLYHerCnoSJ99VoowsQOIOZjz4wujZllXDZqBpNXEbEarVNiLNLyq8oa8jxFpwB3jxwZ/2xFc70PPUY6gEkCSGxqv7dluVp/FXI+zTA48ffbp/y5fNffHx7T76Ksm0Iz5v3DfTg6qijo3fLb6IgOP8aO5MuU X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8e4e8edd-ef74-4349-6410-08dac39496c7 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2022 03:26:58.1240 (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: iRVx/kxq5tcM7+IUHCcIMCvDb/oVQxhq5ojo/cHc/aLzhdU9fETYqGSOUA147pSvu1z24VU8i6XtjcTM6zCFTg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7020 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749168821254441840?= X-GMAIL-MSGID: =?utf-8?q?1749168821254441840?= From: Peng Fan Enable uart1/3 ports for evk board. Configure the clock to source from IMX8MP_SYS_PLL1_80M, because the uart could only support max 1.5M buadrate if using OSC_24M as clock source. Signed-off-by: Peng Fan Reviewed-by: Marco Felsch --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 36 ++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index e323e6f4b7e5..29472502d547 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -412,6 +412,15 @@ &snvs_pwrkey { status = "okay"; }; +&uart1 { /* BT */ + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart1>; + assigned-clocks = <&clk IMX8MP_CLK_UART1>; + assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>; + fsl,uart-has-rtscts; + status = "okay"; +}; + &uart2 { /* console */ pinctrl-names = "default"; @@ -434,6 +443,15 @@ &usb_dwc3_1 { status = "okay"; }; +&uart3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart3>; + assigned-clocks = <&clk IMX8MP_CLK_UART3>; + assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>; + fsl,uart-has-rtscts; + status = "okay"; +}; + &usdhc2 { assigned-clocks = <&clk IMX8MP_CLK_USDHC2>; assigned-clock-rates = <400000000>; @@ -609,6 +627,15 @@ MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19 0x40 >; }; + pinctrl_uart1: uart1grp { + fsl,pins = < + MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX 0x140 + MX8MP_IOMUXC_UART1_TXD__UART1_DCE_TX 0x140 + MX8MP_IOMUXC_UART3_RXD__UART1_DCE_CTS 0x140 + MX8MP_IOMUXC_UART3_TXD__UART1_DCE_RTS 0x140 + >; + }; + pinctrl_uart2: uart2grp { fsl,pins = < MX8MP_IOMUXC_UART2_RXD__UART2_DCE_RX 0x140 @@ -622,6 +649,15 @@ MX8MP_IOMUXC_GPIO1_IO14__USB2_OTG_PWR 0x10 >; }; + pinctrl_uart3: uart3grp { + fsl,pins = < + MX8MP_IOMUXC_ECSPI1_SCLK__UART3_DCE_RX 0x140 + MX8MP_IOMUXC_ECSPI1_MOSI__UART3_DCE_TX 0x140 + MX8MP_IOMUXC_ECSPI1_SS0__UART3_DCE_RTS 0x140 + MX8MP_IOMUXC_ECSPI1_MISO__UART3_DCE_CTS 0x140 + >; + }; + pinctrl_usdhc2: usdhc2grp { fsl,pins = < MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x190 From patchwork Fri Nov 11 03:28:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 18420 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp516461wru; Thu, 10 Nov 2022 19:29:45 -0800 (PST) X-Google-Smtp-Source: AMsMyM494mpHV5QSsrNzutmFpj6+GgRuR/TdX2iCoPDaup08oEk9i9dIEo+sz3ryhGBR8hpuBPk4 X-Received: by 2002:a63:e62:0:b0:46f:e658:a8ff with SMTP id 34-20020a630e62000000b0046fe658a8ffmr4422624pgo.493.1668137385323; Thu, 10 Nov 2022 19:29:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668137385; cv=pass; d=google.com; s=arc-20160816; b=FEqkK9MCRv1YwhTSw9FY8JA4SZNr9J7y5iOBcz6R8SpJhBJLq9RhTDPOjocb7gyiHX kXpZQclqzu0a6HeCDKLpRRwkxG6dcDKtAsKgXN6jnsnU1lUeuwYxKNMbGF1BBiIO7VNP q5GkgszxXBW448TqnEKj9AMkYxBedCjS5LyGsNICauJWMwt/8p/EGb4nObN3Y11eu43x hkqdRuwVO1vFya5OZgZKfWbR9ZlwlbfYCBw8lyMcblKg+jSe/jY2m2/KHKwR7pWj6nDf 5g0qSgQRZHbiUjq0kdV58AglefqKvQFbHjt9CiFIZrVmNAuiKFUc3fyYE5FkdH4dSpW0 qSvg== 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=wqQhrYUqrPGsX58WHIHx+VjV6/HB8iZfsuonkjP5t9I=; b=VtI6aMcAd+jsFF2YHG2fRKWJQ9GDu5bOVnTeVjqiqJ0T1P2wcNx5kUayZ4GcHV9xgC Q3vMNWV7mfNDhkuFgfyL+gvIs6ZeEVRHmXVF8qrJySvQiN+vlfmt2dWPmirT34sFP1RG kRZn6KK0IfbfwVHdO/L6Hp1iPpjz4ZxvsTomtMQc/KbCXcDlnN5eX5bVYkPvqCb4PBUk s+HWDVU1ys3Y8jdkxUteacL7QNnDjmDaMMAhHkLOMpP7jApDLhUcW+03HmiXQh73U/kX znNx0Jw8PBzfwVN1b0aBQDualB3cXtFJaLcsMg1k3ql89IOVpyuZag3vHtpeot0PwfDA LXZg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=LB2XLmCq; 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 o20-20020a170902e29400b0017336c464ecsi1022673plc.407.2022.11.10.19.29.31; Thu, 10 Nov 2022 19:29:45 -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=LB2XLmCq; 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 S232060AbiKKD2t (ORCPT + 99 others); Thu, 10 Nov 2022 22:28:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230128AbiKKD2N (ORCPT ); Thu, 10 Nov 2022 22:28:13 -0500 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70042.outbound.protection.outlook.com [40.107.7.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96FCE65E6C for ; Thu, 10 Nov 2022 19:27:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SwTu216GPs7arAH0SkFFe6GHnq36ByZoG0vi1KYHGJv9n3VnxxD6BPZJQX/gG+P9b+DgnXcsoZHJSHnIs1650QhhwaTTch6SIxS6T9WYw/o3jfkNl+AYYevryp+b9vCUsDjpTKrrRPUzCg0UV2XFvpyKX/L4UD0Uae2jG0O9kKyc5PjMGgA0UtlYaS8ZjUupDrJCqSyI8ibLdM9hcaoF8gp7vscKmGJIBOxdyiaHsBZSyKuDwF5auu2gPJ24rvjvg2GN3AZw5ImfYg3My4nX0H+H+bfjy/GHX3ktVcdQ9iYLjb1WrV2NVZRyWDOdCWtZUSzqNt8KHVtS2qbY2pbocA== 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=wqQhrYUqrPGsX58WHIHx+VjV6/HB8iZfsuonkjP5t9I=; b=fALoCoN3J19XjczDqgihASLfm7/x9rtt4NEufqY4c+bQM0XOBLWWXLm9tlJXGa1gnlz6qnLgoyzSgLIiogpNJi8h+fAxuRM6cChNdEn1+fszOx40h7ZxYs5r+zuOTMc9TfBoEMYa/2i5iimAQGwASnvx7eyi16ZugXUqu7DIx4e+KsAeWft+omPGxVnS3ijvwQ+vjOcnOAvyzsYYqGsUA5gdNP83IybneAKIo1/DgGODiFcEMY8pVbSxzL7D0n3dJU82t19Jgyok4qp0hZ740VRFjneDmLMqQO7TxLilgDJP9eg67rWMCtmUm5CKUb5zS15q0l5E0crsHz1Dum93mQ== 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=wqQhrYUqrPGsX58WHIHx+VjV6/HB8iZfsuonkjP5t9I=; b=LB2XLmCqx6ehCY4QEuRHFcV2wJ7tghTYYMvDisNrs40kiHukheXkCFlGGVnhOOoYsm7NGQsluN/dZTZ3iV1ksbP2mrgC97+CglC2wHMqfTwSW3uF3Rfz5J1LGt0v+rnBYzvt0+5t+3Mzh2qJskDtuIhlszDiw0TGGGbkIIfEZeQ= 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 DB8PR04MB7020.eurprd04.prod.outlook.com (2603:10a6:10:126::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Fri, 11 Nov 2022 03:27:01 +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; Fri, 11 Nov 2022 03:27:01 +0000 From: "Peng Fan (OSS)" 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, Han Xu , Frank Li , Peng Fan , Marco Felsch Subject: [PATCH V4 05/14] arm64: dts: imx8mp-evk: enable fspi nor on imx8mp evk Date: Fri, 11 Nov 2022 11:28:02 +0800 Message-Id: <20221111032811.2456916-6-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221111032811.2456916-1-peng.fan@oss.nxp.com> References: <20221111032811.2456916-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0040.apcprd02.prod.outlook.com (2603:1096:4:1f6::7) 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_|DB8PR04MB7020:EE_ X-MS-Office365-Filtering-Correlation-Id: 7b697a6a-df19-4da2-cb26-08dac39498f0 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: U4ro9w9KtfX27eh0q2ZAQv9RZlZyyYLDmYZpz0aEcjT7s/Wdq0e+ax1+kIQ1YmtIEUuauMB+BYqctP/zFSg7NqSkjyBVFIF0kVbYHvrh/TZB33sjwoFBVB9Dm2c6JPV8Am9Y7so1HIq6P9uloh1uMVVFBdFagMPMVEeWSU75ASgNPWq7uxbMCzttYj9jqh3NuO7SHsiVioVkkD9iN1rygIB3VPso3wV2cj+3MROxkXIKhXcl7e+HiQAKpA1fBHt4Ak68KZ2cH05yholFU/wSw/gowF5p1DLge2j5i30bzNZp9VLrKNTzrIZDdJ3+6mSM1vZKSkGnD9UIQZrv4d/Xn7c28yE4XhJ4G7YtBEsTwVeVn9PBvP222A9swfVENFsgnox1OPpI9F/UUHsuOS1MeDHHVcha2zxSwfpqNwLG4bAl0juBseKfHLxSVK2oT0bAy85bdrzGbg55wRWD1WlzH4swUPkFxj3ALnshnMfLPUhtMaWHFmUFg4xGx6Z+duJy8vixD5CeGLhTDS2dx/zd7H2TRZKUxsMXBfaMNbvTTamTMMREytQoj39df9/EjPm4TaVe8VLuryV+owm8v9qjVnyrUYlsPUzxmm9Jb4pae9GfgekQ4SM3RuSPRfyzI08tCQBY8iBP3hAj1XNhe10//aRvp7bSeTNxAvyS+s8QADF5dt0LwG6lln/nq0wBOz7Z2EWYTvutrXEuUwEO2J5S4qV+kKNGF4oNyQwPi4NF50SC+FEY8ODh337XzGK9vKHztnNslNWot6MTq7niG2Ycf38SOK3KH6O61bmW0T2QsRs= 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)(136003)(376002)(396003)(366004)(39860400002)(451199015)(6486002)(8936002)(478600001)(41300700001)(5660300002)(1076003)(186003)(316002)(6506007)(4326008)(38100700002)(38350700002)(6512007)(26005)(86362001)(2616005)(8676002)(2906002)(66556008)(66946007)(66476007)(54906003)(52116002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: x+fS8x41tA2pCHqNQmCjy1k+e9oH+jmrRHqSOv+BLB2fbeOEz8vVj5J9h7NGycg2+y2ZmEO2/nil6QO/GuICsiZLdVnHi4kOzzDEyx35kSmyhYvo6+NPvfU7G783SF6JFjnKnXhj2F5CWtVXiabvJX6tayVsubPt2QrOmxKW3Nbfx/Fqc2rA5Q877triTkqiuk3denKQFllxjWfYBkB8miluN31O9595Z2OYiDGBBrITYdTPneg/ZDy3ghQaBDBXA6e4os1SqxeXwjfJZkERfmti1MZew0SHW3PMV/7e74grF7kUDUJbtWfGYZCkLczLquZNzldSvmb9Um7EEnRdjW/WYrxQlSDTyCMYm4e97r6oQn1NbY0gPyhdbquzlQAqmjNxh+HSMlZMhY0HCMTDRfv4Wtvkx8TC5YdSn7A31QWfkv+bgBwA1tRisMdEKX+QhpMSHWKwijC94+T62Lq/ntujOaw0Fk4XOy0dO5O9uRLmIZUUbNbQccRqesQIeTmvI6o5bYHtcb10zlpOzFGH8YiPUNoUgWOn79YGzrZgl7iaCDhmY+W3f/zuIFfpfCwQ+rBA0yimbnHbaGIz8R2DEddGwCdNgkjaX94fm5BanVo1bL2VI+r/xfbe54ORf+FCcTK/JOcfQeDu8+/8A9QMoMlNJOywsXrovaOqVEyIaEzn1IFqUUsy13mpqlCerjxeVdh5o1MyNoccg3RUZcI6gQTRj4XClsRXV0dOxTDBc/TGe6NDu5SS1NWWttOZd6R9c1v0fp8IZEopHUqV0OBOBGMuo1hoCNG+hxhvRZ0uF7c83IXPTIvj4jB02mnHMwu0t4aacbPos9d8biJCwcehbZGFENfKk1WAJT10s1nz37Bq2EHyfKGkHkHJUfyeuC14UMkX7d06UbdAQcXFICuAdb5cheKllXjf/KsY6B6gkZZsYhOjCX2QG3fR30KjwGcg4l3hxwt2kKETcOS7YoXDhHdB3X6nB7b7lyALFjdle0cLjA6PHnVFzc/uDtA6c4NwCU4qlbmdHlN6I7SP3nYkrtVszwWVvpVM82GfUquZkr7l0oM7k23Prays9mMp/MBgcz+3tlTQD4K8xni15hjyirr/QL/CtcZGdk4d4Fn0tlkDFnebUTGu1g0q+fFb/yR8KHHKU2UqwJajfF3tGfmRFw0Y8/+pHVtfdO3riVhg1nQysIpLELgUhI1h+SzxAOgjzJr0xBVwHFva8wRg4DWhkw8LaOsGM0QW2NF1+oMQNDvZN5KrHyz0hYgNEYOqc2juYH0ZnpOfVI/08DB5wYnKkjT28H5i5+QG5bP1V6QGRqulcZXiLn0ymJPTgbgBqXtZE7neLIr/FpYK1oM2N5/D+8Fl/sMaPvBQ4zJqLUdUpYak2gMJNuLWdAsSgrw7XjKyfJ4NCoBeYQACJClK9qauL7bzjXiYq2BLXl1YWSHyDYPW8d7BMqSro6i1FpmxWyQNscDP7Y8+mfoPCo0rp/4raPodnXhNLyeXaOGs32B+StNiYFkeOK9a/hVWJkrBUvJKstBIOtk8g/H8o3GGvatL4JKVx/pVXLtVDqbtjJ/dU1DGvNEkxO3ocBiygeWfhmRj X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7b697a6a-df19-4da2-cb26-08dac39498f0 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2022 03:27:01.7808 (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: WfLkolUBqdtP1I21XON9nIGUT9Kei3ayDtw4w7Uu3bdlzi9/H63Z227hTSFOb5gpHd5egnsViLfdUsh4JPcpsA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7020 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749168826994667006?= X-GMAIL-MSGID: =?utf-8?q?1749168826994667006?= From: Han Xu enable fspi nor on imx8mp evk dts Reviewed-by: Frank Li Signed-off-by: Han Xu Signed-off-by: Peng Fan Reviewed-by: Marco Felsch --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 25 ++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index 29472502d547..4164f69a89a6 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -85,6 +85,20 @@ reg_usdhc2_vmmc: regulator-usdhc2 { }; }; +&flexspi { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexspi0>; + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <80000000>; + spi-tx-bus-width = <1>; + spi-rx-bus-width = <4>; + }; +}; + &A53_0 { cpu-supply = <®_arm>; }; @@ -551,6 +565,17 @@ MX8MP_IOMUXC_SAI2_MCLK__GPIO4_IO27 0x154 /* CAN2_STBY */ >; }; + pinctrl_flexspi0: flexspi0grp { + fsl,pins = < + MX8MP_IOMUXC_NAND_ALE__FLEXSPI_A_SCLK 0x1c2 + MX8MP_IOMUXC_NAND_CE0_B__FLEXSPI_A_SS0_B 0x82 + MX8MP_IOMUXC_NAND_DATA00__FLEXSPI_A_DATA00 0x82 + MX8MP_IOMUXC_NAND_DATA01__FLEXSPI_A_DATA01 0x82 + MX8MP_IOMUXC_NAND_DATA02__FLEXSPI_A_DATA02 0x82 + MX8MP_IOMUXC_NAND_DATA03__FLEXSPI_A_DATA03 0x82 + >; + }; + pinctrl_gpio_led: gpioledgrp { fsl,pins = < MX8MP_IOMUXC_NAND_READY_B__GPIO3_IO16 0x140 From patchwork Fri Nov 11 03:28:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 18422 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp516553wru; Thu, 10 Nov 2022 19:30:02 -0800 (PST) X-Google-Smtp-Source: AA0mqf6RqBXEp9ZqQLBdgJIy0S9l5ipUs4hUXxmDVLygnHDNpi8F3tIpPqnEYD5wwZTNsIkDDvlP X-Received: by 2002:a05:6a00:21ce:b0:56b:e7e3:6602 with SMTP id t14-20020a056a0021ce00b0056be7e36602mr746393pfj.16.1668137401917; Thu, 10 Nov 2022 19:30:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668137401; cv=pass; d=google.com; s=arc-20160816; b=FN9jyfBGMohozeC1DP7hGIl3wExI3Hhwj1rUpuJzhkKNHPwcwduG6gDzZ+kgzT40IJ 8vKNCRLHD7LKM6af3LQYb7fD4m/auBcvqI2GQtz+cLICkqtORARxE6O5B6eWMsVwwz6t JkakkbQ999yHEBzxMSteNj3TkaAzW+/GCbIv4jz2fm//jgK65gL4geS5+6177xLg1evm 9ZUm9XT3YJpXsgpHSwkA6nNf/PNLmBHeIw4kW7u81cA2M9v6tTBSN1t+gOO/DPd2Hvkl 0QgG71Ah+Z/H6X08xRY+jX4sDpU1GE6GSDEUV0Gf+0zEZFuJsqR66skN2Pll72OgrSOg gWPQ== 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=ooICO2bcvN8ZxEm3I+1oCqyVOu3YHmUmgXvKVeCCiTk=; b=OABLAQ8zqsEekL0esq4KtpJUPf1tMdQhimszz0jVngdKmvwjYfLHGXR48B9kQaGn19 +Edc482OvNMFRQXHbWgsBkjthrbZRV3bfPwh7EUMrxvK0CHqu95c2dvmnvQ+eUVzjIdv YUlqXA5YM19WR4uXze8vHkzAbPXdUhnnczKZN7ncmJFyFP68OgMKkGtUFSMQmRF1P9IY AIwSZfu6rtfbxyIo/hctXPK02PP3f2hTfc2XwNosmrOIK+EO8XpWFooH80Fx8pZHaq/t +sJqvFjmYoexdc9Ge92xC8M8jjqgLSrM15XYDld12+u85rlAwXXHAqinzXcxsIMs0Etd NxXA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=C5gExE9L; 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 c6-20020a170902724600b00186ab026646si1083049pll.394.2022.11.10.19.29.48; Thu, 10 Nov 2022 19:30:01 -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=C5gExE9L; 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 S231985AbiKKD2y (ORCPT + 99 others); Thu, 10 Nov 2022 22:28:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230522AbiKKD2N (ORCPT ); Thu, 10 Nov 2022 22:28:13 -0500 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2064.outbound.protection.outlook.com [40.107.21.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C7A45D689 for ; Thu, 10 Nov 2022 19:27:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zi6rdLoz4xxx5SnZF6ZAHsbZT7sw9JrhOdyyzPgdvYWwlJEH8S9natv1wJY5BcM1vG/p/pFzn55fNJdN0segXom2C3we380bm/f422P0oXaSBttvKLPWl7AKcECAEXfeMWBflHMMIxBEsB+ZbpYaN0TMy78fuSUZOJbKcmkExV1khnQ8q2zD3lfSafxKA+yz1iyzV5Fq4VGgNIGCszgnwGegznYdcEXXpScvPbuW/WCF4NtrQiDhtSlXBOcD4iGwzJlKvQoUF6rEVoqGa3QHPXvBFcczR4sYQ9RqH6l3OstnCDTQeMf8q/+dqV6RR/fjI0ZtmyqMpdLl9AukhttbOg== 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=ooICO2bcvN8ZxEm3I+1oCqyVOu3YHmUmgXvKVeCCiTk=; b=G0MqQL3EvMaBfBit1AhmPmetyCwBagYYC6FpfB2eoBnAFGqOvZ9u6tmzIipF3byw8zpZVejZJ7IEQpHzcEfL+lY6QywiZCxX38TiRDDC2iWonqTILxNBQWhasMpgm5F7dAYMhZTA4HpLB8TlqjiX9meO/H1+KeP+ejiTFfJxlbJzXr005skHf3kZ1Nfv/6Xb2mxpGEfKqK5DDkOIqLy5Jj7jT1bBeFAEn8bVXQIseooE1zVvMtNHQGhWTw+1C0dTIbvquWqRmHkALx6QEdA7yb5Ws+gGe4HVNfPi8RpRBTj+omNv9T+q2hAFzHhjwZ43j9dpgTh8lj/5GP58QNoo6g== 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=ooICO2bcvN8ZxEm3I+1oCqyVOu3YHmUmgXvKVeCCiTk=; b=C5gExE9LsnlcJdFnl1rRCrjHBiQeG/7Jvq4JsS+Al4GMlgD9MTj/ndWW2s0+cCvEnc4uhJ6TKvUgmsXy52nqVkYS7pQG6h5MdvjrUHZXgxXtv8ZQ/iSD/eBNXck7xNzfOVIr6TSi2JSDivE1lmuiwENXQgov3DJXFw7ThhRh4c8= 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 DB8PR04MB7020.eurprd04.prod.outlook.com (2603:10a6:10:126::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Fri, 11 Nov 2022 03:27:05 +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; Fri, 11 Nov 2022 03:27:05 +0000 From: "Peng Fan (OSS)" 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 , Marco Felsch Subject: [PATCH V4 06/14] arm64: dts: imx8mp-evk: enable I2C2 node Date: Fri, 11 Nov 2022 11:28:03 +0800 Message-Id: <20221111032811.2456916-7-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221111032811.2456916-1-peng.fan@oss.nxp.com> References: <20221111032811.2456916-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0040.apcprd02.prod.outlook.com (2603:1096:4:1f6::7) 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_|DB8PR04MB7020:EE_ X-MS-Office365-Filtering-Correlation-Id: 5fdf6226-0907-4673-1f71-08dac3949ad5 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: E0Ep2k/sUlNlrVfbrD04aYR6arqKMNC6xzAH/lIa6uPdpzlKPvFkfYXwTRsfvFo5JZ7ob8Hxxx38+RxyXDsO4ffbfCn/WKtNaDbg0z7cdaLlfGRFIPRXNSB6s73GURaXHEtvw+VglkGzdDsyx8Y/EhsbiN3u2o2k0JZ/a10U/se1tQ1xZKZ3aqOA8zufA6SVaowAoQNCMwiYB0asad9L5FvLHUc36W+Ra+lOQOuC+WFNm/fq0VqeHbvtuuUuFB9KukhnfEiFv2uLXlH3SG7t64FU/aetSdXXg3dxHPCi7N1fgjHRtOF+3qNUSr0BiWXOXhRqu8iG7fGDGz4Yuu/rfdvWr/I1KZ3XO9tr1/f1IO6BW7FlDIyvxblXIMlFRuoYuLue4r3R++VmCKIFFNfvX/vqBlZTfoTBF23vNanciYNc5tra/35eBmZ6KgxaMFJCkA93ENP3wRnlP3jlSH0rGRST7/SYORC+97uUfZRTbHhvU3tBg+tj/aiVxJRofG97WBR2vJIGqFe7oRRUUO8T7jYDiwhFxtXC7dDbJeRuFyQI7set03ruBUaqvfOGZ8DRV0K6xXnw+oYoKRnJxLPrmUeWTM3nTyxXaneJbgD0UzhJHbRCT7YklqJMsuHZYMY+N3uXtiZ+AmBCo9EebhfbTkcYakMJe5XRZ2jERfZwof8IEU7J3MVWGiGQo0J9H9oYytT9HfBgJm1pVxH5xhwqKksprFjPNFIM5xo2nrjxDuk7b7lNLzJpZcRlmeS16DbeJM5B8Pomn1i3jCHh/SOaB7HllbkI9nIq1vf/poRAQho= 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)(136003)(376002)(396003)(366004)(39860400002)(451199015)(6486002)(83380400001)(8936002)(478600001)(41300700001)(5660300002)(1076003)(186003)(316002)(6506007)(4326008)(38100700002)(38350700002)(6512007)(26005)(86362001)(2616005)(8676002)(2906002)(66556008)(66946007)(66476007)(54906003)(52116002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: bsWjv8C/5gDleMlyKnV81CwSunVOBsvHIGkrxC0nI1XbOHkCqy8OTTCqNd9qiJYZKMqcFhEurbJ2p4klFhV87rkyjJo34a2UrzDXqJMBisryVDC1cQqyhDNV1zqcbOPlXoOszk5JWF0D8mnk/Ciwp2ttq6AcE6OMpAtw6mzKThx9T4P452R5gNPb/2SykW2Z0ySWd6surn3ig+RHti47ajqV8MBRgnPM1W5K5JRwAp4c1oK7qLIXTjx0NJHjTjIy2SiAZEizvr357JlA+QvbFYhYwxDwhQTb6ryo+MfehamH/3FsZLA97zGdi/omxwVMDYvFgTjcP6RzJc00ZdjcqKoONP0VzcXDYsobdN8PCUiCHr3PIr2s85gtiGthEENaTajnqBPTeYDSx0PeEIPO7WYIyvHZ9BlbAkx8zCJ1e/iPEgJAsA/qxD0lIJtOps/crmx1pdUiYsRnHisfgyQwSMJ4a9aXG+N9XbZAQJUZQeAZHGxtPPpOD9kyzxZuygcov6OojMOKHTxRPDwMReUz91iNh+HHnURMB6p0t4S27M4nBYHqruxqf+ner5WRg63utrJ6Icd7VsQ76HDDlZ8Xt2sO7q3QHWhnNXOAgat04IOhy7jyhE3rRa9GvdOfSLKv9LxLX/LqHq0t4dExoCv1ekRa4DigZ2T3dSPo7frzvYq4EfeC9cQk1xq072n+FPp4+AeJai/hD4gyhPVDZysFae+m/gWFi7eiMv7FbnBH0htIvMJq9tNgiA3eaTA7MXpXuJcZS0AHf0CI4fhWsB4/3rq2osJk1zx7HKh/cymYe+VzYEZeoVltvmZByALrsbcXxod3GMCcucFNiUOu6iAXkEseN+xWxpbwkOHO0lMVN5XvtJtEK0rWZsLLG11tIP0MWJErvbwjSHIOq3HQIITaaoVakS+DeoOCkY5Rv7scd80lxW0aiqofwzD63JJGPdAlg8EGPc/eOyWYj5Y4zhxHmCsxFHOC7PlccnTWlsa37Q7MOGlcNIitXJKE9DDw7B3M4xfylkwvPHjkNeKzgbkkUIMgoDdCsE8i3Havf/Hc/ZCjEWDvD+RKnPbgsZahN1sMx3d3xy+0chm3QdHS1c6bGR90PSKMrOG9M7vAV0GXvBAu7q9vFNawEjTCtJ7PA7K9Ux4Hob3S1BaC5lUGLE1YMNioR5yhw/wQllH/IEmJhXX9EyVsl8L12zHtASFpD8FniDuq/V/raHt/QNudo0HJulKIwskTW14pMqe9mDFnLiKHxrVtSSqX9apof+fNE09+wdFeCs7qFxM0X60RtHwqjWTMoDsOHV8DpmMZ7U/mnjBNfbsCs3eh1ZYNA8wMgWY7S/EeUWtXm50ZiBmTdYXgIVf2KpVwUZAVd+WdjIYjpCHJ3UR1CodAIj3I1g/fvw/2+BFLX6wY9P6TmxMCKAkxGt9YdniTO3NZxpsUur+z9y4TlqD6pMQvc81JQ21PESDazwY/C5psqtCaXsUPLiYeCqHkwjdgJJsw33SJSNmINAi98bW8ZRvidU1nEfcXZEJObYcvxUd6y+KdAW+Q4jHbSRHWl5LtlY6SbPzYoLqbQoSW7WOqVm3O9OBXGpvhx6rP X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5fdf6226-0907-4673-1f71-08dac3949ad5 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2022 03:27:04.9861 (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: JmkBB59RlTGDKU+cPNaC5ZzJa9FtCk9J5P+JUIcL5vCQByPQXszhEPHTz/VUvIyBlS82hZkeUVVpojLXx2qUAg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7020 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749168844786160206?= X-GMAIL-MSGID: =?utf-8?q?1749168844786160206?= From: Peng Fan Enable I2C node for i.MX8MP-EVK Signed-off-by: Peng Fan Reviewed-by: Marco Felsch --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index 4164f69a89a6..878d4a752090 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -331,6 +331,13 @@ LDO5 { }; }; +&i2c2 { + clock-frequency = <400000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2>; + status = "okay"; +}; + &i2c3 { clock-frequency = <400000>; pinctrl-names = "default"; @@ -589,6 +596,13 @@ MX8MP_IOMUXC_I2C1_SDA__I2C1_SDA 0x400001c2 >; }; + pinctrl_i2c2: i2c2grp { + fsl,pins = < + MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL 0x400001c2 + MX8MP_IOMUXC_I2C2_SDA__I2C2_SDA 0x400001c2 + >; + }; + pinctrl_i2c3: i2c3grp { fsl,pins = < MX8MP_IOMUXC_I2C3_SCL__I2C3_SCL 0x400001c2 From patchwork Fri Nov 11 03:28:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 18423 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp516591wru; Thu, 10 Nov 2022 19:30:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf5+ZtL9j5bqrUrjqAQAJfB63eIcfel2D3MQySXvjmZgbbhlUTz9rr/957LlVA1/e3vtgHb7 X-Received: by 2002:aa7:83d5:0:b0:56b:b8d8:f564 with SMTP id j21-20020aa783d5000000b0056bb8d8f564mr654594pfn.46.1668137408104; Thu, 10 Nov 2022 19:30:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668137408; cv=pass; d=google.com; s=arc-20160816; b=nTzuZoZzKkuz0IxINAibBAcX8uL52mPWniRMSgyoIZ9h5EwEwi6tT8mCTrknUoqxlR E/DEoeBHubjrG2u8a5FizLgB4bO3k4iUQ3daw96BU/xMngKsfizktbfocTuwicbZd91y EL1qRnzhKAp1q/U3iX04k7GQMiB0WDrPRssYJt/Yc8jFs/olK/eWNS3d+Xi1cfZ2RelM Pti4vVuAV2vFHcPIQTYEV/vk6oP5Te9TIwmLYLg436u3LrDc0bRsJMDPYbbBI4o1ASTD AzLBe0hFnog1v57vSULs/JXELVnHwkXK/pAsn2bPHDXLuqCKF61Tm0jhXDdwdcqQ6g1r Fl1w== 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=7seoCcDHr1GrJVtmnKhkNbzTU04i+Pt/e27f19TPcAQ=; b=x/dq3MpZZuXfb6LKImug3t6G4/LkFXTopQod+iJlnj40qNUKQB+ps8PNVyeFjTUawP HiKri37SI6I8iC3Ttn+Gh6j4H0Wg1W8xksNpeP3bP2AtzMrUSjbzgaA5rr0ppUIOC0zm HjLENV9SeghPzT50sybuHMUf4Fx14rU1acnu5R+bHroBzAaZQPmw/S2YQMtp2ukH1lhT vGEwDSOxx3Y5xTvsR1gAYNLuOa7JZh4KT21ctGzXlSVK4UKMQsuoBxTnYLAvHIvJy69L 8ipIcupzxfL8tRJ1SRgF4sf0rdHLVKYQdmlOGGDnrqTjJDYhfayVC46tQ8yr+Aa8EnSd dUmQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=k24XCxZC; 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 o20-20020a170902e29400b0017336c464ecsi1024316plc.407.2022.11.10.19.29.54; Thu, 10 Nov 2022 19:30:08 -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=k24XCxZC; 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 S232082AbiKKD3C (ORCPT + 99 others); Thu, 10 Nov 2022 22:29:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231311AbiKKD2O (ORCPT ); Thu, 10 Nov 2022 22:28:14 -0500 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2064.outbound.protection.outlook.com [40.107.21.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8C885D68E for ; Thu, 10 Nov 2022 19:27:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hcpAzts63VZDYP9i+MD2ur+dLZBY+8kh4T9g19Bmfvr+NTDYefZ/+SfK4xPfeFcNyUDiyzHuQHXbiRC4er3U05kFyhCB18gQWejeA1342bOFVDYUn59rmuIXt5yGuhYmH8LT2Hsn7rYmjyl2etBmHLhXWCropBVtuakLCXEJtbaihganosTtH+mZ/8icRRKQDZMWdALMhG95W9wmOzmEjxTRQSiys+QTGeKSYT29XqOyc5iN5G7xD2mUawMRmqkRCZQ5f9Tidnz2CgIwlDIpr/dmhs0//LjIYTyRHisP9zq32sQ5Gs6C7ZszPqsvnEbi185sNO5pG0RYuKX4y7RSuA== 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=7seoCcDHr1GrJVtmnKhkNbzTU04i+Pt/e27f19TPcAQ=; b=mj44slqSmV8SyEBAirxWgI6EpMpRCHyax2nbi3p1ZkmCOY5AqY9HM30UGwZnZhBSPFfWa8L5j25q8kUrE+I6zRykz+vGkwn9Tm1TWKP3kBz6cMD3WqDymFb13JG2Xp/xCuKqo3GEbFucWM7l+d0ptJdzRXWGYJBXNqlvx9YizqwcWGjwmTUhzx3oM9UN6DsVMd1mPPa/ZiifotuE6Hpd3UTFszLN2Kvi9Izl2s33rmm7NyKh8new+djY/ftG4uBlrJbOD5gP3kRX4stN0D2Zk+wE7b+C0jpZDu1HkuxEDCRoKF7ADvmfcXYAowmX81Ya+YCPUDIjXFkTbcqVd6l4LA== 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=7seoCcDHr1GrJVtmnKhkNbzTU04i+Pt/e27f19TPcAQ=; b=k24XCxZCd9jFRQ/hwUJypJxS8Jnz2IiT5M4HrE2LtAL1d7NZ1Ddmi13RiWNVWjJHfexuVI9tpo8MYL08iiPtokV3ldKduvbqh0xYhEFx+HrtzEZgwI0c2KI4bXp3xRJNBapsbmDeUbRv2FoC88e33hsSVkHl5FzzR577ZST/yTI= 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 DB8PR04MB7020.eurprd04.prod.outlook.com (2603:10a6:10:126::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Fri, 11 Nov 2022 03:27:08 +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; Fri, 11 Nov 2022 03:27:08 +0000 From: "Peng Fan (OSS)" 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 Subject: [PATCH V4 07/14] arm64: dts: imx8mn-evk: update vdd_soc dvs voltage Date: Fri, 11 Nov 2022 11:28:04 +0800 Message-Id: <20221111032811.2456916-8-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221111032811.2456916-1-peng.fan@oss.nxp.com> References: <20221111032811.2456916-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0040.apcprd02.prod.outlook.com (2603:1096:4:1f6::7) 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_|DB8PR04MB7020:EE_ X-MS-Office365-Filtering-Correlation-Id: b1a581f1-5c93-4761-01d7-08dac3949c9b 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: 7GlLctv1wUPMAMVZrtXdfYoHzRBu5uCy9HJHCSSBt1kLHm3JXFEM3rWADTFHlZd2+X88g22StmpX1MWEJsHKCFA+fjWxNeBLGh2fWv5m4Y3LLKA5mKXkmFgBsJCXDiWAaMr/dMPMMqmS9vgGf1IKGLOmrBVocgF/Q4UV7TSlCrBmHmJsBK83qrmtNDSzyU/pUM+b5894YTWqjfCTBL9UIooOO+7Q1lI3Vg03xyU7nM8DiCK3OF8R+oMOIhkpcUpoXX4gJ6p0cY03qFtFerN/cpxMV8aaTt5qAtZMWNr/VtnFaZPbzltaOumpMz3VTDsDH58EszXDBLDuwHPZaGuHRWfl1CiUt/C08I9H3lcPd8/Tiogt5fAHZdqzbnRypy0AeglAXEAOauK6MF8kMMm3xKlaQlG8225tgcwX/o/wpeS1SFbh+NLCLJCSm9eOc5MIuBDhsyJc8UhFG9aj+3PMtfiwlzVe58qwd2w2J5O0BwBokLC475WO5Yc8BLZ7H71zQZ2jIV+8nbPtbA4LmULuOgXBBc76woise6+LkbXsWVU6UBjFIUsm5MYQT9k1luLC55Ts70ccAkUEearCbL2bTPmq0MD0tEZCFt0yJiL9vp5CAmp0F0VPvZ8Hg1bBA9vER7gJFtuY13Qz4mOXWaC66SbbycQMPozvIUxGOoHACLbNnteMGJE0dyxzu2utp8mAtxxraFeA8xfZwsg2moOhZfLnPjVnfRPMKwNlW2JRpXGHJRaLg17gr7ov0Faxuw1Xt10vqfh6pSC6Js23vKEJ/tNbrqoEUaVG+Ei3FSGV2EE= 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)(136003)(376002)(396003)(366004)(39860400002)(451199015)(6486002)(83380400001)(6666004)(8936002)(478600001)(41300700001)(5660300002)(1076003)(186003)(316002)(6506007)(4326008)(38100700002)(38350700002)(6512007)(26005)(86362001)(2616005)(8676002)(2906002)(66556008)(66946007)(66476007)(52116002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: EmUk5EcXenLuwcCZDTJuBkvfTWNNjfxBx8UWXVk858MdL6PnT6KeZuajLGxvbYKte+jzgL/ejdrFW5M2kJb9Y8LaqYBuLTwfaRz6qLj/8BD+faLixn/wpYyvrunmCL2YYXKqZWKcbQMQMNaxO9sQCx/+3YSe94jp5a3mdQA2c5rCV8A5oYsj7k9g5br81C4fy7s7gvWBezm2IeQPVgAvcPOSJ2ZQ9wCEyYLIu8QjvYpTeaZ/dH7UkD6Gl8n39HQ7MdFQL+/kg4t4MSewiHwu39s2dQyoifMxvgi/eKW2jff2loUkE6NFsI2srIScn41SEXsHrwTzCF4za7bG96OHibh+IfYL9NWEsoTU9xO2RljYAB992kKFytlSpLuVnxtpjxZe/c4MB+3vB/vUkWUMYi2Y+LVzcbpnAS/zSo6gTsUQFebpD9IfFE40iHdr4XfDGIb0hFwqFo+sHGBAo0j5AZsGsW5rDBeBGaH4XcqTmNbZ9ukoyXPWCx/+Ij26FRqdw43/lB10q1ePqIDVj+WFxk/XNV6wlg6loz+foXxSXeJIyyLbd8F0XUce0kDT6ctpg5p20ZUSLyTAZ6/SJ0iLxlmwsFX8ycgIyAT8KUnVSRVVtQ3NrzIFmuLM8qJ6x4CPyPCSE8z04/q7kzLysLlXWJxOLD94wSJAo56yHUMO9tndIOlAqxG+JbCmGjCIAK/DgXRIA5/C6PinPQh9FUuV9RApkjbmC5107/kNXphuI03JVSIyskCaWl8uun+3GpyfYXuAmqdIdQArPMSfuZ+7dwNsy0d6VxcYzYPsIQV4t8VZi+0fb8SfuEDzEr98WybVVPqaMGPzl0zjdxQu/MzpnhonGMEXqXLjYicsE7zcyvNUfr+zQk0yiLWPUi4yhrAzEjhrULjz9wxwtbtSIUdp/Dj/ALkhzMJXKNRLqUDB+lwcie37R5iXyPfesgDKdTvLvmKhFQG+k/Lf/UETU8SLXMOQL6gBK5J2SMUOwFMFaRI+BPxtn3MZLj6X0t4MjimHko6xuE+E8t4G3cvP5NAQ4Zh7kEpddec3L9ZK5s14GBzcRbGXmee9LEch4BtPjFo94gUScclwrNNoX/kLiZULKibRSoSZwz+ZBhju5smpGkjr6Zqp9a7D3tHOx6zZl90xi7g2hNWCWl9h3j94/PpIeTVfIJ4AytAXypKWFODrwefZEwZPsSA7RsP26zPwfX3M1nJGoYNM9vHXN7ryDNsmhRWMzQZ8D3Uwi7XFwv9+K4Qq6R5kr/hCs3If82FEfaUWEKHnwaEdNPJSYFda30ttJ5G+pGWHKn/qwlR5UrAB58go+Z2fOhhVokinFhMHDAfcaZGNe18huEdBTHkCdE5pcqldcANZz/FGJY2fkpqxh6Y1FeX+JtdDROKL3CaalTWTnXxSua7M01CY1iosroHrWjlG9xhdOcKM65SXBsqVLLDLthgq+Wn8251REQ8AoMA6dzhNysRSgOL+fQ3UwPKeMUiDsXMy88URkspJlKiMMGfVAMpfg9YaIUuq96TuHiFgnQW32OF2JeyDgDjzjo0+xIt8J4xKo5IclvSC0fZ6TTmVyvbjKxsLYBo98h0uzBCz X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b1a581f1-5c93-4761-01d7-08dac3949c9b X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2022 03:27:07.9620 (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: ciEaQVmyQxGuNgIizIkR0aZyzMTQHTz4HYFXzCSGNll2HdLoK9MbVgYQQl0f9zTrNk+mdGAE+3a3x875XMxg8w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7020 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749168851224443484?= X-GMAIL-MSGID: =?utf-8?q?1749168851224443484?= From: Peng Fan Per schematic, BUCK1 is for VDD_SOC&DRAM&PU_0V9. The nxp,dvs-run-voltage and nxp,dvs-standby-voltage need set for BUCK1, not BUCK2. BUCK2 is for A53, which is handled by DVFS, so no need dvs property. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mn-evk.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts index 4eb467df5ba7..a5a7d74ec1d5 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts @@ -47,6 +47,8 @@ buck1: BUCK1{ regulator-boot-on; regulator-always-on; regulator-ramp-delay = <3125>; + nxp,dvs-run-voltage = <950000>; + nxp,dvs-standby-voltage = <750000>; }; buck2: BUCK2 { @@ -56,8 +58,6 @@ buck2: BUCK2 { regulator-boot-on; regulator-always-on; regulator-ramp-delay = <3125>; - nxp,dvs-run-voltage = <950000>; - nxp,dvs-standby-voltage = <850000>; }; buck4: BUCK4{ From patchwork Fri Nov 11 03:28:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 18426 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp516836wru; Thu, 10 Nov 2022 19:31:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf4g905+hww0qWKSc8LC37HN5dMR/4Y1a8zkVsCAhkD//aoaaxxcJNiSDQ57H3QMUo7/X5ig X-Received: by 2002:a17:902:bd8e:b0:186:8398:350 with SMTP id q14-20020a170902bd8e00b0018683980350mr752595pls.6.1668137461311; Thu, 10 Nov 2022 19:31:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668137461; cv=pass; d=google.com; s=arc-20160816; b=PWmBhoAApLdNwae7QpARtt0ltC2pgN3UNpdYEUhB8UJxbt1rI9Od8jmCOc3aG7XSvE b37G9pCPNfoCzTOkeRuyXfO1PWDmA91Nw9LpsJZhMFcrXTUGKFy1+UOhFcIzVGYEYwkB abWsY6A9qUP7KsAX23LIkrOOhNZQVDJBDy2zhPE7LJaThKHOwN+cpYhdNoE5EtHLRk24 xwxgxSqZbe24wFaHpScBWVUm728N/SbXlQU1FYjKkxHV9LAS3SChFpSirFO7ujGdMsUZ 7y3sV5hoSD9oikWre5s8rfSN0K0c00sA7y+L4QnnBTTZQf6F1vbcIwexczTz3aMsF4AZ 6GpQ== 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=zqZnmLAbL7MfbWBClYand/CKnMzf4XSO7jiZdM+EFkTdN8cXwu/QAQj0AxDGBGM7AM mQNguEQZVI6hgMSW0jT/t+g15e30o1cM/cqxhORfNL6b45SLYcXe4+DGN1iO8d3J7OKF Wz/s/tKgL4r3Z2YbnA5m3wAkCH2EJ5f0Js4I4XHnRE6xHQdOe2lF6GBA41uEnZp4TyLc Bf4XE0fa5WpAfq/Sh5WCJIVcNc5oXJI9QcNB60xpJRnjCdZGCgDYSTeFF7u4HK/pelkO Md4AnXSzkDkWlIsnipKA2FMtie1sFu43t/dWEeTI22C/F/OGxsZBcqUWJXXbVZvTWSgu we1A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=O0OnJMgH; 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 f2-20020a056a00238200b0053e1d872a91si1347277pfc.83.2022.11.10.19.30.48; Thu, 10 Nov 2022 19:31:01 -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=O0OnJMgH; 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 S232977AbiKKD3L (ORCPT + 99 others); Thu, 10 Nov 2022 22:29:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232045AbiKKD2O (ORCPT ); Thu, 10 Nov 2022 22:28:14 -0500 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70050.outbound.protection.outlook.com [40.107.7.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89A6D654F1 for ; Thu, 10 Nov 2022 19:27:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QfSPh1B7dN7puAVZdRyuj//CzyUzMWFiq0M9ex3INPD2obdcV6Aran3zPX6geroyBzg20XJXbzA4CSnqlEiJmZdFNdW3uOwrjJhOe6+rBmJwEgBqRWXx8VlwEpnug3/3LI3EHZ6U2hVwTsBJ+05TogQ6ET1xWHlSbuSIyVoRKk3NA54kKkOIbmQiGD7cOOB7z7ypgH1Cko9f43VPcuzAq1jP7a6k52EeTrCCrEeSqf8yXemDKD6IbISW3sJzP2192QNAP6e00R/YiX2H8P4RT6dZnhRwr4IlZRMLWN92JELyvAhdJKAQ++CYBllwcK0Y4vCAtBJrz1c2MjsmhEeJdQ== 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=ODjtstH0/wBssq3beuLbyj8BqTvYDyiIQoN6BnrlaXr5qQMuZQqEF/BLrXQo5p4qPp4MNdhtmXW7PMFusNbqPjtnRtkEUqrPm0wS8aVxd6Dlw148qP/CZsetInIPhU5IIFPnFfz6rX7SYzTzXID2kJz2J5Zmx0iOZb8iIPMQ6wgV30RdYTGI0BcIEdiVlb4xhIPi1h2JhYaePJWXf6X/+iBBAbT200Cs9nhMOaap4l5jjxpsnZADjj6ep49cKYfv4RFUL/umrY1GROyDkpZ/xr7Qv3uPuGUbFQ3y+nbVRci75hgzoWhRfIIhArZM0cpQ5S3X9VdiLLwej0QlWj1uJA== 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=O0OnJMgHTJM7vegWjq3qS2czP/BntuB3nVdvGRBPtxFrsbX7ZR4XGy4E3pzy4sFpm6/9OCJutKNVDzdTkONByzIWvvcJvnUVlSL/evExVW2KXQKcCr/d5NeSEejQsVXjK8tttagHi54PMu7ZtiIL2OBMw9gfk0DdFOvag5tfsmA= 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 DB8PR04MB7020.eurprd04.prod.outlook.com (2603:10a6:10:126::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Fri, 11 Nov 2022 03:27:11 +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; Fri, 11 Nov 2022 03:27:11 +0000 From: "Peng Fan (OSS)" 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 Subject: [PATCH V4 08/14] arm64: dts: imx8mn-evk: set off-on-delay-us in regulator Date: Fri, 11 Nov 2022 11:28:05 +0800 Message-Id: <20221111032811.2456916-9-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221111032811.2456916-1-peng.fan@oss.nxp.com> References: <20221111032811.2456916-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0040.apcprd02.prod.outlook.com (2603:1096:4:1f6::7) 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_|DB8PR04MB7020:EE_ X-MS-Office365-Filtering-Correlation-Id: db68fd70-f9ea-4a95-6f27-08dac3949e60 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: AnI+A9Bhk90DsEEfMOW1Tu+GWAtA5pWIMUjGTFWjwcrtvy5BM2uySnz5f4SyEWlV//1MgPhhzJUeXZUb9t85/baNZE4eIBM2YO+yqpnGlOrAa9iO46OHn43dU4b0vmWVpKikgZoyOOp7fXQonU6tRwIttNFpXQzSLN/kLxay7O5eU/8c7l2qewp4Hnf8FOXxsCdmLW9VpflmLCoetfKTQwrZQlr6xDn1Kr8KYXYPWIvWGxf1mhCdnnTc00liJxOfH7qIXEsq73Xv0dxwk0RtCgLGtigTNR7/HWJkGQsdBVOX2Edr4K0QLehjz9xTXKn91CvEuITPR4vn0WNRqirydHMcemwJiTclaDSb1edbp8eA01nkMunbGmTm2FT0x29fm41snxb27USoUAKoyiqbj8iuZOwHpll9p7PIMBBWBoj3gO+Wx7N3g/NapapWUT7cRNFFd+ZGILgPt+xYvgjesJm+DX02s0KgRRptf3+EBBGnk59MhCVQQv4ZwXLIc24Ed4kMQiLR4vlorgMoHf2inPtGQorguky1g+rEJxpCIlVCg/3rSGORR/otlVD2fNpMYGma02QaUoUOFt2nhs45MUfnAYCBwzBz6xhqdK8YxjkknuShTVvPSEjR4eLQiflAZITD6pqKLvb7wdy7Su0rdoY1jav5r3yWV34xk8Iwu8JVFuQLLLTivQo7d01gXzNHv4qdcJzfudsYRLbKYDdi6rzOr0OA3fuI2mTfQsqpc4wBYmQ3bOYvi/duDKdpKm94NCMX4nJLSsEHIdWo4v2fe7ZJxRbM1iKKMwMLTg4kzU4= 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)(136003)(376002)(396003)(366004)(39860400002)(451199015)(6486002)(83380400001)(6666004)(8936002)(478600001)(41300700001)(5660300002)(1076003)(186003)(316002)(6506007)(4326008)(38100700002)(38350700002)(6512007)(26005)(86362001)(2616005)(8676002)(2906002)(66556008)(66946007)(66476007)(52116002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OOpgPsKuEpLdM6S+rHh4L2s6kFKZIGiiRF+9RAHEN55QATSfQwdWzUnYDxZkdUOT3rnQ7y+zHX7FQnWC7uEUg4/OhhqB4MizZi+qZ8XnoR7k4LYZRmZ1HlyTS/4lBHoZT0YJcCcct6BaVPHrolak7UN3FBvKpRB2/A4DttuTY5rJZhgN+QPv9n9FbSxC6Qk4qdPkp7j5stXhwTreBiR2w0D8UB94zRFujMuRMM6R50sUwvk3p1G4OPnP7aF/xKSFRsRRbhhChh/zKuVkhaRA5/deXUVLNsAibcLYRYRd214FUGIpLdT9adBwUasVcwuzGACjDz8dbFE+DL27+Ew5HkkgYhI0LxqnZ2YlcofH4wRcfWB4zMH5CArK5yvS7tlkYiUA9iagk9mZpa4JWI8v2vWUNJiaQ2IMjMwWrRNnftY9mV9lXYKfn4oYrSVbvqO1CRsQ8hTfmOLNMAVOsx439KZ0BNA6eP4UfW/jryDRHMQhPAPROBP4VUB2OxgTAlw0kLuMpFrWtwyuF/ZVuFsPxrQRqbEbYXr3hFqJMrwmQTaCH+P8Fz1P0bsIuTT9IbPiIUmTHDixTNIcbqsDUz/ZZCRyJqcMErQf6GAgxSU4swo5ikhWt6tzyjlFi2PIN1yl3bBGR/UetyE4XCkrilmciqJeT3p0NcFX9TYneozWXld80sqf2qIdXhh4+sCcpX/VtwmEuPYxl+TDiun2h4yqc9aJuBFaeUM1u42jhqejU4YKoc1yIfLKqBrZcBaVSNu5bqUr2+aWoCPB8vU324DW3jR6O/8NWO+aEl2SH9kPr1sPGj/2jW0hVBOJgDg5gSOosCiosg0JF2sJ9+I75kBG13kESodk9sv24YZC72CewtoIpG8pX6UZ2pTBp1cgEPxvNMkjEFwF+s0q/7BdPQLsBlz1l5k9a/oFTbPeSd1IrpRTTV67DBirsBlZ6LC/zlQmhQioycC1TLZaqijVCyMazCp9h7fw9GH/QMbVH58K57DLqypgKUHrRoNyY83lZg81hdd3Tm9dRP93IHyUHnhHenE4yLz3hd4CrY9NKw7lbAphwVQb5Trb3GcQu9Ixxez2IlicDakMn69x5WHqlwg85S0/ZuN3T9TDQMySpqiQhyXqHw0+JmqOzaCAbP/o8p9LlJaA2Pj27lv5Zo5vNMhSjzqsxMLqxC88mDn2n2wK4qJapS8fbPmdAB5uwvHqgkoKda6/6hO/COIXOudIsafBd0jkQPbb9FGAKdE25doEN/jC4WSaQhtog4GzC0/TLMqPmNHO+8/yu2LcFlTSdqMDd217PcyBiWTIua91f6Cy0bvzYIp3bboB/MsQcV0hsEsjszCAQ/WoDrjZP8s8q3jhBP/Cq67gWTi4xaUof6moyyKPGTVkUWWPAn8Elo0C11Ydx/tLFfvRuxy3okDTyeTegzMR/BkVDVxgyc+kjVqAEc/FCesAChzdQ0yrMGq3Q939NgFnvKQG6s8y2XTR88foIOFLz02C9hFEoRHX8iJb5CsXUkqbvvF5WwxJKLHb+hhqpMLcHK/V+poMrKA9yee1l/utOYn7z3aVj016m6Yt1UDxyIRUT7RAtvqNHN2KYESa X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: db68fd70-f9ea-4a95-6f27-08dac3949e60 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2022 03:27:10.9478 (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: s2H9ZjTXjZVcBFTh20uXdrnzc0YFlGJJEwNXaaoOytBOLpvrCtGyj8gRsct/Ie1bw8gYb+V5zl42kd83gPg0Ug== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7020 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749168906776351373?= X-GMAIL-MSGID: =?utf-8?q?1749168906776351373?= 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 --- 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; }; From patchwork Fri Nov 11 03:28:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 18425 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp516810wru; Thu, 10 Nov 2022 19:30:57 -0800 (PST) X-Google-Smtp-Source: AMsMyM4OFk8dS0vYQGwlQQbBpV/hgfYnOu6aGj6x6vYYzR+UScIqKlTv+vRzGO3pRG7W8jDgri7Y X-Received: by 2002:a63:4801:0:b0:461:8b6a:fe30 with SMTP id v1-20020a634801000000b004618b6afe30mr4274764pga.267.1668137457032; Thu, 10 Nov 2022 19:30:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668137457; cv=pass; d=google.com; s=arc-20160816; b=zzZ8F0TgTePcJBoS+F0aw3B1KFQGl3F5SsJ6iUhIaa5asaYNY+//vI2Jt5KcC3wrWq qzAI0MaAtp9ic4+LLs++uaOjo128zmMBSPftfG7g44LGCMVQVqzqV0hGTciiQcBDTgIV kMnDoUXNwX4HZuFpJBT4SchNBCDjLBH2RBEflqTKNXC1LkFgdISIOHqpoHA4rtfqYhOJ TIDDU1lw7hkpcwcfC1vZ6mdQAs/cHKKYP6NaWjuXwwEzcDUCCsS1gUeN1P4fRvkSLIaS EZ8Fnk62r0NccWootMNpcR6C4IdJ/+cZM68XQpcQ1D/87WLpGX4DYzwB72OqTijGFgky KVOw== 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=rMOqevrOfn6aOSvH8+ncOwTcoL5CLsJ0bqXH6/P4n0I=; b=rYvluhgaD3PTSCvaLBednA2evYZ9DNUa/lGlVLkNirD+hljHxq4iZOc6TJGz7/5N87 OlJK3YD3/IKocvIYi9ZHptHJp0CmbYUyKGsqoVWQtTPcub6Ii4RbCRX9NLoDI0TOLaXc QjTYZ6TbDFmYClkFmc/YIsJX5fSh0iMgY2aqsL9GIiPHjBtkChydLJxguya3tq8p5feO 2B/lRpKAWSRXE2tl0/ry7PHlxHJ8eNdNuTlWj9eLa7VSz9UaJW3qLd82p+pIJLzV3XzA yv6T8WmKrUUBzmojsB2AsA57tA0DoQCUiM/lYn60awYOmhxoZpZPacbKgT4WmvbKPain zHOw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=MH3hSoPV; 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 y27-20020a056a00181b00b0056d964fa5f7si1497296pfa.14.2022.11.10.19.30.44; Thu, 10 Nov 2022 19:30:57 -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=MH3hSoPV; 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 S232455AbiKKD3G (ORCPT + 99 others); Thu, 10 Nov 2022 22:29:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232073AbiKKD2O (ORCPT ); Thu, 10 Nov 2022 22:28:14 -0500 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2049.outbound.protection.outlook.com [40.107.21.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9ADF365E6D for ; Thu, 10 Nov 2022 19:27:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BS6EfGGusiSNAQ5aZsZ4OmXJrUUnWHodbZ3yVpy/sg1ZIQwTdH9KFdQ/g9ym3HEu0pPLXfR7mjgG5JHaQ883T4QULgh+rbDk+jIrMyNM1+NY4f819NsQtpyPlq3lFKVN6yXncLfnF3NuwjUpkSVEDd2nCRMQqjTHoz+RySlwpwviYLKcO65v4PVtk+3rBO4k4F1H+u3nKavnDHdBxMHr1NCncp7Y3EzNR9OotAJHEySwF+8A6qdbv3/rQL5C9vYb0DFCQJBPhbFhEb/YZkcZRDePQp8NWZSYiYfIKEpfOwHu2XDZ7AzoHFdQWunc6BdysVxAHrjlxd/UgoqMZuPfrA== 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=rMOqevrOfn6aOSvH8+ncOwTcoL5CLsJ0bqXH6/P4n0I=; b=Bj1AZKHCOuLEDmpFd3R2qSgx3VQ//LTAbaNcbJYECu24LBXlAMngdVNDj0UT9Vlg85zqrrbDccqkDc7KzrsNrNVuAjiWVcvakrJVxQXqCS15wsZM8ZkWaQpCAynzPUeKihd0iOdOUPSJUtS8gtIcPEXhOlbsSAndf15XIwjNblInEaZqvIm9S4BuoStrPSxP2w+gbqPxseLUCaeJYxz/mTKt5/KYzsOa7gUFMCQ3bs/MrpiBfl6CvWhpcAlGy2kgvLLh2DsFb+9oePXW8VMVxYBalrScoclkHLZmURCbnpFa9xNHze3kZ3zWB8+mIYUzZdtRuP0Ox4AYt75CQeX4Nw== 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=rMOqevrOfn6aOSvH8+ncOwTcoL5CLsJ0bqXH6/P4n0I=; b=MH3hSoPVa+AfUMu/az8orIsFSMrX/PhCSmIcBlWRhmcj0lnstzNnHyZbfde8REaIBRfMFYhNJmBY3V+cUlWu8FCfSbnPIZw2Bcj3TeENHgBScEA6hKPMgjhWMduw4bkRajMQz9U+cyyg4YZ+TJxsPY8KcRQO7Yiq1o1cIUJHpWc= 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 DB8PR04MB7020.eurprd04.prod.outlook.com (2603:10a6:10:126::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Fri, 11 Nov 2022 03:27:14 +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; Fri, 11 Nov 2022 03:27:13 +0000 From: "Peng Fan (OSS)" 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 Subject: [PATCH V4 09/14] arm64: dts: imx8mn-evk: add i2c gpio recovery settings Date: Fri, 11 Nov 2022 11:28:06 +0800 Message-Id: <20221111032811.2456916-10-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221111032811.2456916-1-peng.fan@oss.nxp.com> References: <20221111032811.2456916-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0040.apcprd02.prod.outlook.com (2603:1096:4:1f6::7) 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_|DB8PR04MB7020:EE_ X-MS-Office365-Filtering-Correlation-Id: 57b4188b-d424-4313-1ea2-08dac394a02a 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: EB0BAR/iswFU65NO/kkIHtb9w7+iE20joW0MA8aFJBKRR0DuppcANcvoRWPRNU4NNcYWfmDa7zJ/LfXYAgS4EIuWoopi1nBIMtJQqLlXkZgHnPuf+enS0XZhbSozsP71K1SQREJnIQsfI5rn95dOnEiLzuTCGF+LBQ9k3KdOFMQepivNoe7AtsXr3kIQgs6LrHQvqPi6FyNhotMBxpxheNRLX8ng7b0j65fkAxROtr87vVV7rsnGmjohQ86mk6XtdDNZIXhldcIsm11Gi8c+xut/+ixRyNb9EdDr+aKkLM6zffIm86LZgvHeKfz+EYOTyn5EozQjALsolrj8567CidVst1N4tbSppmSa1nroPoi6O3pcEu/Hyzy0Eqt+CKud8kI3LyUqQUIDjeab46JBDEFAobmtGwBacMYIVc8+6YiQtA/Tr4UTedU8lvL9JCJaERWcnL6FOp9l4qrWhDJRDh8lMoZhVI+f8MBYUfRLMkB2yZWCZi/YlZdbII9m3aBaIWDpVKzmok3Af+OFDfqHSmAEhtjgYFqhtu16dfFmEBUeLl62LX/hlJD1ZEsCjsKDYekGmQhibCLKzahy0X3T6jh+JFqm3e7VvmqFqZrZifWLdo2ZwDj1Y93gir78qvJOCQS1pt9p8paWYHG0cpybqOmqfkQUWFIvxHjVhmKwqhgCugf1XxiGfoHQPHat2TJtVFbp/O2IqGdr4q3zQrj1e2Xj266slP8JbOJi32dgQph9eaGipkGj8k+rLw675qaVg4gSxdDhh85zekWcYSj5KNIuT04RA2UtqTVB70CDZKE= 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)(136003)(376002)(396003)(366004)(39860400002)(451199015)(6486002)(83380400001)(6666004)(8936002)(478600001)(41300700001)(5660300002)(1076003)(186003)(316002)(6506007)(4326008)(38100700002)(38350700002)(6512007)(26005)(86362001)(2616005)(8676002)(2906002)(66556008)(66946007)(66476007)(52116002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: D8wU/zcM/6+mI3VYvwDFOB76V2cSnJI4B9kH/uhQ0saD3r+84ZvbCyd02IyTzJpdy7URat73aT5bKA+jxj0BrM0GtfASOYmuzaa0/Wtx2lCovnDMHECueSm5UIOsvjw577jsbrrwbHeq00AIzHlcoBkrhToVfepu5Hahe5/DjFwi8hSr8+Xx8mIzN4Dwn0WBeND0zVBC2cz1NMY6fHfj88KnJr7zufEJtFs5CSNKh2HVnAHByLWtyuvxyKBE9isFZFAlfbx42+a0933N8z40To3YbrsT105j2QhiZJvj21MxahC0lq9VQ6AQiyinDDIB6OxYoWdlUjrL4M92mLCSbf9M8aI3aUcONkiyxzBjRVNYuqF6TSaBcSXdBl72CI60U0CbWSqJEuMZo/YPuYD8MkwJCdOqL/3NhQFyUMG7eyFpu58jOv+iYTnKEBd/CT8IpBlIN6PBL5A4OPvFsbo4oMKEBo/cbkMRWTDO/+ofzHABWVTZfj396B2hBFfik1YUGkovX5DSZkUWXtfvXnm59pFXclQ2tEkSIBXUM+7DIMBCCqTmJSAI0YgxN/92mf3Qu0FUns/1Aadt5xDHFAecUeolINE4uwlIvqeAbWhTx9BNDI/zvavyQyeE6TcXvKqhOxH/HC6yj1K12bYMGmJUH+u+wTtBFcy3m6QCJWnbZEf6El8GqC40y+F0kjwxyqRf1CSwU75w/jMNjYXKCjow6Rk139fW894yAVBYdCqYDNNJ+v0Gc2RUWEyLwxJZmY6qLzgeQDfFSzLR1yHyOqUmcYJF0OOxoJNDpKQZVTSQ1rN0yi3AZZscPKSIPBCXastHIaaxxYVmjq/6Q2vqabAKkhWa005olT6mvuGoCHh4Yaf5URe5lQ+Sfs9Ao+dvhwnVAcJe1+/p+PMWuIqXo2ASUtbVXHyaK35jTqqX70VJSAbE0UmsXDk4YDOC8Dhaq6T/b/NOutLZadIQ7mdDPB459OZDst02psyPVLyWrQIi8tUE0uiz1Ja1AcUQ/BoTBH7KII44XK7bq9oYuHmPkVDJBJCVHDmY3FoZTbui11BFBAKNrArr0jQgGubXvJp8nV8TDjRxjbPgjvvI2Z4nP2SLy7zevuIpNt0xvnjnfaiRHT12edcfTAwJ2iXIrQovOe50mSsRb9WeARcEueos7qaMXGdte2e05XxoIKFNCtkoeV6wKt5B4h8eUeEo8+LkNrDE2jmkCcWZZ5+p08wXn8dao/oG7+BnZzkbIO78mqjEYP9wcKOwdeEdZuqp1KMH6wugyiwDiQ2hgQwosNape0Qy9qchY8XsiC9GDONnsS3N4Y/04FJlGJfO7ADQzTR5x3Q0yj2IB/hiErBS/Rdlg9iWEYAwGCKLEIDORFRY04pGnL1gRqVeJ96T/lqqHfFsDeEEDwo9R82+kwy6y8IpZL5yvVIxu/xqgHKtW2zFvdXRZK7myupkB6HoUuOB2DPrAmiIr4HAyegL9reeWBcjOWTbIKbdrvKXJ+B2bBBmP4tx62nY34T9rw7e/q1+EaKQQ3Oumne3RwO+qW32k6/bHnBRH2gv3FeHctTJitvgMEsdS/IOGeZgifVcDqwsgT9WylFh X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 57b4188b-d424-4313-1ea2-08dac394a02a X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2022 03:27:13.8849 (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: spYMVYxy1cO7uGP5+/Lzdrl2TvzGklF0mz8RJzAhdzVFnnfn3ovvUs0j+pBklkoRLa2Q8l+1YGQnTOQn1imFpg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7020 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749168901924606240?= X-GMAIL-MSGID: =?utf-8?q?1749168901924606240?= From: Peng Fan Add I2C gpio recovery iomuxc settings Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi index 2b4395854283..1971f095e4c2 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi @@ -160,8 +160,11 @@ &i2c1 { &i2c2 { clock-frequency = <400000>; - pinctrl-names = "default"; + pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c2>; + pinctrl-1 = <&pinctrl_i2c2_gpio>; + scl-gpios = <&gpio5 16 GPIO_ACTIVE_HIGH>; + sda-gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>; status = "okay"; ptn5110: tcpc@50 { @@ -196,8 +199,11 @@ typec1_con: connector { &i2c3 { clock-frequency = <400000>; - pinctrl-names = "default"; + pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c3>; + pinctrl-1 = <&pinctrl_i2c3_gpio>; + scl-gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>; + sda-gpios = <&gpio5 19 GPIO_ACTIVE_HIGH>; status = "okay"; pca6416: gpio@20 { @@ -370,6 +376,13 @@ MX8MN_IOMUXC_I2C2_SDA_I2C2_SDA 0x400001c3 >; }; + pinctrl_i2c2_gpio: i2c2grp-gpio { + fsl,pins = < + MX8MN_IOMUXC_I2C2_SCL_GPIO5_IO16 0x1c3 + MX8MN_IOMUXC_I2C2_SDA_GPIO5_IO17 0x1c3 + >; + }; + pinctrl_i2c3: i2c3grp { fsl,pins = < MX8MN_IOMUXC_I2C3_SCL_I2C3_SCL 0x400001c3 @@ -377,6 +390,13 @@ MX8MN_IOMUXC_I2C3_SDA_I2C3_SDA 0x400001c3 >; }; + pinctrl_i2c3_gpio: i2c3grp-gpio { + fsl,pins = < + MX8MN_IOMUXC_I2C3_SCL_GPIO5_IO18 0x1c3 + MX8MN_IOMUXC_I2C3_SDA_GPIO5_IO19 0x1c3 + >; + }; + pinctrl_pmic: pmicirqgrp { fsl,pins = < MX8MN_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x141 From patchwork Fri Nov 11 03:28:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 18427 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp517030wru; Thu, 10 Nov 2022 19:31:35 -0800 (PST) X-Google-Smtp-Source: AA0mqf7Ad6VUaW/HIpq9FTZLNSXI43ws0duJ4jL2zTqXJEUomNeQrb4X15H7Vq2B+IvgN5dhoTAY X-Received: by 2002:a17:902:9881:b0:188:4c74:e1f1 with SMTP id s1-20020a170902988100b001884c74e1f1mr670488plp.98.1668137494951; Thu, 10 Nov 2022 19:31:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668137494; cv=pass; d=google.com; s=arc-20160816; b=Zs+phpNQY5AMmJ0ocQwQlVrOMvyc/AZ48rzpnrBMEgaIPyS4sjVJXLRDxSMbXW4mn7 tGi+DOV/JcbG1YQqZy9A6PqNBtiM7sUzbk1Acii9xmQeydxKbYuxZo5yg/U9vKIgZPyQ aGjdEt6sJa1okad09JguGHvY8KBg6aZNqIxqp2wdp9QMB+nUXhl4glhLU+HqXIdHof6s mw7AzKaxxLpaEyDbd6PPOYhnZooBr3snObDgrmBWzqk3jQnqkXPhSOiaScOnFpwq9QjG SmjFe8oZXh/yboRpTavPl1JekND4KuXUuJ4iibQxA4RyQA0RE/TfLwTnyp96H0dLSr1Q 35EQ== 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=lVZcr/S99xNnQtY1GSazp191cisvYVqNqs7IKEpic50=; b=hBQXtvDh8DamAo3dAomooqAoXdKJN6O8wNefq4KXQKrdnQPoSvRGvun7PJcGqFcHue H2aNqYx4X/n2gauWh3Vgc4h89mlGl+bJufc7ANVi881t4p1qhZiUWC6o4h/Kd1EBCsg+ 6VE7HCXaojEIwvV7mJ5/cTGf7QOW/l3ZWcsvz+1nhoTj8Da0mQ8hWvvgfuSvPk/HLqfd uQPPI8X0hpPd1O3ZCozelPgHZQs+Hq+TJLLxVY5lerCCKbbyLcPFjmGmwj/eNoBc6PHX /LvqudlJkgpc8t/9G90LZP8e9Bcd7JKwFKfJJB4eZeNiAeWJs91zqrq+ZMAWUEWtntc1 RKng== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=kX2S17FM; 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 n16-20020a637210000000b0046f41385afdsi1056218pgc.118.2022.11.10.19.31.22; Thu, 10 Nov 2022 19:31:34 -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=kX2S17FM; 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 S232570AbiKKD3O (ORCPT + 99 others); Thu, 10 Nov 2022 22:29:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232241AbiKKD2P (ORCPT ); Thu, 10 Nov 2022 22:28:15 -0500 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70059.outbound.protection.outlook.com [40.107.7.59]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 665355E3E6 for ; Thu, 10 Nov 2022 19:27:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZMuwl1Dbe7PqPFzS8kGOxVjR4DSg6rM3kK4iPagojjd4e2NUJPeIUZJ3eo5uGVHpRfgrjqfrTp1PA0t12yGJVBoUgOI9a2UC2BmZAbccomlMvn8U4H1dgXAwGwJ8ATXI33R7AYGrIRZUlUDFzKoVkRWZA8WXATWQD5PoJOolBgENOKDgZC7JiXwAOKQpukw35PqvKyyuX3H1GWtCBfY0MJX61jJALdFzy1vrNIxGQh0KgDy/Q5rWQdx3PwXr94n44cc2xGhPdGW4LczpPjGh6htIOHlY3zE/SEZJxFJYer7X3RNtP/6+jsO4r0RFMZuu6ucEvnmidzml7DQf0N2ykA== 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=lVZcr/S99xNnQtY1GSazp191cisvYVqNqs7IKEpic50=; b=B9IQb8DTZc/wI+IlBnXv5Lsco4adNybshNCKCbmjN1kp3/x7v7e4Ebfv1kmRvqjD66xYf6CEI+FIVfhv9uvn/+Cz/jRIvZEgmsbm7ZHPWH5JxJgB+e30A3l1huyrqLkOLGXO+UvUxAxBAi6++WslWHJw4VeURjGRI0k2i817KPNviL3BEmaHtktJdVkBtO1v2rg1limIYWiWX4KwpR4ib4lAI5BylfIKX0+UQVKOY5gTXNxlEUw1ubdWBmOX57RqAoeQibFFhb5Bxnq6Wq/THtvnXrzFKPllLfBauL5B1RK71L8t1OAI1y3J+TjyA3bo3tViq5LumuI2Jh3Ew/fxuw== 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=lVZcr/S99xNnQtY1GSazp191cisvYVqNqs7IKEpic50=; b=kX2S17FMAv1fCWwPrn7oS/g0y5jaGLOG1eQBkTIx1ExDOvn/nHTvv6JEISnnbQj7Gel1Eh63PFHxNh5ASVvwav927mtwXhfpq7pjZ1os9gF/4esPAVquCERWaWDSTDkrOJyA1hvv87cNLy3SwYTp4R4YZ18gf0G951GieimuoCo= 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 DB8PR04MB7020.eurprd04.prod.outlook.com (2603:10a6:10:126::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Fri, 11 Nov 2022 03:27:16 +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; Fri, 11 Nov 2022 03:27:16 +0000 From: "Peng Fan (OSS)" 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 Subject: [PATCH V4 10/14] arm64: dts: imx8mn-evk: enable uart1 Date: Fri, 11 Nov 2022 11:28:07 +0800 Message-Id: <20221111032811.2456916-11-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221111032811.2456916-1-peng.fan@oss.nxp.com> References: <20221111032811.2456916-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0040.apcprd02.prod.outlook.com (2603:1096:4:1f6::7) 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_|DB8PR04MB7020:EE_ X-MS-Office365-Filtering-Correlation-Id: d40b7aae-63f1-4641-9e19-08dac394a1ea 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: wT6eciPTyq/td2V9kI5Og9fHDRCE+UIPkTYxwBEMApeoiIpA9EVqVqCjOs3Xy3TgE4qyEcGPD/3QPI8l5RnuXPv5srNw8iqlveQTzCIBZ8ThT22t9WqZtxRWgT7nIPVoKia3Z32mExmB8dOWBFwLKdIOyFDFtDiiBUOH5aUPHQKKlbsA6/d4MIPYwRKr58jpXB+zweESzv/dWOx/TV/X8VHfhz3hz2jyfgEluE9OYumaEKxUqLJ4AuqpzWBytR6/shKzzMWPbBUKgDq4+HW0urluO0n0MK0vu6L2T18LEsY57R3afND9tS/6Pq+UvURuxPhqYNMnslM3j0Z8OHub8sAaSAaduvZGF6f9+Ve+bgTRYA0LNHvT5czGb99GX84zg1Z8SRQ8O0jAZW3TUxTp+uODERDNHMyeeqMqtl32x7hEUgAXIB/4OsgbToSuyJvPhvV7sr/6/GqFZq+fDgLDVOsUwJ0hR9qyLtsfEq3JMHovffMK+sAPDpohvKMeJJ/Vckcr7mak7+NKsDRsrHzq129x+6VrdG+s+L9s3WeQcktKocFrOBjjEtFZjal27hyWSM6FAyTkJEi1bEA/6cbm/oeBdPTzRcvIih1ENC/8sZ7kRxBHERI/ut/l/0QaurfqBYuAo3A4Afe3QyXN0BmJkn3u+FROWkDdchR0AKYd17CvCZUIAXS0Rh9dpkoFCsR1se9QhzkcjWRXFggQvFt+PXdVGSNvKHekor5w8zRsYCtkepBPUS5kBLk2g99JkZlvNmhHEJCfOkJwpmxi214ypSP3MAiUnQQpiKp95VhAoL3+gtp+gpFBJKAqIRoOYLD2 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)(136003)(376002)(396003)(366004)(39860400002)(451199015)(6486002)(83380400001)(6666004)(8936002)(478600001)(41300700001)(5660300002)(1076003)(186003)(316002)(6506007)(4326008)(38100700002)(38350700002)(6512007)(26005)(86362001)(2616005)(8676002)(2906002)(66556008)(66946007)(66476007)(52116002)(32563001)(473944003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: MEaNrmqyjaNBhi3ML+6cQSHUsU9GS1z3ty0BGSgdkUisb1LOVG6M9OXnNFlR1cPN5iqtk6st9vShYU+hROREq/HL/bDNNM8QBrGn5b3bcfjI4wgboM9fDoUvj7UYVxbcMI35RqRIuqyqSw6kIlKETo7U8PDprDZq33GTxcFHcWLFvQeQ832yQEZZYtrBG6PqWuvmg4s3AQSs1H1VwVNfffaBwIypkFqBteOqAeykwEXB/XUcgBv0px/mZRxTnCZKW9uPi/PMNP9roygSZnutlBsJ2oHywNxKyMCvLRp+Wixzrt2THUb1RiSRStW7QDIu8nZMEf8WBb9+ED58P0Qp6v+u0dI06/YQcViWTQNsibgg0jmhHOHSHorMJkIlNkwt+Pl7D/EYmLe9NU8a12H88Bt6yoC1iJiSBxCfYtl3CyTDRYcVkDUlsZ3wFoNjoNijXIGbJ9ASM9LkZs3ZGJRIboi+j71ijG816CEeC15vDpmKczkgvTjrBYvA0e9kh8sa/3qDS7VJ5pRS2pBZ/NBKH+9s6knPm9W+Jy9NulrbjbMJ/2QZSQ9ZRr3lamLIn2U69VKiz0/+d1TCRInX+TQzJGh4NhJpECHKXQQc3Kryjo1vOf6LkVXv3OD1F+/D3+Tou4PrHkl1q8QLv4XVm/xeEWzj2ht4TApNV8lBKxMt/y6XrH4wjpMoM4hzhLMEYQBE0Im0PSdTTJlNtOijoq6CVdrZ3KSCdyv5cVZiBOMNR4So1PCeGXwvuv+YG2UOrGiSQx3IxCD/RZTarjUYS2HEFsTblnfdQm7Tqkr8SNRDaQMGceu90HqZZ5BRWbdrwr9GiTRcc+u+9V7hE+THW/g1bRTO51itjcDii4kh6+Z+pvlbLamfaWJ2T49fTvhYzqw94QivDyAzfWUD14//XvAAfKLNI05+25DgX0GNGpTXn7pn9vn5oU6prgLPS0kLtyY6933zo49Igobzrz00rY3xkba5xYxBGE2GHYQzjNNkaPmExUsFfr6ABYcw4VJaqPyPSCaffC+NokTwpCZVcJtaPhShbzjAFb3fEWJTe0OvoZJEAreGGHc6p/NBK6ajg1Xt+EKvRp7GT9EAFJ0QUSjE8lM1yZe5ZsYkNafxZSP4S8cm88aQ56VY7FG0sDSJnuXGEW0XjdWzuHRSM0A5J2dd30PID+7ZMSGWhQPsk4oycicUVdOdlDQiRs1UUv1vNTLFqKbKS419LM7ZAxiIN0YMLyDRhPnxMLQB9yJFqA1A0D3g14/tGNtlnQS3AxdKR32dXGBM99T6VscQ096wmBoMbwp2CfvIvBMh5epXBU0b1VYQdJrdt2AfFYwltu4hAcHmXtJ0e4zDDOaAcP8Nk8FNeCrHYHLpVpF+3VtKj8fALG9UW9S1BNR+SGr0QEpI8UisjyIJ1A2w2rx5HuJ5UKagQvBcJ0K5OT8TAsCK7BzsFnsPXoD4KaX2tgzcwDbY8uI8WnMaTCMuAo99X6D6l04tVC6DKKRvAOd83IVnEIYIuYkhofaRCLgzo6vSYQtFWBtPwtdJDfZpuLLvAId/T9jL1+bdif80E7b9/Z7OhIpdDqO/g0Pc4EnuWIpO1qH7S8LI X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d40b7aae-63f1-4641-9e19-08dac394a1ea X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2022 03:27:16.7461 (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: EXKQF3zXrl792zLWXxrzXJJUuszWzSafEL5fa1OzjYjDgM6gn7m6v8FssCEg45dI+mZbSLkVIdf5xw2QNjtEPA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7020 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749168941658592995?= X-GMAIL-MSGID: =?utf-8?q?1749168941658592995?= From: Peng Fan Enable uart1 for BT usage Configure the clock to source from IMX8MN_SYS_PLL1_80M, because the uart could only support max 1.5M buadrate if using OSC_24M as clock source. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi index 1971f095e4c2..12dc5d398a03 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi @@ -247,6 +247,15 @@ &spdif1 { status = "okay"; }; +&uart1 { /* BT */ + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart1>; + assigned-clocks = <&clk IMX8MN_CLK_UART1>; + assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_80M>; + fsl,uart-has-rtscts; + status = "okay"; +}; + &uart2 { /* console */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart2>; @@ -440,6 +449,15 @@ MX8MN_IOMUXC_SD1_STROBE_GPIO2_IO11 0x159 >; }; + pinctrl_uart1: uart1grp { + fsl,pins = < + MX8MN_IOMUXC_UART1_RXD_UART1_DCE_RX 0x140 + MX8MN_IOMUXC_UART1_TXD_UART1_DCE_TX 0x140 + MX8MN_IOMUXC_UART3_RXD_UART1_DCE_CTS_B 0x140 + MX8MN_IOMUXC_UART3_TXD_UART1_DCE_RTS_B 0x140 + >; + }; + pinctrl_uart2: uart2grp { fsl,pins = < MX8MN_IOMUXC_UART2_RXD_UART2_DCE_RX 0x140 From patchwork Fri Nov 11 03:28:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 18428 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp517032wru; Thu, 10 Nov 2022 19:31:35 -0800 (PST) X-Google-Smtp-Source: AA0mqf4hKxzErfNvHXXcqzit6GySLYS64HZeiygyI3L4oAO40aQCn4E5fqrrKHnY8NpTYJb3wEbg X-Received: by 2002:a17:903:214a:b0:186:ed91:5086 with SMTP id s10-20020a170903214a00b00186ed915086mr433370ple.59.1668137495085; Thu, 10 Nov 2022 19:31:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668137495; cv=pass; d=google.com; s=arc-20160816; b=EIWb3njnm07/t17AsZO4P+UtAZtRcF2tzFbMNFUnjm9+GAe/OCsGt8nyCtKhga2eVl XR/PXAH8ucEPZ9ReEDJnwiHzMLM7jud9MXxdleXKLGqor8hngniHIGnIacLGclYn2wAr cHz8jhdPuZCxjy4/1d3654zGOzn3fD0Td7hSP5xgQNU9yFpAYMFJ0HALzJRNdBRQSx/Y ieO3tWw361nPM/NwH2R5mC2SbNtllKmg6P0BF59XDT8axMpMyo7YIceDlVtEdMaGonHy E9yATr5ZzGJe6XdF1VDWvgVivsZw0uIZxHDRCimpBBwYg+TfCn2/ERrfeHgwKKlCXH36 yKww== 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=JVAUHetCMZ+sku9azKuQuKBLE05gtFtDIRn7I/rkx80=; b=xhRznsuStTtW5iJVrqb2OtcdihSNQVp83UO64dw7+SJhJdfWFucdAUlItklgwNxS+G eXQZzW+sgcCcy8rgFf9OKmvkjStxfHGkWO1FDpng2aHpdCYXxo5IXdcEo2U/RsZLXmbv WoTkMEr9Icskfn1LaBz6Xz0WvDARTLnG8BL7kgx5tZrEI2A1cMJwr3tDl1ozGbkX15gw d/PiLBHSI9K1pWc+bSI9pqePYUzxF0f8xtQsjdTwzdMYY60ufC4QDllRYiNw5aHAU4UT wbb2i9VsOKjQemr62zojQp5wSXHM/D7tmf1Nzt2QhMlROGsa5lApU9CiFB7z1vXe4lqZ RiXA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=EJREzq9+; 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 w7-20020a170902e88700b00176a2d5ae14si1344732plg.363.2022.11.10.19.31.22; Thu, 10 Nov 2022 19:31:35 -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=EJREzq9+; 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 S232241AbiKKD3U (ORCPT + 99 others); Thu, 10 Nov 2022 22:29:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232190AbiKKD2P (ORCPT ); Thu, 10 Nov 2022 22:28:15 -0500 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2083.outbound.protection.outlook.com [40.107.21.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11E015E3E7 for ; Thu, 10 Nov 2022 19:27:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BdHTbdnq8AjnII3eHq2V1w02XXeyAXZz4Z98f0B56NLj6WlnEt9dwhsoDiesl6hQjG7w2IrQkFGLcmiFU/kV9PWmFiGsHp1xDc9Ka0vUqj6gwlRSboUKLvqkSE25KESninZgV6pyS2fT0UrlVqL7fPro0x/dlQWsvD9+NpECV/DUB4bPHgLlCgG+F+TE6EpzH7E4nkw6vX6BnlZ6Gkx2GNTmNvZ4IrYY4AKLV5guCht/egsfYxacLjKtWXIVMCthDC8vxaGdyJ+Kn66ZYQ5L40dqVD0vbqFUTaMvMPTvSwwU4j+aaRfD4z3UqbLfC7AGecRwjgr839GCBOXrj2qWag== 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=JVAUHetCMZ+sku9azKuQuKBLE05gtFtDIRn7I/rkx80=; b=Sjb3D8lOHUBoUKr8K3KLzOYIHtLC4Ny9PRCXTZV7qAlD6f5drxjCwpng/gCVIRN3uexDJspuJnzj4eFv4y1IdkvM8h8IIh4aBupCB6TRT7vji3nD6yGWqxZNkXH0gUQ7/RXy1IwNfcx/02EoXu5FJcmgMK/lHHL5ybwKzEUza1iSJlVNnileCmQUTQGsLUwxF2a9RO80BxeLZtLCxyXKHTfdquGXY+ppOazzWQQCD3lrG0j8DYwiWJe5q34s0AAlceogpBQo+6OvGzvXIT2FwKVRfCdBOjNw2ZDX0pSHFdGkHpNOiPwUMpu6HIOabB9nJDHs2YZjOZYHoBuAoadQlA== 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=JVAUHetCMZ+sku9azKuQuKBLE05gtFtDIRn7I/rkx80=; b=EJREzq9+sKJPPL9TyYrWR2EDwoMEb5+lUbBtEIvbAX+/L7r38Y08keOrluYLnsJCMKZSVvqHUxRjOo5yh+zCerV9Ucvvf8RiR6/xvHNJ1Sqi5OVmXsRQol7iR+d0ZK3zrtN84CARsFx2SKARjofyVx+JsrLp+5fWM7BtDu3iywg= 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 DB8PR04MB7020.eurprd04.prod.outlook.com (2603:10a6:10:126::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Fri, 11 Nov 2022 03:27:19 +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; Fri, 11 Nov 2022 03:27:19 +0000 From: "Peng Fan (OSS)" 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 Subject: [PATCH V4 11/14] arm64: dts: imx8mn-evk: enable usdhc1 Date: Fri, 11 Nov 2022 11:28:08 +0800 Message-Id: <20221111032811.2456916-12-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221111032811.2456916-1-peng.fan@oss.nxp.com> References: <20221111032811.2456916-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0040.apcprd02.prod.outlook.com (2603:1096:4:1f6::7) 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_|DB8PR04MB7020:EE_ X-MS-Office365-Filtering-Correlation-Id: c19dc7d2-11b4-4b02-a6b5-08dac394a39c 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: ub1GbyQS74LNzsKCeo0akfCht6/f8HJT8NNDz/LxIFS80+GgbGI2FOO9Jvj9KZvoYbEyalUCWvL3u3h/NU/7vcHaizHm4fRGgHLaZbt4aEFRtIxJjsFiEpXSG55fqLRmPFrs1+hbFX3PFIuWRt1r270nww2dSHImiYuaQO/BgRAF7NM4hMLgblHPU5Ux75vjJ7DFu8C4K6gVKW3zBLjQDho8smVqrmu6mxY/GVy9+z9lz6oY0pdWo01F9/0a3BXxZBlnqC0KlB/BQcNDglHO+ZcgFKyn1hcYVuWxXvKebYkDqCyDl64I+M9rYSjaqrCX4DauC1xxIlbLU1aa/U2HRKHQztTLFp36qUJIPpEQgevPiwQ9Sn6oz0sP/bYa5G6N21d6xUHl21FrPdwOAX9qAT9xPOIn8KYW3RUhGx7VWpSy5MdBwa/sp2Y7/g1hqG0xuhwjrFL11OLRDAStpUlTAcX6YVSt23nVTx9oHKNNXmEV2TRAkp6TJcUKxlEOB92ByPcHagWCYayyj82FX9+PBfqbogkd1o0N81uV32nvzP6wy6NSxaSTtFFYlpNBbj45+xzmuLkP1olaKGGtq4ClJUp8aDFLS7BtlXxdhWFB3oHnHIzDgRBvoUHej8ULcHwm7LqbRa+nkxUEWAcFzfELiu6RVmJI1W0AlUKN/96kPPuoIdXFkBwjMbky+0ImYyXUOR2QUbIzn6Nktss0uSxCDiPXf2qES9Xi2j7zXwlPJtUBOyBzt5YlmmWsEkDg3m/dfB7JiNDVLDSxFDTRZ/P0iR78FZqNz61wxS4yArXwBxqbqzhGoVpaJ7CGk4XhyhLt 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)(136003)(376002)(396003)(366004)(39860400002)(451199015)(6486002)(83380400001)(6666004)(8936002)(478600001)(41300700001)(5660300002)(1076003)(186003)(316002)(6506007)(4326008)(38100700002)(38350700002)(6512007)(26005)(86362001)(2616005)(8676002)(2906002)(66556008)(66946007)(66476007)(52116002)(32563001)(473944003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: P6p09g5fPjFAv6fXXyuJ3LOGHvyMykcH9g6X1MxoQCoZH1pRe6qjWbcWrB86ebK2XGXeoCELSBuPYA5y2twRySxYP7Ht/BVGpQI7JOf5alb1PAFr/uaA5tWKt3GaA14lRK15TIS6FDRHY1jhC7fMmyxpF+c2l/RNy5j/qABx2l4gmtUycsXsYPSRYTK+TOIXPe6OnP/KtPzA+H4SaIBG+nbthkU8eKlM85+w1f00+eBBOEtsbCScEuEOxzlg0hX9K1Hs9SgG3Zh/Mw21u20aSJGfI7QUxF04PHRe5pI/KGZVtdOAxc1kp/FQHhqX4a21rRj2OHLV3sjhLKMaX1RNGf1Izv9pZqNvk4cWgc3GN6CxucTU/gS9pKhmWUgvimJ1tGyNQXTJTY+WdQU7BqYhnWxwg7iIa1OcMbRAFbqYjKPGJbupS8I+2m2gYLqB5yTioCQDnBz6IcRAqSAGUcGr+34IY3eTyYC7mwFNQ4z0qs3hsr/Y9HUbdrInA9Kv7m+0sB5NdNLYiIyn20n+hWB87xSZ5jVe/gBx4DOXOQGCVkh21q7xcm6koGO3q9e3t70vjqLNktNic5K7s1tL1j+PjBagjolOh5xhzWyCtvaqgbO7eC3QYzJUdQ5f+0YIG3lf/E+s8Mn/VshLhDUESCdGXCuEjnr2chWBF3X3ZsVx7nvimhnd/YlxeW6AvNS7GYWOdp0mgFNXzY64tdNWoWCmhL8gYSfW2wWdtDrLpQ3UtHMgV9SZYgSlVrEh/1zJ5k/++JK3BxuXJuf7CdL3gafJ75oVP+0FHKQNe54usgbWPEaBo5k2sZ+GR+9+HUqJy3Uq9R8CruvN5zYbnCdJuWrevFprsTR3SJbG3WbZBUM5ZjZdqsDEhDhPjAm2P5rcwleZdbM5UU+FsPz/Fb1ZKXzj92y/Gq0O5lYDbbLW+LgnmOiD+f+YRYdPnQwzYZv0CIAjdBB8OrAccz1Ngg9aw2YwAYwNKNbVt4Z28QdBr6ds34+18V02Ef40uEBC/AvqqEmny6t7JoafPVYyzsNHQALOt+FSeuzAJWPHw7bTSA4wIj27vHRqqOP21Gk1jy4XIvPCjaUkPbNnJFlboMEmxDjyiY0w7biX68BZQvURMHXHEUT2+2FKpvE+SVrFT03/vRZ4ghcY4cjd2joMCHLdVMgMuzb3xk3UQnaOc5A1maz+8V0fZfeCOFU03s7Qw23W3N6mbaQjqIoT3NYTYLpoPqRysr0htAeGR11aixM9he7V5Dn1Yndpen6BYb0LehFdNGzX+cLTlQsDafG9uSRLtV0X90+MqMOyfWVN/YGyy0OhUBGpJPR9/ZCyAD5joF/S02eVNvpEouWB8Fm4M+UNAmlKkf6wE/sbykeXMj7sHwrblrpgrrYAT4VP5zGRFEtiCDw+7drMieJIQD9C2mGLc8AtIZXf44gu2ueUvgBsTappVqE4CRA/1dcBbGTEPcpRRuARH3XPFnxhDuM3ot7UAyEAYZuCCTeXO2x0TQQyl70VfCrPDcHZpncPuHMbRqOxk1k8XwgfcO17/wF+/VWRxNuIIiIPk0x7sg/9BVF9fMGWFdeivSYBTI6Z2NFM7ob4SAjY X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c19dc7d2-11b4-4b02-a6b5-08dac394a39c X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2022 03:27:19.5905 (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: ePUO0YRsa/Gq7l3pDuFpTKJ/uXxtSRBIpV/vG8l6AtPm1A2q5e16yhIpxg8gnbjda9d4Q2bdTaTgLCARlhU6Vw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7020 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749168942413510309?= X-GMAIL-MSGID: =?utf-8?q?1749168942413510309?= From: Peng Fan Enable usdhc1 for wlan usage, the wifi device node not included. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi index 12dc5d398a03..8d498718e0ca 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi @@ -28,6 +28,13 @@ memory@40000000 { reg = <0x0 0x40000000 0 0x80000000>; }; + usdhc1_pwrseq: usdhc1_pwrseq { + compatible = "mmc-pwrseq-simple"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc1_gpio>; + reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; + }; + reg_usdhc2_vmmc: regulator-usdhc2 { compatible = "regulator-fixed"; pinctrl-names = "default"; @@ -271,6 +278,20 @@ &uart3 { status = "okay"; }; +&usdhc1 { + pinctrl-names = "default", "state_100mhz", "state_200mhz"; + pinctrl-0 = <&pinctrl_usdhc1>, <&pinctrl_wlan>; + pinctrl-1 = <&pinctrl_usdhc1_100mhz>, <&pinctrl_wlan>; + pinctrl-2 = <&pinctrl_usdhc1_200mhz>, <&pinctrl_wlan>; + bus-width = <4>; + keep-power-in-suspend; + non-removable; + wakeup-source; + fsl,sdio-async-interrupt-enabled; + mmc-pwrseq = <&usdhc1_pwrseq>; + status = "okay"; +}; + &usbotg1 { dr_mode = "otg"; hnp-disable; @@ -474,6 +495,45 @@ MX8MN_IOMUXC_ECSPI1_MISO_UART3_DCE_CTS_B 0x140 >; }; + pinctrl_usdhc1_gpio: usdhc1grpgpio { + fsl,pins = < + MX8MN_IOMUXC_SD1_RESET_B_GPIO2_IO10 0x41 + >; + }; + + pinctrl_usdhc1: usdhc1grp { + fsl,pins = < + MX8MN_IOMUXC_SD1_CLK_USDHC1_CLK 0x190 + MX8MN_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d0 + MX8MN_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d0 + MX8MN_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d0 + MX8MN_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d0 + MX8MN_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d0 + >; + }; + + pinctrl_usdhc1_100mhz: usdhc1grp100mhz { + fsl,pins = < + MX8MN_IOMUXC_SD1_CLK_USDHC1_CLK 0x194 + MX8MN_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d4 + MX8MN_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d4 + MX8MN_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d4 + MX8MN_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d4 + MX8MN_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d4 + >; + }; + + pinctrl_usdhc1_200mhz: usdhc1grp200mhz { + fsl,pins = < + MX8MN_IOMUXC_SD1_CLK_USDHC1_CLK 0x196 + MX8MN_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d6 + MX8MN_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d6 + MX8MN_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d6 + MX8MN_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d6 + MX8MN_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d6 + >; + }; + pinctrl_usdhc2_gpio: usdhc2gpiogrp { fsl,pins = < MX8MN_IOMUXC_GPIO1_IO15_GPIO1_IO15 0x1c4 @@ -569,4 +629,11 @@ pinctrl_wdog: wdoggrp { MX8MN_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0x166 >; }; + + pinctrl_wlan: wlangrp { + fsl,pins = < + MX8MN_IOMUXC_GPIO1_IO00_ANAMIX_REF_CLK_32K 0x141 + MX8MN_IOMUXC_SD1_DATA7_GPIO2_IO9 0x159 + >; + }; }; From patchwork Fri Nov 11 03:28:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 18429 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp517257wru; Thu, 10 Nov 2022 19:32:15 -0800 (PST) X-Google-Smtp-Source: AMsMyM4fnxJiV4+ZKSqTmyQNUucny0p+/7Gq2mJpYQ1L/K0o9X2OpxK6ebpixzrEi6uVl+Ez304J X-Received: by 2002:a63:4508:0:b0:46f:13b0:25ea with SMTP id s8-20020a634508000000b0046f13b025eamr4480734pga.291.1668137534865; Thu, 10 Nov 2022 19:32:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668137534; cv=pass; d=google.com; s=arc-20160816; b=QSAe4pdHZDg+qb9kley3cNuYvOpde9nv1BSrscgRY+MM3JxHbTxlKz7PvQCoAl/X7h 1eLRJGpD9IW/jIV39fQDJ6EBPJf/vDBvr/PckYYCjgIpD+tbjx5ICx4B3XYUdgoPGVIs lpn+ceUvRITr6cSw0Q/spv15VxYP52aWZLj/kQOwFSbsCv5dHGBL5+vmcsJOIfP/wUb7 8BXxG08IsQShKZUultOCm3Iy1MfkOFvkezpp622H4swrKIjRQUkma8t4C+yb8PDux5wo +DQP6ugcFuNPJuycbskpigjPjYZMfy75x8v/pOH3/dkGzM3gSIi+wtWz3CdydiGrdOu7 PH6w== 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=tcs6qJGrx2moPgQKdN7CpWXH4H1CSg+/f8Gc6KXv9Ew=; b=I7mGlGeFrn3v/8bhmMr2pDwzufWeBTUamQS7/Tm5T46LjpgggtHINqvQQ08twgCaxQ iU8mOnSspObHtpW8MljJD7L2zlFPcL0SXHNO4JZBEN0gobGCV8sF4YsOllGEJA3IOJIc gManzXItP1xuwtppPvbrfl/p8D1JvpUomsm8rVEcnrvsPgkeaI+2JClQdu4KG+U5TLFn 9/seghOHRZU1ZKcbA0wApdM9halBwN/Fb7TOUGcw/1B3jCvV3GlhK3DTwRu6mEnR7rly 9V9gf1AhQkltO59Q7haHysNkcYOWlUSrGzlSALXS4hhzWxgU8LO6tqaVRAvd9axqvglu /XaQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=TBO0e6Kg; 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 t7-20020a056a0021c700b0056bb0103ea4si1255170pfj.246.2022.11.10.19.31.59; Thu, 10 Nov 2022 19:32:14 -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=TBO0e6Kg; 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 S233064AbiKKD3Z (ORCPT + 99 others); Thu, 10 Nov 2022 22:29:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229675AbiKKD2P (ORCPT ); Thu, 10 Nov 2022 22:28:15 -0500 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70042.outbound.protection.outlook.com [40.107.7.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4118C59867 for ; Thu, 10 Nov 2022 19:27:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nq4Np1UmJhjrKhIopwhafbodzSfeIfKicRq4FJihONpAHpbYeWko9PTaPvQn7z3KWq4sLoT/WmKIG/nAt6BTqnhghpGr4lb2aGYRGE4xRnf11IEdJXGDdgl2bHEF/h9UWWYrr0nWrw6AHmYoN8ozreV685R+YjiXapGsWZUbXO9U6DS5pXib/40jjkZQBohDdpgZnR27n19zAyWv65I0igeLraWhiuLzpxp5Zyt+wbGw+sqZ0JXDKVpub7KxgK9KyWxUi7ku0Uy61laVNVnIe1Pb+O+U3ik2fNvuv0w+H81F7TrS8fPJtYf07Fo2AgvK/zh7Qd4tiG0LriPyRsd22g== 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=tcs6qJGrx2moPgQKdN7CpWXH4H1CSg+/f8Gc6KXv9Ew=; b=AYK1g2vEgb7BwuN8b0PPBuzuN/wn6ERygBvXga6bb9xnWTVHCZHVJZWoaQ7PJdacxoSse1J+AwKSPfL8esdvtmXNENUl9RFl9JDl3Ga8m961pfgQ1vDz/5bh750iRVYF8cHxwlDe5VTq5JG2sXNeK/NW+fF+3Jytx0dvMNdPTnKDZ5cFGa9UnO3e4eTQd1CYCxDqK3rCOs8MG4RYgL0Ai6KkEDTch+7FrrgxWHRNFJ5PgFygoCK3P34uPKnDbZQvUuXPIZbz5NoOpzVXPNoPJnCz+VmQttCyiXNwzoLSkXYfY5IXjvTvMx9zkGSUudiFMFtTNYSufK9IDXuMvxrB6A== 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=tcs6qJGrx2moPgQKdN7CpWXH4H1CSg+/f8Gc6KXv9Ew=; b=TBO0e6KgZuzVK6YsE8Tbq37/uC+QCqVfjxtnXibUw70RbYeUpK9SHWDZOzGFMcJZO7AHKeFXWQnqq2Tv53cQzFYMPMuhH425q+7GG+axBsCePy4/CqipC7BnAQVM6PBPz9BC2HEKwcG5rmjYniIXsDCblHyW7jKnxfZBpWCSdYA= 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 DB8PR04MB7020.eurprd04.prod.outlook.com (2603:10a6:10:126::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Fri, 11 Nov 2022 03:27:22 +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; Fri, 11 Nov 2022 03:27:22 +0000 From: "Peng Fan (OSS)" 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, Sherry Sun , Peng Fan Subject: [PATCH V4 12/14] arm64: dts: imx8mm-evk: Enable usdhc1 to support wifi Date: Fri, 11 Nov 2022 11:28:09 +0800 Message-Id: <20221111032811.2456916-13-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221111032811.2456916-1-peng.fan@oss.nxp.com> References: <20221111032811.2456916-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0040.apcprd02.prod.outlook.com (2603:1096:4:1f6::7) 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_|DB8PR04MB7020:EE_ X-MS-Office365-Filtering-Correlation-Id: 1f586751-58b5-4e7f-4f82-08dac394a572 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: lC5Nx72JiLIURl0gQV9lSAwOI5Im6QnqJaKdFYlE6VdOXBH5Q+5BiM2PjLxUbJsEKyoNEZbw8JQXWEOSzfbVKhXetPwa9vj1Yi0xfNZm9xbr926Il8oxC0XwwfB/HOAx/TZIQKFzu9n1rHp+m7Gdbf7giXSaz0Pd93ShPeOWz2efFHXBcC3MfxFqs5GoxI5FEVD049RGkLQApI7IloZpmAjvN+ZUAlnQGYx86bJ+HRon+bSMsi4RgVLyuaLR784t863oXOgobxMBTQR0Tpql0PCXAqvGWEEfGAH/UKFGjiGnp+iIfyidMfKkXOL3bKV+0RYUNWpVSoHafKZ4EznDa2urgu76mCW9jHcd7BSxya+twa6Lkh1etgHLjygRFoGb1Z3wHRz91210+F+O71j7Rs/QzJCd5+5e9o5wQMP5JpylG1wFvue3irUv7plS2hqNAYwNmhxho0NqCZmBtl7vXjWLMtgbSxaXfvQ7NWndjJsU/fjJlgKeBfAPnrKBwav9C9I3vDra1sBDdFc7ZCW0aeZQc87VXEth+xJT6h76FKUvIKhsCs83n3B+XTXwyT0hIHnjdzYQEbjNT4aYOgjHqxFWXKAh2ZOuONx7UwwG1tl5l6ED1hKielM/1LwCEUopF3pjRZbORFAVScJY0bPWox+9xjlgOuQGoAeWM5Y9xB/GpwqftCTEeiKXC8l4fzZOk5kgnZFHyTeLBrKWfM1wmLTE7c8d1x5dlIwzusF5BtQQRjOQs+5ap8gJz2o1jixHole0fccEau1rtd0pRQUpWRnxJ76MeJMu8cPa5STYL/Apwd26maHxvVy9pqx4a2iB 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)(136003)(376002)(396003)(366004)(39860400002)(451199015)(6486002)(83380400001)(6666004)(8936002)(478600001)(41300700001)(5660300002)(1076003)(186003)(316002)(6506007)(4326008)(38100700002)(38350700002)(6512007)(26005)(86362001)(2616005)(8676002)(2906002)(66556008)(66946007)(66476007)(54906003)(52116002)(32563001)(473944003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: cam9msy0w5XWRahP0XmnOOfwO0oML4DoY7GZcHHNKhLKewc4YJ4E0UAM4JyyTZoQBvMxc3m+XBb7R2KYn2YvtNiOpQJ1yBAovv1D+oWTPyPBvqIw/xtSG4lUwzaCNXRNoBE+TjHYL4NCSbzMLFZZ33D3LenKOW/yic2DB5Errst+iQFPqFT0EcwljgLjT26uwET6wv/e+Bu5zCZxmEGLt4q4cQ08MMhLtDt9OnFU45em9fOf91MYXIvl1+s/J5ipfYmgZC3B8JM49U5bGN61TmfZSrX02WU3fkbnZQkG2WNP+eW5y8Z+zSjMUo28uBl+7aFZc19MbAjC3rESB/mztzdxj0IYwLYYBkAEXZ9cfW8zpQRDBUQRGYSG7SY38w2njIvxKOCdjq/6WZsMDrmMT8IjOSDfJsovIfXT/qQdHynHBLVwYTkhPyYjMxgLwAKnUJmZ5Th49lxRa23kDA5OW5Q2gCZaj9uzyV73A7gXkuBaZcpGv6DiVpRmCYkbWzgvmdIiyaF7F4ixwblRb6lGE6cWqFg8vNAVF5PrkBZM4sA/qLSxuJAZo4PD7qiugCNuU/NnHanAmBeiZMQQXKH8r2WvTZMzY+gcVDSFBMqUpKKse/atDkZh1D60irof2qc2fXSF2ycqsIM8fxZEb4ZrmuV3VPSFqfV/vLUInL4pG5mNlGceNCzvNLxHQkU93MCss0Vi7gDMOINv3HxBky61ysimhrPNurmOMAb/SUZRAVNd+E87knoRD5vy1bPnLz5AaSFnu+uvH3A7Hj/eXkx6BWKRFoh5aS5cKhwhM5YlmE+tsLfuk1ajB0kP5mJd1rxuq5YJUkuRYZs9GqZOYt0XVB9AFCfBaB9h8fvDWdcmGmGb6YlqjXFZ1fTnqsdZYaq9ufmfYljcfl6Vt2Xh9lciLYb0Txo9xJxD4XpvlvYgbLB1iX61Rjyftqrwq0STw9DKLNqKdke8znORaN2hSWnLBaOSaLK/1qz21Yy0E/yLL0CjHM0ky3MGvAkEwnjF75wcclU0PpfLr9HIBdNUfFKLZmUaJHKZvOMbZnOrRzwZS6dnle2OAytTRD3i5uNjfi5JaLzU6BiE2enx5xeKFqlxtqFOgvags94O6cXXGjo4yQN2CATyD72ZNMenrqevnrehwXmb/pA0wZH8KtdJ6+ZW6dqEneeg8jwra+nNOmIRL9Q+ahfJA/fTQZzvM5XRiofqLo0ZPwMRGpQZp1qYtTjI2Vf0aNb7J6KwaFBPOAS/jDdVyup18OrhMInhjq1xqug1maYfa8IoXxfKRwznpaImsi5NZdh58z8qB0eKxirFWfJX2aw79+OP0BZ5moJ6IJtkk17tIMkPHjGdTnwEt9QpN+uZ/N3FJ8A0Z/YVxXhYfq5m+iA9bDpe9GSiBTFB/j6XjT5XgHtqr3X3Ajgdvh3O9l72weEKVz1KCTIyc9+0OXbop6urLC736bxAJ+pycz8AZ6TfilahYnQannKJ3HUwW+HiRzVrH1hZvEYMtN1maqqkFxkvzycPOJbb9hWRHMdruCp6xcYuvqTrBPkXylb0pHTLVVIHy23jKoRHJtGQUAUXlHJl28vqxaQNdFIBM0tb X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1f586751-58b5-4e7f-4f82-08dac394a572 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2022 03:27:22.6686 (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: SyZTDRvaej1bRfbzV7CelsR7jR8HU+UGNzLSnNH38USLBHAbklFVVo1DUIawHcu+nIsK8rMkVrMmZcXSZMKxwg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7020 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749168983536670656?= X-GMAIL-MSGID: =?utf-8?q?1749168983536670656?= From: Sherry Sun Enable usdhc1 which is used for wifi. Signed-off-by: Sherry Sun Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mm-evk.dts | 27 +++++++++++++ arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 39 +++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts index a2b24d4d4e3e..7b80f144327d 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts @@ -15,6 +15,13 @@ / { aliases { spi0 = &flexspi; }; + + usdhc1_pwrseq: usdhc1_pwrseq { + compatible = "mmc-pwrseq-simple"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc1_gpio>; + reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; + }; }; &ddrc { @@ -53,6 +60,19 @@ flash@0 { }; }; +&usdhc1 { + pinctrl-names = "default", "state_100mhz", "state_200mhz"; + pinctrl-0 = <&pinctrl_usdhc1>, <&pinctrl_wlan>; + pinctrl-1 = <&pinctrl_usdhc1_100mhz>, <&pinctrl_wlan>; + pinctrl-2 = <&pinctrl_usdhc1_200mhz>, <&pinctrl_wlan>; + bus-width = <4>; + keep-power-in-suspend; + mmc-pwrseq = <&usdhc1_pwrseq>; + non-removable; + wakeup-source; + status = "okay"; +}; + &usdhc3 { assigned-clocks = <&clk IMX8MM_CLK_USDHC3_ROOT>; assigned-clock-rates = <400000000>; @@ -125,4 +145,11 @@ MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d6 MX8MM_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x196 >; }; + + pinctrl_wlan: wlangrp { + fsl,pins = < + MX8MM_IOMUXC_GPIO1_IO00_ANAMIX_REF_CLK_32K 0x141 + MX8MM_IOMUXC_SD1_DATA7_GPIO2_IO9 0x159 + >; + }; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi index 7d6317d95b13..ce450965e837 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi @@ -559,6 +559,45 @@ MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX 0x140 >; }; + pinctrl_usdhc1_gpio: usdhc1grpgpio { + fsl,pins = < + MX8MM_IOMUXC_SD1_RESET_B_GPIO2_IO10 0x41 + >; + }; + + pinctrl_usdhc1: usdhc1grp { + fsl,pins = < + MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK 0x190 + MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d0 + MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d0 + MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d0 + MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d0 + MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d0 + >; + }; + + pinctrl_usdhc1_100mhz: usdhc1grp100mhz { + fsl,pins = < + MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK 0x194 + MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d4 + MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d4 + MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d4 + MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d4 + MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d4 + >; + }; + + pinctrl_usdhc1_200mhz: usdhc1grp200mhz { + fsl,pins = < + MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK 0x196 + MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d6 + MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d6 + MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d6 + MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d6 + MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d6 + >; + }; + pinctrl_usdhc2_gpio: usdhc2grpgpiogrp { fsl,pins = < MX8MM_IOMUXC_GPIO1_IO15_GPIO1_IO15 0x1c4 From patchwork Fri Nov 11 03:28:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 18430 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp517473wru; Thu, 10 Nov 2022 19:32:57 -0800 (PST) X-Google-Smtp-Source: AMsMyM77JY6naLOzIFeXWZdvYQ+8XqXprECo4UXCNPeRFhAGHOOdLWCTO4lhpXyJyfKZ0SpQ5JO0 X-Received: by 2002:a63:6486:0:b0:46f:f112:e782 with SMTP id y128-20020a636486000000b0046ff112e782mr4419800pgb.219.1668137576790; Thu, 10 Nov 2022 19:32:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668137576; cv=pass; d=google.com; s=arc-20160816; b=QT7gCb4QudaQRp4vWnAtdnLlT+r8E3hNJmk7w7+NR/Vcyr1Iqx2oSi0KdCqQEGMpdb HhWDTPDHeG5DRYWzm0Tg3bx7XHzAEedaHiKSsnjKsFjqjgIxxGmdFHB5lWrGuxTK9OUJ UWgqf6joqy11I7sf6btrPkSt/RqjtvH9AS+xxSQc2QGz8JK3LsaniVNKPe01s97XqMLE BhaJVAcLzdPEDsE2fvxzThqdETrgt5Rdbmgov06mBfu4DJ7sldjqD+GIEDfCxWgHxDtc Jiq0XGzxFSc+iDf2Xt4fMu9Er5mA+vw7ojcw5s8VH7RIwEtH6+T6QUK4zTGYsVEDUUl4 kOyQ== 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=nz3zK8DP17lcFGmZHLPXTi1DTD0usmKlYijve+Fp8dI=; b=LsaiWyKtZqlMZLON6CXQAaHmuaoHZUKZAqNJtJbDybia/auW9m62c42n+zQXc4nwJG CF4vvhgQRKs/rF8FEcHfSgArLAyYMNV82wE7o4qzA7zBz6mlagkGCxsqXB1oFROEMXvk 7vrv7ty4iuDRbo5vJ9muACfCuXth5xCeRdF46rn/kDfa18e5hdHuCdRxQoRdjummROzR av67X1Z/PmtPvktQaajDpJ2InhgHZJE78k3ZD3D1hneFSAX/gIOL9fM7FaIDBCB20Gv/ LxQpNDuKhPSi6NJSW0mIRShk0qXORCRZHrAay3ZxKbhVZShttisSN3LuDmu/FVGlxRdC Wxgw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b="CJVbg9/A"; 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 f12-20020a63dc4c000000b0045f7fc4b812si1091620pgj.295.2022.11.10.19.32.43; Thu, 10 Nov 2022 19:32:56 -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="CJVbg9/A"; 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 S232823AbiKKD3a (ORCPT + 99 others); Thu, 10 Nov 2022 22:29:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232324AbiKKD2P (ORCPT ); Thu, 10 Nov 2022 22:28:15 -0500 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2060.outbound.protection.outlook.com [40.107.21.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B6085E9C8 for ; Thu, 10 Nov 2022 19:27:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=anPHs2D2pYl4E+F8oZQ+Q6SSCqDJP5+bu1RfcFBBkIIzR/G6Qd+fxtAdJp0zOB4fsmnrENAuS1FyMF7F/gEQrUraDj9WKzzScXd6P5SKMl9IGnYZQ69LQuuwMms+zeYrSqtttAeRVrNwqoYSxRP/eUSjwvJmgWFeQmZRMmoNBw6DePyCxIjJRsdjQYiozv7LrGQCEKQA4NOlf1KVKml8ElHA8088AGPiQ1x/Cx6GN+aVFLX3hDYRj0NledW/2KR73VCPUGgjX9A4XCxIpTyDbOC6Gopk7aoNPmc5UUUluys6/IJDBv38Nf0NPhxmFV3Ne2RSgpyuXVPsUWXlRgELTA== 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=nz3zK8DP17lcFGmZHLPXTi1DTD0usmKlYijve+Fp8dI=; b=oGhpEcphR5vgUu6gJJ2CGtJW3LJwDrmVKmEA1rSjGGoBFNIewq5hk1tz4zods6tT7W096d8A8aWC15f45BHjHf5Mo4TdZRSIH+m/EDuILdtALgR+6zXOlzX1hlYG7MqfIVQbioEXsQkz/z1Ol1lKEQyaRRDz+P0gNmc49EIkiCz4A+AgqZGdk+Yo6GKbl4jS/GpZdNdRVi+ahNNHjuAgayBZr/F8FVfPL9cuAb/mddse/BpSzQ0yYFzjdw0xGm0/xrZ0cwa5nL19Cf8GqwU2k1DI7LoexAJn33LmQLpO+qVGltM/+j47euEM13A6e1hsBgSJaGBS7f6wEO9ljJEsHw== 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=nz3zK8DP17lcFGmZHLPXTi1DTD0usmKlYijve+Fp8dI=; b=CJVbg9/AKOgoiVdEyVcZZUNhRqzsm7+4fiWnWiqyRCS61OSTLIJckvQjVJ4JsX9jGfdzQAz9URZLfjXZoFr+tJF4k0eJ34PmZ3XVuJfR9S4WpZXJEqrONP1EJYCd3okW6lELOaWqs0p3Xx/+RJ8PhiAWPdx04fuEgnpyQUDXPwo= 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 DB8PR04MB7020.eurprd04.prod.outlook.com (2603:10a6:10:126::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Fri, 11 Nov 2022 03:27:25 +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; Fri, 11 Nov 2022 03:27:25 +0000 From: "Peng Fan (OSS)" 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, Haibo Chen , Peng Fan Subject: [PATCH V4 13/14] arm64: dts: imx8m[m,q]-evk: change to use off-on-delay-us in regulator Date: Fri, 11 Nov 2022 11:28:10 +0800 Message-Id: <20221111032811.2456916-14-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221111032811.2456916-1-peng.fan@oss.nxp.com> References: <20221111032811.2456916-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0040.apcprd02.prod.outlook.com (2603:1096:4:1f6::7) 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_|DB8PR04MB7020:EE_ X-MS-Office365-Filtering-Correlation-Id: 12c0a808-63f3-4f00-77f5-08dac394a74a 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: QQdDVEIh4QK4kWkxgWjW5SKUMjpDWn3AsfMQh1Jm/LZrq5Wyp8aTPZT/aRk1IYhhgYxN0eDCmsOTHfmbVLrRJzj4QEygl+/Ahqsjg6wDB+/znwDWY8f3s2GEkdmyPTWtmb8iu26kSGHA0wIy0wUTerOMYtTtcVL8DAWd6tYkla8PKOMySfhpwuREoK5DtPFeDIrrBOiArmS4v6bd2lDY/afAjRaKLoRWWJPf0qiWHrKqNTLULL0knwDB3XxMVVquMA4R/9P8ifJKIhTaSwH5qDJgsof9Qh/+hOCMluapilfdB0Jco1P+WWEm6W/HZM+ZcfSiB+ekkTEtWCRTOh1/3hlouR2QoHYqrEzr7d70Q471Uk/PspZVoX+MO01T77o1FxnWUjTzcKdp/nbnIMwnco3Kr+IhEszcvS5krHD2yH+R7H75PY7ORIYr7DEFPs2AxNef0PXAWNFtLgpZQpG1YCFvVULsdVtScTsUyQx+hABMnvo3TLKa7+gd/GyGG3zZvGrcZLVOEdSv/GG7zedwOr3/pVC1OmQRB+IrWIE2EYp/9zJ1cfXgXFBbzzApM16+SvtYFYgZmELujGOQstzhG0KY/5t590W/C97+u0p9+RJigueNqXRQed1sI2od6PsP6REMu+LZk/UTDsQlV6IOQMWH0hOqiFsYLKTGl+XijQTUGXbZJbcTcdke5+lFvL2z618/nO7gs8aUPek+ygkaOlOGbk3bNJUVAJHjmQhUnTp6rlw/6C22cRomRW3/PPn/Mb0pk5z8fz85alpSHWim9VYpLbmWREDHazKlg+4MWmk= 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)(136003)(376002)(396003)(366004)(39860400002)(451199015)(6486002)(83380400001)(6666004)(8936002)(478600001)(41300700001)(5660300002)(1076003)(186003)(316002)(6506007)(4326008)(38100700002)(38350700002)(6512007)(26005)(86362001)(2616005)(8676002)(2906002)(66556008)(66946007)(66476007)(54906003)(52116002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ZlqSEVtvw2/YMHfkfRfDcTzJ9nVRmWp3lErEjC+V8BFV1DxaioXuRVBAIQQ/sdniTqzNRYrXUmdRYGdyrGsZNDdF8ZAOTgqfMMHG+PSzrXv5jFNeJuqEezbZTIhI0xAjMW098DjkTyms74i/9Qg/TtY0QGNAFVL4oXreJ7EKpROH9itEQDmxYJQgRvyV/Qa49KZbtModYIyfEEmp2VKu3MWm8SWzvdNmCfDJATm3aVH3JqwnMXPIUdVvtj7eHtAesxr4edRwFe6uOSiUsBnNkSWHKnwopLjLJXM/ctkdfKVIr/JO5wiNvr5J1/10YoN29mnJdLnP/0tJwEuMEMWk4+SBge6jlNHv5gpf2bzqDtrPxxXwp6X5XC3uly2byXX7HgqC4IbdqUcQP4sGyeHwZqExa2Pypzvcm3SsrcwUgJFwWN2nwTRZNSNQdVdoR2b91ViyTlN0qNRKV7+5G5sd3sXICqdC7SPagkXBltpmGdb31SBSyBcmHCRDO8Z17zxyLPIrPOTdPjVZiLxEbzt9IBYUIjjvq7e2NyconLMqgOGA6XWJTGaoMG73wQEHNZniUiUgiEphUyNgWbDgd/FfVb7Yi2Vobtky51vOMt4bujxzPm0Rajx3d0P1+jLL5dgIBLRw7Y3r5WJD2zmZtpOsanLR6HDdDihAcwZT2EdeWZTWKqiOjvJ5BXZRoOPHDxRldu+YArNDFqrAphqGQlwDzZZhTe0wzjWhskTIx1kt4p15GTyPetTUbFzyYKohp5kBZWRdRV8R1/U7UsKtIeuWVmC2+x08TNNjZOr+L9NjGyeTEau+5d+21mtM7RY1DxexJLQYvkKLG0VoWpZ5PsK3foWWY25WEyzgL8UHXP0/0QSsyxcMJaktV+QDM5JnDFO3wY52TEiDhzG8LCB0roI4e5CoPlw2Vd+YIvLSx/f8sp42PtskJezYx0g0dqCy0bTi2olItDruJveGfYLEaceMdPD1Ji6pqvngIB+aWVgSwJVD1tGMobMoE5oMXTpQod0YS3IQtCR38yRj7XA8Tb+kAepRrCipueUn2d8CU98F/9+15RSOe0nbTypbvUjcoGG9psvNvnNGH7Jm6zXuVnWyLa8NBPQLrpnvGKZGRiFyaWkbpALiOOurtgpBGXBYuo/xv3YOkQJ3KxxQgUCBAx2df8Trwofpl/uWlR0JZqx/C9dhCI6vrJsD3DQVKjaO8ZP8kV2wu3nnthFq/Cl1+aM1P8Zp+79aLm9A9zStpvOCs4dmqxTHST3Txn/GtmFuw6uExwghZQPceWK4GmH631DJt7CPpPYlKI+Ohqh3a7pI2YTjS0NIGqfCO0T4Yffw7g9BWKt0THFr5uomNlupBEmrEXSbWRt03MjAJF8O4hQjNsRW/L+90dZzIOGh0aa7UBHxMVXSVr4G09wLVzPjo4gyDG2KoiDiQNJvXTDsO3KTNZhWwwD/EqWppMcLnjnfjnQv8kbb2SKiQhhzMRygHCd1E0au9dWKcalyFIpPCxSK2RZiwJMQY5KI5k/pTP7c0ZhIgM+Xi4v1qJsFDvpLM0de3pXiYzhsa9ocvaalwzRkq9GkPYXfDORs4rYNGHj/u1Xi X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 12c0a808-63f3-4f00-77f5-08dac394a74a X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2022 03:27:25.7472 (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: hvFhDU1vbKKAqE+voK1y6Fk1a2poEHRHG4NII2iOGx757DiiIUd403n+YAAMi3y3z50b2G6VAsu+nyyjawFS/A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7020 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749169027604703614?= X-GMAIL-MSGID: =?utf-8?q?1749169027604703614?= 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 --- arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 1 + arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi index ce450965e837..fdbcd2483efc 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi @@ -56,6 +56,7 @@ reg_usdhc2_vmmc: regulator-usdhc2 { regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>; + off-on-delay-us = <20000>; enable-active-high; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts index 82387b9cb800..07d9fb2aacf8 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts @@ -46,6 +46,7 @@ reg_usdhc2_vmmc: regulator-vsd-3v3 { regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>; + off-on-delay-us = <20000>; enable-active-high; }; From patchwork Fri Nov 11 03:28:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 18431 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp519924wru; Thu, 10 Nov 2022 19:41:04 -0800 (PST) X-Google-Smtp-Source: AMsMyM6PBvxNNLIi8Pn+7Vz28qnR4t5Nlzo1TZD5G5KrUwRYJTrOreFuBcdssY3DlhH1hl5rZIZo X-Received: by 2002:aa7:d606:0:b0:45b:cb6b:c342 with SMTP id c6-20020aa7d606000000b0045bcb6bc342mr4337660edr.282.1668138063903; Thu, 10 Nov 2022 19:41:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668138063; cv=pass; d=google.com; s=arc-20160816; b=NyE4O9IuOjF2DYdNmbGxKoUdj34QbXVbvlZiuLaD1N54H6OjmiJbp6vLRmfQqYbU/w ML4lO81JcQnrAUK7Q+tsm9hfDtlQDQydyXIIgCmOCdT2BUornkwEG+UR0h+721WS+NTv l7w775sczK9AkmAv8Do7Yg1Q5tkFrAUnQGnS0buK20GE7bjITZ7yZ9iPXRhukKVMVBLB xf1dDzMJGW2NdyHo3KHJdt3x+LOtXV/SeetIRSciHIMGpRJ0gcHW4EF50ZC4nNgZhyKM tP6Pt81rkKpEXBn6lU626ika/x5UKrQSTTP5pDOODNcf9bkacphYGeuIySnyFkEVYahy PYzQ== 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=45ZlfSnPATcVCkuW7OpkmI6SoUKfZvDq54LQHVB8cN4=; b=retDxYYv3dhjZ5iiL1ILMhY25h3ZSM6H7aX+2JKQIy8yQ5CPi9SYAorQsinz1FOVjR d5MK17kuabjirgTfzX6V/aEGC21047EgZHqYY7HwvmBW1KtUv1cGHoxbCMPIRPicFdmd P5BpuPkS3ui4w33dsPMmRrjeeWbztbNGhKhxDmYDfCsiRv+87skyO87BDupBzu0YtGCV SlvwswuPt7MeLzWfif7YBMLWNaeaxXa53Z0mytQba1IYoP0kEDP8huE+h1wCH0E1PBz4 xIQIxXdh9lrEhMj4mArUMS/lbkK4ZL08s6QhywBfiihm6QgZ/EXHjemKUPPBz+ROzAQ7 vfLA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=gc+vmRWv; 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 o19-20020a170906975300b00787d0dfe70csi963765ejy.981.2022.11.10.19.40.40; Thu, 10 Nov 2022 19:41:03 -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=gc+vmRWv; 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 S233101AbiKKD3c (ORCPT + 99 others); Thu, 10 Nov 2022 22:29:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232335AbiKKD2P (ORCPT ); Thu, 10 Nov 2022 22:28:15 -0500 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70082.outbound.protection.outlook.com [40.107.7.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13D075E9E5 for ; Thu, 10 Nov 2022 19:27:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DR9uKj7yxDoZgDWx6O7nlLDQoHsqH9P0v0dR/18xYTyBAhDBgwOzBDFNBmbCxopu/vNpA8UG5TAZLCM/00SFswAdaajIhPjh2cbujnkkT/ZmRf7MISAeNKIGjUsFY8rkVfQxR68AObURRMGPJMUFCZB110JBWee3zlh6ZrQv/7qpKooT2xtuyF6YUL+DtSIZxoucVyHCqKayVtOR1p09H8U5zq6SzdhpsxOowiGrKElfq9Zqn6+AY2UxKK4BMo4JnZ31uIYonSr4kWeSsI3qICBMkjapkXdECdKVp5Fm517IgJ5eNbbFOOH4eTZK9Hj5l9t05AE7E8Pj4/BO1+dUFw== 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=45ZlfSnPATcVCkuW7OpkmI6SoUKfZvDq54LQHVB8cN4=; b=YbcpBJLZR/f9oWg3WBAec9AmQvB1HNyxylC6m46ZKM9vXGDRYmped65PhcOJms2dQEJ8liK+fTb+uVIp7madETn0Kk/CzLy9xQdqUcMwjitAlRCiQ8ThAvN0ZBtJXdvAE37gihLMy3sfeoL7bqZZ4FHiKP/2vt8pKHj0pnwSKoIBTgzMk8GJP2uEKLZ9KBghbINtWoRMWnQfRgQPIUJGrWChMQTAQ1k2pbEAJ4ip/dwmRZHUVh4mPMGQnQXENubYiC5tXYNNr3CzjqwGuLA/pBu2QkCptAUSfrYuiUaBmpUA0PvAC6E9qSe5HuGsqZQZA57k2xhMnqjE8k48ji43qA== 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=45ZlfSnPATcVCkuW7OpkmI6SoUKfZvDq54LQHVB8cN4=; b=gc+vmRWvz5OHZ0GmEOh4zju5+u7KYTh0yjwS0iOzx6+xpVuQZRihpKNKHmjpnngBQxoUEK3fEIbdWh4AcZEma6OlRAUXUN8O3wa8/615qI+8U8EyKBVq3YtoS/kH3tEBlYT6u/8l1lUzwXZU94UtRRALfQFRJF20nuP1V2Mlt7U= 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 DB8PR04MB7020.eurprd04.prod.outlook.com (2603:10a6:10:126::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Fri, 11 Nov 2022 03:27:29 +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; Fri, 11 Nov 2022 03:27:29 +0000 From: "Peng Fan (OSS)" 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, Adrian Alonso , Shengjiu Wang , Peng Fan Subject: [PATCH V4 14/14] arm64: dts: imx8mm-evk: add vcc supply for pca6416 Date: Fri, 11 Nov 2022 11:28:11 +0800 Message-Id: <20221111032811.2456916-15-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221111032811.2456916-1-peng.fan@oss.nxp.com> References: <20221111032811.2456916-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0040.apcprd02.prod.outlook.com (2603:1096:4:1f6::7) 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_|DB8PR04MB7020:EE_ X-MS-Office365-Filtering-Correlation-Id: 8d7667d8-c702-48ab-39de-08dac394a944 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: VWHaWM1hK1K2tx/HpFuSwaYio0mUvQXjJsR12aTwDAngbU9xuCp4BxfoHw/VY7TDIiyurEqgbSij1pevbO8OKkp5Xsjw3kfofyHskkMipOwvjj4sNAmC9UlGxnfN+GTPI6Sn141FNxIlIVnA+UxkjF46ekI/h1L+zcEurdxVVqQBhDO75WbotQPgZa4XDQ657sHxS2OE6vCkEIW6Sd3IXuQkcUpwog/s3GQ2/jEOoR1DqkmbgfWRZ7f9QIgSxsDS6OqV5gn300Z9wr8lkL7Jw7HaqyKyzHG0PgD4KHJyesM+Qncg/fOLEnRCKGS3uPFcq+U1KSq0x86IpInknou7bWP0grt+8bVPP23NoaTTxYyUJ0cBrdmq0h4C7yZxnoE0jNIywdKuZD8NnTWkt6WcbRXy7VobN8Tq78So3LX1foDF1ZU0p7jlyq4jZtoMcjw30kOeOeXQ32xxGXhyMalT9u2TLlT0MexOH9WHHrSIjxRvvZQfrqKyMB34MyshvD0ayLEK2rKg4szBwJTvddUuCYGctCSuZlMuYZxkA9kiH90p4aGR5lMgSAFKef33UGJIAn0UTLsQ3LAC0lJeVL1Ot++EAtNI1m7tngOrsujWRT7NY+58GgzHZbE61A9H6dLvyPgq3wIn8Mv4QnJSx4wECwu1srv/2Pk/wPFPy3owCGiljRfIM/UNaix+sPYvXr/SdkIUocd7vU3CgRQIswkBwvMRZE0ultv8iX215Kqv1sIDB0H+L2tifcTGClp5+8mMGEj31JrZyW33jtDmZr7cfQ8iRHy+yfBTefm63d75EDU= 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)(136003)(376002)(396003)(366004)(39860400002)(451199015)(6486002)(6666004)(8936002)(478600001)(41300700001)(5660300002)(4744005)(1076003)(186003)(316002)(6506007)(4326008)(38100700002)(38350700002)(6512007)(26005)(86362001)(2616005)(8676002)(2906002)(66556008)(66946007)(66476007)(54906003)(52116002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: QWcr3uMWIpHRBGRBk8QZOfp+B4SfyAxlJKYLMjYiHpog9LU9BI2B6pjp50aaN39qJt5ytqUvJvhyfs20iBjyG9gX0d++8QtJJ6msuTP2fGdx7My1ATUxk0IqW3qrfC19xQ1I19dHURB5aI8j4lUa79IOUMhA2oHwzJof8gvoUlk3CJOAeuBlVaaiMgfrA3tSJ+lUXIh0IMyXhoLWZCBtKW0qOUZN7KYp/VMDu8S414YxiiYKi1a34A3HP9Cm4ajL4BjY99eN3wZRcbCKm6e8SQqlWdinTaEQPcyT5hxiypdPh9YALbdZQeMe5clEiegt3OswYQ8A3NFevpg68pMp1odK8TUAlaxrriHdK90XQ8s4JB37+GraDmT6bNDODYx4xYrI/N98vYsKvreP55dygd5bh6oGX083HxaYrM0jBMj5PT9mOahknMFYvOrS3GueHWSXGx+M1RDTDTJG1EW7YWQ9MeExXJ8Y+IneKQfMxQlrHu+8OsiPLTYrd1PiYher+GYE7a75V0dMAYgY9e78EVcUSGkRd0GhbYlMyJKZgQIDciEHv+RT/iiNwYc1xCrHqy9uY/KIlYzcr4sBGYyw1I7du+WXUgcbSMpCh1coyc5c641Vj7NocrBSZ8YLi6DrPNM5uuvl+63cGwuZxT0v8uBO5rVLfPMFRxr2ivdcNkt2IO6SMPmJvSSJ/RkECEcVXJH8InaahoXn8XVJu2tsYhrY6T1c3+wf9EE5iDKfPs1GEl7YtBw7j61OzKtSEknUVozDXkIsmnBsPFIh5r8tiz0s1+nioE9AzDBDNbkKxHt56pP2gXtKHMDWgWhQsPYQQma6tShgVKXV8gea/5RM+lhsHO2UrUUJ+NzOqCk0eXUeeiyThIXQs5xIQlZw9xWx9vC1SZ8YAo6q6fnOXjnuVWm8c0jRYZRbu66UF/x9awNdWFbEVZUwkojt+zTxqRkCs0lS1ME4VgBe7HxALVTx07xTGMD/nmreKkzs4XB7k/HotNthmvc/sH0FciJgE/PGu71zhKOOFd7hfPK1/udtIkh6gdhbDFzLVmUrNi7DgUz5rXElZbpQVU0kHrZpq/vUa2RLegc6ZdGwwk1mnyNnTK7VK89Fzhkmu10shn1NJIp3XftQfCtUfQvx9vE3/d3Oo8xYesgijFyZi6SIGOTDrvwi//xKQzPSPcBWD0HP7dUUJHL3OOYCWTd7g+EOppwGiyHwnOtUWijsVVfMuMy8gZPMwUBirKQ4qDaYmrhgm+YqqWahgVz39DXkehf7ZWUIZe9Ex0Zrmj4wQGtlPkOUzAsEmDYEe3fsj2wT85ZKKoIErPQnYuMvQX3anC8sNyjYUnJNOi6dHOj6+pJWUOeomNVS/DOvYD6mA3GoLvJfJ+mVGNLpVL1PG8TuR9/+fFdxmsfZlW8bG/0ueq3bJSU4cl3CVkdJEOBa7y7e7ANA+QbviuzfaZXpGQY6GdlcNgMCRwtbSOrVT8PkwKFPypOgjR/G6CqA7yEXoKI5GXdcq4is6JacuUSHt9c8R34P2lh376zEPECuw3J7X4Ckn2OIDNO4HBwAAXGmozmVjjpySpcZvvwdhh2ShnoUCna7e9Sq X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8d7667d8-c702-48ab-39de-08dac394a944 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2022 03:27:29.1711 (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: sznI4n3jdEZWZ1xiDO8H4u5/9JSSFpyL8e/eaS56b8XSiK85qhECEd0TpDlC+3OoQU0vK7LtHXKOtdFj9gZgGg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7020 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749169538993075322?= X-GMAIL-MSGID: =?utf-8?q?1749169538993075322?= From: Adrian Alonso pca6146 requires vcc-supply to work on i.MX8MM-EVK board. Reviewed-by: Shengjiu Wang Signed-off-by: Adrian Alonso Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi index fdbcd2483efc..31144aefe0ba 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi @@ -344,6 +344,7 @@ pca6416: gpio@20 { reg = <0x20>; gpio-controller; #gpio-cells = <2>; + vcc-supply = <&buck4_reg>; }; };