From patchwork Thu Nov 17 09:53:52 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: 21527 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp309226wrr; Thu, 17 Nov 2022 01:56:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf6GQE131sUdMFJZ5n0XRC1Rh28hdWBzXHQBIsLoLPt0Cd6JQmuyLX589R3nxbrcFUI65jBp X-Received: by 2002:a17:903:12cd:b0:186:9fc8:6688 with SMTP id io13-20020a17090312cd00b001869fc86688mr2057478plb.22.1668678989854; Thu, 17 Nov 2022 01:56:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668678989; cv=pass; d=google.com; s=arc-20160816; b=hyeAVyz0jqubl8AAKjl65h7x2gVsXDAFhg5PANhf7qnN6rY/7Sa1n2U7ydtASzx5Hg Uq78Hjuw3GbgubSuYdlQdWeTDQTaXOW/NPIfSX4UeLVUEm1Xh8ZiS/GXDNnMS+YKEkMn X5WNvDsFi2pg0vw/AZb7ZgCsmAMJzYdO9Acpix1OfFQbWID7B99GvYAsD4p7c8qGGBW+ ibaW+uXlzWxpPC7wFEeyFaHQPWx4bODD40KRL6C9oK9D4ml4qhNUWuExKznftNXz6mAl pJddLmrbKV6N31ktzAnpcACLF5FCLTvZPXFAowxZGeiMaIf1n/5eUmbtrLVQ/lTGLCrM Qiuw== 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=Ao6NseS8rbvP1++u5+L5yna44qijHUMTNj8N9eeGdV8=; b=s6FQVDdrYFT7LzM1HLhOW/EgDdhCKqjHZX9zxV11XwUo5h81QYCvZBKFWANXsfoqYk lMNV9FTY9WIXQefG82brBqdbfVoebOEaiIPeMZON0fqrRN6DcEDfdzLn9c6Dbf8nnjRV aWhcHIhgWWwpM9J4GxXynNhbVSxJS46EZvu5aGMpTxftN/hU92/6VeRhBTH6Ovd+zMzf etdv6CRl3HxfVhW26mViw3LOo9AjmxCTTaCRgOK8NTYXqp+JNQQQ5bpR+MWILXDBp1lx nssjAxpgo7+zCSyKxDVu7wza0XXqCP2a1xEWM1xUhYjvUirtVxVKTeJLTkPvNhVC9e7c AqCA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Ox8kYFFE; 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 na18-20020a17090b4c1200b00218641b1acdsi2893413pjb.68.2022.11.17.01.56.17; Thu, 17 Nov 2022 01:56:29 -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=Ox8kYFFE; 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 S232918AbiKQJwv (ORCPT + 99 others); Thu, 17 Nov 2022 04:52:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234267AbiKQJwo (ORCPT ); Thu, 17 Nov 2022 04:52:44 -0500 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2051.outbound.protection.outlook.com [40.107.22.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDEB459175 for ; Thu, 17 Nov 2022 01:52:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JAj7cBf67dgOeGlP8c7Y/Nnd5d6gcWKilFSTZbF2o6fsZfFNdEWVxO8V06Ln4btXwayLHqYV+lQk1f7Kk4xTZGIIBuGgo/9tzzSYpyOw4TGUJw4wSyHVDHSvS+Hi5o0iit0/PIXs+U53aCDu4Fdwak8Qs5olL+7Kf4ZqSCNAlTT/r449sB6v8o5bEJxuwd2lJ2KIkDJGKrUUCA20+QCuP5TKW+ymOmhWW8IVpXD5D63Sjdj9PjJ6chJuRZnT0K9LVB5qzXoDOYjL46QMVZi8v6RSLUTXPN4H5sHeoprcbdmG7+rSqHtsY6VDRtMVP/0M8Ii+N+8c+3jb5NhsrdbMKg== 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=Ao6NseS8rbvP1++u5+L5yna44qijHUMTNj8N9eeGdV8=; b=hUkQVbgeO/Bnx2xoRUBlBaeAjEPvoLfCDYBUFfx+zJSuVDA/v13mpEE7sMSuwVAnyJ1ntL0kKaTeJuHPqSTHwxFIxDzcVKfQUJriTatSPGClcHtSkcaRlqYa2nn5TJgGN1ROvk4iuLmipZbb6Elg2iEn6e4agrQhtcTNlAlilRu7Z57l3IROI0xpt//9HUrSdi2wna9tNi+E+nopCzhIxT6YtHl8csDXOLwxAsuYJlTMJtXJ9qZR7etpN1CnL9SS6V0G7V/BY5TZBUSgy9bip/Ex8Z1Wa490hOxMFmRQ4R36wPlDdU64nYuYNcvNJsVZy4Jl4smQN7f1r5ffcmp1fA== 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=Ao6NseS8rbvP1++u5+L5yna44qijHUMTNj8N9eeGdV8=; b=Ox8kYFFEjmPoPLK3hr8TEWhw5xQ51FlJLuph0qM6p721BTNSOobVld7HXjWRLN2EoSSkEgf5o+meBoi30EZHC147R+FLp7/hxATl8gBNgX3RaBSx0EZhj7AAp2cWHLuT+k1+Ce+sFk9NLszGNuT5ttdVtOwJPoW+A+cpAdyr89k= 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 AS8PR04MB7702.eurprd04.prod.outlook.com (2603:10a6:20b:23f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.15; Thu, 17 Nov 2022 09:52:41 +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; Thu, 17 Nov 2022 09:52:41 +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 V6 01/12] arm64: dts: imx8mp: add mlmix power domain Date: Thu, 17 Nov 2022 17:53:52 +0800 Message-Id: <20221117095403.1876071-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221117095403.1876071-1-peng.fan@oss.nxp.com> References: <20221117095403.1876071-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR01CA0048.apcprd01.prod.exchangelabs.com (2603:1096:4:193::17) 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_|AS8PR04MB7702:EE_ X-MS-Office365-Filtering-Correlation-Id: c462512f-8ce9-42f3-5367-08dac8817771 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: 69ImQHIqazDYKgeKuhURYvtmBjNCqmd+uV/5CwAzeomaQv6qt7HnNftI2qdy3SovydkL4snBI8Qv46hyEGiQuUzkWr5WUS4blg2Azz72JFqInFJzT2Zr52sB1PpX9AWPV37mN5xiBBfpvxkgR8eTVQi7hEb+dRt7zxo6ukwGMq4goPuUqGGw7jm3dCZkEfBVIh3AbYQNMy5BFEyUThqStglO4APVwdmqprbYPRzpTVsHMvNRiJ9DTdgWxVCgmjDjzZihxEeIw+ryovJu2WTREtMaFf4mw3yWgP9XfLwAp6MqyNIq/vLWzSRC0x4mRDLEWs0mp73MY0N92H9KVX6+ThQ+o1NUjw8E9QuPyIk1sVsW7jFuy3eXWT/eIL2yat/TK0BdzUh/EoFqcmleU8itaF4pFUafwEoUcW2KOMBmCb7HsecZzQ3AqK635+1piK3fhUaIZhYKnl/wq48UKfEq8zCUINnribJDE4ikZ5jW6wMpL5BNv8ICxTQru/JPnDbFJ+dKBoBuHUef7E6XnlkNnvYxNUYVyMBc9vmYxZA23aU/+H8sJCbw6qLu3zoX5c0UpCE/l5N73uAdeFGs4u6CmGTpdqBtrqaMz2PzXTysvTw2sNJJOVrjQbEEhWg6pIY54m0tZGYbzgwoO8QXLdkSCfMDBdSCjeMAUpoYYqXzH+OCrVZghCzlEKh33Qm+6opOb4x4UPigTtssdTK0jW9P/CXJFPoawYO4uGKuY6xLFJg= 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)(39860400002)(346002)(376002)(136003)(396003)(366004)(451199015)(83380400001)(86362001)(38350700002)(38100700002)(8936002)(4744005)(2906002)(4326008)(66946007)(66556008)(66476007)(8676002)(41300700001)(5660300002)(52116002)(6666004)(6512007)(6506007)(26005)(2616005)(186003)(1076003)(316002)(54906003)(478600001)(6486002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: +ZpWSlM7BM/SRaAzv0HG4DH7Fxxkowkx3cUyu7Ce4BzKx5M9sSAa8PJ3+sO1pRjjlHRaAyjjTTCxT5JlTZIR3Xk7MfhW2taMxAdW4rM9oMYxGAs8DLrOvhu6Gn4ZNbHMKfvBf4GuCmxEKD4zCXxKgfIAx5eGOQUeONzt0jDGAbDambDWog8KrwSc3gCoRckmyukoVjaRf1Wc8Xyb9i5ddsuvd9tnKxmrc0ZyELztlHdaQ03ydhDYLDc6l5o/R/y4o9bGXz4SxpQ5HKRHpeZUIBehwhM5kDDek8bfoig9HQDWw76RxPcc7PLOZobz6O9b4wcdCILeZ9Knu3i4worvty8AZcf1lLnegn+SnKCX4Xu7N1V1EAdo6DG4Oh0qaLzFYWK2u+GgXvoeSnUIn7BjR7+oHzqGsfnbs8hCw8kB5R0bcq/ed+8gZl/1yDXFlPjGs8rov4sobC3QxxzaKOCIYdLbc76S3V9PTH6C+3pApREkcq6ecN4ZypPDZYTY6li6aWt+SRPWQ3YRjQkwoHahIoYFXQk2Ko+sM4tzq+gXlUK9tscf18ZsP1eHb5iE5+KVCaMj/WWuL8z5UuJbZzW0r+7HIqw+xTHQirkRf3v7jZr/vsyQAGYmDquIWcHhRfasgKcalHkKTo21cKuZ0pNdTEePkqYKGBmWSJCikwPCH5yB2Hs2c28VldhfVcjVNYnwg82iIpQM0P21j+JOTJsHnmH+Z3xHj6mg1CHnNnSd9QG+8XbB5rbygFLmSAdLP9bqTHdeA9fdOFkwZsfeMaH/YBEYDTeGLhcie4D4s51l572zIBrgX6kOVi4myaOmumJu5egm9kq4MYbzrj+5KY72ON1dxZqGExn5aOWb1QC5H6cJz4zPjgCkogPcP+DJ80Twc4tBHu3P9e7iGNGRG0UXbVi3Z3qoK9Y3hMyZ+l4U0MJDxabcqd3SQzXVsy0TbN2OWcJq+Q0ynlY3I2zQCDr/tMY+F8LHLiAyeUXSDPA0eTrT9/BqdjVkTcG0AKhxJrhbUFzEOC13NsAPSY+t6xqym6RCsGCxzs08y/sMKfA/5X048AWJTj877GtoCc2g0AtIixprnbQ/QY/VAVtxkgRkXNbq22/ulHTwtysZgWWyKEs3hY4rqei3UjVBnEgI+dI03iLpE2e+CBA394INJS5maO4w2irEj0PfcGRrfJAaNGAEsBtWARJQtb7Kg33NYVFb223/97zTWKHPiXQ0qIy9qMlpX37uWbn98cXTVP3EzWIJpWzIg8/XAcZ34qIM8J/GxvgNm2XMERFfxUp7KGnD1uggghjUf9JFQMaOGnefvGpzhu/BCaaLYFLqZx9BDZXjcOK6XGF0b/ofn+snJObzrGawapQfhJwaT3uPfGxvp2AYVXDhzQdaAO4yxRgNev0xZt40fmHhIe4alJq76ivavVGDLEuYqXWIuIunWM/5VrHYTgSfE+2I/+3V/gvqa/K2btYo5SmQk7Z9B+pvvONhj8YQuFsWtqiL3LJUxB9cQJwcY2yqTyrv3UG7IZyA62FwA4HR45XaUa028DPrXksws2fMUyNvpcNTLPekhSLjMLjZlsSQHNnqX3JZGL++i+4b X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c462512f-8ce9-42f3-5367-08dac8817771 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2022 09:52:41.0191 (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: nZ27B1naLK+g9ofhxKzkpKYfQlLtEL3RIns8PiYDn3zxS68sEojpAku+WxbFmM4L3R4qht417EIy/fBJ2UmDeA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7702 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?1749736740568520140?= X-GMAIL-MSGID: =?utf-8?q?1749736740568520140?= 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 4fc90477b419..7a6e6221f421 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -632,6 +632,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 Thu Nov 17 09:53:53 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: 21538 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp314830wrr; Thu, 17 Nov 2022 02:09:44 -0800 (PST) X-Google-Smtp-Source: AA0mqf4PjI0L2PqoTGr9MV+31CGItOnJludqTfwO/CmhIiaVs7qtnwtFkevlL+jM8ipGK8AY/IZ0 X-Received: by 2002:a05:6402:5412:b0:460:e19c:15a3 with SMTP id ev18-20020a056402541200b00460e19c15a3mr1587912edb.252.1668679783846; Thu, 17 Nov 2022 02:09:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668679783; cv=pass; d=google.com; s=arc-20160816; b=1LMNSaQ4h9U9Hrqoysmp6qPAYoACdaf9ly1AkJr4cg+fSp4U2WJMgFhqVNYeLDtmNw WES8Sc3zbokdMx7EER5eaL9+r4sCtPt2ibE5oNl8n2qTMnPUtNtfBq5165xPU9B3ekJw V/6V1Z7Jds4NEfQ1vc7i3y76LHwu6U5ZFlnS11peiY8lh4oJO9HRP2TcTXROyEzQEofb ThOCrtUlimqj4icHFzRxOfy8b5gTS6kAjYCGxJi6LiwQChEdgO94zKQPOk59IxOlA7un d6fiZ4qQ8RX7ay3d+P9Re70w3oLDcQVdTz2el9wIYLoD4Wx/lBxgzWTDSZqJunC5WUwp yLWw== 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=KpLrHmGdzLmm+wyWbcquiREcupf5w68YdiGwCh155j3irnXPWAGzv6LAx0lBj4ggV8 bkmFltfQtwB5ieCW2gqaAr3FJgJ/t8EcJExlUUxjjQwClV/GQpCnIAg/nPgo2CnYFU6+ qdTqFrD7TqOQyBC/+DjdniivuagUgGImK+ElEQGF7cmkosAq0UneIalXclHaQ1IV8uEU SrQVfNdrWgmED+QM8vKryeZJSpt3FJGjRk53+syjR9H4PYM+KgZHHWtAHHZEGnuW+cL8 zZaQJHalqwU1+Q4ZlvGzmoC2SG4lelEIuPt/dLJPdmXwt0xc5LdOUur4EFb4YPHiM2rj 7Cpw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=KDrbUcNg; 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 r2-20020aa7da02000000b004677c738e5csi472900eds.559.2022.11.17.02.09.20; Thu, 17 Nov 2022 02:09:43 -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=KDrbUcNg; 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 S239536AbiKQJxR (ORCPT + 99 others); Thu, 17 Nov 2022 04:53:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239258AbiKQJwt (ORCPT ); Thu, 17 Nov 2022 04:52:49 -0500 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2061.outbound.protection.outlook.com [40.107.22.61]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 204B66712D for ; Thu, 17 Nov 2022 01:52:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eGZCjLorwz1rm15yijIwldWN1uCEDWRaCMVO6yMmYS8bPXJc//sDchRBprBZAhvxDvdkqEj5lGDhtzBYgpKmFENwETSbefC6LYo4wQkNBDQbBYh2jqdeJcGLXiRKFUo95ttGzfBkaFUxao15US+Vf6qmsz/UzyPOwY/R1JcK2zXKr0AMG3l+iUBLL+pwMg5qZxC6B8DTIfupORbW5CWFBxoldmEzB65dQxTaDNOID5iD7MwkSlnw3/vzky4DF+Y8ab3AqliAyMsPEUPGcM0JY++DwVKeTMUdjYfJFhVIAw/udtwsN0NQBo/cEjn/1bleg9cfjB36iGzZtn0gS5rw1g== 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=NLHlDP9WgoUP9255Qf/Roj/9lxBeT56k7IbKvDnX54t8WKKff7X2sAvo3zoX24537hNBgvwvPHBRYyAwRWw2GlxpjcD1/vsb/PzYi5VpUDHp2wvM2dAHebiy62c34Y7gXNCkJ//Szp+x687OJXeDoDdDPjx5WMYukNO2oo9guH+n6xiMN/HpmK8FzcU/QwLiDHEbeK7KGU6DZdWMF6JnetErnxKVy1fATgX7rEYFQ6ByJlz7hWMvcoYda6zpaAe1ZRlGRG7fdLzIS47BX2TbTuTCss7dmylviz0/kjT41xS5QfYGCy7FEu0zd1YK0+aK18Ux6RcBbSkxxutV9FNqaQ== 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=KDrbUcNgoYFzkUXv7qaGaBKO6wVZWeINjzJWK848fcpMg6h1SYeQACZuazmQCuEwcfGW8M7d90kfLLMRHOWIp+ZmAWrSrOwICSIAaN8MRjVRweX4kO5RQA3FROOO4/fo4SeeUvIMweAwkc9Fogp7q8RZvoRqhgCcOB9mLuiauNs= 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 AS8PR04MB7702.eurprd04.prod.outlook.com (2603:10a6:20b:23f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.15; Thu, 17 Nov 2022 09:52:44 +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; Thu, 17 Nov 2022 09:52:44 +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 V6 02/12] arm64: dts: imx8mp-evk: correct pcie pad settings Date: Thu, 17 Nov 2022 17:53:53 +0800 Message-Id: <20221117095403.1876071-3-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221117095403.1876071-1-peng.fan@oss.nxp.com> References: <20221117095403.1876071-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR01CA0048.apcprd01.prod.exchangelabs.com (2603:1096:4:193::17) 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_|AS8PR04MB7702:EE_ X-MS-Office365-Filtering-Correlation-Id: 10d563c8-0612-4c5a-c50b-08dac8817963 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: K9Xt4kNjWswnhtK/0h1mXKSRE+kPxKykiXhNqBYlJjHF0ShQQMImoRbQ9Oj4zNVD0AWrA3Knu3gIIzBjwBWi6/aUqOcsULrB+c4cq+yy8pVZC+DOmNDY1ZfWRi+KKdERDB7e7IdzaLzfcGanZS7EvJpzxVRephzXL5TZqHWbBXVzKxAY8OGnl896zjWGIEH2JNwvshLCYGxGXvuVJhTBKuIVrPpZm6ihWStPb/UH277wP3wRe+XxbSPDLoCL/lWBoPyCjT/dtmQQ7ezKzCphbnHC3e1k6JN7u5JxkP3Pu5q/KOLLABZufDjOfafiHtUsUOiffQN/MYAhMafxCP2f/SjH7y/tHQkRrLvwS6DdSGQ1do85JlZNabr94le2KkboVME14zz0w62nMLmoIga/r7gCOUp3d+YKwoNzAJ6+d0Z5PmxXutS0sgfRCy/aE/NVsov9plvTSQ/wyP7YqxOB9JGZSSqkN3QBS25eYQkk7TclEjYpO6tAdw2Dt66bNy533VIxSR5JrDQRZEOkqxlPCwidq7nYAsOfYsIfHauza2UGehinEJ3CSQCCKqkk8B2O2jYAWKrKfSA0GPLCakRTqNO6o9b7CTxNP0flGB7B2e72DhnU0Xa18S71IXWkM4dixzQvnAAbM2K2T4Ax0koZMeJsp1wQOTr7MsNNYR5xdUbHNISF7BLQ6sDtsK4VEnQUaZyT2rTYwt1FX1eHp/ELbP+0k89TqNcPide/3AnwpEs= 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)(39860400002)(346002)(376002)(136003)(396003)(366004)(451199015)(83380400001)(86362001)(38350700002)(38100700002)(8936002)(2906002)(4326008)(66946007)(66556008)(66476007)(8676002)(41300700001)(5660300002)(52116002)(6666004)(6512007)(6506007)(26005)(2616005)(186003)(1076003)(316002)(54906003)(478600001)(6486002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OgT8fvyke4NljzTEaj9QcpDMdpWz/dkvxdXuR72IDNlhE/i0pAR8e4zJVsLqUoZ19tgeLUKapyvLiy75FAceuojzxZCMkTa19cyq2wyoqK9osiL0ncHZFL77dmoKCnmnyQ8ShLwBC5wCh9DxD2ZD1eVsJZA5H25RmeAGU05Kup31gjkmhO8Xs+5hE1OPL7lbpuwYV01fZlEwwbi2CNwZdokbV/dgl1bD5mA5qMOXD5123t8DsRsqvaSWdKO+iY5CceZiJ5acNaJ/mm4hsTSn5/cw/104vNmH+Ll6Y23R10gXK9w/5/ZzQW7p/aPc3giyu/+VGMCOg4ZF8CqAoB+mhHQ6vPQ6NqpQ24mFvIoCf5N/K8UTK7J2lhr8/gNyeVhMmZKlDTjXxsnLsY8Q7Lwkitsaz+jPmqkRIFtyOY+FEdoX81tLff25TdJEK8TfmYjNEr+KIdVOKoEWpSJ/Z5orh7C2osG7mfiRieDYGXJY23Cl/9mre8bHSCVrQOsUo10hcPI4gvLiELtdb4RvK6bRLBWdUGHGicCVMOxQ5vF+/kZTBcxbK2Dhh4b9/AE7kKMs04w3RLQxHtQ2qr/aQVG8/cHjGtKjXoXZ+S6qU3q/D/oQVotykvGiQtzEjbPLt71ANEhcIaN2usKY196EtdkCH24OI8J7SEedv4pJZnLkt3U+TIMu+BYsUWM8CTRZDZ+RZGc0cBOh8vj3wwzs2x1ny8GEw1AkyULKR5qbI5CLW3GrBZHjSBNSSogkEN4vXbpTJ6hG5nBjy2CHkWI15e9DCssl6wSyzJ9/K+0iau0cEoi8vZK8xXuhj/Mu4GNPibf1fXb2e0KDOXk3Nv6phKG2Xm6CVShpeNZulycdMi35TFIa7VqmbtVNlzMkBlfG6kqihNA6rN/B5e5reTPjILYFmWMc6RQrd9QAUOZSlMJ0ujEVBKafmKtbD24EOgz9tZRpw1VVKfn7cT3tKSC62rJmviZOeLGsm12ZTTuV3u8rfpZqocq4PVEmMmvtX+4Mv7VbmC0CHfrIbo2eBWmzaL7ijlzuVZqQECI7gweWK51YsX0GeeIk5SnZCAd1xR9jM9c/2u0uFEo6Ci91qjnyTR4WPCNylu9sQ/mKMiHksWAn4vySFpFbKVW8ys7psmVRzCQgoifJmymIA+Mc5M0WIsUuxm2Iy/apdizgdaYPZCH/8nrIDXvYyupCBI7PPYoNG80mvrOaDKHpTX9iQZkhLbglhe6RdJJDjH4jPrUNbLqefm+Gs9QdfJZtwuXxKablDXHS28ih94M6L37fQY+O/yJd16qIvyQh3+aUhA9OxkkAGDh5dstsAMWeatuk3bDHl7/s0je6z7XBKO8Q+GW4z5ZTqMIMxkqd2VxvJfVA5N3L6Y7+fe0O3m8nCbS6NUt30EMx5clYqViuIO1KqzsHQZAlq3tP82wKiC5/TcARE36qyNffFDysgyhfq7BBBP1GbMYJWsOgsKfIYPR6+Mx2y17JjvpPbPs1yitQoulIXe+jkCFfIrzYrjlG4afg20Pac4zyZuem5iQnKCbJQPibIkvnqxVygc/KpHaurdGWGWRmSGY6FK+o+yXwYqj1XUmz5ged X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 10d563c8-0612-4c5a-c50b-08dac8817963 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2022 09:52:44.2701 (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: KhxeJFZBJUeGSdsnT6Y7WiKGZHm7KSOiPQRD4gEihNECMwHbs3IXWtl6HcozcedaguSIs9I/NasP/yJJnEobGQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7702 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?1749737572720585382?= X-GMAIL-MSGID: =?utf-8?q?1749737572720585382?= 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 Thu Nov 17 09:53:54 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: 21530 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp309543wrr; Thu, 17 Nov 2022 01:57:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf5w66NQ7U6SGtP8vVGmVD5yMfelRQT7wjmQvmxjt7+pUmENmNt170bNqsBd74BLUoNRezZU X-Received: by 2002:a17:90b:3547:b0:212:d6ed:cdf5 with SMTP id lt7-20020a17090b354700b00212d6edcdf5mr1957018pjb.142.1668679047741; Thu, 17 Nov 2022 01:57:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668679047; cv=pass; d=google.com; s=arc-20160816; b=X+5ws16AUGjORINIHpOecLSV4VS2GFiMnlv5WSysFmLjj2ImJcRtFn6jyLnjHH9S7w QrhaD5A9HYyY+dbdMN0LvAJU5/qSTeo5+OcU/mY+4HcL2sLaaXB40xCwfFQNJVvsN8Pv 1RlSP2ITBGdQpu9eekn2oGqdz5N+iOV7SDC7yNO4Mttc6ka7Bd6qetUeoKB0HIezzxSE 6zP8xZKvPPn+HCv3lJRZ/FqnLViW9GVu6+04xwqLOXs2zUzQIDIA2yg63YkISnpnj+1y iGtQnMpxFXnYqmhmw6TtLlF+Y6uvhk/O3QG8xZOrW6dBC9y7pf/gi62PfUgUCAi4aGeW qH3w== 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=SaLo9aEdfB9kNiH2teji72asDhjNPFPoirKRixbZ65T/UUka96RtOf/ssTjXrzaK/D 5euPUcNuA5Eoo3qTkR/pBQ32X3qtEfyUEzd842obMcnUuvaifn5SDnJlRMbBwbFy/ZLQ L3K8dEp8CXzhC6aRgfBjwvKfG3mjnuUgP7GJGz/KnELazm8M5voKPQobQ0dIcA6+/QZ8 Ycdz1IRqki94xbwKm0YP2chXl+PEBrpgRtlCopdwdLAk/f+luyV7SiBcPb7+qWWBQif2 sqdxdxE4h3MKgHeYCC1MyM/B0pwceNDk8DQQZh5RkXP3aLg4zc4xnc3drZqbCuyHqIpw 27Tg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=LcMB0ZXp; 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 f79-20020a623852000000b005631dab9f69si443106pfa.301.2022.11.17.01.57.15; Thu, 17 Nov 2022 01:57:27 -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=LcMB0ZXp; 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 S233679AbiKQJxW (ORCPT + 99 others); Thu, 17 Nov 2022 04:53:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239273AbiKQJwz (ORCPT ); Thu, 17 Nov 2022 04:52:55 -0500 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2065.outbound.protection.outlook.com [40.107.22.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 705036D482 for ; Thu, 17 Nov 2022 01:52:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UmGg8n+mt9jFoC34+HrrRPMuu85IL7ZPVS82nqdte6vETgbE4FjCsswufUJ1XuQtwC92qxMIrQcE/yd3ocDcdpSadh/b5hxwfKF1QXTaC1tKmmpVF9dzfh2Thk1v1DGSB6JBTDVOAztQ6vlm6mlnqSkdPfs7wjwSB7x+Lft1j6q0ZuDvuqBcjjP8BXidg5JOYR53CZwzaw18xY9L6c9+7gBBV8HNmO24VDSN4jm8UvUSgfZzYmochEne34xelqNxKMEfBljgvCj6+eXheqnYh4qzxvPIKuwpHzFTO8cRF4zdNCaXaiTOPTLXYOht7hP1oI0oPXin41iQ+02wADDnMQ== 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=jxpY5yitDooqtrBy1pYvckO9drLC0fLQzUv8qcFfFiLSj0wXp9EYic/RfDEtBtc1Jzottl9TVbNehkFIBzi2Fh6OTqqE1w0MZYTwfGauohPA2C6o+5br/IQzffB2nPPkAeQng/IXdA4CJ/kIds6MfKVWA4PoO6F0DxnnYk3AA2BTXmekjPH1ML9BR0ip7MjCJ2/fahHfG/boF6IlLopmEQ52fqf0iWxOW4pnAOnsWrmT3ONwIalP3Hlxnj/CO6nrt84TBxtI0BTyD+K6ZKX/0t5uamFdgbS+eB1UsEqqwEhJQNthnNZSU3fYJram0qSvkzaTDt1EnFguX7vugxMvTQ== 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=LcMB0ZXp5CQXvwSAz43A1K0D/brZk6Wk+acZ+4HcLwckIAs62rgk0m6HbC/Cux2F4muIb7efMQJtofGOfPw5WolsWJl0Lv3uEPoTF6nq4CIuZwUXH4hk6/JvHIDGfr1fRkcoHafDIWv5pVmd7kxwHu/kvyTaYCf0PxTLyIBzyPc= 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 AS8PR04MB7702.eurprd04.prod.outlook.com (2603:10a6:20b:23f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.15; Thu, 17 Nov 2022 09:52: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; Thu, 17 Nov 2022 09:52:47 +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 V6 03/12] ARM64: dts: imx8mp-evk: add pwm support Date: Thu, 17 Nov 2022 17:53:54 +0800 Message-Id: <20221117095403.1876071-4-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221117095403.1876071-1-peng.fan@oss.nxp.com> References: <20221117095403.1876071-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR01CA0048.apcprd01.prod.exchangelabs.com (2603:1096:4:193::17) 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_|AS8PR04MB7702:EE_ X-MS-Office365-Filtering-Correlation-Id: 3b32747b-d810-44bf-c959-08dac8817b9a 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: iw4a0VoSnSNUigNX/2qiIBxrt1sdwCisWeBPk54AYKCr5xtxGTmfNkOlQZeFlTQGlgmqGBIcPeFANnUWty1HiNoEv4EIF6SzmBtVc7rd1Z8EFrg9yMZNmjguhzeUsO0hHMOsmeK23d4CV+j+os+Y5KgMqs0l/55+JNQyXwpPlJSSvMgYfyrjdwvt8zXVde9z2PVrwYiQsjMPc54nPKd3s/y0oOhSz2N4P2vNAepZlGnrnixJy/xL6ZPYBIkKckOblmrNrWzSqQDGIxvQU60Do1BqNe+RnHutSRxpZjQDbHzoVjehEvS7oe9dIP2GgyLlMKDgc58fTjh2GxX9oBfxZzfg4hnmc4jzixWb6nMFGx3Ao0ycU0LhvddAEx2raFnU0Y72zEj4y8Sj3Hzpl9pPQ5blKh95CFIBXKHCGkxB/3CmAJMCaT7kNNQg3djuwGP06ZtGYwiQvTz4b22m2Zbai4m6/VojN7SFGXAjCBwQxPeoImuG828co5MmMul1lZ2A7YOPp7JsIWhCDBluzNRJhP9rIpAvPj6a43CokZkHNFyOcuHQ6PHQkOePhJnUgiYlcjVgoeHmROBMwWn/yMQFpvA7w6Woz2ojGUw8iX4PsLnUfeUYVQ377mOVzMEIAgYBlc1B3n9/JldOiolYfgDX8o//dztS1gabJKuh+mfxQyTK8hnpvft9HftbPowG/gaiRyVkIBnCq4ZVE3FW52lD/cXa3sB4mVQcAu2xT0wyYbrsNQnDyunsQpxR17XcqZCpbtnejaX+IC2GKYGS+z5Nbg== 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)(39860400002)(346002)(376002)(136003)(396003)(366004)(451199015)(86362001)(38350700002)(38100700002)(8936002)(2906002)(4326008)(66946007)(66556008)(66476007)(8676002)(41300700001)(5660300002)(52116002)(6666004)(6512007)(6506007)(26005)(2616005)(186003)(1076003)(316002)(54906003)(478600001)(6486002)(32563001)(473944003)(414714003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: HxUmBm9esGcGCU9YQRgP+iIvSHroEOb3ImyeOgPZzVpydVhpji/OpUzAS/jDMf3Wfg3B1+Uk+J+sRQTriasGRRM/l+emXLZsauz/kXekG3vl3OEu+hKWh4rtwrp78hdK2fw8tSmjJLYBQlxaYo+tf64YqVS6vU81Tj9qVN/iUnVCFDsG3V9utp/z1hz/EosbanrMfuOC0YToEjt0aZKuoFvG4KfosRn/04HrviIM2Z/cYibXby/+0txYvsDVSwSzQldB3mh/BNqCvTbOqqqP3Gw3GRofY5IVZQVPVjR+Q68HKX8xEEFyvxqKHykG93umdRjjjLuJX1Nt2W2N5YMlBQAvX4ABclNbrfeXN2X5ldjJmbLm+eBwSbA3SlTZlBRdXFVS0V8qC4nirhI3E4v1AlIm5DEa9wEy6q5gmwYueyTsuQpx3CyOAJSX2DSYbWzpi+pz5mVGK49F8c+YCs3Cecb7bMCRiUZn3MxK1pIcUkvDeq65pcr4uSxS9gh7iji/U1WsccEABLe09t4aWayJAv4ahmroqs622Al/4tgZdmJeXoCKv+AP3kEhgK4r9W65S+nI7t3kDhwOlDJsgEzCeyQlj4B/+4mY+V1bgaaZrk0eObM+CrBIjfCJ7NS1r/uIv5QW2xGbtL2Ak9HGd1p0wBoMxVBV45P+G4RKTbHM/T7olbp0zlOFbXUAP6ngPt8qQOdxyoXEP3AOiXjwJq9Cd259rm6Bwn7X9XSVeE8F9+ky/UFEmqtyxrUv42YYkXa2SDXSzwSosffCfexKeK4kP3WdxkJr8X5smz+KYlEoVyOtg17+ItuTTfSryoqprOgXofv8zM+KMkXslGOBzjQ3KN5BvPJANz9PEUZq2fSK5w48WJqcxgiE/n07eEa3AUfAf+l4WHw4YXmWMQ1hktkNrSuYBjqpPQ0a40opwBEm64xL5shgx4wsicSK+wdqtVBnBhb8ewLHGBdImixRLP5H55E7SrUuxiQK1fxLGH1AlgjEbO0ljshSHOLULQW517dUmRfjKzJIxINfmy6zOSk9HyJDgaFqqNEzlTm2ve2SUtAZSsu8CNJKvth95zSf7ZBKfOrPNI/yDxYOAl5Jnh80ceP762LG3E34VeIGu7C27TFpAGYS5ygxFCrJbtx+JEMt4lvZ31Gao6QUyemWznX8AfGH0bNEBKuiWaVCIz1wVPRDuz9e9txNa0QHwxqbFh0HDuXgBAjd+o8C1T7yG7XXRxJz3Vos0enZzX0FKolyzNaXwDrenKgLr8PwAlKJRBn56YP6FEH4rj1aWwKUHDRnIhokDBaePKhuCpCLYt6tIOVl5i44QYNGN+oa27aV70X/BMD+P0sdDcywuC9B5SFMMkfOXmgKoxetHuB8OcBXwdf5PpomdDyNwAzqVsGmfvDPK3N4irnXzYEqocd7ow9w+pKNrb3OodSh2y2TemS7FUnhjOxo7tnvYVdPMuE+SxUNKQbdcbxaiR6Uj/w6Jpy/MVYftw0yCYSraHrkiu0OpyoNdXFP+Xg9Pl9R/DpCSBNc48TduYjc015FNT7qdKL3vXUQIy616l6r7XbhXcfksQ/dfjhRdwIj8XjlgCTMIJch X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3b32747b-d810-44bf-c959-08dac8817b9a X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2022 09:52:47.8299 (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: Va3GCkw4ql5FvR/3rWhLigcEaFSgTj8btIbXEGwpFHzg41evD7Q3voFcaBWwlRRQtchh6XzvIKE6yJhdlqXjrQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7702 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?1749736801225924494?= X-GMAIL-MSGID: =?utf-8?q?1749736801225924494?= 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 Thu Nov 17 09:53:55 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: 21528 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp309406wrr; Thu, 17 Nov 2022 01:57:06 -0800 (PST) X-Google-Smtp-Source: AA0mqf5JKHEY8UUTERoTVKMhdcAG3EH8xvJpcpv26081Nx/rWTG/EfjSDfAzV9/9nXV1bJuNhRkc X-Received: by 2002:a17:90a:a60c:b0:213:2e97:5ea4 with SMTP id c12-20020a17090aa60c00b002132e975ea4mr8004560pjq.92.1668679025822; Thu, 17 Nov 2022 01:57:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668679025; cv=pass; d=google.com; s=arc-20160816; b=aeOpWe1k79O/Lohv35km1dI8STDZOCiLKHJhsxCj7qFOdczRW4bFGcPfou9b1cIDUp b97wuLFxbel/oK+pBYW10x5KIEVF9JayoZtmzcVXqbulPkWQIoJMiI2oEGOefquoitvV kAHL2dCmaoHcoavIWE9+3euCilIu/BYSlJ0iK3TBJHEVZx8byXO8IScOmryM5cnnOWuB fkGAmO4Ycd5kurX5WZmdDK0H1aLb/wWwFH4KYsfcy8D5T3tjPcCx1bYKXJCKcSNBDB/h vj6f/glpG5tmhNOks2ioQixMp0sdZVKYnS5yFBY6GuypRTzRDAPWDDtIpMHsVlBtSOLa RRNA== 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=FM7U+sYfzRQdsPn9UheqXDblbBqGkMWbl/VdPqvF8h4kl2Rf1w8mq2DUfQ2KIv5OgS FR5aOGreeWv/7UJNbyUHxX1/fYBFv9sKE0NIcAny5cpg/+IzxYoDrqAnloLCNb42PvB/ /jQ1GKHrBQKJoqO3h3A2JRFjetQ+vpsIuLvcmgD67rWD0yCx6k4oYmsfJ5T4ToHSoAqD HoJVVIqhf40BWgUX8vzIFHWu0CyxS3CpnpxpiWhPGeaGcAwS15+7NxyJ622n28v+K57G e6nG9xAsWJWsPaMv7f/YGYFBtdmiqmDwE6d4Ll09DiXrLXwEdKZ/38tcvMwRTY2JDEJk RL3Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=VxBVTPQp; 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 u4-20020a170902e5c400b0017f791f52c3si654661plf.88.2022.11.17.01.56.52; Thu, 17 Nov 2022 01:57:05 -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=VxBVTPQp; 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 S234795AbiKQJx3 (ORCPT + 99 others); Thu, 17 Nov 2022 04:53:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239378AbiKQJxL (ORCPT ); Thu, 17 Nov 2022 04:53:11 -0500 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2088.outbound.protection.outlook.com [40.107.22.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B607697D8 for ; Thu, 17 Nov 2022 01:52:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QliB5sbzYUFk8vFbFl6WygjDwzSsDMkBOdXVSJPafkS+De1E2OZOf1ocuRlrXw/04MSM9c7IRPs3ZJtKYbjESqlIxOkHhG+EtT8ifk3RL0Huja2xs5V3ngHB7x6jeusgdDBVeBh3VBHqaa10IKFRvS1EaIFVrXCjtveASdIZPaErRn44oOLM3L5cbteGrtq6l1lNpDuIb2cJmeR4lERYTR0Ml6sRuitrWUJoIr2KblTyb6I0VhuCCfhMVXv3iTNr8jPEjzCG3TLmzvsEvY0ho0EOVcp+3GIp+dUPWaG0iOWcnobahj9qeff2UcP4nRkbe6ydhgrF0a2iI9CI/3oGHA== 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=TpSOov4xj4N47vm5JM1yhxgnBkGEX/0NVe8dQT9YmxC9FE48qp049YsbSoWrKlK7XBNtMRCvgpW3jcL5w7WswOBtAl3bTaSRKvmVzuDZ/Y/8h+phfNfl1lsRhGW+yxJgIjBU3PDcl7yiQblW11pQIpj7xKxxQXtJWIu3FwSUf09Kk6zEStySnUA6+XG5XakhVZ0YEoBlxTmRZuc/m1gxa4Ae9sZPjlxgIuBNC5BpeWOP/Fsi2bBixdNI5tZHgAe1ktlaCn35XA0H3l/F416+sQTU88b6NGKaqB5Ir7Sypx+VuNvLB4GLiHiYS8tMPLXwN2hf7kMCUhIjWL6fC1bB9A== 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=VxBVTPQpy850qysCJ4POX0HCmMJqGmlMLhNT0z71wxUY0BE3Nrgsmxkzz6/UZCfX013LgTO+IoexvBZVE1EQTN6paFRqi+nd/pgjFb/oQBGPrGQRlkDY60ZSBr+nlH+OKwXEs/TvEKWfl+aJ0EQfy8Mek41YXe6smfgiN0KNCUQ= 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 AS8PR04MB7702.eurprd04.prod.outlook.com (2603:10a6:20b:23f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.15; Thu, 17 Nov 2022 09:52: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; Thu, 17 Nov 2022 09:52: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 V6 04/12] arm64: dts: imx8mp-evk: enable uart1/3 ports Date: Thu, 17 Nov 2022 17:53:55 +0800 Message-Id: <20221117095403.1876071-5-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221117095403.1876071-1-peng.fan@oss.nxp.com> References: <20221117095403.1876071-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR01CA0048.apcprd01.prod.exchangelabs.com (2603:1096:4:193::17) 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_|AS8PR04MB7702:EE_ X-MS-Office365-Filtering-Correlation-Id: 4ddfccee-36bc-4554-972e-08dac8817d70 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: dXqkIK05rksDJdzGkn3LJpkqbHlhi4Rf7GPivp2uKbANEaMYGgAqV96q2C/TqEGAEqgKmIDgQrzmS0EHgALuhl7p/OTkFvWq2bX2QhPhKrUkeGlYX3xFs9sMp7AwV2PxiAbpBaje6DLGA3IjyepTx4Tf2lU+0bBApwJp21lZrbPBe2IAYBzQ2GgbayZNZZBFbxYFAPVd+jwUeq3rNcY4MgCzysaLBuaHoMNPe3qVqnRzmtL0UTpohrYqUY3RgSUpFpWMqd4Wn7cnDfHMnn3+klq1nGtxONPDezRUUig9ao2DeuPs+5cLA51LCfCcmyi80fskQOK5k15sPhQ0GguLsDhE10JiIWr8pBvEzs0SD2Ha1BXIA20mNq6J8exh5eTCgMpssToSonLHu6xy6t22U+PqR+UANw1lBhQ/LxEyqn/d6xmvCUpB7g7GO6rwgD4I9T5opczrB+J+deNLzd0G1KGIArMqIMz+BZRZwlBahpk1LE4fjl6JZ+SYsQtDgEsXXelxdJ9UzEwBhkosVEZvf6zkvjmeIan3KmNeQGEoQ+sT1qXvPSTY97KplCZ4WRJGv7iH42+jOMOIcMetJ+Edd81RU7zkERNiHrTgqUW5yKiJe2Uk09G/rtsN3lrqxJ9UUZ8TogSPn9bt1O2PKWjx3YeX24WyLMgiwzYvnpr1uEdWOq3o6+9Jz9jsUOxdWqQ3OMwLCJHUc/erSHbaV3rmDfk5BVHYDsB+B/b73NpkEIhbsMMsByXTdVMbqGwXqd8j 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)(39860400002)(346002)(376002)(136003)(396003)(366004)(451199015)(83380400001)(86362001)(38350700002)(38100700002)(8936002)(2906002)(4326008)(66946007)(66556008)(66476007)(8676002)(41300700001)(5660300002)(52116002)(6512007)(6506007)(26005)(2616005)(186003)(1076003)(316002)(54906003)(478600001)(6486002)(32563001)(473944003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 08/tb7XNy97P3lD/nfGmis9qrJHeG+e5uQ4okJw3bsWT7MZZRxRlGsUfgUZZpVO0p4fGMP19pO5c78Dcew9qRNJsrG904V8bbUw6KqrZd7T7+7P1KES6zhm4WEfgaILHBpx+Sgwjbia9uZHaWE76z7ryAB32uDlm3nqSyXhC71oxNGkL2R/er9zzyXargP0WoFziKpMQ9kA2EMWzY2QPl75lQ0V06HwVSZWAeesFuLcGJqTXagQlXEm+UZZZu3W2eaabaWmOnIwpRtVc92WEzXvU5uYlONRnh9S1Xh2Fl61fsXPKAhFvydpeez6Yvf8d/V5wuOH77neriHcsnEI+w5xQ13mq3HQDub7KxPnoLWCydRmXR5Zq7HKFhukg780VfPVMdcXh32qr0pspWxNJPDbkQmHxGR7R9wiWalHtWsN/MFF1ZZroRUxDAyqdFXOBvSgLHF8nVKnu1r/drqwkQ83zN4XUQz42yVkw/Zn+HU4AJGiAE/gGqL3o07o98CK8NR/uobsyUbSIxXaGFN/8sQi4uAZPKGLxLkX9w5MhbVgF5WknIVm0IsyVc3MxjIcKAse+OOq7LDJ8OkqGueJav86pS7hr7NJK6UDuga1m9sLtJt2wMEqCrymHeiRIpr0KMOpTgJiks8oa+GmE6FeFPACgHjiVtrPyZXvPRpVjeF/AwB5AJbpSf1DSWtp6KWCAsnFlnmMwUwJVxcQVQTTU11EyopKQrzlUECbMrcmJWhLLZVM7HnbRZX3tJTos6dUyFx+dEfYzdK7E4CjgRMrV6ryzMRWZN0NiBGPz5co5mlZAoNgOhgqPf0C8Ic/LKl3mNGQMDDYUhrz0tYElGfcifhSM+CvcUAS5aHUCQ1QZY9Lp0/zVmlm6rmIMaRZ2RTmXeuzUEbO6lOM+nI0NbaS6ToZXekUdpbnCBffzKVAjEVv4YLj/9Ykav5XugPtoKKf5iNAa7Va/8VbQhwvhz+bCbMb8U8+/rdbuIatQ/TMpAZrWyG8mvvTpML2W+2VOfI8C33EJG6wLaiTfF00maNicySmp8zGGZejG2c9dCfZgCqU3YJkIX2F/R46OW6qCcSFPAboBHVrkDHWMeBzY19S6ZZUIX8RAZEmDzfffYSsMrBpU9d+es87IXXq5ledl9CSA35buUkREQtkNlkZGBF0/Tpnnj1ZcXQRBJl3nZLRO7/Wcrbhp/WHkqZnC3fTvVcZuktkP7ntevSPSNkPX78DvQI+we4GM5KwkAy/b53cFJ5r/srlcckt4C5gHrVWhGtEXSycdWD8IZ2yO5wlccsos7vpO03JtgPZl9RwVnINCNj8FbZ9PaupMHHCUWvbVpLTj7MwzH+9QvUfvmqT5tnJIaY5RfSHvQByCLqfbsyXZMPx2SVl8McVsjpTdrmdr5YxyAekc5LCRypcSdKkeMocfASlAF2HRgELTceP8m/0c2hLdLRTW4OBoA+buruvt16TTUXa3NsYMkE7yBVcsRWWknpqi1GAV58A5a48ZiZtRMvkBFsJGqRKUADiSiOLYvV36j1qcfbFN9ZHeR4LgbgxQG8I8ybDOM8i0MC/5xSOH1vkJslWv2OsHJV7Ve3cK09pl X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4ddfccee-36bc-4554-972e-08dac8817d70 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2022 09:52:50.9088 (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: XSDtGKTUh81aKEjJU5h2xOFTNijWzwyMiJ8lM3bUxY00Hxwkbf9WSu7sa26SXYQ5nFDYgMZT4nYQFHLHX/dPkA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7702 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?1749736778417713222?= X-GMAIL-MSGID: =?utf-8?q?1749736778417713222?= 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 Thu Nov 17 09:53:56 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: 21532 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp309676wrr; Thu, 17 Nov 2022 01:57:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf4zegOOwU2Nbt9gGRWt2V1pYFQUA6iPzXO8G43kVA88KOzc7o0O9c9702LmLQ6K72b2UZx1 X-Received: by 2002:a17:906:719:b0:781:8003:9b08 with SMTP id y25-20020a170906071900b0078180039b08mr1647514ejb.180.1668679066015; Thu, 17 Nov 2022 01:57:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668679066; cv=pass; d=google.com; s=arc-20160816; b=nJmHbOcni/1f7+Q1vkhjfH38T7/HAUO+IiUiFPWH8RVlq4cVn2Wcp3ZyNsvMx8dxYp AN4QvZ39wCqYWq6qonAqzxcRpzLKxAGJn7aCLjjSZeOJctRWlc2HCr5hc/JCCxZpmWX6 KABmV6bVUdCe0xFmzi6mf2BmDFZY/So7x93hBxyHSH+f/7VaDXW8LD49o2N3st4MNtRs e18hwFqO0Zc5j4cJ8+63RPiZcfkVsdvbxfIpqPs9I39g0Weq1gjynUVuwsgfiUx59ImX 5a7TM9/Z7QD0zfx6cwuHnJhiVem0GC990c6iPGHRc0z4yNAhQw+3747b9r6Q4rw+kw1H LUjw== 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=w4KTpnuH58+m2pPHMyJMw1XvheA0j2TcwHQhcndLU88iFIclzW1bJg3C2m8XTMS73S xptj3OtiO+thqhDnU1rMGz7DDO3/kqlJ4mSJJ5Cfbvjnr+kNdH5VybAlEHvFD43d9xZ7 3pY7JKcMIG9dXSMf+VLQK4E4mSMm/Xypb1PZnCSQCz9hMQtgq3aR8CYlfzyD5OPaw8kW 7KqQSt6iKk5ouxfSBaFhCxaSRAorno8NbvQDks32oHxLZkfCLKO5hvOOuOAGQXXGNUl+ 5VH42y14GiOpcssVb9fm/GuTHqp2eOVctkSFSr6XBtU20RWQXv4iky3GIp8XXk7TnSGF ejNQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=lJ2aGnBQ; 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 j6-20020a05640211c600b00461f285ce57si562665edw.211.2022.11.17.01.57.22; Thu, 17 Nov 2022 01:57:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=lJ2aGnBQ; 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 S239492AbiKQJxk (ORCPT + 99 others); Thu, 17 Nov 2022 04:53:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239435AbiKQJxM (ORCPT ); Thu, 17 Nov 2022 04:53:12 -0500 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2045.outbound.protection.outlook.com [40.107.22.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75E4870A33 for ; Thu, 17 Nov 2022 01:52:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H4c3/0LiHKPoIVW0gc/9fdrdvqPGARYNy7Xa9XbHaJ1Zg7ZpOKKAxlbD5KSZWuGx/Iphnvy/TveLx4FXzEi8sxFhoD1C8upxTfZWGkl3asMrdqoD4xfOaasMkcZ8/9R7tYc+TIO/RgvPCA+RZOZpHblqWT8Yg4/jBozIRWXCGclABsF7Y7QbzaAR+fJiGYuYLxdTr7Xpfuge3qOwewvEcb6bbjEV/SRcKe/Y03h2qASZz0RKwrloSMdfYZvih34Fg+TKXcJhgEQopr5UQOkkIYVmlbQl8oxkgvTG8qJxw8V633E8wAlpE8Cp0chGgMoWdpbW95g/M/BMTM51hZEGOA== 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=mqaQLVTWj+XoFR2AcadpGE1MJD3jrRGOZVacj8BQwiVVnLCSomNAeb5vG8TzeCHlSBBGfvt5DlKmtSNczLrYxzGyDqZIPoeSg7kcvXOHsNYaxcNWkTkQE/AMvoietOQMSBnRmnLadMi4Su4da6xC02DJzugixFtGdIArLOmd30pdRAqIH+Tv+fIVNtLd4IDqn9dwyA90ICjTs/siUdjx01X9vUHSdeYNzux2KI5ZcI5qDLvRaixuQpdbD4G+XZqsKHXT+ZOOJdcIgg3fhwjE3BWuSXSYWDd7UaVRiZHGIuxKTgLqm319SFLT2ZrG0oCWjWb3CQaGRXsxtLy/hiXs0A== 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=lJ2aGnBQOQNyxPup/TprMg+sjE7N4qphjmR68o3f5J+aMa5tumWS0qp/BcnJanTSw3HaPnNOpbze9svOEOM9xa21K4G2l3mzMsNgualopLAbhr+/BmCGBQOmbf/F5RSRvTkGeA+PngcTQXCTONvqL65eSEsNkR4zOjhcjy/Q/84= 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 PAXPR04MB8223.eurprd04.prod.outlook.com (2603:10a6:102:1c9::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.16; Thu, 17 Nov 2022 09:52: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; Thu, 17 Nov 2022 09:52:54 +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 V6 05/12] arm64: dts: imx8mp-evk: enable fspi nor on imx8mp evk Date: Thu, 17 Nov 2022 17:53:56 +0800 Message-Id: <20221117095403.1876071-6-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221117095403.1876071-1-peng.fan@oss.nxp.com> References: <20221117095403.1876071-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR01CA0048.apcprd01.prod.exchangelabs.com (2603:1096:4:193::17) 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_|PAXPR04MB8223:EE_ X-MS-Office365-Filtering-Correlation-Id: 59e59165-411a-49db-c358-08dac8817f92 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: mc88P3wO7ho4rl/jqDqhvuiH3UkIe6YptbeFifvXfN6rD9bBOc//SO3vPA4Bo4oDe1O/ha8gnoevJ9b3nTwA7LaFV+4F4p1OyvaHIO9pVp5kupj13aVohrx0G2xJIOKgCXVzCGM1Xjca33nwV3HGvFeMI2tcSaELedz7RIg2lwZEP0eSzNELB6R6mDbwFDTp+nRdBZ8nByxbBuK8J6cNntaI/mhlQLcW9p4VPolSG6JYEpX21A1UuP2ZZnUtGu0K0xnuOFRWJ2/etC9d1Bfi7Yx4YOeQnbC3DjlJ7+j4+lDRr33lA5+yKtjnwaVxvqvp+qvMO55wAYu8ytmU2QoL2HGZI3twYy37zAzMZWO3oJ4lp/VQAWzXa2SwKVD7PgjWFHfZ4QgNy3UVmd4CNRxnxaWUk1j37iSP48rRFSdBl8E0M0qYTI/I1iFUVPn8yDuPcfiAP8/QAcQy9V89aOUIK+b3HcN6UukrjV37FgqevcyFp8wTRDUZQKUcGfmP9h2oUKohrx9accn4Ldr9WZQ1e7HrqKCfQrsfVn3iS3bx5Cf7lrTFgcPi69/2NH5SXyKVaY5hn+WNtbBk/31l4bQqJYWIXpyB3kT+kpG1Xoo7JwXYkOo1T6i/SUP6Is+u7Virb1kTXDfuDvPk7BnR69NsSRB2Tg/zTrWL/1DTqOpIHJ866BUEYN76aijWR7B68i6KgcShxQMXCXMc50McLqfS3AUHtGxnI7iDBP78B7zmgP0= 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)(39860400002)(346002)(376002)(136003)(396003)(366004)(451199015)(86362001)(38350700002)(38100700002)(8936002)(2906002)(4326008)(66946007)(66556008)(66476007)(8676002)(41300700001)(5660300002)(52116002)(6512007)(6506007)(26005)(2616005)(186003)(1076003)(316002)(54906003)(478600001)(6486002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: yljcBi92H59Auamw/HPdn9LjD/WQggKaKyM/QhZil5o0IbU7d6Qz5IU6i33PRODfLVZuZLO/7lRxv5u++BD3bd7R4K17mgbImuBzDTf8+1Q47yrj2yQfuEYtiLgRsTWc8ah7ModwX5cDmi2xWjTbVouAMJBt/f35np2thYHn6WeZ9QGEXe4qXbyERFJGxtPDGexuWtlvQpqPlT0T93K+SNSsuIdQ/0ebqxZp2ahz62zhr1HVo6TXsTvOTWlN7RQswzNVRZ5R9KRLP2HXCRdgoDZVDy4Mg1Xp3ZqNhHhch3GiUtr9i//W/vPO2jUIYy1Sn7shx9Yr32H1iip4FM4w59Gau6/cnq0sNeTCHcTciIXj1RuzbkZCwuOGYc/o7viuciQ70Ol+NcKhY1x47P2Vd7wxvtIARRmb4Ra78h7rCPA0r2Fskz2If2fioAaaqGDDobbCf4CzN/s4/0YRKT+rebYbtpCPPrQoty4gZgQlCv2Ka7bg9aYFczxBeJas7gjIcVUq63Y13glNBFf3NwyxfhR1NY+2Fo0oe4HixwqN9HX2vzqEM3865Gw6fQLTpnCLSHcNuoGBNWf5XwomK47GlzTgGf/Xt53LdzffA5UP8fmjyYuyAU+KrJo+bIQ93L/9uDhfK0gMgP8zxD7XkkK1WVvYjYHQfLWFAm8w/On93sUhgWKVF9frjCtBaOIkqZH7AYVm06WmSOZFfBQ8iu8jUGUDP1z/uRQw4lt4yfXoHK3k6Y3bNkA1fskWT20F2eabBEzYLYEM+v2cfMZXt2uTnYYsCL5pxhckpPbINc3bRhZY5irTKOheHDFhAIkTrHq8JIkCwZbFkpaNHNR5JwZfMmTLXG4OGHpUMEt1+dgr8ebqGoi2iMZCBfonFFkHH1eSBJMwCsGqOi4iigqOM5Z7sECjEwH5GMDNLMYdMIYep4qrNuUtFwMYAk5i+1ydYyjLAO81ZnXbjCRYSJZVifUetJ4O6KAXc8+fWctc0hSmd/pmTl7crgg9yJHpbnDrv6n82HH0qIMKNg/pNnU03MXZzlY4zRU3dXiHEktq/UMR/sqMMSehkz6HFmHguxPHzY/rOkjWcSXH5o+akJrIOYq+7ms/xtFu7PL/tOlEm88o+Lw37uDQc8fIQXayiKARa/hkqWTV+rT2icWzNF8MJ2KUfryDgieIWeyjmR698DewQD4z3c4N8cWw9dv7pl8J8jNcUUXvbOGfDIdvUl7ZnVlGjV0mrbn268yKnJLA1FtNmLOBcCpwgt/f5YjVO0tWCR57NIcTFskiX9oMZZJeOboMtvYrWc/pjgK41USKDnGGipd9Hu2WiAusMDUEA3I1loznIsOKctgYhjHsKtjoqS9Uo8huo0N5mJ658LFvYYmmH16QmFsE5tNlrQt5WaMrND+81Of9I6sB93pRWf02BC13dErTatpJJtOEz2iV9kwr3zmhP+o6qYWckB83AHROFsjCONXbX9CLmuI8G/PtSH5mVBD9+PJfkQIWQRr6kY3Yzy+tJwME1862OwuFDoSlee34hxpJ3S9bxu45YSBvWkqay0VsjxJtu1fG/NKrKS9Pki8iQh/vcudn7U1QZ9yrLp8U X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 59e59165-411a-49db-c358-08dac8817f92 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2022 09:52:54.5507 (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: Xq8dtB/DnN8mhWcSausFID3Zkl4c5ROJiCGmcHSnJvud3j6faao4qW7xlujiaLqnxeU/076jtEOFKLoF+zNXyw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8223 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?1749736820345920756?= X-GMAIL-MSGID: =?utf-8?q?1749736820345920756?= 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 Thu Nov 17 09:53:57 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: 21529 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp309501wrr; Thu, 17 Nov 2022 01:57:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf6CwlQ2WhvEsgVwm43lNu4eDl62UhA/f6nNjJhMqvtwl9uCkTMBZnupwmxtz5pQcJ1rk+xF X-Received: by 2002:a63:d556:0:b0:435:7957:559d with SMTP id v22-20020a63d556000000b004357957559dmr1376992pgi.122.1668679042271; Thu, 17 Nov 2022 01:57:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668679042; cv=pass; d=google.com; s=arc-20160816; b=T52ygqlkcgs0o+tBDd4U6GdbTJo+HloPySQS5pkuKvFypzWdW5ECtXVzs0TB6yg5XQ E/ruWxqfaytbSIM14R4KOQiqAXXRO2jXwGHXdXS8FsCuvbasJzbd0E/EqdQMMljFGkQy cWy4LvfSbKDKfa8rx/51pHDq938q53Lae6CO6YWOQKTdKNeFMa1QGwSyLnUZpv79kDvA qdINlnDmYpqxefd25YsBDLD6Ggt5/yf8pKDODWxKM6x7IlQS3/sQKpyOZFhCVeaRZ+Z/ Y29cIsQJLFfrBtzlsrDbQ09MRvKjTbgTsmvsIn05l2va3xw8W1NOaI5qN6Ne1wuRLV+h nozQ== 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=iwMa35Fcnh7wNTd6Zp/AavIttZ6ZPgN86aFc9JsscFO8X9sDw6Wv+bY2bWg2SfgHm6 0avDeyHYr/aDWOsEDJH61EAcMJCxi04ke1RcCqPNjgJ5C2JVmC2lVUvtv8Bzg6z114VY MsWV/384tQF4sxZrzRIRlgwjtkq1JR3VyLozz1uHGThbF5zFCS9C3/oeaeGnPksAspzk dcJyRY0yxksO4WREgAe/Ci9nt42m6N4BZMC9QOwi72990WWsxILCiMSavA6lYHZ+btfU aX9dCoMBTbOm8hm8eE9FZTKdutehJfnEn9DL54DW7/nsPYZwhmvasPdGUgelcEER2a9m Eetw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=KtzL9Dhl; 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 i16-20020a631310000000b0043aebb63fc6si649730pgl.81.2022.11.17.01.57.09; Thu, 17 Nov 2022 01:57:22 -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=KtzL9Dhl; 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 S239473AbiKQJxd (ORCPT + 99 others); Thu, 17 Nov 2022 04:53:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239465AbiKQJxN (ORCPT ); Thu, 17 Nov 2022 04:53:13 -0500 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2048.outbound.protection.outlook.com [40.107.20.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFA60716C2 for ; Thu, 17 Nov 2022 01:53:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SGKz2z3BI+qC18RB5ASLxhgfVANN9Z0RKBOTPkiy4lXdDqnfLHbw0pN/PCuI7YYzAxUGTddKqDTuyeJxRoUziGt3JL83tIHxlKAFq5UixglFjnoeoqXWzX7Sm6qpklfeoQFof1m37F8jAoHCyiMuUl2jWuWDqR7cj3aSTnFrZEf8ev4K/B314wOr3qu+/1TJblhXlwOb3w1xpvfgEK7buumP45wersX2tlQ/ASkFOHw96/GsJ0IDl4juUkZT6DsaIuKA7oJk/UflLkyAxV3X+nkWWLgiA+36tf5h8xup3rzrgtNbPFJ6plPOq+JphteQXzTSLrKkbe2GAk0fz2QWLg== 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=Mrrbd7F8rpk4CU07RlIPlzoUldhuMHnU4dFQbE6Oeqic64BcXjki2jwJIjgsPXLWQmnzYB+OEDVUKp54QeGZ7NdhMxWbpOqz6heGc0pKKvVHBrPveTWQNDw2SmVyVs7YsPba3jZSsv3a/hXXQ38DbH0vmZTbngxBEL2ad4vb9eYvqOvkcAnwQO8QvpnAZnFBDQUqy2DYHNZkEUFljBpQrCGAsh9BHK5abBMeJvmJZKftac9m1DuKZ2iI/pMUouLsDRxZ3kGF44yjpDqgG4mZw5IOXuatMH6W7ibmHe3O+x1kZ/xFiu+FDfS6zK1PtmMRygvNXq8tnRdy2iMvAeNC/w== 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=KtzL9Dhl0J91HLNsv0wnL+3toIDASAKCOSmfdoBzT1T6R3GwvBDvABcaFexzkmg60UFwChwpSC9s3lHLiOwkLCx07efsTmo3vFnHrHZGuvTYOAhzlXzD4Jb1aJ6PZD0zYEm2W1C6NqgxcGOjPZUSS/MQI4D1AReCx/6wu6kLkkU= 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 AM9PR04MB8469.eurprd04.prod.outlook.com (2603:10a6:20b:414::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.15; Thu, 17 Nov 2022 09:52:57 +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; Thu, 17 Nov 2022 09:52:57 +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 V6 06/12] arm64: dts: imx8mp-evk: enable I2C2 node Date: Thu, 17 Nov 2022 17:53:57 +0800 Message-Id: <20221117095403.1876071-7-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221117095403.1876071-1-peng.fan@oss.nxp.com> References: <20221117095403.1876071-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR01CA0048.apcprd01.prod.exchangelabs.com (2603:1096:4:193::17) 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_|AM9PR04MB8469:EE_ X-MS-Office365-Filtering-Correlation-Id: 470fe2b1-787a-4e1a-866b-08dac8818172 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: CuSJ6ph2gbWTNxk9rp6fsnCmAjoUd+cIDEyI2rd3Y4LT1yioITGnd+pOfkGEmtV4OyeQOURxIpNjotm9uzJc4mwPALriqwDO0FZyhKbkkxQXmdvxub7m9meoOTH00s/gVnKGaO/MUjuMDxM+6A0dYEiJSOpQAuvMf3GFmOJEcBHGLh7pfcMidS4blLNY0buokE6/MnOIf9P7JZqPHJG/vnsKmwhs/dR+0+R7lxs/RAJwqoDWTYvePLPh2eX/O2k4jYOyK+uhpLvxLNPPDG7upc0fEsu0N7Yj0N1LSEcrPo5qTbC3YCta7hqCIwqvy0a51WKfX9M9gVxtt6+kCAZGKaFVybdUSzSR/+CcAOPvsf/vIjX0KcCICzfSnyMoqbJ4wKVWvVB9vEBp/auUE+N25AFDhq4t1y3b7JAz+sFQqnS6aeCNVZfPdP29Te8nw4pnRziFIWY7i8sxvcVs/58Mndn7GJ+UsNJKEVXL76HqwAYxBlgKhJPkIWQ25BaJQALYGNAC0cJHUI1tTGFTBKORLFOQcjgCo7oc99IGLt2IJL40qpqXIeqpkZ7LCVmStkYhE5MBYYFZ/oALXuGdk1Eas0gs0yVhGlDj/6ZKrwPWdT2RsuTmsVHqPSr15XkuWWzWBE+FYYiA1vuoApF5im8sHv+M7QdTRqqTqNVAXvVrJSlb3NHldA/z7YJs9U853CPDaRgReMpdAXKNUvEPGRyZP3JoHXlwXwBTCxlD4WjNsW0= 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)(396003)(39860400002)(136003)(376002)(366004)(346002)(451199015)(66556008)(4326008)(66946007)(8676002)(316002)(66476007)(8936002)(86362001)(41300700001)(5660300002)(478600001)(2616005)(186003)(1076003)(6512007)(52116002)(26005)(6506007)(54906003)(38100700002)(38350700002)(6486002)(83380400001)(2906002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 7Bo87dsJ7P3EcTMWV1ol55jrmh/yLfKeE2oFZlueLngU3JnHXVHny2iFSR1ScDDXEyr/eVOatCve4H2fVGdsdnIANFaPDDXYtqolxodF5XOTzZLN8OMA4rUM6VCtpsekR9K/M8gyGeyL2uJEuRmjdqmt0SEq2reGBkmuNhpNm8J9UBTQz78YGMGKJnkkKrBadX4R7KPWaShyeHLApEXv7M1fwvo7aHSUA9FeH1WM7vGaVpqoT7OB8z21I9qr2rUUcFYRQX5EdxGf5UlTFbgt9ZOifqeKrrWQBbzUsSbBXVsj5JQ0pRtf31Pyn+vL+UfeXD+d/C1DoE+EZEcmrSM0jtMZo45zB+jjBmVnLG9sIRPb+2+bjLBWxKpOwhfSLlsu2dM0+OyojMYcZydEejwV98slSeJhFYDFRt4emIFB59VDBckmarqxzKb1ZhPRK0xXXNCUaXTlIxQPKWkh5xxu16A31+tkto4F93JtFEZUi6SupKljXEBqo2IlJzkq8ZZXGvQnR/QWpQTiK+N7JX0v7tW+9k4S/8w7lZHjW00zuRZBc+ueNx0elAHXQhaJk29tRaDlmMfXlm/Pf6XhPiyEqJKu2abghV5t3EgTT+nH7pH7lQEZlw1KWf2lW5a0UZan0jj3uf9q9OaegR8/Ze9tE99zYFus0JMbgodFdxmN2UI2oh6h5GD5zEkMTe/f6gCjGmppWKD0OcqB6PCWeZtkJGlWW6GjD2mI6Etzt3TBxtF5qWRPT0DTuJvNYkJYY4belDoqz3xVnblPHZMwjXGjVK+0saOya8nvvpve6dwX0XdjfwdplCjGcSDRuSGJVcdqGz30k3DnPB8JmIWrhLDeJvBdBLGw2ve/A2ur1tAFRs9fCHu4+WeUsJ22DTBuOaW7jPQiXfOA2iY3c7VvBcDIBVlkmm9lfc7eaw3C+StWZurk/XD5QTsX8E0yoWfnc9XcrBVL8OAUFXngwjBOKZhH9n77BX/o4xGz7ZCjeuNGhghg6Y/x1qExI5wubPZmp39JcP0VVvNPn5D4daIQvbqfLxDac05OKT91ZwBAoQnsfbYd5/hu4o11b4Q+ybp54GliS1CXIOQ0M3vdBMpMK84PgYpPag4ZxpI2mWRJnok3KKeJk+Lb6e0aLEdy6+BIUb1nU3F8gA4L8y/FpxdYYMeKQMPaKHf+XRD/s/eeTVqPa3IXjPXQWi15sank0NdEjCl6xHFXlB8E4Ng2hgLSqGfm5BPIfaHunH+aZs4Ax6qIVrs/dXyqokSVGvHTGPMvkBBElA5as17QKtqcf+8eOd/VskX3cvgBq48rQCUnWpfpJ4UBHEV2QEca1ULM/mvwwNIqoSZSWgC0bwzrwQetC47X3waPM+KLIlMkWeWMDluTnsbMDKCVMVDWqFNLYyK7+CQaavda+y9K66wD9QhzGWIEDlDd86qhq4YLw/DVR2M8+zGF2K3auwKKcZZNuOYpo8N2aWjBa9wbaLl+ihqavpnLm76HE4ia2e8oGorzQP4vr9OTUI+Vz33ddL64fB0qTfUZ8W0Xp10qb9nCiquucmp1KhIQb80BfmdnLdl1Exkb9jzKpqR8T2o1Y3q1CM0pzv3H X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 470fe2b1-787a-4e1a-866b-08dac8818172 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2022 09:52:57.7720 (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: ru9T9nZkf8sJcuP/INg7Yf5Maptin1IXYHFNIkuDV3FDhscmCsPCEyWMFRQ+oip/J1NadlvfiEP8iQ0/JELC0g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8469 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?1749736795340544012?= X-GMAIL-MSGID: =?utf-8?q?1749736795340544012?= 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 Thu Nov 17 09:53: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: 21531 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp309633wrr; Thu, 17 Nov 2022 01:57:40 -0800 (PST) X-Google-Smtp-Source: AA0mqf6d4Jis8qMjt9swsjH9I+vRp7NlI591fHrTpr2RtLM5MacmBEgBqJXwAxD4tWctJ8QoXjLN X-Received: by 2002:aa7:83d3:0:b0:56e:8477:1add with SMTP id j19-20020aa783d3000000b0056e84771addmr2298745pfn.13.1668679060148; Thu, 17 Nov 2022 01:57:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668679060; cv=pass; d=google.com; s=arc-20160816; b=HkKIFR20/VuCazq3ZBYh8mP+WiJPjABI3naDNweFEzjexh98j7fbOuKFBtNLvlSD+3 52O1TL6yRfRaf3WqvCeO2Ir2H3g7IAsG8zyz42NWwFUO8yRcjoSzozeI0uhRub6m0LdB jAPqGcUUFxYCL5pj0rMIr7HAAIgKpWrSrIzI566SstJtSdzKCElmVF+RlR3NcaLPZwZq EFk7qaPzZVqQbvhZhsLWpmYA1DJGX5mqjP41wICpIKVjJOEQK5MZjZo2Z+3STVs5+hoU 811mwFIDLQvtnXzWIuO1QpiRBrc7rPp7Vbjma4viJnD4pu4IEFTmukuaJLWLPGowGlza m0UQ== 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=rtFh/bODZgWayNowEDZUaTJHMNjHPN7c8xTYgr4zAnM=; b=h/NnVzrlTaA7bWkiz0xnmN7leOwHNm3xa8erH1ybexzhmile6xdWGfVpHD8rESOhbz IBy0qIlT8uZN/CliU5W2jybtbxdtzvAkAx7+fieXgQzNsPWON4tOYw4SojlrVD6aORMk C7MdvWgP/JsbtBOislFBm0kENHbA3PzTdD3x73YCAQ+E5tzLrwbd4zbq37LD7RH55SCn dU36bguzKJ7UW3iLMoOSMd1HZJxyKf0e8xEVG/zKT3uyPFH5YxnXm1JiyeYn/dcOngY5 2xhyp7tfwdviFt+SeXhp0iwvU5ZQqH5RvVgdO+i5gh/wkIhhfLzWe2NSDWfDrJPgvPNQ nVQw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=YOgR2GVn; 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 lr18-20020a17090b4b9200b002181be3e141si4646715pjb.77.2022.11.17.01.57.27; Thu, 17 Nov 2022 01:57: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=YOgR2GVn; 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 S239521AbiKQJxv (ORCPT + 99 others); Thu, 17 Nov 2022 04:53:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239512AbiKQJxP (ORCPT ); Thu, 17 Nov 2022 04:53:15 -0500 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2041.outbound.protection.outlook.com [40.107.20.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 703D2657FD for ; Thu, 17 Nov 2022 01:53:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IiV/9gECWwX6ZDPOonu4oT/JV6/VFow9lTBnFdaokydAqR/7V/uf6BhN9WUGdkj3cE5oT+RMmPaVTTSC7jgGWTzdT7UDjlOHmejPSAfq2iP8C9H81aNBDqrqGcDGpB8zE6ywLvRo1qG48NqT4lCbUFZBMtEsuMamuZJqr+rMIXHNgcfw/w/pABrAY+W0tV3SO9AF0bPlyMNCpBnPiprJk2sAFIMFHUcf5Pq2SffrbQa5vg1b5hCbc67FoTLA/AcYvfMoXSz0b5rAvuOWonflqoaHNfSTV943aAZPsOelXiCNWj4hyB4fZoYx2TeAiRvohI26ayjT1P9eqn1mBCqxLQ== 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=rtFh/bODZgWayNowEDZUaTJHMNjHPN7c8xTYgr4zAnM=; b=jemTMB6t3NTDhmA8njHYp1Q23wbMqUNL/EFG8ndleV7D3gHibnICPiRb418f2rEtS/Bs0ehhznKiAeyf858UZdFkzPYMbmMdY2yO9O7A+mOgb/IY8T0JF78wSOK2XDDg3kGNbIwooQF4mzleuHdZOFsNO1NY4O3LNxrkmT8Ry8PRP81QxZupq81gQqs165bbmP6cY7rj06BbZUjD+v/3dMXvB/ZaUmFb7QZYreh/THsFf6KCO29FcTwyupXA+xCCYoikJTZkKwWvhUTqUiLg2ocOI9mMN/kIlGhEfX+i4Pe1xNJohaLIdmmZ1Ehtrj5Dd0BroY024GuN1jFiX+wKug== 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=rtFh/bODZgWayNowEDZUaTJHMNjHPN7c8xTYgr4zAnM=; b=YOgR2GVngzY+77x+nE3/KbXi4KMb2zu3b2mt6Q9ifbYB5M159GfYgHE+u/OH7ETlTFq+jTLZJLZvy1LmC8qkvETjnyCs+ONWo17Ico4yxAho62SJ7GZ5YeMDFyB7ty3Ah9LAtJXYL/uyxxVg0NJiHNI8kFAl2n7ScImuGLEPmRs= 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 AM9PR04MB8469.eurprd04.prod.outlook.com (2603:10a6:20b:414::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.15; Thu, 17 Nov 2022 09:53:00 +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; Thu, 17 Nov 2022 09:53:00 +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 V6 07/12] arm64: dts: imx8mn-evk: update vdd_soc dvs voltage Date: Thu, 17 Nov 2022 17:53:58 +0800 Message-Id: <20221117095403.1876071-8-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221117095403.1876071-1-peng.fan@oss.nxp.com> References: <20221117095403.1876071-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR01CA0048.apcprd01.prod.exchangelabs.com (2603:1096:4:193::17) 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_|AM9PR04MB8469:EE_ X-MS-Office365-Filtering-Correlation-Id: 572efe18-0a42-4c51-264a-08dac881833e 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: POo8QveKP3+PKt7WF9/q39KWUfVRdDEpSpW8GYTJ8g5TwvxSyoBT76eL6/S0tUb/PcwcfYShqJyd4Om0VXImdPy0zEpf2Jo/QTngg0yrb348oLZvQSSwIYUqHRlvWIETyJCu0Tr9SV2E89uV0NJPIjrrDkmpVgmjMN4TVOJWYBXhL7b+2smmK1W4brfY3wrOLZVVv7I7vpyW06yJ867l40U97zDK55tbpLZ7ddKy568pl1Gk7AiLkW4LYeZ198de+mBSELVqubUpY98DSDfZpsQOohP4vBPI7GDiRplTiQg6BIGZA1SaJcDxkZP/6Ifh/7M3bjjjenVciMHIsQmIwnbUlV3QfiwDK1SRiIGtUd/0EpSAsLA6O51jyWMppIaB27WYMeSY693xBX3NlZZQcweN8WQ2frMhlC7vdBpm/3fu8gQCoLg/cpJVI+3dW9j+fdMsDZ3P5L+Z8yPv1sxvZyExBBEkJ1RFtmbOfAv8HvLTZIkvxTd7eiHwBasd/oPmx4cz9y8brwNCRncUgAKf6ExlAKh4xdCKfJE0DgFn3MBKuzNWZy/K0y/mrslZwXrZF1NOwxMRO55LcBGEsdfjhQKKzUuUprxNC0bufMcfEG+JNAtCIdYwSAKk5TldnoCEwTCwxhezrTkClxGWf7VKjRiKp9OPDSVRhybvvkDwGcF1EkbxGOG98ZPggi+MkrgpCTGctI161TzRzenIVCiBwz5cEz9d0m58lBClYH9NnxM= 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)(396003)(39860400002)(136003)(376002)(366004)(346002)(451199015)(66556008)(4326008)(66946007)(8676002)(316002)(66476007)(8936002)(86362001)(41300700001)(5660300002)(478600001)(2616005)(186003)(1076003)(6512007)(52116002)(26005)(6506007)(38100700002)(38350700002)(6486002)(83380400001)(2906002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: dkxQe7tPOXflbuvN+SITRMcHUXQARhmawhzvZBvtciMp92UNm1YXMLDOGs3WJOQNaGoZ0D04VhRw9MdMVqz/1h+lq58O3erD9vHAF4QsggAuJO92aBBdDhPt3Qw+X1JXSqEC3c7AlVeqbenphrvDptRCg+qwX10Or547zDFCHX6Ry3nXcjiSg61poBURfcb3XtgsRyh1Nc0XSc84FCbOnIaVIlNDdfjkM8AjjnUybhSrpWUY1Moqqz6XA+r10lTJqWBE0mjdVZDiaH8m5/G7W1CU4OhG8gIVD1+wpfRwsaqXSFHnzjirpvT7Nj30CMrxfdCp6f8xA0ZRs0XQL99b67MrZJmi1XE3uRw5VLE4idFaWOHZuC45DKMR9pa+Rna9gCSoND8CeL18Op834rh+w6ok+tU5onlkFpzRDskCXMP1fPBlzwYGtKWNn7ru+d99htesc2Go3dkmUz2mINuWsvNk6ZYb0vF/nMGnWXR/LhkTQDl/TC069KvC5T8ZW9sywWdMGpLwbkEsvZEekK7ri53wgTy+GdY3yefOtQ7kBuuXoxM9sYbxsX9r+NwxdtCwySMGBn8PWmelk5HJTa1Cdh5rEqugkWShcwsWMswBsC9W+Llh/I6nzItBdpcms/u0mGTrDnsBizHEOfQqypTyoDTlQnOqVrfPaELofbiAQRTVom+XjS+lUmCvjtSvL7p/R5oxuOksOI9XqsA33oJ25difFHUsbLIcDgTKbNV6c2ed4f8iKGJEMH/ay+yj3gr+EDW2W8OO1CXEkleuKfDTo9GE+XWQp7qKj1OyYPekLSXPnx4uA537WuGnK4+WTOVOWhfeT15XlUlQyBdcMDTLHbpnMdtReq6ebCzG85PM7qze/9Kg3A8dpbFg50vf6B5yXLEAI8uvUuf93L4wF+Gs+I+2bKyWUnfMUOMlXY33hMW074ovqT2Setr521G5y44fxQzFPHd/Y7tLcr26Wms6FYdvANTq5rnA5VE2DdEYov1x3e3Pc71PP2s8h5yPxckLPhBTS68kjE9LtK4B4Lv4djcbP/+YzFGl0Zy4g+1HyC5Y/6fAcXOXLP04cA3dGdIjWcVlNN+3QRUXkWIulXI91yTf8/1CHCMJB5h4ez1suVJTsVMe11ys3DQghBaoH8yhr3ysiwYHNmK41z8V9ioUZiACODFNxL+M6/xq9RDG8Z4zF2yye1ehK0g+J4BBhRjaeO8vR0DsPRilsoPe7FEXggbiGpKKIQyaG+jXJvqRPvjNf3+DG5ixCEU4ddldDXma1JASvnY6IO8jgzG77TRYvpeYAHlF3VwntsBwh+QZScWTk74rLaSyaV50zqqxfyEcwuNAzxS0ZVKpWDa6drS6nmO02RkeU+YaYR4VD5qygazzpfAuGlArPh8AkWdrVsO0d/0V3Hj8Tc9Cpw58wr9+7JSyccoMEBkdfkh36moxVUZwDjwplF9BNHNDaaL4txpRLWCC7nNIP/sE3EeooN2Kmlr3beFG9oopzOcgJdX2n+oJgFL7hmxJs5cRNCtqm7nwNLVbydTwnsgcdtAqTqMdNC4DFyJncsXBEr7kCdunfG64NS4FqLdYjp9GBRmh+BKI X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 572efe18-0a42-4c51-264a-08dac881833e X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2022 09:53:00.8008 (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: ck+D5Ko/jNx8knI1+JcSokbMbT77cuAkRDER82UDb6SIunOO9IA0t+cKRkEBdC4Fu4kpasTmbldXzqi0GnQ2gg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8469 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?1749736814331563273?= X-GMAIL-MSGID: =?utf-8?q?1749736814331563273?= 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. nxp,dvs-run-voltage is not needed, since bootloader must configure voltage to make system boot well. Signed-off-by: Peng Fan Acked-by: Marco Felsch --- arch/arm64/boot/dts/freescale/imx8mn-evk.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts index 4eb467df5ba7..4839a962a170 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts @@ -47,6 +47,7 @@ buck1: BUCK1{ regulator-boot-on; regulator-always-on; regulator-ramp-delay = <3125>; + nxp,dvs-standby-voltage = <750000>; }; buck2: BUCK2 { @@ -56,8 +57,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 Thu Nov 17 09:53: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: 21533 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp309686wrr; Thu, 17 Nov 2022 01:57:47 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Ej5tHhWth/+9PGzfXDNNTKOpZbdRldzPhmXsTB73tzl1aPCtu1pO8mHwdP2tqCbCx3BwJ X-Received: by 2002:a05:6a00:1741:b0:563:9203:cc53 with SMTP id j1-20020a056a00174100b005639203cc53mr2250007pfc.20.1668679067456; Thu, 17 Nov 2022 01:57:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668679067; cv=pass; d=google.com; s=arc-20160816; b=w6vRw6rIAIfLZxi/yCF9T246nO/d1SoejKV8NLbAQS/qKOstaoWy0R7CDsawpGJZUm +Dc2QXVBjDAevtJ69MjPi4m2pxocgcnZxBF6fdRzn7V1rFnFRJKh00fxX2ZP2zeOCH3A DXY0xa+FzojXofNg7xzgHkbktUtqk9hQFahEQb6c8R3YcSdXVYvXvREaj8txt+ziQFa/ 0mMQrD4LgdhFvbF3IUnAGz1qymP/6DbR7FJAxyS1BT3QFAjv4BCzQWO/SX2tkLS8srT7 QFAllAkj4OqpsXtBXZn1tctmzVxwFF3Ploy3z+qElKxdYggyuZos7BfjAb9a19fFlMPq IdiQ== 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=6FAmzwaCWT+XnB9FRuY7V9dh1frfjMW9F5SAk26BPwQ=; b=CxpItOFTj2pFroCcc5FkJZibygWpgHuND11dWoEHfbkP4M50v2ikjXcjGgbQrSWf7F xNQ+8GHt9ZZQkjVumIdYE+8sZErWx228x7OVMNJGOs4g0zOLmN/ukm48qyKxezvl/CfV CXDbOzcFkWZ8nC9x4gdOTBp/QJ8COGk3CH5RgI0ZNM35BNjZn4jdy6G0vqmlprxY7Nz4 N+a1JOeAFK4jQd6ywu5YhUmA+sxkP4sfIGYRI7gigAUwsRj2G9530p2WQv4z4dXiP3pr SBSL44N3LZ8nwAN3pVPczzyfpDgvEN8nsbjwUZMLywyr0eLGTnVyoSv7d1KumBSQW2ak 0ttw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=IkTRISV8; 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 e12-20020a17090301cc00b001781cf050b6si667388plh.14.2022.11.17.01.57.34; Thu, 17 Nov 2022 01:57:47 -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=IkTRISV8; 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 S239651AbiKQJyB (ORCPT + 99 others); Thu, 17 Nov 2022 04:54:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239532AbiKQJxQ (ORCPT ); Thu, 17 Nov 2022 04:53:16 -0500 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2050.outbound.protection.outlook.com [40.107.20.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92E4D74AAB for ; Thu, 17 Nov 2022 01:53:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j/xBFjjOlUi8xdU1UOYXURpuwAGyk3RHC376UAAe47WKKW9sqUzG2thjEhZrYTz+DHjqlgZr8T+9DfJ2gETVNZbJW94B17i4Gp1ELH8uOSZUc9dSUz54zOZtBcyKnlKYpCBzbL0Y00d7f4pxijcTMAH9QUvgakt8X8ld44sAwu8C/qmm5W8lvSUiG9nVWvysD8ny1ltVaOUf5iKLoUUV50SSR7J735a0NRd5cXcDW7B/PtPVN1ZU4CRzYlZVqdLyuMvi4L/rZg9hWC41VaWFkSNeXYqXUgzRoKIfO4v8rD3Z/nWdBrj440v4AzUF1M6oc/UiZovDuMZW62b1AQjz5A== 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=6FAmzwaCWT+XnB9FRuY7V9dh1frfjMW9F5SAk26BPwQ=; b=IVbnbdHaebNR9Iy0rzVfZhi9iZGyK1sQiaVM75pmDp/Y1BVOZPZXrcZtv65ZDOySij2XVjZTbZQAIUG16/Y3+y/8kHd0c5X62RNWNhAq+aL+d+BhIUXpTeamO+ZGQ+sIImnzDNI1+pCGpYoId0BvR+ykb05RJnYaXCSb0gH+x2qyTXR9p98uR9MeSAriHabktMQV3lrUnApxK31XFTDFes9jorckEJAgVpqF+VJJyOvsnC/prMaF449iY/FnnFnSZhFQzeW/I65YNa6NcVX+kxp+UOktW6onv+pbL8fOzAmSOjzFKPD5W90q5ZjZisF/NjCo5IVQDttUj2JTUczE1w== 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=6FAmzwaCWT+XnB9FRuY7V9dh1frfjMW9F5SAk26BPwQ=; b=IkTRISV8DNUn12VOu9wRlaLiaEWelGoinRn1/acVsdJ3KsKSe3buVEiW2T6L+96AvFh8DhJqFDigEAh38mB+ZozVmDunmpjJGZEVhJBYqEbD6tN4VrnVUh2Ydk4/Qp0QMO+d1VfebpMev/2fxZShOK2hRLQwkk8Jq1RdkpXjbDc= 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 AM9PR04MB8469.eurprd04.prod.outlook.com (2603:10a6:20b:414::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.15; Thu, 17 Nov 2022 09:53:04 +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; Thu, 17 Nov 2022 09:53:04 +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 V6 08/12] arm64: dts: imx8mn-evk: set off-on-delay-us in regulator Date: Thu, 17 Nov 2022 17:53:59 +0800 Message-Id: <20221117095403.1876071-9-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221117095403.1876071-1-peng.fan@oss.nxp.com> References: <20221117095403.1876071-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR01CA0048.apcprd01.prod.exchangelabs.com (2603:1096:4:193::17) 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_|AM9PR04MB8469:EE_ X-MS-Office365-Filtering-Correlation-Id: 19f2ff80-1f12-452f-452d-08dac881852e 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: P109mXELzmuvzWETwO2ZUNkZoiJTevIcCBNoh0sQ5mqeU0qHV2PkAkLDFyTS+5oJkQpK+/0MqtplT2+uAavYo0vabDjHDvBDWwQY+T4jcBVho4b1FuUYefuRzmenXzbHDmkCqNwDStctOtMwtp5l4oWAot6JqTOJPjQxwPUXhMbHpdPGcn65WvnpDt/fZAokVOwba6vMDLez3GgPPE4iydz4qjLWVDuwyfYPF7eeXcXJ2ZjfrrabpZEFvb2m/A1wd/nw/LLTPfc4RMNHVpRfYDwWa1r3XEJJ08HpMcTfl71hTCn+Ol2v3uDfB47HpKJCeQ6ob5BWgYDfKKi1vgPZoiAZHUwEZ4Cvw+UsTnFUcJbHbuKKQnJVUSEErzjnhzaKbNvJI6qdj+SPL+VtLgWEqdQOcS6ZIC9h7XlPW6mClng+o+Sv1iyFc0tDujuY/OAoawGTPjWabmrLsDTMGDbWQrl3hgHIDiFkasFEhq5sWda99n28Z1Kb8750X/Fr1XYLUyb7vSrHrJeQKjVhmhJpypLnFUQT4A16xMLWh2HqchD0hyRwjx9voro22ZHfW88Z51dOFjmd8jPvvkMj18OCeiezMdsmIs7bDnEZVlJ0T+kDlQeyoZ5u/4g9AnCHA/Sbpy9LM+kJ+qdrg7kBjfW5lrsZvXKP4El7OPHf43z9Ak3R2K1bMun/Ja0/gYO47WbzNM3/9bxScWjk6x5L5LoFy7XnQ+QBgCeP6xg1c+PjbkA= 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)(396003)(39860400002)(136003)(376002)(366004)(346002)(451199015)(66556008)(4326008)(66946007)(8676002)(316002)(66476007)(8936002)(86362001)(41300700001)(5660300002)(478600001)(2616005)(186003)(1076003)(6666004)(6512007)(52116002)(26005)(6506007)(54906003)(38100700002)(38350700002)(6486002)(83380400001)(2906002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 1dNcGCXusozdK4vnoaixbFEGtlpVE2rWHmj31NwXU8hKagOZSMWlQhT/N25gZ058ovNdp6KOvj/bIsIOUBBkorlaFFmvRwG/F7K4rP42jRQa8mH28Jt0VLHF+j6wo+jImdinX2x2j4ZbxbcFgw5mxeM/UJFOWhOWqqwZiENprWk4zmMGykiNFTjF410F093REkMVc5R3yTnm71zy1ID2Aqcc02KtMfSBzYSrN63PRA7+Z0MFN1znbthO3nFG1dG6Ve4ckxwL03TaP0ykJ5bCTTno+CPej1UmSaZWvG0MsuEq2Pc/9lh+ac9gOU0MxTPduNgbOIoywy7qwqDdsFLIZtWZEWeKEmRoTMEedvaBzJkTqLY8eHsX6ErZXQrwk/nF9eHTSXbhVzky0sU0uADNWhdfuE/+OQdWf4zcNLUH2AyAy8Ts/1kBCS408ecQ2p6Fr2NeMlBTuWXuXwfs1ZmykzRYuiW6cEhquFI+QhMYVZJ3XVRXE5Di9PUaapl6i/pxp3Y6ubqZV14DXKV5lI1E5FTpu1w5T0VizdlRh3eWB/9D+VJ96i9inFHrxzJnXqk3WrSPqmEQAutWCstt7j8YxXLH4GDWkfR/hzHqD2pKQ7bVlkO4kdRa1dhsx32OrNiJRG9JTgAYDDAhz20HaoVpF00tPmYioquelZM3b+xwtaYbNgehh+pNfn6t4Wd4rW6drhzLTayX9CJoIDOA1zwkd3ro+is0h1wuZRCu17kPwGtKNw20h2eIXIQ23cdeFFrNW11wzP/6zStyJ7cXjDDDxMgH6UZuXEKaCk/xU7lbF5Sa/a42uC9vd0wshTCPt0GZggXbo4Ua+q1Vcr5JsKz+NS3A93InPaF+nc6J1DmmLcJs7JEoXk7PjdEz+AJFQmUojYmeYUNBCfg50yL+n2Me2WFpdtEx3Osh1oLaBt395fwI3id67qBqIPso9SXkwGhzHOL3LSaDIrwTBSzjaxGzLA7GbQQGDRRKizKnoBRe3coWMk7VEdrk4toJfTzfP3Wr3PnIldYsMtaN6Pp/p++nXnMV9zLDu9GLXQw1j/40gMT/2WJKmL1cK92HXCL9f8gy6QcRTil88aU6LmYaqD61CPsaQXbSYo3NQsQrzNd5yv/yFoIK25JGZFfy+zxbYJKCBeN+keNG8Mmez1hXtYOuBoe/Xgp/Iv3is6Y6W20kxZ93kyo1t/4ApyLvnzbm5BLb6mzTR7pt6FiiCUn30l1yPFYHMZp52B+xL4s4w3XIqTKY22mVtzoIMWxeOdeu/VjciUlNrsn3Msa3fBn9x9UZyRy4CCnZdLh8HciwJd5YJrq6lb4WSHj7zB1Xupogy4hfbzdetAfH91inmjLCinqtXw6Dfy3tBht3gCMj08/UZA+QFvXlTg1PAqYkafSRqqS41w3ZiCK7v85DOHz9LxUbvHYuGimadX6tr0UlmaC4GVDUB8u0a41K8yiRY80refUy38VRWMzi2Lu9DPUlEktz4jdvhlRrXDNV1oz1t40a0Kl4LS5rqbiod/2q+KTXTo5Fb0Xi2jrLasC0WWizgntobr6wbqitAdXboPphYCU5xK+HcNUvswPSKI6rCUMgWSE4 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 19f2ff80-1f12-452f-452d-08dac881852e X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2022 09:53:03.9584 (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: 2FZERm4peF7bLNfMtPE5Jra5PniaTCx+8cL8KYbAPXkfIJ7G1S8xRblBBulyhP8SZrzDwBompNkCHyMfi0S7mQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8469 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?1749736821797208756?= X-GMAIL-MSGID: =?utf-8?q?1749736821797208756?= From: Peng Fan Some SD Card controller and power circuitry has increased capacitance, so the usual toggling of regulator to power the card off and on is insufficient. According to SD spec, for sd card power reset operation, the sd card supply voltage needs to be lower than 0.5v and keep over 1ms, otherwise, next time power back the sd card supply voltage to 3.3v, sd card can't support SD3.0 mode again. This patch add the off-on-delay-us, make sure the sd power reset behavior is align with the specification. Without this patch, when do quick system suspend/resume test, some sd card can't work at SD3.0 mode after system resume back. Signed-off-by: Peng Fan Reviewed-by: Marco Felsch --- arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi index 8cb87c7a0f03..e066fa9af834 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 Thu Nov 17 09:54: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: 21534 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp309863wrr; Thu, 17 Nov 2022 01:58:15 -0800 (PST) X-Google-Smtp-Source: AA0mqf7pXkhhDxFgGZ6TYdRtLa7t9WiNfhOlZyhiGQa59iml71EvHEfwujbyNLHQ5M/J33Fs086j X-Received: by 2002:a62:3306:0:b0:56b:8181:fe3e with SMTP id z6-20020a623306000000b0056b8181fe3emr2177633pfz.57.1668679095440; Thu, 17 Nov 2022 01:58:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668679095; cv=pass; d=google.com; s=arc-20160816; b=Q99rmapsG51ZWNsgDAAkonK7iZT11UkhSZXzC4OLK55pmqKHRelCMbjp43lImx9XCR DtuC4vpeRhUnIfWK/uvJDK1tHXcPREvSXdGsqSRaDyhm5tiNbO9JLLn7/T9WJKs9VM0Y Jj9hh6S+V9a23e2tGOps6cFk6QX6cACGq4A2nlehF/mktCWT0oxP+b6Joc/kD6uyKCKp TPgul3Rs44mez+Kep0ECDHUHXTviJzEmppqrut+13T/7O3LsET+ICD3dpmdNFx7OV4ZA rR64KyKH9dllOUeJ13Tc/Iy4I9blQTkoTzarY1Kc7fd472y4+7buQyn9VY7m/nfvlrDg /WZQ== 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=+XQ+tn+AQ5Rz0zhv0oCeoG3hmiAdSwe5QLsVwoE/ktE=; b=y+vzE6uYpk6OLrl316Orn28+d/tdNK+KXdbtfmKCyamWztEwWWl8QgdAr+8Ua3F/TZ 75ElRMP5pt77xlY6OrRKIWnfySNIJyLOOpeks22JnllHEffSyZaE2bFSZL97xs9YYBZm Cf2pTXYFsG71duLNUPFMA1xzFbDhtyOWoz4URddqyX/KhIzv/ZiOA3N0INGmYqa9vJQr IJHZGBAr5b97b+lkE7VDaBrw6TH/tmWn8erLHwdbYG5DkwfCBPXYEazqfrmvqFcSIyIy vNRo534dtaQqD979KrGGRsM+2J2UY9FIE2+8ZacrZYPuESFgK7fZTXc6CBCmrBcN28Y9 OxdQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=leuwv5mU; 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 j20-20020a63e754000000b0046f75bc53d0si606787pgk.241.2022.11.17.01.58.02; Thu, 17 Nov 2022 01:58:15 -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=leuwv5mU; 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 S233742AbiKQJyT (ORCPT + 99 others); Thu, 17 Nov 2022 04:54:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239600AbiKQJxR (ORCPT ); Thu, 17 Nov 2022 04:53:17 -0500 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2064.outbound.protection.outlook.com [40.107.20.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8AFA376143 for ; Thu, 17 Nov 2022 01:53:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TxzXJsElnytJF5Fl9NjTFZ3bCwp9TgEAv3B9abmSmoknvOTXjoKhFxuU0YA1wB4eaP/QoDFdSPtHrZu34XBZ2o+I5gC6FFwyDJQt3I/teQqOTr3/Xu2FjY3l0ng6k0nQN1OEo5TWNjV5NY+GIVeU7NP/b24ogDkjMXprCaxFpYyRZ2sB3/IfFxwCCrjXvJsi5+XccJkVnyDq8cLjgzsxUozlb9bDCzmAUyU8WtjcLbl5gVO1kmUDncp4Gu9t+LqrVwzl21H8f0HesjtE8qtcSKKctCA54knkEPd9HaXUfW1ekt01Ue1+ScPDjC2tDCKb1IR7c/ozPC7qCF3HR+00yg== 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=+XQ+tn+AQ5Rz0zhv0oCeoG3hmiAdSwe5QLsVwoE/ktE=; b=E2vAiGvREE4NHjIv5JCZ6DipHqcIYgiwwlt9fP+dd0n+RIEtEU5iZl989hJQ9ZX2wUT/dR2DvDZJONXZWCVfikP6Vs/WoDzl7nUYp/q8tLiIvR//qQ7qn26Q79A4C9OZ4psCIjEdUbYs/gSpKO4LbiKMlspZWIvAPyDXq2DSIcHcwBrkld+V5zpeHZYGxI2DqrmE1FH/dee5942Z71UscLmbbq5BRpzNcIM7+GGhwhLreh8UW/sGw/vvYBcP+arXXwoSxmelCh24YY0Ho129PyoK9F/b7zb64DZFKiPXE/Pb0UbJvLDEEVU2C1TZOB54AIFZKYcPH4gAfSkzbUk+IA== 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=+XQ+tn+AQ5Rz0zhv0oCeoG3hmiAdSwe5QLsVwoE/ktE=; b=leuwv5mUdIM0y2TQn/Z2Vmj4AbGqS0goBuYTABO5n5Ya4+sWE62CHRvjMZeIxi6EIaXdBwzZoYNZZ722O3ad+0Tc1iZZh4z62WGNH12uUEeCsD1nvElVEW9lPRY8S6pDA8J/wVtoBw9UP3CFBYM/nbqkaN++uvqVhBqoXUiOkPY= 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 AM9PR04MB8469.eurprd04.prod.outlook.com (2603:10a6:20b:414::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.15; Thu, 17 Nov 2022 09:53:07 +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; Thu, 17 Nov 2022 09:53:07 +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 V6 09/12] arm64: dts: imx8mn-evk: add i2c gpio recovery settings Date: Thu, 17 Nov 2022 17:54:00 +0800 Message-Id: <20221117095403.1876071-10-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221117095403.1876071-1-peng.fan@oss.nxp.com> References: <20221117095403.1876071-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR01CA0048.apcprd01.prod.exchangelabs.com (2603:1096:4:193::17) 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_|AM9PR04MB8469:EE_ X-MS-Office365-Filtering-Correlation-Id: 1c18bcb9-71e2-4878-9db0-08dac8818710 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: Fb8zdFDwViyaawzBV+jBSz2nxrtcPM+jL1iA9Gxlk2Ys7fBaGJUIpHE03pzd10u4fa0mdSzonoq9VdHehBOA5T3MJTJbxO9PWt8wb1oEfxx1aH1Jrg/zzLP1zXXFeo9UzyB2uhR4vRy+93cD+VldB/O/yrD7ccC04pkqE2M9dgHQXSMh2SzhUgcistqotKdFl09Pnut9okspZOig9XO3/2hhhBcfE227qR8GPMTQZnVKkKk5oECjXtVxBizmfXtvMw+Q9KzD+aMC3AbVqWLJuRkbujZCOJ+cBo6QoZYED24JE7QFj45C0kd8C7es+Vou5DBS7mXBj5CENz91kSDCloRUKWypIYYz+HSlDaUy+ACZWbGM/+T50dAkwHzLa6Hu+L01+KFCgIwtF/55Ks4XlD4IaPibmFDhUB+VgPHfCx4G/h2xamizakTHAxSjysUBZ6B1zC/PZkl3q0TrQkYCMfj/cJZGDwD2fjpCG0nMrlAUAGw6L8h0yAiSwo1EuWzRwZi0a88eZAbCCeXUkBpTBBq/BzAp84yzPtE5vuhMiUNjPDeF7m6GZSLw2aPD7gA12GK/g5rNweI3UODiJnr/rV85QHJl3zLUGqCb0kADwq1qbbwK6E2uA0g4sIgl1C3rkiXwuZjuf/PhyI9ZYsaDSKOf72svT6sIVTtiOSELdFTtX0vLRQIPCECYkWJsJbMu6cjV0Yux+5AqkHv8g+r5LXGOUQDR98XQcXtOpd2IzB4= 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)(396003)(39860400002)(136003)(376002)(366004)(346002)(451199015)(66556008)(4326008)(66946007)(8676002)(316002)(66476007)(8936002)(86362001)(41300700001)(5660300002)(478600001)(2616005)(186003)(1076003)(6666004)(6512007)(52116002)(26005)(6506007)(54906003)(38100700002)(38350700002)(6486002)(83380400001)(2906002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: v8L9Z5TTpQcN/CFTAHBAxESN+q+FjvPV6SzJ3XqE1g8DXLwZlx2FHvDglYANAYgb4rXR4TtKVpEq0bYx3MlE/dXAgFy/JGyOM2JHoQqlwhA3WjlfQvUDvR2ilcCS6Hc7LCq81g7+l4toZ7//rf1dw7rRlll5dsBAt6nmfpzxfzKeiUmSTbg1XQ24OfTDjkhOYorENn8waTcJJEJW3LFdnkbvT8ootLzrR9MaiPYG26VCz/hluG6D8285kg4b1A9Qjeip4DUbr20kDeZGd8vc+V6mYdgD3XJ+Vyuaw/LDqEmG/xpJ4HMsBc5L/TRBMVlHknH2fUbkXWsZwZFb+gqrPnJuxHU45CQ8doVuPIhi+Kc/ddsoby3ySBPt4m7DwwhUZl92HNjBIL/cPoJKxORmOWnbs7n6jVK57f5uI6RrTvoOlYhJm8Yiqf3sHytT8TnYsm9NYZHHVCkcC/edFly5IjU0X3CU0fQI9CCqSzfG4V9dI0TeUcVfSIqTJuiHHY1Bd33JvbayPgFW3pvrzBkJ/JZRQ4xFmaa6UMTdUH/PRLel9kR3jDo/Upz2YY+SC3IiArR6o9nzoZTk02k2fp2kQPX8V7xauJOLLsecTfprOkT+pm6CRrTh9CmVocnVJsI29MopqfQNtBI6AvNSvcFGBMYm07PBKRA9Fnx3xBLHaZm/6cvvL/kjk/RR1UgFJoIjCmOvUpyizUFnrBwAD7mibZ5aRz+cERhW3JS+/5VcFFfdlu9deLg5x32qX4QQ5Yz4jI9I/tSRQ5ftEYAS+zGNFqPg/B6hx40Pzch1BxRTqmlwbpMnXdrTbEOiMF37CYcSsC1KXK7hKPD7PN6tgpsmdDA2MuPrMSNodiGKrP+eGETXlYHuc0qouCL4AZOcBEsIvtlNEgWfG0CQ1pwJnsIpO2XZNobotgYQViSO7LuyDNUKgOEIxFxgJyIGLdIQtzYyNSuk3zXKNEFqqUpgkkyyhJCK4B5BY4XuIjt+dcH2jVXF3e9pi1BlqEX+3NAoUjm9kR+EXtCbH+73deRuojYZrdd2tvCaKExsZeZWbCY0dBI8BF4s9HQWnQ1pYAXMZkQM44KbMMIhQ/A+oF/NOtstXt/ijooy7YLiYxDVErnz0J8uX3EOt4O24GzBNFv3VzgLWYezKhljK6dA+tlw6t+x5La3CUsf6Y3kmZixwEIjGLhHZeg2LcmRRbZYTSo/dexCVbi4TXzjAO5w1JsmvmDmfCQd0lKzvWzrHJBpz+JT1jJ6mcsDEDqFa9xgbq61dE9zzu8QdhnyvwNKmy5FEwiAc8xId3Uuutr7ydRT253WTLrquvLl0Gfc3zGDoA2bRl9wUFcYi8PD4U1jWjiqdrL4YKnrY8k0Hw/Frwn4nO2hv0egnrKhfxLPLkf8TEwiEU4SE5fyTMeQRH10y+pq9ODXuq9c4UUDG4QWWR08DPODkzXgqchk24zHsN4Ui9JwBYZ/3IdJB8YwQiw3iNHPAL6vrfmgttnKcwS72CNCoFsYCV5l+S9OQejm5WKKySlwvoyDU9ym5VfsiSCmUH/Us99DTIxLa+IIuPdRy/Jog1frFnwkExguZKKvU2q+qYei/F/y X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1c18bcb9-71e2-4878-9db0-08dac8818710 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2022 09:53:07.0726 (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: ufuPJJpfb5ghxVWyY80RjTNhXpygoewtWbr1MEm2PKL2/fMr4CSFb+tlhnadA5sieINXHQOJf3uBLkzz/qk7LQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8469 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?1749736851165087213?= X-GMAIL-MSGID: =?utf-8?q?1749736851165087213?= From: Peng Fan Add I2C gpio recovery iomuxc settings Signed-off-by: Peng Fan Reviewed-by: Marco Felsch --- 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 e066fa9af834..2439b91e51d8 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 { @@ -374,6 +380,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 @@ -381,6 +394,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 Thu Nov 17 09:54: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: 21535 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp309872wrr; Thu, 17 Nov 2022 01:58:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf5rC424pOq9ukWiNV709okv8kOMDP4JnHpd8wlijyyWT++f1CjNTawcLCUlrEakMyFbZaoo X-Received: by 2002:a05:6a00:2142:b0:56b:f6cd:16e5 with SMTP id o2-20020a056a00214200b0056bf6cd16e5mr2235689pfk.52.1668679096696; Thu, 17 Nov 2022 01:58:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668679096; cv=pass; d=google.com; s=arc-20160816; b=bfhObaOfmGN0HKnnYP+OzZsyo3dtk43RS9DYM4aNMNXyU/tG0Ff1ykDozr8tFtu4MC wuiAhzZvioh42YArZTtGPAvEQafJf4kg/DlpVzeKEQ+QG4Qq+WD2yq0xzw/7dHtYkHTC KTlt+Q0Q8IetwBy+IwAGJzfah6BxfOzUSdsu6MzLJ1LbKCa0hLEt/gLHg1Dz4ruywZhg +uxNcd8PS2JSJ+KO4poXjO7okwMsGIprMB4++ltgvoFwjLiaPqhj6uuUksvbXjeZYOcw ptEd9ypWV6glYV0vNk3j0OWrcm0dDMNjqzeEWQ0mCLdb3KqfqAeto17fGEbRNNEgJq19 fqEw== 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=oDMUFAYBCeXdDUIF/bNjoKLWdP3q01VwdwXT3+tF3Pg=; b=rFALnS3j7z4WJgjjtinbODgQjiDwUofoofnaMaKKasWln4Spg4+1YhCKDvSWuN1zgT Ys8+8hi0LrbROkeNr5VwItuk+GqFv47S1kHcYZ+je1BRKIKKCnb+TW4rwY10REDBa6e9 hfKXyEzeQTr6d7NtsYbD0HT8oiJI8o2zeqDR6jBEt+zpa/q7a907FWwtCCVF9ULa7lRZ UFSPZpmUnWZMKGxay2FKZvHd6whQqOOxFZmhl+IBWpmZfa1DsaZP1xz/wpHZ2sImCxAk ROmN3vErYV+yLJXa0NAwcPbq6ihnckILLLTabDOA5QFbBA/iEpk8seNXhB3oV+lJQa6N wgpg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=A8i1HW3e; 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 lx3-20020a17090b4b0300b001fd7cab081bsi4800564pjb.125.2022.11.17.01.58.04; Thu, 17 Nov 2022 01:58:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=A8i1HW3e; 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 S230114AbiKQJy1 (ORCPT + 99 others); Thu, 17 Nov 2022 04:54:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239668AbiKQJxS (ORCPT ); Thu, 17 Nov 2022 04:53:18 -0500 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2049.outbound.protection.outlook.com [40.107.22.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8AEB86D482 for ; Thu, 17 Nov 2022 01:53:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lZS169kYiIhQxddpZVITcAzkrF+LF06s933s9h9l8/fQo3pjHJMx+TP2cE6MqqTuNXe4CuCqD8Y5KZiKw03vhhE8aV3kOH7RoMQzN2R2mPd4M7CrTpHZ0a+K8n7+11/Q4CGathiYShcelIke3e4toI7xD9jIv0aOWYTZMSFoYOdXVzF1pBzhe5O2KwPCOAX17fEN9szw0ng3focI1HDDyih0L/TZoqTljYXb9RaPIse8u6VRde67eVnUxiM9LHu6wEVH20nYtsmycwQ12aoIWGadOw46kNzrBbNN4JwN8MiR4+wj2T1zViQdolQgTcTmE7i3EGhxL5neAEcNwOjvyw== 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=oDMUFAYBCeXdDUIF/bNjoKLWdP3q01VwdwXT3+tF3Pg=; b=bOpX4qigiYCuS6ZXEFlv1Lkyw6CoaPywvJbUrRniM3bKPaMizaW6uEK7PNPwDtW9/WV8L25Mkh7YyDvHgo4ZyYHtABi2lJjANGrYlY3yMeGLolQq1+/svqm1vOewdHjdsnYD5arzSKah1lA/6S8Shn/HE2YcCzDy+ybGA3df4+/1P0u9JLjOPZnjXQdx0G5UTka3GKp75dCZ/wybCPjqTFqzBSreJz/qM/RiXMEwLIkn0vsWm84o52bEg0HpW4ticH9Xz8wlGK6OcSI6h9hIzrEdDIY2wFvnHY6+CoQN3N5Qw7EWQYbVi7cCrVKsV3WR1VliCXuPWVLWkFYg/UEmtg== 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=oDMUFAYBCeXdDUIF/bNjoKLWdP3q01VwdwXT3+tF3Pg=; b=A8i1HW3eKAD1RhfRViS0AcEOBcle+BsA3OWoyQH7Wb923i4rQRrB8muNTDvOrfP2nG+wFvryCOEQjpTRc4z/S4VRRijuL4UUwfEokMbR2fOCz8hPWIRH+8s0YjU+dgB2JTTOaVtjfQNp/6Ef0hFMcdRBLcXFgxaM/UUVgI7/EOM= 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 PAXPR04MB8223.eurprd04.prod.outlook.com (2603:10a6:102:1c9::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.16; Thu, 17 Nov 2022 09:53:10 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ac6c:bcb8:674c:35d0]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ac6c:bcb8:674c:35d0%4]) with mapi id 15.20.5813.013; Thu, 17 Nov 2022 09:53:10 +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 V6 10/12] arm64: dts: imx8mn-evk: enable uart1 Date: Thu, 17 Nov 2022 17:54:01 +0800 Message-Id: <20221117095403.1876071-11-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221117095403.1876071-1-peng.fan@oss.nxp.com> References: <20221117095403.1876071-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR01CA0048.apcprd01.prod.exchangelabs.com (2603:1096:4:193::17) 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_|PAXPR04MB8223:EE_ X-MS-Office365-Filtering-Correlation-Id: 65b35056-df60-436c-67e7-08dac8818911 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: IkKRD0ccdXVh1/aJ1lz75UfhRwX0wuhSL/4/vEl5kXrIWWsJKbUgEzysNNfrJvYOZVoriE8KRYLfKwgN/Vq0OmF2IZ2fRifvpcDLmKFxkB0gce+WKRdvme0iPgvINWqLVcd7k/dGJfVkLsH/7+1tGOHE2SPDc+Hpx8uwPFH1GglSSzBcxtuVdVkBsr0NAWHcR89iYGQhs0w9s62/JbpwLmWJFPTsKRv36kjKwvnQl9Bw9zYG6bXJJx0JdxLlfArxYlpD0edQ6s0NZs/tcTA3spEIWmrzZWvZngSxe9qcLC50n9mB/SXHZ15qyGcmMs+vFcicpT0SHmZuXIjC+e2leP167tsNRL6kDyg0hKUOyDlYm7VOrkn13/g/nW0neUxRU5vzsExQVP9rk8TAnu5M228LV494qCHelSsEV0ivNdDbl9KPfey3G0LmoKt2h0JiGoTJ6z87zPJePiZlC46Vx9dE/qKf8SZsLRcCVULsKzHmms8QEgkP0XcIWjN1O9Ly5sPCjVZ5JIKG7lJ0OnhDCAVFjQHxOBWg3SkjB3RLrBNfdmJ24vie//J02HuDgeYa3pHMWNXgv3kbeoN8PLEvRx+/Bei330Oj3Jz9XNWEyYPhMhCoWNoCpqoQEqJaW/mke3iX3v7LsTxjVdVpwMuGmdkx7EwLzXiDLnn4NalY9Pq6KwpFywU1MbFs0bZoN0VHKBM3g6q8vRkukHIIUHpVwM21xo3o8gXAYvXgVsx2NNFbTujraqIZRvh1qUvkGatd 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)(39860400002)(346002)(376002)(136003)(396003)(366004)(451199015)(83380400001)(86362001)(38350700002)(38100700002)(8936002)(2906002)(4326008)(66946007)(66556008)(66476007)(8676002)(41300700001)(5660300002)(52116002)(6666004)(6512007)(6506007)(26005)(2616005)(186003)(1076003)(316002)(54906003)(478600001)(6486002)(32563001)(473944003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: mOIZpwRsipTg5FdldszYoTtC5Ugud3Zxsf7ah5V90kpwgjHPsrX26eSW7g2c/2osUhL3GdH+uzT8dSAcXzP/oWpy6res8S/GofU5wTtHBxA2h7BXKqJinFLrtCC8NEhRuPXYjQ3H6EIwbTonDggRcaSHxvRmzpttI0BT0OyNecmGPeMzh4ZLxD15y4zCanwJ7HW0yqp/eHrQ3SeKF7tC0MKxpqsePjrCQEwO/FxQhg226NQSbs06fEl4Gq7Vkqd/Ha2hhCxO1RnwRyL0jQXh1mUZ/5t8p4UIhkPdZOpEd1um19C/xyw/74gAJc2QbdfS4tsUlH4yhb3xwGoESjEOul7kcPVOQEJsvH8ajKAiRSGeion2HS8pyU9NiM4U4NjcCCuBQQCiBNzj+Nj1omNlwa1I1b9rw9OIGdKe6IG6QKgzaHNz78Uy9L92uPCf4smiSUZ4tv/JbtJuz96ax+Iu6z/kwP/7av1PngaAtqq01G1pfM6Jnyh+4Vaom8S20VFSJmROZ+0eDFs26eda9Z7Q5/gRey97uaZGXXOWHwrhznI5LJra9zwPnFYXVgzHRS9VpgzQTkuv/+D+IPpDjOvrcOFskdxko3hHydv4JbmtRAhab3MxXDvO/92Ya09F2jtbsBSK7Z/pjhwc+JByJKf9gn8/i7sToD2KnEywZcIAtR/S8ET3ucdC3Pg4sLWfZdLyZCueq5XpMNTgwybmxFrl5R12nh9uwG0gzoZgtLuETiUN/LnyKH/ugdfqnFQz+LWTJofnpxecWlj6RVz/k2Pu2hxVhPMMuY22Z4pJ2PJL+s319c7zYHpbVVoehU6SFTw+9md8h0vhjvnjybMB5DRnV8EzwlHtxKvZCQXlYP1g8QDFeMdBmXJUphZ3LVV+Q0VkuXmDJOWVT0JOMxT8AC8syd+AIyp4WZLya5NKR/3bUdbV3k3Wx4pAHCgfP4+ZfZecyI1EgaoNhg7kFn5iQO9vB56U9RDi+cQ1hF0vxG6aYAFX2S+pn9sfbKNP0M7/BNl0+o6w7Q5yFFehmGtWRdsN0EuXYKXdsV8ezvqgtaZJ5MG0UXYg5pFn5epyl3iR7b/g0H7+3qbaVy7E2KfNgWFceTAyQHfLU3kJ0rS6ZTBkRjw8E0iKePKzC15yhwQWWb4RJJFsmMVpMHolpR4ip+ZDK7mWid3ToeokE6WTyJF3iWiNNjQUYbgAMXgOtrTPYQKrS58Furyx7OGkGom/YfGe8v+or5f/2/ydqpys4ZwTWbiww3JyOEG8btcAuHl9q6VwIDz254Ud7xsOBiGeixiL9j1bamdxh/t6lbz56x58eoZBppxcmBITxCTRiS2DrXUzkUVLEiQavME3zNmqgN1ibGWq+Bf+wRIxEPu6PjaVQ2A+6heRYSyXdcFCVelnL8YLABTqUXMRZF5xQiuMYEGynH0Teb22hagoCMEuB9erdVc1haKqNdnHHAiS4CwmXVwDGEZOTCY0ddNnTRE+TN0pnV49SfGAHm1cFyBsW/ECc3hiSGHWt4nkDJ0/RwALJSdTHlWfxAb3OyxELNM7ROyn2Do9jAJzKdpn4yL+zZlMS42owNnDlnZMjQ94w1IgjrHm X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 65b35056-df60-436c-67e7-08dac8818911 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2022 09:53:10.5269 (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: qWfErgrf/JGBT9qapB7XaB46jq+ejtmFfcwhNsO21UIW3m3RdyCToiMSuTBdAF6DGBIbiVzpW+d0RpjwQW1ftg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8223 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?1749736852105853890?= X-GMAIL-MSGID: =?utf-8?q?1749736852105853890?= 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 Reviewed-by: Marco Felsch --- 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 2439b91e51d8..dfa11927b1d7 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>; @@ -444,6 +453,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 Thu Nov 17 09:54: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: 21537 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp314058wrr; Thu, 17 Nov 2022 02:07:41 -0800 (PST) X-Google-Smtp-Source: AA0mqf48hCcUn4zSyOi6mkF5DxsESa4DvojmCOTpwZ3fJ8izIqZbB3J2fSECX9yQ0o1btOhwOmEF X-Received: by 2002:a17:906:3953:b0:78d:39ac:3129 with SMTP id g19-20020a170906395300b0078d39ac3129mr1635148eje.24.1668679661362; Thu, 17 Nov 2022 02:07:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668679661; cv=pass; d=google.com; s=arc-20160816; b=KWhIrm6kFJ0n77OgyYl8aH8A2ZG9K96FMetFb8Hm1xdE7sQv7YdhOusxI/eBCUKry9 L8dKNXonYQpffMRt7MF95cO5NIEAVw87nMZSTkGLt8+3LNwLZ+B9zouIkjAVu1a130ef PS8U/DBWDaFtzLOJQdpDfQn051dFfnhzI2bjZ76rer70nlisLc38MFWf3m08MedU6Jwc zoxlm3JgFswIphrCXKhmviv/i+DyPvsdmgrMQ5g7c86qkL091I3za+rOI1DTfgYCKZdW MzPCsLo1t3mw1OEhGb6mFM3UQBGL0bPWkwD78CCuTHK2lfhi9MqYFcryeqKWE7/Wb14E 123w== 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=eXwuanDyxhnNRhTSbaVzggrrQ25dhPHZstO2HNLY5dM=; b=02sRGlz85F0RMSMTnA12Di2JNSu7rWIjHuwER/vyRM9/wPvN1BiVzeBYnXIEAy2yP+ Y10uwtADnPjcMDkDCUiGjerPxmwLtZ9DRKKcwUpE0DIGwJWt7rI+zUQPjosGV+3DcdWq ALuogteKsf9pSXjZEcpw60qh/MaeI04B9LzVBL78j3lLtoPrL+w5Gq3IDmhQONmOm08T K3PLMHsFzWEBEY/mpBngrz4CltAtyU15sMHCbedZ8ZQUKRbagJemmkGaVh6tu+vYHUkS 4TNh1jtFZFGtX5WOFSlBFa8Yl/h2BrXjIZUFlbztTLXwXwN8oUpxTn8lW4bhSxecEsGo eRAw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=K3x6Xgz0; 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 js2-20020a17090797c200b007ae75edfa25si283314ejc.63.2022.11.17.02.07.15; Thu, 17 Nov 2022 02:07:41 -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=K3x6Xgz0; 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 S233651AbiKQJye (ORCPT + 99 others); Thu, 17 Nov 2022 04:54:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232921AbiKQJxT (ORCPT ); Thu, 17 Nov 2022 04:53:19 -0500 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60072.outbound.protection.outlook.com [40.107.6.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F07D86BDC5 for ; Thu, 17 Nov 2022 01:53:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FnaZ0sBZlJycNq6hyLx/YxqLvP9wiZxKEpUpOjE51nSkmT/ZQPtvbnAazJOfZ5Dpcn9V+jB+8ZoyRLwJAt44TBeXL+c5u4hnosvtO0yg/HnmRorPrKUzGJGN5eQr2Om7N3lDj8iYqP9UrrcMtdY/Lr5a+EXaYXPTWJg3Vws5RBxdDPTT1M5Tn82kPLcWyj3fHhAkG8jH7Q2RrRzWhcq37oQ4RL7XKwumqTjqI5WqWUtKO9tfpx7RValKmxhKJu3uIUe6KweSIx3cUmXzTfZFRLgqTlOP4VBlqNbDkKn5xbkY6Q5DEKIJ/L1+Y2VugUxdH6GuTwMC7zZog6N3kfpImg== 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=eXwuanDyxhnNRhTSbaVzggrrQ25dhPHZstO2HNLY5dM=; b=Hq0xvEf5nx/hPnATTP1U12lqq8PMOFzgFY08b4EeZTuHd27CsYQYByWQcndINU5Xe9+seofxeUzx3F26pSxIeSiDBkZkWOuZy/idYEdHrR0MlFdCIBbT1T+H54gyjQQRKXmR8Mi80o4vOnTO1XJjViXxo/mlOjqhtX2P93FnFpGjV1yiNTenCjuojXR0Hrs9Y5mgdrnZEACaVohX2jGBSh/EmdYc3sQGa3UnMb9d+UeSkPAQvv6cx/Cey32hhb/WCUq8gaVLxtc5b2g6nxB2EP9uRTv3aQwxc6NB8XtyhM+AsFB9TwTrH+2ig02t2KvxNMWnQxa8jxA0peCukqMC2Q== 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=eXwuanDyxhnNRhTSbaVzggrrQ25dhPHZstO2HNLY5dM=; b=K3x6Xgz02BKTzJGbLYgnafAp33UfrdaS9Q1psLCTq/2tc7W6ERzrvztRXaBrk9ubFB+VJi66EqzQOVgk78ly9rL+saVKsNGEhpnmifta/5f86dKMnnMYl/96bvB1h5DYMvWpmMGnnuEx726u9EsrA28ela/IpUnFPhxycBxlCxI= 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 PAXPR04MB8223.eurprd04.prod.outlook.com (2603:10a6:102:1c9::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.16; Thu, 17 Nov 2022 09:53: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; Thu, 17 Nov 2022 09:53: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, Haibo Chen , Peng Fan , Marco Felsch Subject: [PATCH V6 11/12] arm64: dts: imx8m[m,q]-evk: change to use off-on-delay-us in regulator Date: Thu, 17 Nov 2022 17:54:02 +0800 Message-Id: <20221117095403.1876071-12-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221117095403.1876071-1-peng.fan@oss.nxp.com> References: <20221117095403.1876071-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR01CA0048.apcprd01.prod.exchangelabs.com (2603:1096:4:193::17) 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_|PAXPR04MB8223:EE_ X-MS-Office365-Filtering-Correlation-Id: a09e58d5-8c30-4496-dadc-08dac8818b22 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: yIHiz94C4pKKx6B/1ROb+r4+gIbMBEx1UPUQyQvh6q8lZ+QRHT0ycr2DLajx44GwjGRAxqJySuDucfpNf0Zch7DrtPnCMashd4lCVbUhXA6KlP0FbTY7vBiGXEVTLaJFL82FcQzPQo1DwNlhssMTdk203NRUhpTj3TiKRjfEeGTtFMt/sSAt12AP5WHJ13Visqn5+XJIJByaps50i/OHaKGNWpx6ZQTWqAYIPYYxZS2w5EQGbjW836yMNKPje/6Q+Guoy0VN3Q873fzxu4ZoYL4mWaqbC4blSxz3rlwcGsgnjylKa4H7scwrTtNLr/49P0LdfouSLsOFYs1dw1R2qPucBWQ9tbA6NQUbUBGM1SjtxsmvEDifrYXmQ7+hPz82ora1Z7qNbB16jRJCgFQKUYv/WYbi2Ls2a85yKMvJDEJuTQ4VHr5VPvmNWbeQPwoL3ortbkYIoSJNkC00Of0/sn+J1AHLswlmuW1GCRBKGudJmxG8zzm2nMr7OF4EfRWSKJC/kDZSK0zd6jOaYUP7GYOYZ9tvoolYOw0H+HRzzNmbl47LfoYKizF3Xl6xh9vUOzuI1IjcCtws0Z/nSn7qXXO5UvCecpQHoO31sZ+jYXRHCYTwLBSK4oCc6PJy8it7W7HyFClMk5NPwm2qtK7qbSd0zNQpJSKiYHk9qsmfGfp/soe6J+25WkW+V6Th2CnCzw0/swA5qE6duNHx9MN8QpF41hvQUi5xA7Pp9yI1DBQ= 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)(39860400002)(346002)(376002)(136003)(396003)(366004)(451199015)(83380400001)(86362001)(38350700002)(38100700002)(8936002)(2906002)(4326008)(66946007)(66556008)(66476007)(8676002)(41300700001)(5660300002)(52116002)(6666004)(6512007)(6506007)(26005)(2616005)(186003)(1076003)(316002)(54906003)(478600001)(6486002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: hFBwgTGheLmwrSF4nYjvsrOSI1Ku68XU2wz6h1Wks5M1PL0y1l9z22glMHGvLZj43PYwDBd9BKpbgy9trM/fhNHyg4Sf+hy7Nim7ao0yEZAwPg14bt4vEd0C9gigOjbS7IXLUUT58DE+tdk/9DoECTUAe7oRnXXf153TxSs5pVRSmXfZOIKKXeMO9ecHsJwicMveRutL7ACtvxjth2e9W/PvC4O8MR4SUb1VuC6pk4hAzzIVBr6Agy+pOuq+Ct3enkdznddSrCnW2DwRCwKA6/b5gzHvB0+h+EgMyK+RB/dSs+4zDDw8+sWAOuSkMfdM+7WXlzdPNOBLwfd54RFcFj6mfw0K+GSZwzaM1qxAzjLd1Nj8T77IhwhRReYwwIbztFnlR4lutWfSbc84jkdLip7ko/IO5DVREQ57RNKgDY8r83KfRMI1ziYGJPnMDd8f07IoNO0KApciLzx/DTT41jpOBx8gsZeEz5+P+YzC5LuvEpWaDtmHwgrfDk8IBK4BstUNVFuGdwlZyRE/Jd1K/NVj7pvkc+YijCE2FYPf7zB99YDvGDosed7+TpfOtniJFvO3DwduIgcapsS8Qnb6COCh9XB/5DqFAGWVQQUTo7inzxAlzZxHzTUf9245Qp+gHkF/91EW7YHjhckpTYI6Kjf0QeVAkMDt83P4HmwJz0v534HvzAlAmQ/Yc/bV2GVAQwFEVLI6td8mGphNDmGzOoMIhuhXAt+RkldUFOY6q+/DUKTif0qwB+b/N2EnGgMeB772XbcefLVPDxBJoQhgfHGoc+o05eb06wmzlIVX+sHCUSq6QWqB1n/ID4nIJDGVZeraDjtEn+WzUGXZ3xry9XClW7eAowW25SWHuNgBDoXcpVE+ttv+CK9j9kKG9qVEzEd0TK6V5GsQAODXs59vTv8TJ2AsaChfqpqC7HLaKNzlJqmtqU+TJAPvcPSj1PMXDfYIfU1THwIdS2x2M+D3++Pjg7y8ladyTNzYbQBllA/rcuxiHHCjrBxIMEZSlUsM9FEoYDwzQMdOEDWQS7Xdth0TrfryvLriRYPmNfR4zfVP0JmU8cSaVRlX1ffhnRkJTaWmTqIgw9BUtAxhM7Y66o5cme7J/d6Qsx+R+T9ge1HmDxfEBWMQzk8n39OlxceOSp1pZDmr0mKVXajtVI2YpV/iOgMhUDAMzCeuiIVBnFcHAumaFcjztKZcHRotDEqQxawzn01TqhBwcOjQszrTDrEXDMkDdFoYpur/QKpGwDeKHhHs1qPlsj1trFjZloJKpOFGa7eZAqzzRXb+l+NUUPHNEcErcSrlBLdG6BeoLNEP072ppdQHlvqAl8s5XLxod1qzK17qpjheG8CGM9+PfO2HdA6BMbvKj6AlO0HQqKd7x8GzXClnzfNrM1v3oRsi4LKi8BaaSoG9OMdq4oxN5/z+Pq5yiCpd/ZPfHw/cKZJIfNuOLew6bY2vcDUhqQyJd7NcMI/rNrahjfhtvh7jNjLL7CyQn7znqhnFLMqxcCQ4w6gbJC3DGK2/3C8ziiyNmVxTAHe2xvd0t76uDWwK/cmJn7V2q4cKWZf5t+fhMPy6HYyTfdnAJL/MEz60ceDT X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a09e58d5-8c30-4496-dadc-08dac8818b22 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2022 09:53:13.8718 (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: C/B7FtcePLDbaaWK6A7n1QaiwtVQItlbw2umJ5q69QC4ST4av+HWw52EcN9xEcStWj738/tkgu6ETTXLpGni0Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8223 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?1749737444619222949?= X-GMAIL-MSGID: =?utf-8?q?1749737444619222949?= From: Haibo Chen Some SD Card controller and power circuitry has increased capacitance, so the usual toggling of regulator to power the card off and on is insufficient. According to SD spec, for sd card power reset operation, the sd card supply voltage needs to be lower than 0.5v and keep over 1ms, otherwise, next time power back the sd card supply voltage to 3.3v, sd card can't support SD3.0 mode again. This patch add the off-on-delay-us, make sure the sd power reset behavior is align with the specification. Without this patch, when do quick system suspend/resume test, some sd card can't work at SD3.0 mode after system resume back. Signed-off-by: Haibo Chen Signed-off-by: Peng Fan Reviewed-by: Marco Felsch --- 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 6800d923aa7e..3f2b0ad51e18 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 2102e9b57697..78937910f403 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 Thu Nov 17 09:54: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: 21539 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp316031wrr; Thu, 17 Nov 2022 02:13:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf5AD0IK+/CIVDYFlR8Xf9SYEt821wY/479P5Q30dFuwYnVgAhA43xI5Hzt5Oui5vmFyFrEV X-Received: by 2002:a05:6402:ea0:b0:463:a83c:e019 with SMTP id h32-20020a0564020ea000b00463a83ce019mr1532175eda.253.1668679997417; Thu, 17 Nov 2022 02:13:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668679997; cv=pass; d=google.com; s=arc-20160816; b=PTgQIDSFBbv2SmmagrZQ1IcwVe/FtG1ypVmMgObBFyTuE2gyWkbnPc7CWunTDgncXf HgYiWIJlsPi9/G4FWyWMXDUaxRTqwQnbioCPFGTYl3pRSsoSNI5vrki/F4w65IiA4FEl OpZIUJToWbX7GBORgkeQ4ueJFqsxXRvC4Ftx7sLFeQ5iOSFSnFMGzzokBHDepd1JOT/s HWGPMsBphGG8WMFb9CW6NlqBDncofHt/x4h3T0Y7lAVHRd6x2xuAECzys3anhcCj2Nq/ sQkJzfAFf8aigpFrvU76aQnfJ4+spPS0nboBCH391ZRautrqHKe/nHEsUFijKubDEt9y aSqg== 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=rNa9aMDSp/BXLWQWMde9pU+d/D9S7E2mtyCAZ3YRlw4=; b=cgAb4Sk/X6+NRATPCyqFuFJ/t46qwIlqabNjJxqyzGN1YqaLWkq6oX/EOtYTcf2Z+B i2fa+5HojcWFmzgnisIPoaRrSMSYgO2Y3g7SVXVB5DqZgEPG7QI15FOTeSgEWO14EFjy 39NdggwNujReFEQHYIfHIXBHZzre+H23X16eQWLyBjK3WFAATRkCNNPFuWR1O+rqmhN4 l8D+rL0KmyiFBqramwaHBphzslnQAatyQYov4x+syRNLBo/XSWs4Qm3Utf5G72jLGnKm ya5uPznX228KehLNK6a0Pn7cIP48C7JmzmssUOHK3cVghYwj9uTtG1Q0sKOvZA3KjJ63 es9Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Hzst8+QU; 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 sb7-20020a1709076d8700b007ae64410b4bsi249888ejc.741.2022.11.17.02.12.53; Thu, 17 Nov 2022 02:13:17 -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=Hzst8+QU; 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 S239280AbiKQJyy (ORCPT + 99 others); Thu, 17 Nov 2022 04:54:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239291AbiKQJxX (ORCPT ); Thu, 17 Nov 2022 04:53:23 -0500 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60079.outbound.protection.outlook.com [40.107.6.79]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B50D7617B for ; Thu, 17 Nov 2022 01:53:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HiMzBZ+M2R4nCVg+uypFbVzzIeaziRn7T8idgBCGtT+pzOwG+n+FPTdLm5/W/qgTIQKUe/hXfEqnZ4ZUubFJleY3U84Lg0eRTWuKdts8SnKItuY4z1USws2xxyJrDqwHdO+Yo5dOW/t7tXGq7ajPQMV2wVgXnmtyHYn3ypXEdgs63NL/A2+28GBAnfJV/3prq98QlhEVNMswdE6VZi0zoIKJu2Ctm9xR7Oxh6bZWPv5N8uhpjtdKuVLuBjosLoysWZeNVWaJ/GwD/rCAn3BiOo2yIwd+Y6qI4ekAclu7xa7HRAdBNcWscAKN4Th7U1IQyYjM1saj7p/Ro2ttS2LuYw== 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=rNa9aMDSp/BXLWQWMde9pU+d/D9S7E2mtyCAZ3YRlw4=; b=MTYQNisKuGI1CyHMINYMiI7G/llpIyFMvKYgiJFFfAGCW2KehkATMev4q+HJ0jVy01Q/TsHADaxki3jf6EPnMIkBBjJN928wBzdYJzIOkCuqFecgAcQfD0jblZMW9wxUob0250Pa3jrKAP+L5S0wFg1P7zeOBfzAWv/McxmjhWl+HQuBL5uWbVGHBuCog9R6Yv0qJzkG6eJhqw7EVhnuZmZhZQfrwqOGqMT56Tug1M51UsW4M8vMdS4dAjufQxme9G0OsCjsAMir91XBJx8FuqUy4fg8MFPnrQXARxSAUQlPBjegJCWUdtkmV/y0eBg8fFNiyFdds0IswEVA92l2Ug== 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=rNa9aMDSp/BXLWQWMde9pU+d/D9S7E2mtyCAZ3YRlw4=; b=Hzst8+QU344/ye0GcfBg8a1dsSaWHzrEShaKIrk94lPQGdTqtHjFFc1XvjFG46/j8U+GEDMj8gTVuWzpaEeCzWxAPCAyXttDkiQj9fy2OQhZ55wQLsEwGbUi3RZyuSOitYLx7+ztSnPxuv86Ac9eggZTm7ldoyN4NznrRpslhCU= 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 PAXPR04MB8223.eurprd04.prod.outlook.com (2603:10a6:102:1c9::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.16; Thu, 17 Nov 2022 09:53:17 +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; Thu, 17 Nov 2022 09:53:17 +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 , Marco Felsch Subject: [PATCH V6 12/12] arm64: dts: imx8mm-evk: add vcc supply for pca6416 Date: Thu, 17 Nov 2022 17:54:03 +0800 Message-Id: <20221117095403.1876071-13-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221117095403.1876071-1-peng.fan@oss.nxp.com> References: <20221117095403.1876071-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR01CA0048.apcprd01.prod.exchangelabs.com (2603:1096:4:193::17) 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_|PAXPR04MB8223:EE_ X-MS-Office365-Filtering-Correlation-Id: a468b292-2de5-4ed2-c975-08dac8818d42 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: VkZ3aLW8myAgd5Cu2K1zj6scwwUczsb8ixiRmtH9Sg/W/S16yYbLrxMIeapZ/kDO+uX1+FDymRoqn/fSghC63y+q9NAzIvcLL7HEoFsavkX9706MZRfcDxd1pQUjJu0J5LbKYUMkSLQ/fHicU0Vl10YnOGzT/hD12GrfdEDZdEFu1v3IvsJcIUugREdhEcXKrXzYiZ+fAhKWGo8mFIaLy98xfIIbXETt7KnhOS4v5MH+TBe1lcm89k7tZ6GqZJXZBUV9JUKLkntk8Clgs2x4ocgCCZw+HnDr3u4DBH2oqORAbO/3IIgg0fe60+Qac6myr43VtQxJsFsteW1qR7hM5s8htnuNlArzwr7lZNqKCNyXgYLpmLjCnR2462IMNxrqhyr26gkduwWfWkk2JkktD9SOQQKBtbYULP0JZ4F533YNsY+njV053a1c5EZhjxBrVrBbDsZt+oLpFgLjkH1LSWXimUp31sQr0+163wsWDcvVACHTksOQ+5+zr4ZjVBownTUkd7hsYUw3qVuyztg0A8IUW9b+QQ/9x8WvgbqgB9HiIyx02V9l/QvUBHFWLl1gxdqCDGh+chC+ep/9eXKJMk7smKyvxEHRV3xPGej06zZawQRkK7GVKp1cAKs1kWnA7WUEINActhB8LGkCE350IExa+6fxX0eaXlXmYZIq/yoQYFrxvQ32+2L4Pyy4sbLNETAhL4JKe663zE45Kckyq9aH5d7Yjc5Umwes4+zSbwM= 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)(39860400002)(346002)(376002)(136003)(396003)(366004)(451199015)(86362001)(38350700002)(38100700002)(8936002)(4744005)(2906002)(4326008)(66946007)(66556008)(66476007)(8676002)(41300700001)(5660300002)(52116002)(6666004)(6512007)(6506007)(26005)(2616005)(186003)(1076003)(316002)(54906003)(478600001)(6486002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OtvvnwZFShWglF3/31G47ig/45y9TdVTnncqgNA9kkKQNc9IpOIQT7DX2EO4DgMN/kM8GHa9/qg556oO9vm3rcQu2q4wvLZJpmegHIV56kmlATyukAt0IpuNeY5GMGHK3NZfQv73IwjBkBmqoIdGLylW/2/LNhqHmyPJfvvGgDMZQZMO3Q1rxoL7jY66AYM7roVnGmK9qZMLe/oSAiZdlUrLEQ8E7DIanoK+0W87v9MvHjMTADid2zetjytSnoV+DTlyK51GOg72FS1hhCpS12iFsvfp+bA1UghZ1wGarp99JTVzzFk7+kxG1M/1bqKXPOJO5j2pm2+slMuMDGyN75f/Csmf9nlESbGQJRKdakWAz/ikJlUEAPEsaf0ZuireL1Eupyellusc9HAf0S0mvFRf7TnJN7siYzoqB96MKVh11q7z7PVCDkARDkWbuCprpDfiiQNtcnEKlVLVYZxWWIEk6C67XnmoF4ygKR1/Yb/0Rf1tmoPCE07U+su0CwumEkh1okgCfAcMqOf4OoNovxYu7jUVrZqump5MYD7jC4l3ZYNLs+xUKHIwxmsXw6JS50B83Bo8dASTToLPVXEvW98cBqerDgYyLJufbHxMpIBmU6fRNQMjwMLboq59MbpymUQ2qjI2nFx7qPusRNaJQSqNz9AhUiBFJE7ae2ETC9ESD4QKKcB65rg69vjqga49apx5EkU/XTUtjUMIHzEfuM3xyCV1v6CM6R4F5f80+SqRIvFs4gV99YSmOZWfWMw9x2qXBnLkRZUeWfcgqvHzi70WFYiWmAMJe6SUWRBOgAZRlu40pnvKRWs8M49cKhg0iY7MXczMunomc5qgeEgEx6FZiUko7M6ZDRcqP1StfmxDvUNuS/BY7ki5DMdtEDH1nL8koABwIE65/vISMf2Hea9y3AM/CTyUI1h9HOcEjG4Bcp9MemXJK6oylYSgDxTU/+DoHfQGbZAEsmOJ+8eLcFwz+d6G1nb3tB1F8DsNtWC998g1hr7hk0JjKreZE5x2ezZD66g1HyOERV+bVz5OuTvqEMN5uWPeo7QIHj3TohOF0Fp4Fvx/Wz7QvllZcTXhpal3M38dH3r1tj8cp5GJA/C0W1mhy2u0GJ8+NMCfhvIDsX+ikyBewuz0XE3pikCTnm22pbhGclrspj9nTd5LfaBNdb2UC3FStIntXCsYpqCml9fx0fHogOJLeF+a5Yij+TKzaRCj8x469H8XOXSqRd8umc8rkuaqwpmOB+3OFLUqGk4eXKThaOAafrwjQD+FSZNshilFWSD00p23+4DsHvBcWQKIxwCSaziHGNPjHUT2E8ML7U5r4N1H+2u3YQvVqYvdBJmAxot72k/7d8iHNyQXEjma5tGi6MEgcZi/+qU17JuOGMLgrcmdoFB9w5PPYGs2QM+fBeGyBJKb/iSKFSKXC5gYMadtS+ixLfhvBYvmwZErCupImjjPir6lEWozoHhsBCIYk9JFKMuQ9ABVCJlUvp+xhUBQmDfnyuned1DYrSBjGStkDRcxpZ0Wbfq5wP3wymLlQtxgl7OWurayPQ7ONVVSU+rq9CYSUU/NuY/cqiCGujEcwCD3OR0ZRaqJ X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a468b292-2de5-4ed2-c975-08dac8818d42 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2022 09:53:17.6242 (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: LtebZeLDOsCDxL4czXKykkRZ6hGB2qSpTymeCu1C+QcbK6vYsrgCf2kdfSKkwz7EwOf1BRVuKKt/vWPPbPL22A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8223 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?1749737796475901191?= X-GMAIL-MSGID: =?utf-8?q?1749737796475901191?= 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 Reviewed-by: Marco Felsch --- 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 3f2b0ad51e18..e0b604ac0da4 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>; }; };