From patchwork Mon Oct 24 03:13:37 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: 8130 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp228093wru; Sun, 23 Oct 2022 20:13:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4BR8psmupFY2NEiQEDF66xYjkjBnstE2+hOJC/B5KRehyI6gZkY2gjhuBBc7kntC+xlaaH X-Received: by 2002:a17:902:768c:b0:186:b136:187a with SMTP id m12-20020a170902768c00b00186b136187amr879904pll.94.1666581229637; Sun, 23 Oct 2022 20:13:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666581229; cv=pass; d=google.com; s=arc-20160816; b=sbluxMnTDGfMd2KHsVCQh7vAMAVNiR3HXoSFG4CuXOwAx4WnRGQuUd514gzfh3HsY4 Nnct0XHwply8sLCf1tDN/l2+YhbXFNqU2NnyR9u+gb1r87AaFYbwW5gu8QitmddwiYWM g3QLkvLFvQ6WXGDKGliTEtJFH4jxMe2BzCp0gE1DHPHDMY4eQwZ5cHWMDq6R+Sod9foO RSOEzshDMXx/OMulHALszpV0Hgg34o7rtdkUhHP3l3xMxl615oUTJ44uvWOv9AtoVBvH f6rteq8Kg96nNl/rDegZ/b2JerURvnf6XAL9GByhC+UGDGWUuOsPk4ns1fEPHdi9UP59 /gzA== 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=jaKk9v9NHxiGNHXzfunETX2khyjIAOtRmRfe5+2fd8c=; b=OUU5Hyp9Dl3jF9FA0QQ0aM6/2kZZBJvtINuta2pGp+TyC6E4xdzD3KiZrsjBM6vdZu oIG1DYxEfyPcadui7wbYii3lhlRHBu6Sv8Rs1MUD1zzAROgcFwesUVGxEaE0dcMmfm5H qwjBaNcKlZpCdUMaCUKNj3xsMfgtqdWe9YQji1sn2kUTYRnR77Mi2gOcsnnV9Q5U7kOl 8MHgF9DALYQVa8IHZd7uGbVpBVgiGdQpDFufnEZBY1/l+yCIpdWz/Sm8GGYDTfXQGh/p DlPFZ2txKAMRym0Tp/a6fJ8S9WClKuagsOFZLBCCWjkCDwRpUv0Y3KaOVoPwnqYaXdLC YGYQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Bhq1Ik3H; 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 v12-20020a63464c000000b00434f41f6981si33208136pgk.360.2022.10.23.20.13.35; Sun, 23 Oct 2022 20:13:49 -0700 (PDT) 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=Bhq1Ik3H; 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 S229930AbiJXDMe (ORCPT + 99 others); Sun, 23 Oct 2022 23:12:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229889AbiJXDM2 (ORCPT ); Sun, 23 Oct 2022 23:12:28 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60042.outbound.protection.outlook.com [40.107.6.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EC37631F4; Sun, 23 Oct 2022 20:12:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ccIbZhXaeadGR74OZxevO380Y8oHeM3XCy24Gz5yLm0tEqfZmQLbofurGNQjAj/WaMe+rONM+Lro+09A8U0LBqQcAQrT567/MDSji8iq0MJGEnS5Gpah2TGOhO0URasNNjDAjzqGQvfsr0s/+Kj7q9xr5GGM+2GLgd49YyCzKCf+gdsGbHjJOUfpilR+3Q9/NL/UK7MyNVXncytCt60sTloWUltE+JBls5tYSjMegsGSHIM3ga6yXXc7FNgi1MmpnqvfekEyYphSdfOcPlZhhG6HM1tMFcMq37K60o0yYAFn5brcjq++Vx/qj16sSGcBnfyQC9eiA0ZXz8Mh2UGfSg== 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=jaKk9v9NHxiGNHXzfunETX2khyjIAOtRmRfe5+2fd8c=; b=jd+yG54e9dG5kaL3LL5iQfPvx4yEAbhsJd8/XWXjthxN0PcNx5dcYtgoMe6z3EqRFRvEplgM6xCXVOQSlMIS/miu2dpBdE2rNOeJ3jWgOrSyhttEZeZe9x3uOn3XJGwtlryo9sOPOP3Sem33Hr5ym4ziBBdEnPqKQSvk5oKZf0N+rA1rbEutGoCVccpZRutmu/bfShSq6MH8pdPvkTPCZZJM48YW9lAdAhFokx00E12gb40+JmGFRwg+FtseC8CsC/AkxiA6tK8M7LL0Ryr5HM4Lu2wl1dapWWW/QngTPfx02jbhx/TytcxQOTcJSPmCI9gOd9YoNJXlalb1uQepCQ== 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=jaKk9v9NHxiGNHXzfunETX2khyjIAOtRmRfe5+2fd8c=; b=Bhq1Ik3HsMHsr4Ox4Hv77PXmgO/2vWH1pgeM2nQkhFFrsNmxKE3nByZEMgzQNevuffydb4uKSk5oFCIeUSqcbWmZO82Hv4A2nmKrtUPdyqWkKPXA9rl9gS2/1dV6SVELjSli8ntmUFB2hTFW2tw9mjRz8rQA7eqz1pg0utHND5Q= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) by AM9PR04MB8340.eurprd04.prod.outlook.com (2603:10a6:20b:3e0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Mon, 24 Oct 2022 03:12:25 +0000 Received: from PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85]) by PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85%7]) with mapi id 15.20.5746.021; Mon, 24 Oct 2022 03:12:25 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH V2 01/15] arm64: dts: imx8mp: add mlmix power domain Date: Mon, 24 Oct 2022 11:13:37 +0800 Message-Id: <20221024031351.4135651-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221024031351.4135651-1-peng.fan@oss.nxp.com> References: <20221024031351.4135651-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR02CA0042.apcprd02.prod.outlook.com (2603:1096:3:18::30) To PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9416:EE_|AM9PR04MB8340:EE_ X-MS-Office365-Filtering-Correlation-Id: b67a529a-abdb-4185-ddf4-08dab56d930e 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: kgY+TLcfw7QrvpNb47D6XPAknwoiaBL2Yp5Mq5fvNE7w4AaxmS7DMi7sgMc11+fubINebRNhiraKrjAAp8HOB5PNAFXkdSplva7i2zb8+owrFXXG8LycpSo68U//6RySazut4lzoszgs7roofHk7yU4nIxlHjWPi73wEFVGRyLDVUEs9lc1S50D3lVeAbE65NfQM0d0vBayiEk/izO34dQzr8fCw9BCDYYZBZcVKajgl57htj3X5PIJpIBZiSQHq+OZD9C237iznshqudSNIyi+s0MZyUfbpmmvQvqapLwRcMEFUjKid0gPiUP6Zr1DLgdoDcExRaqbHo77gaqJ24y09O9B3MGCdYCRFiEdHyHpUucsdlMFu9MaQrdOSt7z3EQV+l+idxBv6/gf+2aRTc0VHpkN513LQu/kNR/c/tVG5gXtrX/FnDs/r7AaEtrfvuipIzoDWEUy7LyibzokcWOAjCoZTQ+Dp79XXxgw7hzFEDMQOaqlYa2JrR+9afucPdgwhEjTvM4dXwt9O/4NUJ9VX8zL34eSp/ejcDgrkQHqY6LPj3gAwBUd1DGWJLCBPgeDZ01K4vmWnR53H3/WQL4M7ZGg9TKNNUtIy2WI87748k6aLCwR4/IwShQlHJRkyDSffIBE1q4R6CRE8UT4k/VnVVUSUlEzQVFylP0uilGT4WQAU4N5nBd5iyk8m3cC3Ahai/hISIGInU5pzouasLrDCwRIoH7xNEU0bEyWftFAN37QYeeS2qxVB4GGLMK9Bl4a5j777yvjLow4iSzN33y5uYkLUFrlBYSmrZz/pXlo= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9416.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(136003)(346002)(366004)(39860400002)(396003)(451199015)(2906002)(4744005)(41300700001)(52116002)(83380400001)(86362001)(66476007)(66556008)(66946007)(316002)(4326008)(8676002)(8936002)(5660300002)(1076003)(186003)(2616005)(6512007)(26005)(6486002)(478600001)(6506007)(38100700002)(38350700002)(6666004)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: skGBGE7Rjnu7on/L8Hhkiwt7nkRQdSgjnj/Kie66Jh6klVKYRUJr+1WXPG2d3lZkzZg8TItXQZ6WYe5e4SUKdkPUePP87sABMkufeRjf6BodNCUPBWG85hPMoHzvmKZmQj8fp5vVBILBAkuXm0w6eyiwakM5umPZbq2F9ZZIV1Y62QmtZ5wUT/5JdwyE8d/MfiXvX7L0VfZVFVt9CWSF7tyGHX372pmFdMoc0K5HIRlt3CuOF9ZrRrZkPBo0QgDHNOYA5faVfC10NnUP9nwsS42bgfYdEib2DJLsGSGzGjFWamzW4OFsBDLAzkEXGChES5PFfRlqAD4uu0a0yhEgTp4YSM9C+P8WvlZVDotn4K+q8sxI5PzO4VNRN3DEZmH/E8hNcF4enYveSEd3GJ0zduJ1G5nhBxoh+XW1+cxGZiquY3YDIbHn3v211QpTpr3r3w1Rht+KZczd3VSsaaeK7TqD7ea8VsjckcEL7+U9xeb7kJsv+ZOCRwqPtWSbwHXQp1ifQDj7l7nytBkF/3rap4BO+chmiEsAXRRcfVJt8GsxbkIOMdihrKokGnuZLDpJaH2yqKj+0zaXSDCwnaxxas2pjfOOySGsZoejutx3dXFq3Fmw7+4rvz3bmpRoGY18JdOUlmF5p9EZ0DXuIAzxc132kGwEjDaeQ0d9dK4V36/e46PiCjAplKHQ3C2HHVVSHouS4C9XJ9yB47tJy6slABU8/y+0Iuqpg0uGpYkUU70WeXgV2UtQamRKJ0PuYPhrKdlTETHlb2n5udyuXxIjTu4+6VczMeAtgRLiVKWkfiTP8x+9jVEg4Fk9nX3GC3oUCgJmNw5VvPfqbXJhpKYvs9LTN571vDQU42bQy5chNlOQbHm/feaBf4OS1LyBwUebYAdinfTbGGPh65352l1daw5OcNfsW/cYjFB1ce8aVy5s6B+1mwUWRH3ZsrYDR+y70wjQw+Q94H1uIIC/RvS5ds97gnirgOUhWDJ5cCq7wdhVyeKoH+fV6d/8XO+1LzJkmnZjvxo3wZwRhOWzIKF18Uj88ftKF556MkOwFh016HOB6AKVhqC+RZvfJ3Xee20kZagV+Dq2C2oyHsEw7rttQOgs00cP4wLihsuZexsQ2O19mkunzhVfXFYxeVpJVNo1XNSMjrpD3qgFL92k+xdvYAhN0fG9NmMdLnSQBV+FpDxoIfjGTtNn+9uLSmyDEclfQWLHFpIBMIgexsDXQMXowOIDMkLQLhThUmLjd3KgMicJ3V5qoKPCNNEcxsPwDQ+B6Omt1VgOkulAIIPbkPsLL5BV2BbgIplitSWvU2BgEYBdYJKJf3Q9I1KQ4GBz4zTztfhmkW95ybO6buBrH1agQgDnxOl7IUSXEx4oYDVWN0DSERKDth4NE9EmoLyaBmM/xPN+AVPq+8Cg1hdfNLIzxK3/EEBy9iV0MYA3N18yDFn7lhOgOhIc2au2evRE8ApN/VKVxt5jwOLIDGNV9yZZIlCcg3xyZdJD5oJcBn65Tg3ouTcxRhh06eXshhxBQIVHwFdqaxs2YunK8ub3bhDH9iq/2ufo9iXlcO3WeKqcKfdrOK1X0DvEruLKfh+o7/7W X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b67a529a-abdb-4185-ddf4-08dab56d930e X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9416.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2022 03:12:25.5101 (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: GOoFPmewhUiBEIKse8QOXLIJI18zS5TJhUSya2C+yC85kDHL/iPbu5xOk1nunFn5A20A8EiqMxZwGLX5OwrNDw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8340 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?1747537079452936121?= X-GMAIL-MSGID: =?utf-8?q?1747537079452936121?= 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 bb916a0948a8..732a87179edd 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -631,6 +631,14 @@ pgc_vpu_vc8000e: power-domain@22 { reg = ; clocks = <&clk IMX8MP_CLK_VPU_VC8KE_ROOT>; }; + + pgc_mlmix: power-domain@24 { + #power-domain-cells = <0>; + reg = ; + clocks = <&clk IMX8MP_CLK_ML_AXI>, + <&clk IMX8MP_CLK_ML_AHB>, + <&clk IMX8MP_CLK_NPU_ROOT>; + }; }; }; }; From patchwork Mon Oct 24 03:13:38 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: 8136 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp228468wru; Sun, 23 Oct 2022 20:15:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5sviSPPp/2OTerRXGnJZeGjMypwa0WJhULjHu8pkRd7nLpO4UXM5SWbAZjY4thpCkWJVlu X-Received: by 2002:a17:902:f64f:b0:179:edcc:2bf4 with SMTP id m15-20020a170902f64f00b00179edcc2bf4mr31466519plg.70.1666581305232; Sun, 23 Oct 2022 20:15:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666581305; cv=pass; d=google.com; s=arc-20160816; b=0+v3lk6C31BS+hJt+fr/MnqjT/Wym4g2+Msb2+YlABsLa0LA7UCoAdtYiChvL+WjAF rS5Cjqlv4dlQmYl2nDUqFHKeA/a+6LeHA3VtngMOx1VEMEmRfhtVo0oKxdhiPr1ho8fO Mlh0alwFVrBA19WJi26vrcbUPk2BVtBj7dsd+dYYftLOj6y7mm+CfCXTIZ4UqzSXK+eS gnvtXcx6iAxkHnmGphRVHgoxwbhMD1/aD4wNcUfs/zbFZ5SMNuNN2FetKrE/1NQAu2Sb R2wAgOobFabTzKNXutteyFRkbzdR3aBLQgPmVSJQ0M+dFPFVJDjenKuNa+nYmJX9xxc9 5nPw== 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=LY0Rx4VByFGan/YiKtlgFzqM94uUgJEZrzhUq19v7so=; b=BikTYoAbuDOU/Sd1JO4sOCa4qge5LXFAmH3Nfu4eV2v8WAFVYJcUgBO1fyB/3GRUJK dB1YZmwDykHG1zUTNVbcgAs85EphYkrjXKmNL+26g/wEH3wc/AEYDuup3ok/0eCwIV0Z /wZfQslV6irP57DMMMjhxwWtELSVwdcb+SlXxyRyrWrgL8++jX5hwl8coXvviHztJi2I w+5C4tAZpujMBwDJ6bHwOo3Jg6fK4d77rUKXeSh1XT4tqWto95Yn9NrDK/88O8T3ie94 OMQWJ1ynhBlronGMUeyNXVrWVRLuBxVl0vaHjIB13A3rSUFMp0iVUVQspGdq6fPBxei2 hkGw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=DO4JFfKC; 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 lp12-20020a17090b4a8c00b002130f4827afsi2309506pjb.87.2022.10.23.20.14.52; Sun, 23 Oct 2022 20:15:05 -0700 (PDT) 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=DO4JFfKC; 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 S230022AbiJXDMk (ORCPT + 99 others); Sun, 23 Oct 2022 23:12:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230005AbiJXDMd (ORCPT ); Sun, 23 Oct 2022 23:12:33 -0400 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2052.outbound.protection.outlook.com [40.107.103.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D32E46B145; Sun, 23 Oct 2022 20:12:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Syb5Yh0vvL80+RA9l6MNVM5p/wz+LHHypFIhvq69OWQ1zONYRiFsvVXDzmnG9Sl+aTBdL5riSUERjBezFq+XMgt610efMqFrqxr63PzUKWK1EjIHJd9JJBJlywL6kBJssNkJkR0eA+L7Ycqs4gxYjObWc1rHgTqCl0aOdHVuywxx8ysVbLczPbB4ybCbAgVayqabGLygN41q7PAtVLranzLC4E36WLQxDEWeG9oEHoyk9GNUiNRrZDF5G11+GmPqqeOklpK7HgLaYiU7CnA6xlxjE5HpVmalk8xxs216cohb6rL3n97xrvLqUim5eirvPPZ6qripwibnYrSGq9RZxg== 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=LY0Rx4VByFGan/YiKtlgFzqM94uUgJEZrzhUq19v7so=; b=OmlcCxkKqbT1JjhLbEhdFaUmQJ8UtYkdtw2NFkH3Uog8vjmkKs8twfTXqzK5G5T0YeLoTpjot9hIMQV3PdbgQrLHqLKYvDF3Jvkrk8kvTO+KAw3pLk1aKZv161R8TpOm0DyP8+WAO7MXFotbRgu8zP1tEyeL7PNMOvnHsaWa4TjprTFuSPId65wouYrkUa5ngd+uTLfeip7WMeLEQPPeKI4eKTnE+DTwuWj3TM3hi4w4AEcubBgyoyvDKk0YdQRt6RTrSN2zhjiO8MecKFLZFOonCh+e/uPNXBqi1HmK27mb52cFcblHicr0tsOa3imAlVGL4P43r2gd6qWGijTHDg== 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=LY0Rx4VByFGan/YiKtlgFzqM94uUgJEZrzhUq19v7so=; b=DO4JFfKCAAkjUfTpUv9lmD3yj1TgZR3K1Jc9p+B9RmEca8BP9hKPy3JtQBf4JDKMyEhnLWVusVAxKgvK+vVhPcJu092eoRjuH4ehslimGR68jgvzn9xWxAKBbEifdN4Bl8AnsRA9BJ6xrC1aeL3NaZul1qFOgqnkFbQ74g/Oxl4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) by AM9PR04MB8340.eurprd04.prod.outlook.com (2603:10a6:20b:3e0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Mon, 24 Oct 2022 03:12:29 +0000 Received: from PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85]) by PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85%7]) with mapi id 15.20.5746.021; Mon, 24 Oct 2022 03:12:29 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH V2 02/15] arm64: dts: imx8mp-evk: correct pcie pad settings Date: Mon, 24 Oct 2022 11:13:38 +0800 Message-Id: <20221024031351.4135651-3-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221024031351.4135651-1-peng.fan@oss.nxp.com> References: <20221024031351.4135651-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR02CA0042.apcprd02.prod.outlook.com (2603:1096:3:18::30) To PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9416:EE_|AM9PR04MB8340:EE_ X-MS-Office365-Filtering-Correlation-Id: 4e8b2b05-79f6-4717-46b8-08dab56d9541 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: 01WQKFCqIXX2vbW0MJKZbrTuxjRZkgeJdZFzf7KZZllh1pwfFVVj8IZ+vcPChiuYcZQalcFRAtMIVUi7I18xURuIqYWHhQZWkzfH1xwfwVM1zrUXolvWwkJFslVnwfcDL5weXWYRXplamopQKRcOLb712IuoJ7eMH/5X6/X2QoYW+RxgzQdJifTasmfzilGYVpdGQZnwLPUsL6LqsYgrgjrZxM5g2FilqLmQIaqrVI+LlbqW6VzRJbqF45hutLVc2DlwebJjgAn94cbGjHX0jB7LakkrsrOj5XulXCjuXlP2oKXUKEmTyrKz1QxKbWRlFUH3mnyqqzmhI6wPFId9nVDUPiPB6sLOelja+wmTI7pvPhtPlVoGTFXfCkEzgu0/XTuInpXh3whPI+DosV3tLinOi/h2MFTwP7lS4SzeIwPs+CDgz5b8k4Katw9n3LofkEI2PYY+d7ktyeZq9PNp3C9sNZf56Asqf+6brYJlba4spKbXT7qKzApqbaTuz4DPZqFBiDSgNn6yXHTWLa/MYyT9O5VLMttVfL475csGJpZdwiUfAoRZMLsLkrZfqdlkhP3WbWebo4C7NmwHfq9nK/vEW31zLtmXudcNBfJaGtbY3zSJCHZnOXCmQJWjhgVV2wXebCmx+dMih3OeaLPGtfME/XVa/71QTuK18kSDqoS90M71G/vFjWIr4OAsTlBLEGDSw+1TNk98dezatd+BU/XJlSyOrQQGGY5rGniCdyAosjKtV8DboyW+4hXs0PPi7sgDghWRJ9sIEucAvxATM99yklCQF9l7b6f80FH39F0= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9416.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(136003)(346002)(366004)(39860400002)(396003)(451199015)(2906002)(41300700001)(52116002)(83380400001)(86362001)(66476007)(66556008)(66946007)(316002)(4326008)(8676002)(8936002)(5660300002)(1076003)(186003)(2616005)(6512007)(26005)(6486002)(478600001)(6506007)(38100700002)(38350700002)(6666004)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Si9Zotm6dydV/cCwxwAlfOVRlOiZaHNp+hM2FJg7Xeoei/sM3c3YfkJ/q9ly8a7f3PUu0XDBzVUL8hG2KIyIYLASyli4gYsTumePFfl7OfDvI8UkHz49LGjyP4FyMSfUarq9YVn2fSzzKrAj9JGvdA3s/G07RokD4knUwXr1D6ytiWr4FhnMw8oxc61Rj9P4ylrr532YyEUQLlJwTlK1DYJHTuDP7ZFZM11Lr/c86nL/UQlY0BqTdCF34CK6kB+iZl5I6KruulWwRde434ts+WjWWGP5XuxLVx+wW+pXdhjLWl5cMIA15nMBmlcYGLkZbiOuvsiLW8pzatjpEEDIvMgkO/a4q3e5vUZVQPGoaYOnNjzGlB/XSmFBNlNVxe2C0pIYl0Dk4EOZqPdW9xTlC17Xs9wnataTD1Vcw6iuuCm6y0fLMxWhOKEGOWCrlGECDWYOrVwB3MdmuERUI52IKqxfuvrBO08O/Mtt68d7jpM5vleexsJonFijBgVWTSHgwUJhkhNJn3T0yVcrCX+HaHYo/NtRqKhE1KhKP11k6loKQqdwntQEb79zF8NNsT7D/uhP+TrLaf3O/YvJPSBcBYmop6v2GcT6RPNRA8V8I79Gg90sqdKFwkoAV0n/JGG/2q/76DfJXroHlos7YzgG6Wml6FH46ZVwgwRwGzY9JeB62A2fAm9u6dVt6yQlLUN4zfzaAVKiSPlRkXQ3cajtx9B9li7u04g4yK1PmBt68aTvt+jVOqV+jIWrpo9vdRcG0DAqjGrBFmaJBwhQ8kjSu7siyKgumYsZsnJGAY35JkC/VELHGpmoLIotrTE1RwAFHW9OonH6eeQkpXwU3ebklT6hTWONT8MKkeuknWGK1qEnLYwUeGSzOjfp/IiD86wIbUyXq6PV2ntoCd0SZRMrFnApyJUWYTGChfkBeEK90e6u7lZJXg8fb/xqWic6jhKZ5pBijUMMc1rKovufcHlhYFeX8UkmElnOTZBDL6NXCcaMQR6n1iGuBaMhLjfaRGbSOpp8D7gpNAgBwc1nTtOigWMg+3ANAN4dSt6JfyBMX4Da+kPCJYyboWLM+bb48WtFXeLSnWuAtvWF2JucHzryHMFzvcK2Ms6fFEZhe32BX9ZKL+0dWFtcvaec97c7R44rZJ0EYsIuZiikJdI3ctkEb8JhqSjyRJqKhSMfArE24rzE17tacoXKhHjgegh5Kr0FQUBPmV9oNASwXvw1NDQpRyE6FHQiyeddFmvk/aLDQh14jvs/l8HTvlZLHfF2jIuk+iyEKDLjfNGz4jjtxNkBfcZ5eJOUvCTDRvifTo4rOJrSkQ/TkZranlmw3EOC1WXMD8694I3VlGbJONQHIq1LEiqoprMOvebKuWuFEsnsHr1pbyEGdR+FkcOE8WT3PVgr3JlY2nbHB4GSbZKV2fHXYYnS7B3oBfPeK3ifrtfDLW4cgFH79igkqyQN/RCykJak9FzLF2hBaphbUyEqar78jW9HW3aK6UlDGH6K2s3LSPs2hLR4Msq0bxrRmqe1lIQJ9JCdHIMvk3G6bGV5OkEDemRlVA3xco6vd4nrzaoxfTWOaT4XqJCDot7Dg5ZYkHp/ X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4e8b2b05-79f6-4717-46b8-08dab56d9541 X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9416.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2022 03:12:28.9315 (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: lwVIg6HzIz4RkiJW3WMFH8wP6Am7GbJIWhs+owxNS1mePOx7xcpGcPKrSGIXwxcJPX8Y+pxm1Ihc8KaAHVdnmQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8340 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?1747537158713988198?= X-GMAIL-MSGID: =?utf-8?q?1747537158713988198?= 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 Mon Oct 24 03:13:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 8131 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp228266wru; Sun, 23 Oct 2022 20:14:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5vZ+FeZDZhkBMZsAmJXTipk42yIuRln4EfCozb8G6dTqUHHxmnTxi2riwY04JtL/gjPAlr X-Received: by 2002:a63:874a:0:b0:46e:bcc0:c69d with SMTP id i71-20020a63874a000000b0046ebcc0c69dmr12146591pge.89.1666581261252; Sun, 23 Oct 2022 20:14:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666581261; cv=pass; d=google.com; s=arc-20160816; b=lQnQXsA9YAnj18ARXPLs/G8ltqpGDvz8vyTrL3JwGcy8NDamdjwU55nrg1klNWVUIB 6lSrzvd/Imgx+QyBrcu7AK+bF3yGdPaY3y0OMHncig1CklZaTKjfuoFrgMpQda3RJsUY xT8ru3s48dqiLsi+Kjsy7lrRsKKMJLlGGfc6BmIu7KX8mTAZr5NrQUrhTVGdlbRd5RGY DnNW0gp8v3aL58+0H8LX25H8/Nv8gqj3I/GgO1wnMxIA39nxCOY0stzBlJ4c6S7zzbIV 1c6wvWEkur5AAxxMpw/ht3VwF0BEfKFi/6COPCdZl7p1Bo8+V4vRQHUUStK6II6kLUNd NtHA== 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=Y2z+72baMHwBNGlbt4Q36BRcCnw1uMi873lFmp+DuCg=; b=fiU0EzuDFQoKpBo9nJRpdx7V4Nk7r4tRW5mbj6t+w20iNfeRpATXZnnFqraoEY07oQ SbGN9ioUZ7ZLdAEM+7xy+uQigS3UJSy082A36390Mhl4zo76BhDtmHUq6idonoo3UDxA PeLnTqddBYocIgay+IRXsYm20mosCoOoLhzTwvgT2MBbHMFcZOgYaGiAvOftpLNFW0sG 5SR4K0Zo0xxudnkU22Wx0YLblX0S8psusNWbiHkuuJVgxEBb09dOsRaW3swpTlhdIu28 1qLQ8b6Bae+4dLaWb1uzp5A78pmqLTEagsPbBEzPjzWMmocJum6IYc0Z4h6mPg8RqvHn ZeFA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=GsLvmcsS; 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 x26-20020a634a1a000000b0044601bb2f90si32651854pga.530.2022.10.23.20.14.08; Sun, 23 Oct 2022 20:14:21 -0700 (PDT) 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=GsLvmcsS; 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 S229914AbiJXDM4 (ORCPT + 99 others); Sun, 23 Oct 2022 23:12:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229800AbiJXDMh (ORCPT ); Sun, 23 Oct 2022 23:12:37 -0400 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2052.outbound.protection.outlook.com [40.107.103.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8527367071; Sun, 23 Oct 2022 20:12:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c1nXDEXtH4NYJtameOzPWom6K38YZBEZ4XSXBCezUL9J2gGMne0T1uaY9apmpWQa5doqF8PJcTS2o5jjRlItWCiJGIyE0oykRrXU+d6ZD0nmNF9EAXPD0jv7YAM1dxA/I/zUEeX9zYuoO3MON4t/4AOd1fXQK5Tihn7KiFhw8mzJ4C9FsxOszK2+4PDb6DlpWlSvpLuBYhaBm9mDCwCqTO7eQ63+ZVyC4crcCoy6pmPxK58u6ota6XyfGqK8skwMyJLVtIzN42k/BQ8H3YKzfWzZOxTTg6ruzRAGuOCO4Lg0wjqPBcHJlCw5uhmbIZt0dLwLLNojgSNL3wtxXbD+ag== 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=Y2z+72baMHwBNGlbt4Q36BRcCnw1uMi873lFmp+DuCg=; b=hTokWg65P3z3awVkr5LU+Ch1rvTKaydBzRG+UrXr8boIVqCw5ht1r5+NHLNnLPJTKPVTPjLHgs1cKm9nixeW+bP/ebVXJPqcPTOahc0DtJ//0VRi7ERp0BC6j+tE+z1mN1SEYk+tN01qWDU8EuA8cEoz/b1alxVrmjQAIldXWsB0wE4z7PjeAaP2W2LXMQplur0BfSSzzWqA/ywLKoaDt9W8d5uZ2/vIIg+OwJsGFJegGrqn746C1D6eyfU2vAbKpv5HS4xZgwZLGGlMXI3Vmn//1twlLzt74mapmw8IpfnyV7P7hYeuJiR1zvS4eabEwISP+lM5DQrFRE3mPBwEmw== 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=Y2z+72baMHwBNGlbt4Q36BRcCnw1uMi873lFmp+DuCg=; b=GsLvmcsSuVNLBDnuykMSTVAl7YIQ5OolAxvBQc98kMNnZGFB+4pBzh1F3YeHVF3AB2Eu/d00v4lfPXH8lj+nUCPmXx4VzcmBp8Z+e+mOSpGVBfbNk8JCL0czzP1gCvtOoiBJ7Ckkqiggnu8c8yfXATcarzO/PkyEVs23pQ+vnSM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) by AM9PR04MB8340.eurprd04.prod.outlook.com (2603:10a6:20b:3e0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Mon, 24 Oct 2022 03:12:32 +0000 Received: from PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85]) by PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85%7]) with mapi id 15.20.5746.021; Mon, 24 Oct 2022 03:12:32 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH V2 03/15] arm64: dts: imx8mp-evk: fix BUCK/LDO voltage Date: Mon, 24 Oct 2022 11:13:39 +0800 Message-Id: <20221024031351.4135651-4-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221024031351.4135651-1-peng.fan@oss.nxp.com> References: <20221024031351.4135651-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR02CA0042.apcprd02.prod.outlook.com (2603:1096:3:18::30) To PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9416:EE_|AM9PR04MB8340:EE_ X-MS-Office365-Filtering-Correlation-Id: 3f6a9e8e-c329-498c-c06e-08dab56d974f 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: 60x8GQiIQH5FflXI+rw0qomao8oJsuoCSOwvWNzXob/EpRzwEIraDrfCzEJoRE/NXWq1SQMAZ570SWssrmgzAxR7DihQzj1toQf/KBBn/0T2zoV2rEi9q4Bi2UiWvAt7Axt/r5wWBdu1Pwv1M5pMN4+4VXVkX5lTDOBOMSIPBe6KpLRTnOMVCEQm8KRr23ZwaY1R1E/ieZYtouZGn1GFujBuhEWqp9KazW0JazO7vu9Rl9x0BwZL3MzbwF9i22xroHTbI1Nu924Tdbu73+YEY5EPyPaQxT99t7MC19oZHLm/ZrPoW71ABueb3IC+7izChh2Mn/tdB/6TiqsLVuL/QPKoyr/881XAzEnYS4tj0L5EV3RhR+sNe5DM1HVlajbfyCuMtqavB52lPJYr7dwHhZCpbMZYethAA3Ruv6bmTw6fsUFCQKedAr3xLtreo9/c1p8nxSRXzUovVCpjmhXbS47AsPJwjiEyZg7Pi1wiARfBYvr3LMEsJTUNbjJo5GjxiGQ0eEvcn0ZczsLCJyvaNj2ndOE+4RCJ4lk/Eh2P5iJcPqurMBnPfGmyyBEmdon8P6YHgHZfVfYZpzTMl3jvIoQR8cK+xdR79V6QQVG2BOjgvMBcdSNDbJc0vWzWfPm6EfvJ4NmpITTjkI5rdRT0Uf+6k+Ci8JfbVqQdMCbMeRgHN/34zyr+3kuJQ9IQXjHKzkvZRC1kX9EG/HqBwOENoQLKPFUo4iFefEBveqpHrOjYG8Mh9jarK+Lg16iW5LG1n8fZ4+iWFCHNJNaSjzs3h8I/mJxX4X5iuzblGVayuJ8= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9416.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(136003)(346002)(366004)(39860400002)(396003)(451199015)(2906002)(41300700001)(52116002)(83380400001)(86362001)(66476007)(66556008)(66946007)(316002)(4326008)(8676002)(8936002)(5660300002)(1076003)(186003)(2616005)(6512007)(26005)(6486002)(478600001)(6506007)(38100700002)(38350700002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?6Dd63FVk4oGN847zTCFU/620VNTZ?= =?utf-8?q?a47PJjx9Hh+DphWt74nMgtAHhVOmgZFDQZy8HwcnyIlHs78TS24o74oXcshUksjRP?= =?utf-8?q?G9eLD/mC1RNOReZ8AOIIU6pf5+IGZ9cmPvDmYVQeef4F7GPlKFned0FdFI4gXL+l/?= =?utf-8?q?TemidGyX+kFr5x/s6QkTCN9bWEDfZp5adxgyfqWHK/MlP3eGjlO94ygWxXgRCnxQU?= =?utf-8?q?p3+CK3bG+6N7jkOMtE9f8JT1nHAjRDZkRwhrDQVbeAzfyJtgZxHs+hHNiHws7eHaM?= =?utf-8?q?2j5chvB3h0ie992r+RenIWaFXIxTmT1McXYD5AdAF+5wwfWqZd5+27nDwpBzslK0Q?= =?utf-8?q?JPM3gWVPBmXVNaY96zbjjH9NOaNbUHi+3BbpTYyViS4+xTzbLYXLzXf4Ksi0OsLUM?= =?utf-8?q?/szDPqvLGhH7QMrXJGuQfvVwuHMYKoP3aXHBB0PUV+NvK13ElXrwOiHWjhDtbvl63?= =?utf-8?q?5BACS1F9VSUyrCUiHDHHrQbeZH05DNgKo5y7rbk3oAkQfxts2nsJ+P551dRnebTSy?= =?utf-8?q?5q6bHUOGpvgbGad6DSq7ju7fY1oPwXnicOzrfM/hKt/T2F1QHFnHg+tiWHy4zDET9?= =?utf-8?q?qLuQCP6GIxrOijVQTwp7mEOBiXAYtRKDWv2OACe9sX92Ha3sDb8lVCf7CsY7Is15S?= =?utf-8?q?KtSuzxlRUjWEKAZv7+XMWOwjWAgIP/qqDoY/w9RMcBJbHvU0TROHoq15fKqwvypRI?= =?utf-8?q?ee1ZB0dDY95xnWoj+uE0cmFLqGFwIqSX5UdB/XtfeOcA5ix3sJ3meFJ547BGAZ5r2?= =?utf-8?q?FhRpxhQv1+HOA9xAGVNMVZFE5W7T9ANGkDg5H0WVCjmeK+IsSGSiElQAcG6/LDP2t?= =?utf-8?q?9qlgwxubSWtb1/RL6T9TzbEVf1lja0rYgAsYqvN0L5GlK0isAv57+hZPLPXH65jf1?= =?utf-8?q?ZTv4zgl2zU8CAaK+SiD1KmJxhmSClQOKFJ3L0UreMIFDFWHvDvDCG6gVKcA8xUpiQ?= =?utf-8?q?0oppzx50cWm+h/Sq/A9dcGOTFL+oy5YjCpnhQ1XidciIqPrsxaXEbUCdRmJHeIoKl?= =?utf-8?q?MzCx4uRb6rq4rkR4qnDsHAXPbBAnvQ1KU9EX33o5ogVMZrJ4ADS4YCfdi4B95ZwgA?= =?utf-8?q?gMc2uGe0z7tqM7HtwU79dCe7YatSZqq7IcdWQgzj/wbjr+Y0zHtz3eb8+iZsva64i?= =?utf-8?q?AwLYTwk3O2Pr/DLk2nc/EGS9vta9WjhZ7GKsTNQD0bgLQ4Y0//B5zg3uOzSJHuRMd?= =?utf-8?q?em8Cn2GhJ2/6G+nEebF2p/gxP3E2VqtYx5ywHuDSPTKtSdR4ZLLen/CbTQR87NxGv?= =?utf-8?q?mENKdjta/zTeXsCi4PDh6bK7KzvZSapL6uFphgtre7Z69dRs3vzkgf3PmTpZBre9Y?= =?utf-8?q?b4hHiq76TOmOibgGcRjCH6nit/81Mh0ttYrw5Rc41/u9jp3jlmkugsN0wPIMayOVW?= =?utf-8?q?Q1UbyO4N04N5lyA4jdsHdaSSwu+1E8vZbwPwu9KkrFFMf7KOC7DoAtqtki99jlxEz?= =?utf-8?q?JEOBTPdJ27cXtEv+ZvCccC0jAvNc8NQrjqupZdYOFJyfMl8/2B3gIbKHjAsg5QC44?= =?utf-8?q?ew1ei13ubCB8?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3f6a9e8e-c329-498c-c06e-08dab56d974f X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9416.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2022 03:12:32.2558 (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: ZMb9a6Z3WKw7DMUDIUvr5Jbd4umU3Q/Lg169Dy4qwrfaxSNChcsdsVCqc7o6OqnEdIKBKLBLU7gYuPIxu5U0kQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8340 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?1747537112297102756?= X-GMAIL-MSGID: =?utf-8?q?1747537112297102756?= From: Peng Fan Per PCA9450C datasheet, the voltage range as below: BUCK1 0.6 - 2.1875 BUCK2 0.6 - 2.1875 BUCK4 0.6 - 3.4 BUCK5 0.6 - 3.4 BUCK6 0.6 - 3.4 LDO1 1.6-1.9, 3.0-3.3 LDO2 0.8 – 1.15 LDO3 0.8 - 3.3 LDO4 0.8 - 3.3 LDO5 1.8 - 3.3 Currently we set the board voltage range same as PMIC regulator range. Also add LDO[2,4] in this patch Fixes: 5497bc2a2bff ("arm64: dts: imx8mp-evk: Add PMIC device") Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 44 +++++++++++++------- 1 file changed, 30 insertions(+), 14 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index b4c1ef2559f2..a4cddc5a8620 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -248,8 +248,8 @@ pmic@25 { regulators { BUCK1 { regulator-name = "BUCK1"; - regulator-min-microvolt = <720000>; - regulator-max-microvolt = <1000000>; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <2187500>; regulator-boot-on; regulator-always-on; regulator-ramp-delay = <3125>; @@ -257,8 +257,8 @@ BUCK1 { reg_arm: BUCK2 { regulator-name = "BUCK2"; - regulator-min-microvolt = <720000>; - regulator-max-microvolt = <1025000>; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <2187500>; regulator-boot-on; regulator-always-on; regulator-ramp-delay = <3125>; @@ -268,40 +268,56 @@ reg_arm: BUCK2 { BUCK4 { regulator-name = "BUCK4"; - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3600000>; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <3400000>; regulator-boot-on; regulator-always-on; }; BUCK5 { regulator-name = "BUCK5"; - regulator-min-microvolt = <1650000>; - regulator-max-microvolt = <1950000>; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <3400000>; regulator-boot-on; regulator-always-on; }; BUCK6 { regulator-name = "BUCK6"; - regulator-min-microvolt = <1045000>; - regulator-max-microvolt = <1155000>; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <3400000>; regulator-boot-on; regulator-always-on; }; LDO1 { regulator-name = "LDO1"; - regulator-min-microvolt = <1650000>; - regulator-max-microvolt = <1950000>; + regulator-min-microvolt = <1600000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + LDO2 { + regulator-name = "LDO2"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1150000>; regulator-boot-on; regulator-always-on; }; LDO3 { regulator-name = "LDO3"; - regulator-min-microvolt = <1710000>; - regulator-max-microvolt = <1890000>; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo4: LDO4 { + regulator-name = "LDO4"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <3300000>; regulator-boot-on; regulator-always-on; }; From patchwork Mon Oct 24 03:13:40 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: 8132 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp228296wru; Sun, 23 Oct 2022 20:14:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4d3JLpCKgwEY/+W+aHGPHpSnynyi8ja/8/3w5OqjSgV5kDJLYovoD058rwLYajjXt0KIEh X-Received: by 2002:aa7:951d:0:b0:56b:9937:c749 with SMTP id b29-20020aa7951d000000b0056b9937c749mr8344410pfp.78.1666581269421; Sun, 23 Oct 2022 20:14:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666581269; cv=pass; d=google.com; s=arc-20160816; b=ncWRVcVd+3zTO2iHLLjj+2QJRqFDNoafjoooXmu8SeNmlLVP3bG8G2689Od6HboQUz /l89zMPq/flIcT8FboniGD2jAdKiZDPtvGn4VNcJTI9120AThLwK0pEFpKQbor6K9P0j Rd3ZmgPJYqw9LBcOC3ojO2PXRk/ccjdSIRuZQHTTAtWsZAXyoh/Qoosn8q07SANRppH6 X6m/D5V99WDHOy5ct1KuWCkyrSW7o/PgcmZ7+mg89Qyf9RCU8MnozlXFV6rtl9bby6f1 bm+CueMxc/lGy7rp53PAT/nIAuZBWLM/es/JnLnQBtoLXJcmXe5PY17HP4IPC3cHkqaT MqPw== 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=AIE8t1AQh/TYo6wZj/b7tgEOcuRmTY1MDCdfZExBjFQ=; b=jtypC9dZr39ajEUUi/ubamEpTSN3u4byzQNWK86AoplPYYtMD0yhArFBkAHUM6yyRD obv74nrUWoYm3S90R86D4dcJg7yEXaiGIxegmqU2TzwJS09z76/2O8bOPK+MqdbKZBWc iKc540etTm1XP8JVTwrQh1ukpWBPOYskIbfxRbB4NkeR05rCs7ufA/973pSSM6UlksTK FWNELUE9ZuC+3half9GDyVrwGmdE9KnCvyz6wSOPq7zDJNLDW9+JXCCR0Pk3ktw4QWQM bEyKhxhcAULJDqJYMURkdLycmz0i8NZ5yQ4uoh9kFV0xLWoZ34ZUYFpewFp6cusUoNsP rwjw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=iXgVbVR+; 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 k10-20020a170902c40a00b00181ff9b4fdfsi38095060plk.581.2022.10.23.20.14.16; Sun, 23 Oct 2022 20:14:29 -0700 (PDT) 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=iXgVbVR+; 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 S230099AbiJXDNB (ORCPT + 99 others); Sun, 23 Oct 2022 23:13:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230025AbiJXDMt (ORCPT ); Sun, 23 Oct 2022 23:12:49 -0400 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2052.outbound.protection.outlook.com [40.107.103.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 919A07548E; Sun, 23 Oct 2022 20:12:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LsScf00KdoWPxoEgVTFlgxog8MXkUFG3v/T7jugvHzFapg0XKvdboy4/Mts7bIoFQgjQg8GPI6CQj8DnbEoL3RoTbP9grMsNmGOs0JwzTXuyRbcR0ELtH09/glo2j+EA4aokR2mlaM32HyeFasJ4Sc11SZRLNy1NfxgFiFHSEoiI+Sr3t2BwquCJVlWPZr4zOkM0Lh1Ur1oRmqp+tFwzJsvlRAd4tmDTfL1+gonEYWJLRWAIY00oCQ4AWmulzi/sSFcHeNvaTABBuukaV5m6XvOxQKqh14vyXD1cjYBGnG744LszF/8nx0iAhwrVou8P9jpGfVfosHky/a0TkDBa/A== 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=AIE8t1AQh/TYo6wZj/b7tgEOcuRmTY1MDCdfZExBjFQ=; b=iMsg6YONZaAEMk6UcbyNLOfOBqFEtbnAqlOTN7kkDSkAfJQDISyqp0aojl0M7L7/MYGBR659qWyzvShmgizDITLhli8okX6OtKNhN5+U0HPYKEYnkwXDuXDfG3hSt6Ih/SA9wFClwiiRNW1p8ShiypnJy2ADcpb+EhMT2TCg7Mx3xpww2giwk2r4ntLT/rRZ9HIA6RzLgmAN4H4H5whdqayyNkifl5TtXoOL6PKeeVtmurrrr2k/czD1JbXY4HCkNdvyzH5Vkwy9XgGeralMpQ32gUlwjUwKM67wdWhKKBFZaq9b3K05x74tzej4fya66UuwvClS6m4OLukhSghj/g== 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=AIE8t1AQh/TYo6wZj/b7tgEOcuRmTY1MDCdfZExBjFQ=; b=iXgVbVR+1xfm0i9oGkEWBYinh/6rYcXYmx77ySkQCNcUvOj8sRYA11gjsLqfChe99zrSZFKjzb6m2vGeApc7D/2fRXKei79uKYq+iM9uu1Fx1Y0+agpYZ2VqF1U1stVchbLnJO3n0KuGoFEuk7CclZiUPv8Re+35F97hjdvuu/w= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) by AM9PR04MB8340.eurprd04.prod.outlook.com (2603:10a6:20b:3e0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Mon, 24 Oct 2022 03:12:36 +0000 Received: from PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85]) by PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85%7]) with mapi id 15.20.5746.021; Mon, 24 Oct 2022 03:12:36 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Clark Wang , Fugang Duan , Peng Fan Subject: [PATCH V2 04/15] ARM64: dts: imx8mp-evk: add pwm support Date: Mon, 24 Oct 2022 11:13:40 +0800 Message-Id: <20221024031351.4135651-5-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221024031351.4135651-1-peng.fan@oss.nxp.com> References: <20221024031351.4135651-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR02CA0042.apcprd02.prod.outlook.com (2603:1096:3:18::30) To PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9416:EE_|AM9PR04MB8340:EE_ X-MS-Office365-Filtering-Correlation-Id: 1ee1d40d-fd8f-4c03-436b-08dab56d998c 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: htsYLgJgs2hxqHuM4VvxEVNdXrbuVZ/5/nP6wSUT/fNcmnou1+X6JUegNzuNgsKuEYUzPrhvo/fVwy0/jV6Ry+OJorDfBcj3yEYYThkJPPcwqEQe8W4beQ5I/V5SNInM0LbxOKMKeun9MqlZ/3Q9bSxJaSdF8Pmn9El5PV21oW19rBjhM1pw28gtZo8B3rIYINnBc0OOLa9bUYaHfsRTTE1X6TsKWoLJWWvAJ0ciOxmhfzCpU1YqBfMLbitU9k9MHmXhHntaoSZE0rer8P426IPwUGZVCiQP5C5xxSFZo7W12gTpeamEFhr3Z2uRmIxfv/AP4P5ZRPW3lYe1ZjZZnMKPB46CLdTKF3hgA8/Fd+5Luh3HPLVILmJ7/FwGHT/iq/eKzTNhtjbiqCOZvtZDj58jx1CWTZ1FYhbuUDCtKkxhhPudaHoEiWyHkl+5qZ60h7Ayv1FrsqAH3FURQr7egXOydYD20Pq9R0vmLeRj6Wn6yTL3hGFgIKidWRYheOJyCXYG7XKXhvZIejF4ImHe0H/rDF9/EMBjFEQgCvgeRi6hxuPULBsX1N0fTRyoMRr52Kj6gh3boWc98YxichalgQtiBx7eMMtnzCPD/6V4p57DVcYB29t9aWuG0pJ7vfRUKKsd+1y8BZUTlYeqng6DiDOzF0WjUY4GFY3Oyn2YeUfHz7GBhFgWqdkVt431LDkdPNDYkupbTywENlDCnJRysMQxCGNp6mlxPVofAkL56zuS0DYX3ZOWCDmU3kn5/tE+NSonHe7W2BMyLcjk1M66CFXIKxkpUAD4KytmN7Hirah5PsESkxGWis5cUx1f6R3DkxXvKWzkObWaB/nbkeXgTJzzaEr5QAosaAYi0spwCFM= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9416.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(136003)(346002)(366004)(39860400002)(396003)(451199015)(2906002)(41300700001)(52116002)(86362001)(54906003)(66476007)(66556008)(66946007)(316002)(4326008)(8676002)(8936002)(5660300002)(1076003)(186003)(2616005)(6512007)(26005)(6486002)(478600001)(6506007)(38100700002)(38350700002)(6666004)(32563001)(473944003)(414714003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NhsqerEpskhsrrP2wjWQDd3RQseH22QLw/Gt39Nbz4WghHr6vy1G15eiFWbyEKj7Q9iWv+NNqG1QmsIAsqQPz8g8bS/HKK08TZtkuuXyBrxY/0yLd7i1E+1l9uYMIWKY6wXUI3/3o5PHsC8yFPWfIjpv8/6QdIzwdAgBqt+YyuP1hm+VqJGkW5AdDtJXQnIlU1+c2JaPILwPumca3TbnmyVfGBMVrb3AWpJ/e3QfATYxKbVmtG7DNdVpoqxsCmH7OxUj8dz+b5q/cH9PDxHD/xCQDiCIOIP2hjabP8PxxcKVdF1sOvcDXFweLv8nhB3q1iwxEdXU3Brn89VxjpJ59Zcwkn3ATKvdHplMd8VXErSZ4jS7dqrchO4ZzmMLAnbjxmC8B16njzf9nWwXzJ2CjOsKo6LgVswZzltQKHW3fiZIvLZYKTdkpzPDBlc9GaW1bCONcYRNkFdDwvOuswJQKjjqPUnnNwM+xh0vkge7YJ1lRiPTVjq0kK/EuFOnqBGQI/MuismUF1XYK7o/1IH6xub7fwVYSWc8N/rniD3kDspczexuUwDG26/SJMIWabZIPjUARueeuomsMR7egmNAzSJLvrUBL1NaLE16K9+KBkOj7k+am/f/PNdUsPUUGonSC1C4aZxuBVmwXPEdyWxzyJFjL6UU0ORQGor9dcp876sPuBRzgEtY0Ipt03ElBUZvIROsw8dGmA8ZYV/AZ20WeS0X+qp9sVqLifNaBCVvgGnh6+I3acot8RR4kPNq5tJmiKNnEQ4AMOqSAGd/P5pbIerogboHXBf+ZYTblS0Eu/Q0KNWhxZ93lbmLmKobNLmKoPuvTHQV21LaxOhnDNId2a6pKiaHwrwxjjy7Bgomsmn+svhYLjGz2MKEVknEykFkiBXwXZfQbJtQusmJJNz17srIxXYUB9RAY9bLv7UwtirIfdNWLnHArnvjr9vgEXJWsclz9kuwAl+R9pD+SlBhG4hvNbareng1HZ9QQt2dnUBu+hNg8JsXqmAM48bg6tb7v8YTk4uvPpnKXxjV6ku7u3Cak+Anqq4O32iC38CTt1vaal95jrK8uGVPDmfCFSoNaR7Uue+smjPM34mEAt/DgqHNBoN9MsSaT4FVUy4oJ89Fn2crrPXIsjSKcqEYMuIlBEIJHNUIYnZz3ZejuFWmRCnePVmP+k5fuYmIJvIhDSIv1ZxNVQ9lbWHy+068juCMIj2JgcP+nG/dEZs5Qnn5NtuyYzYbeRaDa1gHnheYJays2XwX/pLStVhjinGvBAp5gENxOUi6It6/rNkuLVwOPJVyXLkNYMTQKo9mrqZcbMc/SgVvF5qe9pVUx2f53EvSvrtLy+6QeW7aQbFDY2SGKn9dMevb8qpn9ONU5EG2BBxylYjZE7bt55nfnzTPjtpdQFWTVrvXDq4u0jFj+IOWVOiQgWx8KdeyK1MbD+JZ65GJBJPffB2TEf37+CT4OThFDNA2V0moFfZKMszONivxHqoajhb9HmzHLpk+Bg1oXmsCUCugqJboF2pML0vLGunwrp7s/oZ/YXWdt+cNoHfyvIWm6MQwwT2FI5z9hd84p/9CSnbO5sUv8rQRX7yuh/85 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1ee1d40d-fd8f-4c03-436b-08dab56d998c X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9416.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2022 03:12:36.1171 (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: 9se3FG9POImjD4DDKdoMmHDOOp5TR19w7npFOM8KaRGnwPkd+1XBK68L3X+dIJaoGHWy9vScmu50zWXYbauMiA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8340 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?1747537120861003787?= X-GMAIL-MSGID: =?utf-8?q?1747537120861003787?= 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 a4cddc5a8620..316390f917a4 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -406,6 +406,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"; }; @@ -583,6 +601,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 Mon Oct 24 03:13:41 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: 8133 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp228350wru; Sun, 23 Oct 2022 20:14:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5OhtgTrm9XvqAl7P21SaI6K9fmXhk7dKBuVIH32Owy2i9D39JHad2sL834zJI5zY7yjNRX X-Received: by 2002:a17:902:ced2:b0:17f:5eb2:cd72 with SMTP id d18-20020a170902ced200b0017f5eb2cd72mr31155390plg.162.1666581282569; Sun, 23 Oct 2022 20:14:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666581282; cv=pass; d=google.com; s=arc-20160816; b=GChG0uLhIy0/mF7v959nK6H+LRzgXNkzwnPda52SHzcknsEMvSDnyaTKHbU12F++Uo 3d/Zkm2g6BahK2IyoRmromHrmEuz1bSiArHSZvkc55wX8HT4Hakt65t+tTjke2MeiVl3 DriidOYj+AeInwMkXeIJdeDi5ETunpPdqxCvzsU9dW0xWZbrgiOmypVx4xc6xWjwEFq3 YDlQvY8O2nwO7UvnusCE9YIi7MEBeHT8NZlpZH6j6yViycGdQQdkFUvFilF6CY+yTFoQ Aqv3WNw5lJ34JnwBnA3X7qqyzr7llC/O/JgVrQBzbwH4/DPjTwBuL8luXK0mleinnXXF x6Tw== 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=ZNG76ks6bwTy/rElR8vefZEugvw8xsurvW5PxDkJ7/M=; b=OOYGRN7ugCBPs/oxSxlVxLWkU1IdkKVPlVvJyMVrbXtIeQKxksfya672aNxAVLDEds Kx4SbCcI/M+5JFq30V6M8LHEzaFofjLqtFjdVkctgN82ouWkGN/dmLJTMBLOkCoimpPA roslqYyOW0sALy1gzfpGVtwn315iYE6JnK+o0i7FEOPhJAdVZiVOZgt9ToA7ChRqXWC9 CIuQZqPJVvo8izRf7/KrW88yXyPTVaTmGImmCg4aWWXX3da5Nw+Gl2NWegGTVf9IzNdi UuxwZL5xLc5OZnPuK654U64rH+uaivtQBS8zJ7SgkPYNDMhkuWKEfEVT8DBLaOVVhjoF 6BQQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=O1+ggNGZ; 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 q13-20020a631f4d000000b0046b043d221csi31142508pgm.55.2022.10.23.20.14.30; Sun, 23 Oct 2022 20:14:42 -0700 (PDT) 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=O1+ggNGZ; 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 S230094AbiJXDNg (ORCPT + 99 others); Sun, 23 Oct 2022 23:13:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229846AbiJXDM7 (ORCPT ); Sun, 23 Oct 2022 23:12:59 -0400 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2052.outbound.protection.outlook.com [40.107.103.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC2A4760D9; Sun, 23 Oct 2022 20:12:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hTBnkcC+4ZzT988A0DG1uyw8AjOdCwuybSK8bi2kcbNkFdtXqXwfI8ZU5tSusjZ//XISbQg41Hj/wYa9aoMFxFWm10MrEJMS+lWV3xDSJ9WdBXtpTPWS5cjBOF4GTp88VH0ZB2i0eQ+/c20fOnSS+UFeV4WDm9lpok28Zl6khH2BRJvy+U/I21UpLldYblKCALXbKWn2bsopieFISBVl93uDSS1YC6TqVjZjdZXNjdEshr5oxy6U8TnTVKJaPAc2jwYRomMnNedKpumtllpGz0see8vYjUFGLKl5VKR3843P2LigdBv1VBaQqgk6CK+rUupneOf4ZzIafkaVwOfDeg== 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=ZNG76ks6bwTy/rElR8vefZEugvw8xsurvW5PxDkJ7/M=; b=HQuLRUDnlOFhuckUvesKLfc8ABDy4tsQegxOp79r3QeDFwrM06kKXytOKJFnR+PWK+yc5xipGsb4ODd7thSj5FKgWuLozQT/dkSDkEkZwkK1nbt5pGhg6kivNZArZ2ZumbtN54CWkU2QoCJ489ZFrQoNweOrbv8I1KEhGMoOmlD8tJjuSQtCdDZQk4dnpliiQeuJ/kBnIIqn43Iud/5TDdSMa1jEO5VkGwVpRw8+jn2FUbSDxolLSv4rllIJAWfpVdC+QB6494T7Di7i6RTIKsfitvAVFyJcrvK36HoCzEoB+6nsMH3HKuDwpME+xU/liN5M9JaHuCMY0C9e1iU3yA== 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=ZNG76ks6bwTy/rElR8vefZEugvw8xsurvW5PxDkJ7/M=; b=O1+ggNGZTglK2F5Am5gNDo5jLCk14iCSSFeyFaqxniJE0OUqi3KFwue9NZLxp2/SOmM68VJ3uRBymzbyp4XqH0N9GPdSmPtZG9PytJh1cN/aNjSfuVu+KU88jSn7zSr8QDT36tcg703KobjdksPbWfkrhVlotQxs/JMubEAm1aM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) by AM9PR04MB8340.eurprd04.prod.outlook.com (2603:10a6:20b:3e0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Mon, 24 Oct 2022 03:12:39 +0000 Received: from PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85]) by PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85%7]) with mapi id 15.20.5746.021; Mon, 24 Oct 2022 03:12:39 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH V2 05/15] arm64: dts: imx8mp-evk: enable uart1/3 ports Date: Mon, 24 Oct 2022 11:13:41 +0800 Message-Id: <20221024031351.4135651-6-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221024031351.4135651-1-peng.fan@oss.nxp.com> References: <20221024031351.4135651-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR02CA0042.apcprd02.prod.outlook.com (2603:1096:3:18::30) To PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9416:EE_|AM9PR04MB8340:EE_ X-MS-Office365-Filtering-Correlation-Id: 0062bd97-de73-4d43-cf20-08dab56d9bc3 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: ijef91u3udHwAILix8ryaHo0/erlRT6Z5O10TN0ATiGKOGIEDgB/oendH7q+hMvldjZyPzCZM5W9Aj50Ok02U2ZtcfebWDjN2Ho5zV3UQSzB/Vh55zOEiBlkEf0aeWu5DJcTbfl3zKvM5YORLVW3nIF3tIjEIoFBhcnd8It+yhFGJfK3grZfXt1XUTQjSQa7Cqi8x7bp8vUO8TYp3pVw3ObaYnK8Yl2/uJfIr/l0N9NQx6SBXxNtWqSrc88vsFRngwKRN7rvDjo2dcZVqKRGOoHfjothyNhsQibMiKwAw3V/iP5pcU0E5H3btuSyB2IDlstMYAO+YnAKixcOgnWUHCQ5ozp8XJ82BNI0n8t0kufwPeS89nBBTBfHJFU2TcoZTsPlp2RqLoB6X5ppMcnV6RHiFsMEjFlexAQAzfJGlpc2xUcL1sEtkG4PW20gycmyJxaN66C11BYyAtCU1qBonB80XPblC7TbdW3YOuhfIJtKLhj1QkGnB/fIl2tjH0KZ9kt+3a9QLOasF5fR9UcA6LZfG+U9dXaFYEGquEv0FfrdBgns3zxzMH9Rnuc8twBII5UdK60+dVuYMxptu9F5lbKFz6f0isHNy6ZtQngp/Wuhzbb0Ulxjyzd3oRy2yjwEVOYvNhS2YzYGkqGV0OdNgwJrDQLdmYQ4b20ZIZ0tmJifoss9nDwsyOQo6gAxbnePPMfytykG4wuysy/685kxi1UpcvP980lVo7mnPJ0auF4zZZQ6XM3VT67ekZSit2cS3WldfBHyAxFjXftAspTIQR8VhDlNCxIY7lxMijWJmFxcTj/Latm2NOLVKv0qIrXE X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9416.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(136003)(346002)(366004)(39860400002)(396003)(451199015)(2906002)(41300700001)(52116002)(83380400001)(86362001)(66476007)(66556008)(66946007)(316002)(4326008)(8676002)(8936002)(5660300002)(1076003)(186003)(2616005)(6512007)(26005)(6486002)(478600001)(6506007)(38100700002)(38350700002)(6666004)(32563001)(473944003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: XO9fmtxq05oBt4W3f8EuGKSklzDUu/5s1JnyFN+zZfwOEDLgPmWRk8RG/U5DxfGqvSJuOilZlYZUj2aY76XRhrgQ2O+M/nk9AQQqLP+Lq6PgUuLkkTRg5nK/DuZ5P60U34lA8N/AgdCnLkVo4CUaKV9pWn/zcsSP0/BoyQvSG2TEVfc3twDH85UkCVjRCvG7y0O/+D/xQmu6QfKze5fST21bM/Y4rNKcBQwTZl60z5ACdyHw6P5nQF8RIAhlKtbpyRI8H4OWh7+hpBeOqMj4fnGhN4RcW6VahXsX4Tg7L2WEJNSjg6EvyqvpoUfQBNZue2ZlL0ogRP5JrSfMwma2T2KMUw6gk0G0af4fJH4KNdXnsIO4NXHhkZBh9XqrUe/cdra/G5uXQcy5TBxUH60iLRVsuJi5caOKWJQJVkIlGGqWXRWDAGWWq5sp6JCL46JrGyz7/78F/RY24P+7RQ/sHyEgA1S0wRCupxPXpmYQD2sSHZ2iL4hfTahoOkfnlXcDmuRH8/zX+MANfXASKFetJfMCKxJlQBFLTebCHIsPE5vcNLDIBEv2u2rZtDaX7CyT43lSfoCadW9ZAQtwvaK8YNKNObeighfQzbxotXixuV8a0bhArdvrcnRRD+5dMQOTCYgbP9xE4bUfY9RmX+fGu6A8nFoYfF+PpTwCf4TqYst69aDapjrwC5JTqb6TYtb9l+B/UspRnm6JugBFHFDwudjjQLWJGQQIdstXewWWWJggs06+wZCt6ZNsJcbnh5jsQeyno/0i/VVI/4OGh7wYMYBOLInAqecG/JJQNvzd3USWnTuqTp69HMg9xL0M8ILu4utGnQbumY5c6rJpcn5FfERXM09agjX0hkLSUJXQ78XHJTOhIT8+h2GrbMRmGi7/QwSbaOiSAwumtOBfMxwlyot+HLFwXSJWTNCWw8HFeOqbvbtDwDTvnhChkokNaTBvw8hH6D1hv7mx/4fG6nk1gvc+EUkAchtzu3DjDnta+102Gz1luYVrw5JUiJBGyNnNZtESrmcM5D0rcjZXbmC9GdqWRofFDnt57WbFaqsmMOHhLW1aDqOt0DdO7rCJJVWbdmHJuR5rUh0/Z8MfoiYcstBKFQ8SpSKcRSlpzEwMu6bLgrrwFn1QDRKCrXIi7+cTM0Ztz7mXfu6vhZUMHNikxKKpRmdLmpA190ojPhbZq6gnpCvSkK5DzfrYRIpUzLEp5tjHJmw9Yf9/Qh5JHgXzZI+o7KJd808vxEKLHM2GLLzVzlvzTWySF1JVYXm3+myArsbI2Mn8qQVuB5dguUBZoRLHO3tOOZXVbJ7sArxsLH5hjxsC3WETlakAOkmLsvMdoF7FlSpPZ0FAawv3xX7EDZ2YVDxja44QHeY64PKd7WnLFZylFn7UsoKmvOR8HKtZkL0ohGHbXWLJvHXefTnTCVkw1WrtIvLAoJCckdHtLN+RPSRt9YCHOG/C+IcFCqdJszMUzxSQ9dYtHvIsibR4ZvIfIapjvrL86849dnUilHXvG31zH0fd+KYJYirGpyV6uMN3lvUPySk3WZE2E2q+VHUHRxcOZO3UVlYxL842Unr/jsIpcGXsgRVg/yuu6Jf0 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0062bd97-de73-4d43-cf20-08dab56d9bc3 X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9416.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2022 03:12:39.8209 (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: kkW/wC8/QSMG7nIYNTgdZcDULgsfWpeX9td5HGlvUVBRCIAdrqbi+GEOzUGeQTG/LZalFykwGGJUfyAySpGXJg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8340 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?1747537134696301117?= X-GMAIL-MSGID: =?utf-8?q?1747537134696301117?= 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 316390f917a4..b8a7de87ce4c 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -428,6 +428,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"; @@ -450,6 +459,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>; @@ -625,6 +643,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 @@ -638,6 +665,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 Mon Oct 24 03:13:42 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: 8134 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp228363wru; Sun, 23 Oct 2022 20:14:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6IUThBQzk8K2QlLnTgoV3BxpAyGM+txW44A8efMcYoIPMLW1b0xg7oaxkjMlGgCKCO2E1w X-Received: by 2002:a17:90b:4f4a:b0:20c:64e2:2bf1 with SMTP id pj10-20020a17090b4f4a00b0020c64e22bf1mr37469320pjb.30.1666581287357; Sun, 23 Oct 2022 20:14:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666581287; cv=pass; d=google.com; s=arc-20160816; b=PMt86dcri4JlIfPpjrL1f8P05vmkmG/fr3NO5bIayGSIQZAgTyYccBTM8e1s3rN9qh 5yfTOHEAQyvjbcH9HemxB1mcHxEt/V9LwVc/S7Gpb+Zzm1wIWmgE8QJ/jZO7PtRVWr6h K+ur9EoABgJ1Nz3PChsDpxVruBBrDzNjMM+3+F6JvBTOLFKj1pyUOi0rRxTdFHkRaWSO ycs6kxu9lAUBc2qTCwTXJNsS8cS9gJOyNl7Kz5/TxyVIYe+K0/3Q0siyW5I/I0BvRm6g Gr1QoSYwJX+znkkd8KdAB3nLkTeabcfYn026EeyFZHzUbVmhJ2Rxp5ijYXiib5RhR+Ql OtNg== 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=lbdE3OLDCM+5a4tx8HPF1bTfXT7NcTr6XCQAn8MThw0=; b=XerYZjQLiz9fWZbJzJzzNq34S5vIKutl7t0NQNVJ7HI4NMnP/yCYvLRjjD+BQfwaw1 TeZq/FhcH5dRSeOP+v6dGyxFz0BZZaJcUSanzqufiVa8hCPLse712CMdB7qymIlWBSQ8 RhqRE1hi1O9rbBikhqE1p4XI24IX6CH6jSPjamjlLr0G91d9xmwB5I+GjpKgSpFvki0+ T2qlOX6W3IgFJ/IaHU/kTgODebRpYoJ8xN4wTghEaj+/uKYdL3bkIkEGIlJMzg4DradK ePuW8MTAeLqqGaF6EK0Suw9PpBPOiZhzoQsj7hRPHVTSlgPHjVP2G2xv+O/TSeoCiQuQ EI3Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=HmLw3c6R; 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 x10-20020a170902820a00b0017c162fc28fsi9061723pln.195.2022.10.23.20.14.34; Sun, 23 Oct 2022 20:14:47 -0700 (PDT) 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=HmLw3c6R; 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 S230183AbiJXDN5 (ORCPT + 99 others); Sun, 23 Oct 2022 23:13:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230112AbiJXDNW (ORCPT ); Sun, 23 Oct 2022 23:13:22 -0400 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2052.outbound.protection.outlook.com [40.107.103.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 958497675A; Sun, 23 Oct 2022 20:12:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HP0yc4/dWs7BhgVnFTRea8rQh3TIZfyofn7Xl5fkaXmTGV1cMnybMO/o4udFBlgsbtbMnd+jbsaUSTIESmnLNm4Mx9Plf+Nu6Tc2t/8Z/9cb/7Otv/A/IrEBzkfI48C9EHTnhajR/zIgF9kN0KjzdOepcqav2s0oV9+oSfPKbWumS+34nmADzcNZaSC9ETIVt1zPjd5HWPW4LFTAuxx1ax0wpbzXFU6b24keI/yivVIoRY0ROPlPfSJ1CfHB3q4KernlKbUlIlwb1HjnCVArvua42BYwjKeq8vV4hgGfuKS97PP2MN9tkMkkn3VRQU6xw5FtnskIgGUQC4U7lsJ3Gg== 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=lbdE3OLDCM+5a4tx8HPF1bTfXT7NcTr6XCQAn8MThw0=; b=i9yuOoAMX4k0eMhtbVY5n6+RdAgXNCNbLN9maFj3GGs8yjOFIU4fRQrkXKBurD4A56orTQEHVljBFcxTUCeJhCOORqtnGArRv93sBp6bMziNsAoLNAlxJi63u+Ou7nWQSmhfeWcv3sBBz5Bg/V/DhgX7BEL+yWFBHXdWKOCGYaX5iY8wvZLqHgQT5oR6O0HV/6wpN7XNOk+OyQtcrH3AoczaYr5nb5FcAW2KktkUo0fd/IYN2Lf1SxbKNd5PCdAlp0jS8r2v+zBDCRDbBcKK6i4NgeqcER2qBy27r6H4bugxD3HOC8NyeUM+fYH4UgZnSktZwzyevnMq7/719+EY5w== 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=lbdE3OLDCM+5a4tx8HPF1bTfXT7NcTr6XCQAn8MThw0=; b=HmLw3c6R2dfL5M0kanXTtAavvjk04K6WbgbXQbwBFdODdGLIYZTqLnBCmvGuBh0n3CAirYINhw+MjlQv5shLoN7x4m/PgLQPfksvgaFBLIQo+OR2GaZVK1dUzCdsYo1YDBsbp2cL5Dq0drz/n7+cEkVitbbXfS6kJH1SmDILng0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) by AM9PR04MB8340.eurprd04.prod.outlook.com (2603:10a6:20b:3e0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Mon, 24 Oct 2022 03:12:43 +0000 Received: from PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85]) by PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85%7]) with mapi id 15.20.5746.021; Mon, 24 Oct 2022 03:12:43 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Han Xu , Frank Li , Peng Fan Subject: [PATCH V2 06/15] arm64: dts: imx8mp-evk: enable fspi nor on imx8mp evk Date: Mon, 24 Oct 2022 11:13:42 +0800 Message-Id: <20221024031351.4135651-7-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221024031351.4135651-1-peng.fan@oss.nxp.com> References: <20221024031351.4135651-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR02CA0042.apcprd02.prod.outlook.com (2603:1096:3:18::30) To PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9416:EE_|AM9PR04MB8340:EE_ X-MS-Office365-Filtering-Correlation-Id: 97c2fd3f-95a0-41da-1d21-08dab56d9e0e 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: rsVgrNkQ+B4OgXXT7ft3IRPWbdEUBcGbthqMXWhmOuQiQlZ2zHxdgcLegsJfQsDlEZwVhvfNAwu69Kbbh1FDu6EvX5c6N6F22c6Mjc9l7VRflvRasT26IqEFBH65i+a76iFjS+JYqPYMFtA4p4gp6i+Kbiy0BM0LlfO/9mFZx7m5BtymGJlVnRdqxhaBrRdIo9aa/RDs2zrAOmDpbGfVdvgWnb6jqDENs/20lJqhAjsaH+UUKQ6LbK8/7jYVNH3S3fz3e9xJ+x0d0qjwC/F5yZBoVh/TDBY+glFCHc8oXhr+nmAJ5zt609ilVJmz6xw4e6DtRasXens3pYw2QOi2fB6Y1MwgrxGC2o3UYTgipre3R5ICvNvNrkAk7ydKT+kSx5dxicDzoFvmU1H+J8WekQ7b/ZCypNajnFEpgSvCSkK0CeEBvcAgsnhmsShFwkUvf/d3W8kU5vLmLsPFq0TQPNpos8wzMu9vYki+EQK+54o0IoK+Z+WW6xBcd+5SNJDg7vELJOi10UAGEZ4oK4cfN/AgVFIPwfKdhIKbO8gOI4bmQuHQR8hGql2lXmVg8hzXKNY6fKoLVqvjG/0UaNU1HBiefUfTawyUlEXfpgwLJVTucXhj3zYU4VDb/f3XP5i7UUPfp3MXxKppD+BC0yGfrKrfPm/yWU4OwygawmtFmxQn94c7+t+H5IyoDe9fLSbV+GdtahgBRjnpmt1FW6p3JUOA/9K5weeCsNkJHh9S0KQ+2mdtk7XGif2Isc5cseL525vxE/Opo8sy3SN9O+iyGkqld3FyKYXgt6b9/fUilyI= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9416.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(136003)(346002)(366004)(39860400002)(396003)(451199015)(2906002)(41300700001)(52116002)(86362001)(54906003)(66476007)(66556008)(66946007)(316002)(4326008)(8676002)(8936002)(5660300002)(1076003)(186003)(2616005)(6512007)(26005)(6486002)(478600001)(6506007)(38100700002)(38350700002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: d/FemWvkdGnCFkOa0z6YCTxHyT8S2hHzg0XiAP0pCuMwF2+YeA2WTj1hYLkI0SFe2Vku8dNY/P2bJ1VpdgA8VZAQ6JqIIp9JHP1kpImNi0GobYUurSDJKnRUX6JTrapATvjdo2rfifR53ou/lTa32CDFltOy1mKgn/yfVJbt9a2xR0XMoXQcSWawxs7KtZjaJrxl4liP1+SNMZduW3bcjJnVBa6G8DNi9yfYhJVsl4GHGWeCMllCbMujwpsUSzFoB0QIeYZS4swczSNthXDzWRcASwsJMUzFNyoVk1pjnVYOdQnV6ehDFEFysRdlJOwbfLtHJ+oXft4zFGfjvzu1gx3Z/IoQxrKmjzIiNl+ZzeQ7J5xb1oolYTYAh2ChkjqM8D0LGiMzyqSLXlvvENVjHALuSZoV1opNT0rzUYC8NqgfgfPnZWSg71iFQ1i084lqfq+/kZbR9zyHRxkISFHQdW10U/ngF9arUV4MiM/xYtWoaLZxOPQxhZlnU0AzCdfivVeAIPQb8SnwXud5sWhtf0/1HOajmxZhmRfEUJaS2CbORLpMosLvkYC97pH74+nkLGrbt126Kpfp5dpdEoC2kLh+LwpvFVuO9yeZB7NxnVFgD3tOnEqcwnfgC/f+Rs4TUb5T2Av9uf6kC4HWDmrHBYwq3tQziuqGI3T6bVHg0w+iupGnqRvhN+DWOjb/WD+m+zWADwelhu4rRjIC4DW1WqfQt561Bws9Goj8ODq+S0YqvHSoylaKt0tgUaF5AFSp7ogv/DWqP/twwscQ20954EVvSSYsN/eYurwelNUDoR4xZpnAwrHxplQHbHRyw+0pCtlEPmHRiHyuVKQQ1jbdCiDU1FXGfBBruwouwbLn9DzfSPsowIWxDVsw82FyO03/SpcQvztnHoSPqn/j1gFnsuF3sskFxwBCyZE9bDrtEJ0XgH5Qf5w8Dzl1WWptklARU3CP1cZ2bQv3LyNQ/aXWB+/WWrHfHshW3AsmzGIWhHF9uHOccbO8tlGGyb+c76AgWaX+m7u8QT7uecw4z/zFDkRXQ+LJkLFi2QhBGgijRcm5g6o+89AM0utWSVJz0JdZxXJ2ZLsdNjAkPMcl6CEtW9HTW64DfrR/37o3kMvUhnhB47zSOTyVjlWmQYSpZQhz5SYtL+QVqYmbmNm8TtHNGSk3HBR6Q1lI5IIThiyf+RE+rfX916Bb9HPWDmwUlvsP0Pl22GcagstMKpYp7ITCnghWJ8uN5DYGeqwgZjRIKJ3YnnV5NRxvzJB2vJtF5iSOc9QZpNnnn4qJnY6/VWMDpsRzj0hgEc//jQEC9INHx9BQYJ7sb0E0uVwzDQ2+dFyGS2LQFDObNBP3gK4x4HnPB1ftnLTzgLKgu0gtPmyuRvZ68XO2uU8oMzmZqtzlbu+rm9XMF1Ed21E7xQ2eXQAD3x8mpWm/DoXl+tM47w7+SBJAhMJOOlT8tfV9GBM/2Fsntz/PhdhxkCDEs0O6ydMGdQI0cPEG5R4DRdIVanCpWgI/IkwDzK1HRPilN9F/VGezjZTEj01HkmiNlY27CcMWS8+ARpQDpuCcZeVmji62SWH+KyOJ2zQeaeYkmT/tPt3p X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 97c2fd3f-95a0-41da-1d21-08dab56d9e0e X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9416.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2022 03:12:43.6166 (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: aYGaWdv1cyK9dwWf17iaHnEiZ9F6p6/ky81NkD1fRBPfpfAkKtFHZlhrvFjQaqnbd6IpOFE5dRPmA/OSvJLZsA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8340 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?1747537140017377352?= X-GMAIL-MSGID: =?utf-8?q?1747537140017377352?= 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 b8a7de87ce4c..54dfac4ac63b 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>; }; @@ -567,6 +581,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 Mon Oct 24 03:13:43 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: 8135 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp228432wru; Sun, 23 Oct 2022 20:15:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4rVYd0Uxz0lIK48srVNUpBU1LlB6dQ7TntyN2CZzbDn3iogNuRjrSWWI/4dDcMG/dKqHWd X-Received: by 2002:a17:90a:7e14:b0:210:dcec:ffe9 with SMTP id i20-20020a17090a7e1400b00210dcecffe9mr27041315pjl.157.1666581300717; Sun, 23 Oct 2022 20:15:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666581300; cv=pass; d=google.com; s=arc-20160816; b=q6ZxLEeOFmdAPO2r1o4G/zTnjJC83KQbLNeIJQPoYio6fVRIAydNGPp0PC15bLsjhH 3HkvHoOeFH3DLpUg3EwOEmZTya1W+W7rpdlKm9aINqDtCceM7ItYd3Wx20mydz4c/q1b HM+y7hfn3N9W+EeG0RDfBRfEDHswOZByLljE1BD81CiLL8roZHOr7z3RFMFIQw5RGzz5 GaVNrcI057aoem2pMBC6ie/KGr9gcvjXHQpil1ZfFJYCMKV33RTRc4EhGtG37vGqdlyE nHqguOGN8PX4v6/GgtOPy1Dq6zFGf9D9IN8MLjYRupllIY2fnwCLaG+Ey8gJvy6INASN yHqA== 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=Li3UaHT4yTsL+yb6BzDenMRSSdhbqZl5Bf8jyKKV+uI=; b=uVodLFTppfhawujb4JKndAcxDcZzmUxsNbRkGe1GhM7vBH9MlqmZyXHT647layzJVe dhQ93y2mxJqR8CsJP/gpC1aZ4Ej4y/uwsSM8ijNxgQhGyWcsSi/aUW7gCP5EibwNivtf MTf3acqpGSOD5T1vKVUhvaW/5nD76HyrJ1JdRs2d4OrSzp8LSkWLHag4U2TvD9Oe94WA Qr4aPwa+g/GFawFrIrEndau1YpkPNCYrQQbe3/6fAwZtaiHTRB5uUEY2tPxDtvT+tNcV gLDCPxq4/H201+A9s2bN7+TnB639TVEBUJy6GkI2dIBNGVpSYIxK/O88Dwdgj5f3agVo dl4g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=IyyNqmK+; 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 v10-20020a1709029a0a00b001768452d4d0si31638761plp.30.2022.10.23.20.14.48; Sun, 23 Oct 2022 20:15:00 -0700 (PDT) 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=IyyNqmK+; 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 S230024AbiJXDOQ (ORCPT + 99 others); Sun, 23 Oct 2022 23:14:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230133AbiJXDNc (ORCPT ); Sun, 23 Oct 2022 23:13:32 -0400 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2052.outbound.protection.outlook.com [40.107.103.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E1F477EAA; Sun, 23 Oct 2022 20:12:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZeMZEe0qaT6Dca5Onnudz8KJK3tfxvEH6SVQUyprqlRkSFN/R+o8b2OytY6v7y6DdRAE1UQjceSADkE9hzx6jKbsdbv2oVL5VkACulYl4yJ1V/ShyoFBQHMLuPfLxZkm5A/1QgUzl68Dy9Ez/0pe5wA/dOFSDsNrBsmFf4nkhCtunYr6z2BAxNr8qrkYwRVZ/BYtP9UAaCnaLW1+ECo8B7WYqLRurnGKWdrbZODqVObysrVE7BEJoLH9lPUUW+1IsPj/FNeJ2LQbl3uJxwzksu4KCQEZPCv3hRbHGYnTa43AFV8Ae7OaRGZJgSo1ePCxW8kVqf1MBDHhxGRJs2V6uA== 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=Li3UaHT4yTsL+yb6BzDenMRSSdhbqZl5Bf8jyKKV+uI=; b=npcrMbXQmfEgYOIdVKgfIYoXKDJQcnM9E4NGltSilITiTlMowdLpogmAvwQibjVz4Z0gdavu5RJiJcDTRpnCkp0DPSA2R3xvmkdNejlKlaLq1Q2VJ7Q8OLZpSImxCqAv+8I04rD0x3EIEs0GvY5eTldRcKpNgJCc23F5curlrbrwIZUetsHIT/2Ke+mCV87bSzSkbEjWjeWcsVaJ4a5u8tmKfzmR37WO4rNSTZ6+o7e3nSaG5edUGo7p1Vh8xdYlC+BJ30+Dk4wR7mDKjoJ3J0/IbGldfum6FeNpR1J1OyD90j3ZJ5Hd2kogKFGsZTXI/8VpALWSFXKJZgxyaL6lGw== 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=Li3UaHT4yTsL+yb6BzDenMRSSdhbqZl5Bf8jyKKV+uI=; b=IyyNqmK++nfCVidRaMizComj7aLuiiYIyJTeNTT4jkd6cJXWb3jMgcT9avQKV7n+XSv4yIgNps5sjJWk704TKOFGDdXHMCfsgYTm4ABKM6IBKBj+58Hu7TwYfbVPUiJdxhkB+wX3mZ5W0PhuZEhfzTdRQILTHjddrv4nKW8Vup8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) by AM9PR04MB8340.eurprd04.prod.outlook.com (2603:10a6:20b:3e0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Mon, 24 Oct 2022 03:12:47 +0000 Received: from PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85]) by PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85%7]) with mapi id 15.20.5746.021; Mon, 24 Oct 2022 03:12:47 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH V2 07/15] arm64: dts: imx8mp-evk: enable I2C2 node Date: Mon, 24 Oct 2022 11:13:43 +0800 Message-Id: <20221024031351.4135651-8-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221024031351.4135651-1-peng.fan@oss.nxp.com> References: <20221024031351.4135651-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR02CA0042.apcprd02.prod.outlook.com (2603:1096:3:18::30) To PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9416:EE_|AM9PR04MB8340:EE_ X-MS-Office365-Filtering-Correlation-Id: b365b1be-d00f-4d79-7026-08dab56da00c 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: WIlj/BRyDntuIjLtqjERHXhSdV9tCaJiq9KwDdB7xOanWQeM5V8wEdRy43+DRR/EntazvDOuk5zuPiKfMIKhW+DrUMkwLSsQKwT2C2LhscRAQJ3Xv9Ih4Ecnj+XFjmapjS/81KjDf2hSgfBW3rtnPUDJi6FOPPPWC2Qx0we0UuDv0IMt8T+zmYTZHqMLjrnYFeHmm8iyQBVL0nvUPdnaFnS6klx4O1/NQ+Fxzl2sm4DFeTrnBMXEUcvrj2+I2bKV5VM3BpUoyF6d4xx9kSOoBl0KWewQHjVBOz/vksnzMs3kLsFOO0XcZWgZxMzCDRjfwV58noF6Ia/1Ts/m+LWoWxmOnQdv7l9Hv3lsx6pfe6QD4hnmae1YIq7siP9pS7fiG5UWUcv7Tam47aRyjnCNdy4S4m3aPxe3wEpaFnTnng8h1bGROWpRVZdeFrGyzBkndpNhMkk6VBzgzu2QS5fkwlBQ5fc1Op6GTvQaMlPpSi4I8d1CUiTpWjWoP0o6HHWXzzuSUf0ADTHtEF0A7GaH+1unJKmJ5b2V2M2H4p9PTVk/tL7hVndfZ2zTIemxVLGIBqj/dPGA1UJY/F78Wrmr/toL8O+HtEpT944VKhnDbFpVfHY/sKjsW1oFSM7c6SdP0b3V7WvcYeRfWiC3VWKp1V5kzpnZy48zsfDjZKmNRaNMrs36f1KQpeksQJF0rqL4Jdm/xsEWS5cdQg9p2y9bkp/9c1DChP+5apxp6058FT8GUh97Rczs89y/YYPU9DMxi3fMdPzVEFsJi6vqIMcy+6dD+sNlPd+r+Vu/cEgzpyA= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9416.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(136003)(346002)(366004)(39860400002)(396003)(451199015)(2906002)(4744005)(41300700001)(52116002)(83380400001)(86362001)(66476007)(66556008)(66946007)(316002)(4326008)(8676002)(8936002)(5660300002)(1076003)(186003)(2616005)(6512007)(26005)(6486002)(478600001)(6506007)(38100700002)(38350700002)(6666004)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: yNPXOhHQ67lxgHmpgA4OzXBcoULfE4k3eOuyPk25xn7soLHFJzusMZELvmgDtzT4eOXvSS1gw5Z9kLKDI0YRpxPeniVaqAf+WJEwq9CIlZxVC9FIzCJvxiureErRRBaUWjUHGGF2AVX04WJDpuNTvxAwM+j88+Au/KBOfXWk8jPu3D4cFxt8JECt9BZQtBIFzR9kcKfV5x+qdLnlzya5EEZYGiNQzufXGIo81KtTTfALv+Ms5uqdSv3Lprw7nOYK48t3pOd3WdQyESZyJ7awtNpf9OCeMDkIg6OBu//FC5BWthD3UJ/OE+9cNNCsh4Rzl5MVbxts2HQ01vbquOvlKGLjSi6uLv/TQsuhHX2A9RSRXKzv5DqcfmhGaJBQ2QCbYmxNptXI5udJ26Hm7F9H+INvx+5SIclK6QRlHAA6QaruQ3SbMQeWBQCA4SkoeM+SGbjH2NhGan/aiHDY7pEgYugZxAf8HMR9xLnqB89/E0+CgpFu8JTVumMuuR/0FoyqhMrDGcjxnqKC/sf+2rGEqcYLnBGxgwan0u1ppi9Zqc2FMO0EbRG4/Y6Ieppf1391vDEWsdv+2hq87+rIeTxSYQotlavLb9TYWDjO3vZFy6M4v8bvc5W1sWqCB4mGrSECs9vwpGNEKG8J4wl3y+sU+IAZF5jcuk3rMCMyV3XIqVS9GIdBk8exTLuwjogMc+eRIlXcqD62WLjZ36DUNJiTF7Su/4nBaSXx95xswabDAoS/pXSesmXvdU6QH7gyFEQygcLe2uxrCPvb1dnY7oR6AbmiIa7wGs89yAylhzUqyHdZ5cFnLR+7T4LWH1iTOSlvpBZ66L4pl67bfZVTviJeTKGqO1BxsDm9ECjK1f42moPnrarhT13rtvIR97KbvhCx7L0Ip+Z9+NbOImQ25TJJdhNwgqKPsTvveRisaEwwT3mgFKRkXeLCzA0t9bjb7Mj0GuOvS5Z5cyBSAuhAC4E1f5mhhd4dkAUz/5tk/Ufn9at21wdDu/Ixv3P7iO2Hin5eQxrCWw5Um0H5Dh53bJwgYYmlIfhsjIl4kdSSXKrGGmTSvK6Y3wZKEFb1/M7Em4lxTrIVZs4038+tK0zJbkUvi+JazsFtaUGlZAWm4nOuIrdD/Sc9JUgsTaUCFFOEgj8qqLiI4O/kyGSXlGd2NE5f3eKzr4lN8qjXqokBzJ1Aoq1q1VCCCmTroEm6S1uxqvOFkOGFD7dbjh32UTgECz93fr5H2sQoZxhTqIZoHSJEpVZOI4W1noxDRN6LR+SkhvAj70QvCsGIGfDSwanysC//rZApI8fVpF8Hz0U+zWaDOAgiPhs0L8sCT55NScDy8N/Mdv8Tz1lj+MEmxFeiVnRML5PUG66vNl/6OaDzb8KfXiM0IQ0FSvzV1Gs0S97KaTELXJALjoaXuibQX6RZPj3XchpMS3i3vg53h6LU181w/lZXhxcq4bEo3e8xzejvN5GB8vh4DVkhOV+FixqAs1VO9x9rI/cfYS0xGJtniA8HnBeikzWFrMUkx5Ij81Yy1nY5h7tW/eYt436vVM1VbAHqGd3rHB3Zbyl6mpZiKfydeg/CpRUIrZsIhbMCXjo552g7 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b365b1be-d00f-4d79-7026-08dab56da00c X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9416.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2022 03:12:47.0559 (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: G3ha6pAoLADqMeMupYXsdZrQIxSY8b7Cgrusqnf1uUlQjDrJM/nWXvjqxHrqsmKwdCpxr+Ppmq6Mb9Gyab2A/A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8340 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?1747537153859687713?= X-GMAIL-MSGID: =?utf-8?q?1747537153859687713?= 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 54dfac4ac63b..ccd69f26a0cb 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -347,6 +347,13 @@ LDO5 { }; }; +&i2c2 { + clock-frequency = <400000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2>; + status = "okay"; +}; + &i2c3 { clock-frequency = <400000>; pinctrl-names = "default"; @@ -605,6 +612,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 Mon Oct 24 03:13:44 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: 8138 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp228537wru; Sun, 23 Oct 2022 20:15:18 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6ia4mQuRzlxNFiBRpJ0c8tE9e2mqltZqJg6oHVbwWC6a15r3xtGEBT8HoequQkadbvb9o0 X-Received: by 2002:a17:90a:c306:b0:211:8e5e:9a66 with SMTP id g6-20020a17090ac30600b002118e5e9a66mr25359013pjt.152.1666581317931; Sun, 23 Oct 2022 20:15:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666581317; cv=pass; d=google.com; s=arc-20160816; b=mGCFWBnlhjPSBYp751sNHT8PjezPOaAF+VI6WTsVEbTIZp1CLBcQlAU9lpk1ciGn0t 1722qShlOvoRpYpYneEWDxBJCvpuB7np3AI4Q15fIuJOf2nApMxGb7gtzRG18hXrjbSi HZZX9J9HzU0JbMdZ/Doj0iAoMZtgPXvGD4aXjfeQzLm9M2Kmh+OfEnuHYC5krp8rMfVh 6kqhUIGHDlDw1XKEaU/8dlkEvPPguUfqN/oF6eBgpI8A3t+Gd008WV3dphG9Ishz+2IA MGLwIIg+jFBGgjML7R5wiMKgFnhsfVVRDwRbHo3AxrxiXGlLLc7OdVh/eOUJYGvpPAb4 47UQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=7seoCcDHr1GrJVtmnKhkNbzTU04i+Pt/e27f19TPcAQ=; b=bV/NhSxV423hlLvzMyBmu22N4K241y+u97nkjDGmj51oGYX3ACG4N0S7Ly92bCSgLZ dw5IaObYPT6Wr58mOQ1l160EmgHKAPhE1KOClwUngTH9VjTd4zKE62e9YDfy1b/KxqSP dYOxpJLb+n7Uk6/546cqzzVzs9q4HO+6EhFDbFsDU0JWBO/Ma0HLCBR2b2Ov48msIF0U zzGyZEMdHvXvbGwi0eVX90dYarnvk76d89WoErqS0qqDk6VDGLCtu5bh+g5orf9gHh5S /0EgSnbXoDEmxaE0TSIUb6c0xxENKJgLcyhUg4hHp29RRcvDkw+kse4m9LZ0+21/2Odi mdMw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=kfMNZECy; 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 fr15-20020a17090ae2cf00b00212a866de99si10760197pjb.157.2022.10.23.20.15.05; Sun, 23 Oct 2022 20:15:17 -0700 (PDT) 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=kfMNZECy; 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 S230172AbiJXDOq (ORCPT + 99 others); Sun, 23 Oct 2022 23:14:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230060AbiJXDNt (ORCPT ); Sun, 23 Oct 2022 23:13:49 -0400 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2052.outbound.protection.outlook.com [40.107.103.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4769B78BC7; Sun, 23 Oct 2022 20:13:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hw5VPgIM9TNO3U+QU9z4QVEeKdwK2KE9m6e5rFnb6yD7lGPffMsYuluhGBRYA2M9PaHTlHA4HCo5FxXHUvhLUEYqQYMJCbjLnXnaM5rKooH6TYVreBRKp5iGFxsMDmg/55JqTnsCOVZFHFs+959noYFWwnuPsVNgD0HCY3hoRS1FGVt5Q/QH8Hx4TwkvgZ4Sr+c/NuTky/a/xWosxINdpswfUeBqec8DGVTtba/zpqoq60lIEDBeEHfPkfffU0q0Zi96ZVFs9fWmfU0UXOMS/xpSqgnIb40saUaKI/xKd1w5WA6D4vVgs3OeKekOgYopUlepM1IaxsS/QjHznPFJYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7seoCcDHr1GrJVtmnKhkNbzTU04i+Pt/e27f19TPcAQ=; b=UdbBbk9Gh7E4CBY0iSE2iuFodwvuSEE30qlyQo2RyTsc0C0iy7h6UNyPU+pDmfpzSQ67gpAEtyyhLiPLbKhGTQc4oEqLEIpEt1cgTXZBJk6htfm2QVaGCGKtXYdKRuAPlIYR1KlqMAVfnKZjR2Axu9ijQ/yquq7nVhDIEJy9zaYqIXCmikxM0EwhYPPjdoS5/fUiGQhkPX3oNxnELF+e+4ArDyf9qbFMXPMxs+CctaSQLMomFGIzOBH09Bnp7NJ/ltN8CiEtA2g8l+fSl0XyYq/ohYDCplQ2DSJBb1/TDmeEEL8BNdFYGKBzd6ui5B/9H+BnTEXHl63MV9yfVdVyzg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7seoCcDHr1GrJVtmnKhkNbzTU04i+Pt/e27f19TPcAQ=; b=kfMNZECykvag3vrMBZsOFvg9fZ/GDQiaztEtf2vriPmk4yX8Hph/0I7B4go4N6i0878OfDSNBtioncE1Z9hwyBYbWh9Zwz1T1v3NhTe7+p0xow3KeHlHOauABBmUjgwUEHnx24BoZ6+dEXfjK+B2h954JeEezq/seWUTdAXCA+E= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) by AM9PR04MB8340.eurprd04.prod.outlook.com (2603:10a6:20b:3e0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Mon, 24 Oct 2022 03:12:50 +0000 Received: from PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85]) by PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85%7]) with mapi id 15.20.5746.021; Mon, 24 Oct 2022 03:12:50 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH V2 08/15] arm64: dts: imx8mn-evk: update vdd_soc dvs voltage Date: Mon, 24 Oct 2022 11:13:44 +0800 Message-Id: <20221024031351.4135651-9-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221024031351.4135651-1-peng.fan@oss.nxp.com> References: <20221024031351.4135651-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR02CA0042.apcprd02.prod.outlook.com (2603:1096:3:18::30) To PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9416:EE_|AM9PR04MB8340:EE_ X-MS-Office365-Filtering-Correlation-Id: 4e338994-142b-4c14-abaf-08dab56da235 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: dn/DtDC8/GgdebF+oUyBsvsHkQLRjHquHCVnOBHYia9QdtspStaKsUUTXXOxnzSqPlrIBzkb3oc2abX4osj6rATMnS3s10aho4eHi8W25GYe2hecU7n6qvb6iiM7HmyAF7dp7krZtJJIm4L3B34bQrHnwCi8Br0zUUYspVo+v29TzEqPdySJqdF3SqcstVwe5RuYmlD+8ngsPUKgMJHDGotHhz6YOAYiBZd08uzsQrGECi7RfSfyJXbsCdbDMIjCbRppLqunU8X1lg6V6ocVFQe0IH21+IRJyVjGdtvO2ViagDn0if98EsjqBaA535k7DDSsailjaAp3BSFMhicEVtcERyzKc1shnmDtx6o/Drocc24pzXQKdaLnUJqiTZnn3DyPriXDUNp0AKNkDiQYwS3b5S0gKbz+m/1FQ1XhPus0rQWIxqqBbFIHwP803gY2WVUfeij/L06x1+u7MoAp3QoFJ8m9bt8ka+T6TviWJ3DT9iSp8+WFIOs4NcVjFb/7EWSS1qYX9qpo3dmjZXTS1yGomaQYo5noZh+GVL9w/B5OSe+jfW/Fxlqgc9XesnB8P5HyNFDbmUDlTHx29UCZpu9NAZdLre6dCGTNcjfrFnVh5C3jH4UsUHEXEgohFCSJFIRIx9EV2lk2kuhaggWq2mb5uTiN0VONHV9bHo9wI2/LWNkFtUHziZuMvanohLSKXT/28qs94mN9EVqec/pWJhacdQF/9sNH3bDVVrHVtXkao1RgdnxHfyndns3J6OxkqeKJxxUx3fLwRsLUyseW6PvLrXo4tjOgXXibS26Q3ZQ= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9416.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(136003)(346002)(366004)(39860400002)(396003)(451199015)(2906002)(41300700001)(52116002)(83380400001)(86362001)(66476007)(66556008)(66946007)(316002)(4326008)(8676002)(8936002)(5660300002)(1076003)(186003)(2616005)(6512007)(26005)(6486002)(478600001)(6506007)(38100700002)(38350700002)(6666004)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: EDnanvIikUfxxbrH5XMOs7CwfkvBzHNyNBNw7mwNaD5az+wv/GJmenDzwFpo/fmlUq9d9Gv99g3od4Eac4XDZzP/5vQ7CPN2vQ2k6C3FxZmEjPYht0LosW10FLBt07Jjv1DFn68Ms44SYlKgxDg0o8kBugvnN2IwNAYImM4tEWTqv0kP3KeLAvE7vXRKhpLY/h0TvrM4tgTWuLxYSxiCJSWydawYX8iWVnKm0KfklUbkZ/75DM0B5Y2oSI1pohS2GK6ivWtPyuHS/bwR6qGNrflFjKl+ZWzVCzI+oNHZcU21nKYSU6Cy03KryhT28Za/xWE+Ur/ARjtopuFdmYxmrwRhHNIL5TB3GBI2T58pZgTt5zyaYAn6EBUMGalTsQXvL67nEcsxSUXlogTBQI+gh9+qObwbdSxVHMyRwyDm27djTaS5xDqcewy+1juWghQb1hZSBxk8bgcsPhZrzODM8mus7wJYNX2PrKJ/hMeJ8J2wQbM0Seq9t9ZmgLlIepYbN60Pwm4zGLcMBPjmBl/9Do44qkDzqeSObV5pRXwSiX5i9oxujyYHemCptpvNDQi7//SZyozGso35lVWVPC2D/EVU5ZkfgHr56/ZKqP8UIAZjVQ6vw3fegZydlXOvPjsDEli8EVcsFEGDzfGPxqI8WCBAU2c/Y2Zoy2YiIyuDvRX54tG7lmrwb6TnMJ1qgewEwkFubRbUEdnk6ShZkegYlGvSSdonmwiQ/a43jgAYMh+Tzts9q6IXHyb55W7uz/cXhcS5UbBFyoa799AiAlMCObgfZGLnLSjccYqs1rsNOBfc+up5NVY2cymYUhpACdXlc7mi9juCeRDW1oxItwqighd8UiLY/QyII8EisytiMi/APPsgW+iyxBsKIhos7aAQ/dCbMXby7++LbHGAVlA0WwfjXmcrcZ/mZquTIvXY4uEcMac1B2COjYqjuIxJ2mT2BZbtnpKp/BF0PCRZZwMuTHJsoLxYwFn+t9iOWV65FrYl875BB78hXpP6LM9rLIWPY/dyP9icvEufAfFmxiZX29YNIoCa83/smC6GhOyS38ZQfjItGTvpy1PP3xsbNp68lHtS2diUeQ0ECXR5BgeP5JCQmmlFqLkcbfZeLmb2YQChSF9dcX/PK9yAguOZS3oZw2Q4XVl/jgXZu0CFr4/fWmkXfnjOWPT2mXxvHJHeXL+2xwfjJ97lx3GQx9XStjfC68wMTCcTV8Dcl7iKmbgjf0rLjTuP+hw08Bs3rY/SsWAJeMn9C61gHiil2M1XmVm2P1alL9l6KOrsyJRHlnmXsy0KvrWuapxVyswOFHPOB77Xc9ZTjNS4S27x4amp6CnXfXRB1z68S1sI0bMdtugGfIIK2hknaQy/mNIyaY5VEZ0tRZUXzatn/4ke1k+wSr4Lbt9Nml8JXbmTDR3LBGxnt+Oo1LAtM+T7A6yC4mz7UvG/MHSY/nuXjacHrg1maNrOfobhMa5GBHmh/P38vWk3wATbRGVM/jxaHluVGnPfV6RXVmgz8Zf2QUoCXUSD1UyCEX4ewbaP/33KnWw5tKGM7WRDCPATHnU5KWkr13V9cpwhUSr37BTTwpa9PPLyqMFE X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4e338994-142b-4c14-abaf-08dab56da235 X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9416.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2022 03:12:50.6804 (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: Cm423gVOKi+MzNhdwLaT59FookxXLe/G+6dH+xbynH15iN7IduQK30Wv8N9brGflJ5DD6T4LgNhKdGHZtxFgwA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8340 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?1747537171739575344?= X-GMAIL-MSGID: =?utf-8?q?1747537171739575344?= From: Peng Fan Per schematic, BUCK1 is for VDD_SOC&DRAM&PU_0V9. The nxp,dvs-run-voltage and nxp,dvs-standby-voltage need set for BUCK1, not BUCK2. BUCK2 is for A53, which is handled by DVFS, so no need dvs property. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mn-evk.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts index 4eb467df5ba7..a5a7d74ec1d5 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts @@ -47,6 +47,8 @@ buck1: BUCK1{ regulator-boot-on; regulator-always-on; regulator-ramp-delay = <3125>; + nxp,dvs-run-voltage = <950000>; + nxp,dvs-standby-voltage = <750000>; }; buck2: BUCK2 { @@ -56,8 +58,6 @@ buck2: BUCK2 { regulator-boot-on; regulator-always-on; regulator-ramp-delay = <3125>; - nxp,dvs-run-voltage = <950000>; - nxp,dvs-standby-voltage = <850000>; }; buck4: BUCK4{ From patchwork Mon Oct 24 03:13:45 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: 8142 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp228811wru; Sun, 23 Oct 2022 20:16:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7gdRRLCEePKZ2wG+x+tKosExlbBE3KZ8zr8C3iKAgAqgHxIvaO7o61vF0lhtrbcRs9H85H X-Received: by 2002:a05:6a00:1581:b0:563:36e1:38a8 with SMTP id u1-20020a056a00158100b0056336e138a8mr32349035pfk.80.1666581383110; Sun, 23 Oct 2022 20:16:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666581383; cv=pass; d=google.com; s=arc-20160816; b=vmfYiXLbC4GahKm6gODXzETEtWOfTogjNRnYBjWPW9qqw89blTrUYGITQG9uA5Pajw 99I2NqCJlkIorxTqSt2ha9P/jRJf1ZKgWB6c1uphTpZ210Eudvnw1sT+9ydfI3GmI1wO wSKe9d7/LEr/KTZ19fQLi+0mAqe7lwtK+Zf5pDOHNlmil8sQR8rE8Pz4sYSv5wFMe6Gj cntKMp5PcxRiHVwpCOcIHgqPxPaeRQF/+41D7VVTUu6g+e/cXmQrRma1fboqurt7uEG9 ZiuC6EwlOD4BMWcmaclAGNyxADzR/1R3Dqu3G+vEysiOC8t+dDQfvHHuwjhRGeFkAQ4U UYFA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wvUAb3mcK96FP9e73bKTht9uQvkXPfy6sAzCX5waNMc=; b=Jpy8z7iuFwvD3P6V4zAkPTbo4jVK/PwP/GozDLZxw9EvROqRXdz1hhtE/aFJWX9dsQ asboCwOstQiVc90cK+iQ8RvVkD5EsG4eLhYHepv++rhFouKWGGNnthw7ieurlDM8hxcR yApzPsxWgH7trhe+znq8bLNjL2/Ge+z8PxyVB2YeIYrqXOB7HI3cEn9R4zcjGhEHUU9j Jds9vzC3OqNwHGzGt+xI79wYKwCK/bgHZuo55tWp5dF+OscBaaEEEciUqi5JSsIicR3y 2fOB+V5JGgO98NgaPUvqKcTJmlfVPXMeuyfiH5iYeFRXJ5y3mdo1VP4IO81OMVYzwxyQ w/OA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=X6OoeRhT; 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 oj4-20020a17090b4d8400b001fde53d5d79si9368770pjb.5.2022.10.23.20.16.10; Sun, 23 Oct 2022 20:16:23 -0700 (PDT) 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=X6OoeRhT; 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 S230262AbiJXDPk (ORCPT + 99 others); Sun, 23 Oct 2022 23:15:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230102AbiJXDOY (ORCPT ); Sun, 23 Oct 2022 23:14:24 -0400 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2052.outbound.protection.outlook.com [40.107.103.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECBB9792F3; Sun, 23 Oct 2022 20:13:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jSbzyRFpqBjBNsJ70bIP5mQ5pFLbYXDZOKx55zhz5adv+sl9aF+bsaR5kUPGzz9587mZZpapnGAASArQCiB1llS81mrA0cYqmVFuR7ez4C3uRnw2hChm+8bmTBhiid8l+XrLDULaVoHhD0TSk2LS5/hx0oXXFtHbnVSMPWYR6TKUbvVJdwcPD/ffgYeepDI+vy/UCtr2hfnzUo/kjtzBACcilJk6etFUhOW6ZryLo/Js7fOKoMJ7nGd/3ULACxWB2P08iXEHNo3UmLoHVBum7z64MJsfFPfgOu4qcTDecgryQl3Xd1dV/SnnQhXYSuurfy0HRo5stjswh8QVWDnZyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wvUAb3mcK96FP9e73bKTht9uQvkXPfy6sAzCX5waNMc=; b=Tq0TTWafMO7aEmNWhZO91pP0kHAjw4MhtUvMz7fG2to/plZcq0FMoVyEb59KWsi0eYqLdnwzVhVR2N69PNoQgw742TlHHBmhR0xv/xtZCw8HlLmBCI1ZXx3vB0ela1s2RJJ9oBoSwX3uNipBFDGW0Q/9pz74vArH3qOuni3bb50mB13Mub3KQJkVjmTLssLdU81Os6iyBakthHGP17RkiZaCAr8ZJLkNbv4K0moMRWRPkfnMMeXSFprZTvCXK3L9yNZeAast0ddFiZbHL/3jgPwGZnxaLY3aMhXnH2brrMwhxMSigSh5QdbwTjiE40HxIxSdVjrXhhQJFwAIuZ5GpQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wvUAb3mcK96FP9e73bKTht9uQvkXPfy6sAzCX5waNMc=; b=X6OoeRhTTWd5ug32MzQOjqVfGlQ2fbh5WsUpjA4UotEIwJ4ysgoxzCFMtRc/Oft2kaQlIQ80Q4RkCqfyqwJgBYpmaTdZS34DmqM4+M5j/aTdQJ8yvzJ8yI31eNBh3D61UJ1/nJ5PERIqmucenzx67G3rwdx8occXnhDCXghkZFI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) by AM9PR04MB8340.eurprd04.prod.outlook.com (2603:10a6:20b:3e0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Mon, 24 Oct 2022 03:12:54 +0000 Received: from PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85]) by PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85%7]) with mapi id 15.20.5746.021; Mon, 24 Oct 2022 03:12:54 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH V2 09/15] arm64: dts: imx8mn-evk: set off-on-delay-us in regulator Date: Mon, 24 Oct 2022 11:13:45 +0800 Message-Id: <20221024031351.4135651-10-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221024031351.4135651-1-peng.fan@oss.nxp.com> References: <20221024031351.4135651-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR02CA0042.apcprd02.prod.outlook.com (2603:1096:3:18::30) To PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9416:EE_|AM9PR04MB8340:EE_ X-MS-Office365-Filtering-Correlation-Id: ab0e5c44-9980-4300-5b33-08dab56da444 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: cicLV1XBMbUgZWot7Cv1Fh8HMKYgNpxKb0uBbUT1ZCjiMsFWFd97fibeVUjbJWTiWEkyHg5pn62mHdVYZyXpBOiO03A1YhM2XY7+EfAR6TbVutDuyYURYlr/BokpjJSfN5B0FyDorn6i3hvlP2ys/EfmCQJ4GUIY+/C96AiFGHKD8iTf2AMNLaBZAtT7kJARtg2UzRy2JlvuJVDRUCPubzxCeERAbYvxnlvw81ICOd4B9o0Djso7ssxAbCOppkw4pCsKbwuWhIWYVOSReZFcENBAfJSlmawuPq4CS79eopjdpTGQZhlCPmDb6lxcc08Yxfl5hVweSrIJMrNGfzWTrkKDFHMv89eRP1qx/uGZYJ2FtVYeNuapWBAR63lyyKwJ2GnAa7uabQWb+cszqAsaNIiSmRi6m1HL+P+/t7wKePsVpF2FGXc43p/7bD42DAcryolwh5ysX30fmar3C+XMgimNN9MvISR3+a7XzlO7G2oXrh9KyeYGaIv95NA26MeMrMVxtrAiNOzvcvKBu3BLATtAxf9TlPrr0xUrS7CZ3AsIJRzt1hl73jM3VU9y2o9lbqetM2TWH2sh1blQ9LUKgishvzH8hC/N6+T5jyP7O3DpVDHz71EMBpNiFe/G+lzz28gVkenv4jJ1vWGVZnWMF4Tm+SOBfDrInnDjaTEEYzVNeSX/RjkQHHy1X6lVPfyV1gyzQZO5lmYo0MyJd7XGajKxurpP+Y67F6pHMSCmeLYiELzqh46ayP6wknWUPEg9+0+Gvzk9MARnnx3ZW2wPJTliVOun7k3X5Akbdo0PgqM= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9416.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(136003)(346002)(366004)(39860400002)(396003)(451199015)(2906002)(41300700001)(52116002)(83380400001)(86362001)(66476007)(66556008)(66946007)(316002)(4326008)(8676002)(8936002)(5660300002)(1076003)(186003)(2616005)(6512007)(26005)(6486002)(478600001)(6506007)(38100700002)(38350700002)(6666004)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3hLgmaX4sWHsXgUZ1m+FjMKCyLIejATPWtlsvGh8ZSo0Df5tJcwIxDWEZr3ZCCFWAH6P++Xd3doi0+FUi8II4lBud2rIzEeMv8+ePRUBhys7wY9IxQBU6RXKeAe9QdywMdjgEudgWJ708HRXb48A7sLxGnIVXARv3ChjTeUBhexrRoSgnXHjVyHWPQu3CXDbLBFs9rHc+04ef9P5YxxO0cTc9WvtBZ4wP7XtqkjAyUsf7r2aPbFhbpY+b2AoJpkTPSN5/QP8d93axQ6xYrv3CcfsMw4mDp35qZvCl8TkCMJoiqxqSp1B0+EvfmNy3PIrlqmnAClcXR5IjJUlOreIUtORtx1qKuw2JEuLH47cmzNv0hCOV6IeIDxCmwPxdGMipOvdv1d5nTb0YANwVGFP16XXkSI4jcaJWVKew/2BRiOQJdEe5pYe2Puzc+IztM9WKoOwrz+vwnFIAq1VgcLizYdHlham2hmpM0Wjm+HIYYDPIHkVhykKxmskCh58pjm/WPNauEltEqpNO9TF6Al/HaXVslEMueSu3OYBRiw88EeTtBls2zZlFJURDzS+aDqYmo6XgWRXzY9f/fGkK0+5ddvmKKns0f946eoc0TsgA2QyXGjpK8pm4KZcf7nnnTGo4XNVW4qSoSH2Lw+v/TkgIaMLVdrKAavAUKidBvry1BxiP5K4WpXa/1sJBUQ0Tux7bt6y4Qct/fvg0M0h9alYyHR5eSQcijBs97vHSPYdMBkepIb7Pwl1pnRuEV/cXvxl1xO+jVqSvBT+I9HfCj+Nx38z5GygL2jsl9kkuOefyvMBV3gZDbI4QnPi1+jvCqYX5RcCeXQ1bY+uptNhNl4y8ZVJjIllGNjSvXDvwoDA5oslSPmOduQxF2krGMvBaGsAQuud2GPr66KLfQtCyht+JqJh4I68weZLvPTgbjvdAyaZvTd+NKleMzP2pJRytapYAQKnEZ9OiAo/Mv0aM+xDy6ruAr8x/YDm07ANi9D1CvDV7CMqxtp1jwXEUvyR4/ea983gHOBXAJm9GDmvhuZAICi5lMcIyi0aom/61SiXplJ1WSxN1y8IcRUSKcCSGNaClD7l0eUrs66TAJzY0D2gPCwCHpvAt3Vk7dOrgpkVVRgoDJFE8+q7bhgUCzniB92Pa1/O4bnbk2PLS7hiGB0mRPBOJapJv0Y2CpbaH/pFJ1tRMmdgGtSuArFTgLopgDlWZTuLx3/plI3Ka9p2iBU2SknaB94feLXd442JTx7JAIWPVfTeScmZ8OWpXU/jmggD1KWfEviBsXH//DsmH4ncEg2UwjAtfZcoYWwHMoOUyRc0K5YQp/u9+VYaIChdGx391Z3yUDDdsIqj2m4BlPJX5iqufZgqlBugvF7jqG6RLGP9FPJ6qFptsHZfgh5L76aORllZw6UAsNBrfqGhXsHprjOnLzbXLCJIUh3gz1ezxG+hQAoURFhsmQ4V+RR5/sVOChA09CwlC86WuQMAinZ4gyvYemOYHyRDykXwpd+Yo9EbONiluC+Lolt6lLHeY1KCKDTTWAZNjDPk/tT5moYRzsBByrXxURT0IbrmnNwMOwdrjbFgfxpsGh3YM9nk8Mor X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ab0e5c44-9980-4300-5b33-08dab56da444 X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9416.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2022 03:12:54.1476 (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: chpvPV+f6Z3YIeUsavSSGKo4bcn8up/sbLxd8sIIfFnU9SBjeF4sQTgwJOblMc5vHAN+wW6ApI2C+VYf/uwWjw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8340 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?1747537240376917333?= X-GMAIL-MSGID: =?utf-8?q?1747537240376917333?= From: Peng Fan Some SD Card controller and power circuitry has increased capacitance, so the usual toggling of regulator to power the card off and on is insufficient. According to SD spec, for sd card power reset operation, the sd card supply voltage needs to be lower than 0.5v and keep over 1ms, otherwise, next time power back the sd card supply voltage to 3.3v, sd card can't support SD3.0 mode again. This patch add the off-on-delay-us, make sure the sd power reset behavior is align with the specification. Without this patch, when do quick system suspend/resume test, some sd card can't work at SD3.0 mode after system resume back. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi index 261c36540079..2b4395854283 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi @@ -36,6 +36,7 @@ reg_usdhc2_vmmc: regulator-usdhc2 { regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>; + off-on-delay-us = <12000>; enable-active-high; }; From patchwork Mon Oct 24 03:13:46 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: 8139 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp228556wru; Sun, 23 Oct 2022 20:15:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4ZwLXUQN1t0SCNfhxahZF6d6PFUsDiNDODF1MJU11VWNCLqNsUzL7y9OTXm9dprh7U22Cr X-Received: by 2002:a63:7909:0:b0:458:1ba6:ec80 with SMTP id u9-20020a637909000000b004581ba6ec80mr26975372pgc.414.1666581321752; Sun, 23 Oct 2022 20:15:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666581321; cv=pass; d=google.com; s=arc-20160816; b=aSmcGMI6PGoq2fThOipGJbbNcm2UzdcoYbBVMh0rB+ouhS8R7bF36KduzOGrSGRrgX jHBHkpROC8jKqA5xUjT/9jRWxP/IC4aPzNcHyYK43BgBGsTzE4VVPQVebLzwT449nU1y Ed7RknP397PW1qd4r68aBOocg+EufYNBCrxpX6VF55CVKsAIx9q5eAgV68vLLpNCYSKL 0bfLfWun5ooMcRcCMgDypMqFFXZc4+8xQnKNHrsuQPMgEgjYkyvfId/3O+CmSV4RuwLx U7ews/Yaw6ADxnpGZeAqQF1FogQ9XAfM36MHGKWH67zmeK7Z4L387CGu/w2wYF94s24O laPw== 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=nk0AYZ7i9pnUdrY8fZD+Ov63T/4O/SF9jHwJod72mto=; b=Q+1vmee/drURxphk9avheq1NVroiSSJkeqFGazCQSkPmvsLcLH1UQapePZyHC9T3Co lJYW5MV0XRzSfElUgtCLZZ5qBmbnyPMKHS3cKgtEoWK39YEVY9hpMZ7JuhlmMT/t/HK5 pyAmJUmyc6YusFj4V6B5WJFfESq2MIjCxUBVx6FP09LbDrZdgxD8e2tLdnkMD+2tswPK dSityK3ggmMIqBCNRHxbCrKdxyQYks8KvIjXsEpnfMxoyc3h4ZG/oTwBxKU49V8Uydcj J8zldZmYqINd4XjZNqsWAIxfDwM6ZibNu6pkqOXdX2SgYV6PfdOrTN3oUhIsoYVLM95Y NuVQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=eeMENeW8; 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 az17-20020a17090b029100b0021111f5231bsi6931806pjb.22.2022.10.23.20.15.09; Sun, 23 Oct 2022 20:15:21 -0700 (PDT) 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=eeMENeW8; 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 S230149AbiJXDOd (ORCPT + 99 others); Sun, 23 Oct 2022 23:14:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230098AbiJXDNh (ORCPT ); Sun, 23 Oct 2022 23:13:37 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70041.outbound.protection.outlook.com [40.107.7.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 033697755C; Sun, 23 Oct 2022 20:13:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=djbbU357FVKAiLGbOJTKKUQSVMkLbttz6aeIYnEi2Px38TVWP93GwsshzRg3QgcRD/TUI9cph3zqj/WbvLFJdxFVKO0nYsNpykHg1eHs7B4D1W04nfnlNgU/eYO9wFWPOlA5MMdy4UoJWwazoGFNyg00OM9Vl8odnSQ+K3rKLmxrkZvnbELd3npo3SxS17DELKcVOBNsX3RLN1oT7AwOcK9m24AuPZxDTOexVMcfqg2EaqhwjcP/R1OhHbPJ/I7GBP3IF47OVMcf9LgKvd9JYBtCvvCrS0xOZPhmRCnZBC/CCQClIFHt2TxvCrEIXc0PEPvcrmyxV0FbVVDMm/zRbg== 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=nk0AYZ7i9pnUdrY8fZD+Ov63T/4O/SF9jHwJod72mto=; b=mCAmOHT9DQ3C/y1nOSGwwi1Zl09KGplRS+vnV0FrpJwTEWCmvqzdMtzyo1DJRl1ojhWs3+tnh2n8XWAPAQU67EBQDaRiNMwPKRr4F+UpqRSdowuoAAOUtQQ2umsT7VOiNYY0eD/eO9Biyb2vUbDzwl2bw79aLHEjfOybtAwNeTqnOHzGRsC/MfxXHe2ez6Sah6IS/YEYmSeydCIWltP85aR/yqDlPlFwm/oyfNyBH4w+TRyYl3IGVVJN9cxeKxQThjSPIniN472/B4HYz+KPvjJZzmXDkZfodWxg/SCAF7WNFgjHIdgsbf3UYLORR7saHdqhMH+wuWUFwLIs4FDHgw== 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=nk0AYZ7i9pnUdrY8fZD+Ov63T/4O/SF9jHwJod72mto=; b=eeMENeW8Kkr/HLYx+TZnO/Btg5Ki9d7/6jtzA9cYvZSFYOSM/f+FJ52JR2tBfaGegqXHQDFFnZGVzrG5hf+AK56v7GmnVP65qsWzaf5m5LNM7vspNdoK/psBizSOCsTbPs6+YoDAzcOV7QO+UIMYXgXzXteyXI57EGYN2mYstGw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) by DB8PR04MB6825.eurprd04.prod.outlook.com (2603:10a6:10:112::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.26; Mon, 24 Oct 2022 03:12:57 +0000 Received: from PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85]) by PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85%7]) with mapi id 15.20.5746.021; Mon, 24 Oct 2022 03:12:57 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH V2 10/15] arm64: dts: imx8mn-evk: add i2c gpio recovery settings Date: Mon, 24 Oct 2022 11:13:46 +0800 Message-Id: <20221024031351.4135651-11-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221024031351.4135651-1-peng.fan@oss.nxp.com> References: <20221024031351.4135651-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR02CA0042.apcprd02.prod.outlook.com (2603:1096:3:18::30) To PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9416:EE_|DB8PR04MB6825:EE_ X-MS-Office365-Filtering-Correlation-Id: 0e30cb6b-89e0-4a67-02ce-08dab56da651 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: 6W9DitX82o6S1fAw4aTYhpq+UBU1Vh1qiSDTVZckMRK8TzbSy+KndQlCP3RAKcsrHnBCoJVVqlrHX8L4j20Rtqqt+ksBMAB8bR1CLa9Blg9o6RLYdFXraoaJh9y/3sPoFpM5tKWx8JiQlpiK/xLTDBL6udspKU0h8rKjo7LfgWJdz16tFxwrPfOY3NnqfLpeao/lLw+UIrwNw0dejgoICTvOaBO9KeXpSq9nW6vADwh/opaw5egudV1SBz3/OyHD071dsW5kEKVYsRDY3NfaFn4c6fhciEsUkRpb5NftTwwePdVj+4ZJnwEwyKsW03WcJwGRfswvwxLxLOsawMN6NFsMbWB0sOg381xzV31jKt3Yh4rz1lo3qGa1M4mW2taVmatMksjPf2S+mBm/oD0esqXFeOm9l8PVsFmZ9jG9/JwVA5PdCQSXVtYxLbaX9FxGbQ/b5Ec4cx2D9Sv88X3Mvjh7QpvONGLX4Fojr/+WhkIO1MVo6m1JxhTgsiJqTW5MBwwjxcLvNS8HqQALvmQV36E9m0LfVq9J2U1LCXAwAactXr0MM51drORrep8qz8rvKtvfMBCp6jHtrxZcETN1xUzZ212jxTmNFU428yi/kn+MN82jTUKYEf4RPc2xsZ60KcZ7tn4N7k7fkPG+W3AKSTB1vvDqgdFjslmIgS1mifgawNmPYjswLx/Nlx1CS7FGqbSP4kwBQ+RPneeSgy94+pobc8gjFtomhZ5NkSfNesEqgsIORKFLNWN4eWt5ZAwevD5/UVhraDYBihHu4wyzXbqlojvK3s+pfGt4r7Vwo/0= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9416.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(366004)(396003)(136003)(346002)(39860400002)(451199015)(186003)(38350700002)(38100700002)(83380400001)(8936002)(4326008)(2906002)(66556008)(66476007)(8676002)(66946007)(5660300002)(41300700001)(86362001)(316002)(2616005)(6506007)(52116002)(26005)(6512007)(6666004)(478600001)(1076003)(6486002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ICVAfbTeQty9JqwCCBt3vu+0JEvghSbVLjMn/M38l46WJOmE4X401F4dtNsljX89ZyNTxhNNMtUztHeFEu97qRKKPCXiGJQYJ6qkPv47R6MBy6VOu0DGXbBJADBHQe+IRd393X0aIaP4Ka+LpSDgg1oXJCXlXwmJuLk0OMFURn1gCqoSRNzMMJJ81SqjPNd63tYGXL1Hi8JetgSpBYiuiMckGOmGR7tvH3N2vD6OXD+0QQettQftUo6bRFTt8ucRJRz9zVAZ3Dz12G19yFLCKTm8gTAHg3OUX6RoBFXlMQtdxzCDXa/lj8FfYmP3pMT+dT7MzE9UEl32LKSp2hprI83X1frp3Y2UX7pGTZ4NdCgo2nprCcbEszyKcfBIvrSGg7WYOaMXXftsf1AGDWo0dbtt44sKN/dD89bl25H3FFd+s32zjqXJl2QgkGaZ7fVC5s2K4VFZiAZNx0afPwq+9xfSAHq9Z3iTaj5gxtgy40i7Pz5LDvqqDI5PrNVxkVCHvJyVT+tOOpJNOI2wmF4byK2vVM2SFFD+uCbVWDRq+JF1XCi+vk6MfAZ0dzIRo0fi7p/0m1GuE7aSspjqq1lI0yn0w72bqlJMOk6XNcezqwAR4mwRFvfxZuRhOdQ3TAjscKYE3+F6G7NdJCq7ibV+SFaffueDQFt1I040nuy+3Ce5WHyhYlnh7WVhbgFFhRW4j94SJjCSIpGI9nqVaNlqvyyvPZI+9rUGeAd+t6wdLf6LM/ROYIGnRrCnemxDXMh7WQpM3Xpeht3OUGiwxcF0SAjntUmXUqPG7948aA5yACUd1UUpJtSc8h6+htO0u0ZYJrI9bEInaKvfC9Wh3Pm2CW0ORcozthDR7q+orfMIV3idc0u7Ee3vAF4piHmHhldAEb91O1wgsTfTqUyQEN+bM1J0ynayRtM0bJ3UdtctPKcQloUq5U3089vKRqDgb5kRDxaQE2L7Up0i9DzUUzs3oZ/o7KGrlfB8ZU4neJU//nXYNqVtf+YrkymVna3rkTmjBd7PP+mKOPY6KBss4jbTanNJh/mhZH05IFfHNqJNcXiO14lgp8wLA8ACSwrSzYdYOHWp3Hd2Th8F5PA3q9FEQ9lXVgCCCuLoRGPQ6UAIFKfPHofDszD6qsGyagtb1fd6bfw2yq7hFWX65UJ0V4YN+D6VKetZVFS74ZaE8FOsENFGYpdTxvBqd12kOd4pRJT54l8yE3oLVwuzS+motCtTrPpaIlDJ+SYXrxqOFeyVd4FhC3f5DpSINwO1xH2QWsYux7vZYJF5liYE0sCXn6f4SQZ75kg39qqVosGkp7wC60IQYSXWbJqLF454I2IyncMTiteTh3YO7sYoUXO3TIB4jNXUEoch/WzrSlZQ18HPM0Uvtmyk+85ln0yp+BQbxxofDC+dZgmyAiZPNFWQVTwWD0oGArrmFcKfFAW752v2nc3ZQnzIlXVkmLOPP6pmnN/96lSyl8BY1ZwWg8dz6SXwgYo4QbgeBXpCvbdvR4YeJiF9yZeaoUI2Nljqz1J3KXrrvW3Q1bg4LpUDkwKTGtkvhVN1/89s9YvozDbCFakXBuDT8p8yopEVy0OVHHrYDMc4 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0e30cb6b-89e0-4a67-02ce-08dab56da651 X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9416.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2022 03:12:57.4765 (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: DesMg2bqJ9Q4XwQ5O3KQyU4/HnvxzNzoCuxJ7m/J6oCe1FD9rc9bIP0+wvZuIIYz9O1ixJFQWtSrt4Zn0QT/kw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6825 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?1747537176112149096?= X-GMAIL-MSGID: =?utf-8?q?1747537176112149096?= From: Peng Fan Add I2C gpio recovery iomuxc settings Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi index 2b4395854283..a37a165b40ec 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 { @@ -344,6 +350,13 @@ MX8MN_IOMUXC_NAND_READY_B_GPIO3_IO16 0x19 >; }; + pinctrl_i2c2_gpio: i2c2grp-gpio { + fsl,pins = < + MX8MN_IOMUXC_I2C2_SCL_GPIO5_IO16 0x1c3 + MX8MN_IOMUXC_I2C2_SDA_GPIO5_IO17 0x1c3 + >; + }; + pinctrl_gpio_wlf: gpiowlfgrp { fsl,pins = < MX8MN_IOMUXC_I2C4_SDA_GPIO5_IO21 0xd6 @@ -377,6 +390,13 @@ MX8MN_IOMUXC_I2C3_SDA_I2C3_SDA 0x400001c3 >; }; + pinctrl_i2c3_gpio: i2c3grp-gpio { + fsl,pins = < + MX8MN_IOMUXC_I2C3_SCL_GPIO5_IO18 0x1c3 + MX8MN_IOMUXC_I2C3_SDA_GPIO5_IO19 0x1c3 + >; + }; + pinctrl_pmic: pmicirqgrp { fsl,pins = < MX8MN_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x141 From patchwork Mon Oct 24 03:13:47 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: 8141 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp228709wru; Sun, 23 Oct 2022 20:15:55 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6ceItpuWZKPXD9AhMZUKb0q6HsfhnJvRPRKXZmkDULaAUxe4i1QnpEFvmxKOTZuaT+PFtf X-Received: by 2002:a17:90a:e10:b0:211:9e6a:a099 with SMTP id v16-20020a17090a0e1000b002119e6aa099mr24893645pje.27.1666581355010; Sun, 23 Oct 2022 20:15:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666581355; cv=pass; d=google.com; s=arc-20160816; b=dTJA0gBDvFd059A469xbsNJ4Pch0VqYfMzDF7i4Q7/hOGXn6978k/s+wtgnipOxxRG vdYyMaL6ClhXVjVClfzsvpstv3xx9FFNn7TpITqfIStKzTMEXPHaplHlf/YoULU6sFXI aVaFg0KB+gf9qdcXIpgM6sV6r/jw/U2yEFS3d1c4ALaOokhaofUYDP9yseu57KSq+8OT a6Pg4tV8BEmcDTUfL8UM3xekNa4+yHVAvM+Om27sSf6JouZAN1xWZotdFIfjmgL9obLU IaE2aU6shMLq+O3H4iGMTyQRUnwqEj8Rw9WmSwe83FYCOKmMze2hGDlGaA3ceIH+1cqa 2P8Q== 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=b10whJRrtoyjpasSiFxHGpQixZAdxSNfXYz/TyCGF0k=; b=IvAn/47H884Eb7c8Pc80lfzEHbk/N+hbNfPSrq9q61CoH2dLKnclouSajVle0uBWKi 1Ecl23fZ8NcwDNKIT5I9+brOoerNJdVyD5ClT0Jm42zGz85aAcPbQF4WfHzW0XoFdgtn HFNIhCi8HSwX7dQMvYP4fFmFrpU0buCFdFAru7fDc/AX4FXwT3tTdEX1K1ft5LVx4U5+ ECJMZ1YVSVBxLwkDmIyKcamSciiokN9cnNSMOpsjC3HRuyJ9ZJv5netgHkWl+MJ8mQUH GjncCSDdb21ZgkYwxQvrIWL1Z6qAjjI9cYl0NoCfmtiWsFfAB7QDTQo4gZtHGZIDEf38 EWMA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=l6iwK2Yi; 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 t8-20020a170902e84800b00176953fee67si38103978plg.86.2022.10.23.20.15.42; Sun, 23 Oct 2022 20:15:54 -0700 (PDT) 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=l6iwK2Yi; 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 S230190AbiJXDPE (ORCPT + 99 others); Sun, 23 Oct 2022 23:15:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230103AbiJXDNv (ORCPT ); Sun, 23 Oct 2022 23:13:51 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70041.outbound.protection.outlook.com [40.107.7.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E32D75CC8; Sun, 23 Oct 2022 20:13:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SEnlPrxLZR7rSdq3Xf2XTHzPNjdc2lMefYSiDp8y3OV5GRABOaG+Ole4+Qb1bMSvOY/ILJgsHxwTsxKaol6grCQi+rPV2x7eM8EKe3DfW2e905DAAXSF6fuewAgo0ddatU+RWEAAQhKXEElfl4PcSc55zaAYMfY+4ciQ8rUEu/Q8HsukEBsxgB8t/qvEBI4sn8G2Yzbsxb0DjXHaR8JltwTmpGMsULjTTUON84dmBjvyjBy5XSh+T1OtFYB+ZMJxy+yLyibuuIeUBLWkLGgZv85jf0/x06C93U4PXwWXNDzQwL0Uvr6/ChoX6EHiRWDhhBxoLoFo9x5jecJ4ubRvrA== 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=b10whJRrtoyjpasSiFxHGpQixZAdxSNfXYz/TyCGF0k=; b=YAsD0fK4CP0t2UbvSbkW2Lq3jhYzsoscz+11ii2bMEz1EPl+7GRIA5EYQRplBmcB52JIuNhaPPdSfkIMAoE+efG6xERxG0DHNgvOnTttk84a6qGU+kbg/E+z+yzejWp17lAbG8o+qFqfPP9gdSu3uPuRA2gLeEwzLZdXmk4+7mSETqYn2xtzEgf3vEoqOUXZfsa5T5HHams1e8QcEcvgg8+AXWQJEhBkYl8HMQnVchI8QigUs4Xiy2SMdy9McxfPhwQ/BZ2pdRQh1c7TLIlPRltVutfrScAiSE6/GqtymtxfKzk0lDwrUonV7Iou2ylLenzkoqWNsWtgN7J29Az54g== 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=b10whJRrtoyjpasSiFxHGpQixZAdxSNfXYz/TyCGF0k=; b=l6iwK2YiAQqGAdLtV5ADi2I0r6uluO1/enV01HL8Hv4Ck5z+6+tw+qI8axycdY4Zd4oDQSYYPSh+S9V5QsYAgYc0qFH6OD++VlkiQ5QxucVWYJzaDDOIUhhFWBHh4bZv7Hb4iwsI5Qjoxd1fPmvb/iYMdJGIWBgUuDdMF+9sHnk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) by DB8PR04MB6825.eurprd04.prod.outlook.com (2603:10a6:10:112::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.26; Mon, 24 Oct 2022 03:13:01 +0000 Received: from PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85]) by PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85%7]) with mapi id 15.20.5746.021; Mon, 24 Oct 2022 03:13:00 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH V2 11/15] arm64: dts: imx8mn-evk: enable uart1 Date: Mon, 24 Oct 2022 11:13:47 +0800 Message-Id: <20221024031351.4135651-12-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221024031351.4135651-1-peng.fan@oss.nxp.com> References: <20221024031351.4135651-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR02CA0042.apcprd02.prod.outlook.com (2603:1096:3:18::30) To PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9416:EE_|DB8PR04MB6825:EE_ X-MS-Office365-Filtering-Correlation-Id: c356d1db-dd1c-4311-b34e-08dab56da851 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: m1CpPFU+lKPg4djGE55kYO62HUxPrztVzPhlotUcMJ7D8U9N6I/T9xGuG9oHbR0NbTteya+z6qW13c9EsXEtS2jSIitbI2HhrrBCdjUQD0W8/zLw49RBw1IYGsx7r/ogn72ZKdwVMWKsjscjVcxRVaBY1S4Rn1e1pbTLdrE+ZvCqyOLDUG6E1fD6f9riu/vKM5d634DlU4EabZPBU3YISfVM590PO6h7LGkPx/CtjCeBCREHvhiD2QEdgz2YSslZDBSV8Ri8J3PsmPV5DiRPzGPy9BCttOE9Qka0ovJf9D3d49oTNj0aKObsQnPOTZq1usaQIMZeWJQj8XqQx6VBXY81z8lAqw+NEPUMPSRMFVM7NmSJfdxcEqfzIu5Ai/kqOWKWG6VhFj4AYgnUIuP5sqxPfqoUn3deu+FhmS6orjbDj6kYZXRE1IAPF05rFuC7M7thuVDP6AlPfHzO/Q35Ai3he7UAz3gROWMfW6yYec8Ry/+q0gLdYHHwLdr7evxwSCAjFAHxopX/cpTWPxBzhyGeoyBsFCjmckqDwLEHcgCqioi/7A9DmOP576EmbZbICdTUtan9HblMz7kSVVOnmM1VTFnfM+LHA/ScZksSIabn2cH8QiliSEhFxF0z6vjsXd55Dep6tBGPHnLJub86Wj3HcWajGe80KNPxvUb+XLJvLLtHY2DE9Gj0OEPxc1M6CUXiteaf93u7aLVWnaMTmVWtkYJc9n21O2su5vaCKGlRJLtFs6mZjnxMRINUIM+kMLWsGazbDPrgNd58v0d8C2gw3L7emQ9YBdNubDWlvy1yFLlb9FKlC0RS6h21DzAU X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9416.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(366004)(396003)(136003)(346002)(39860400002)(451199015)(186003)(38350700002)(38100700002)(83380400001)(8936002)(4326008)(2906002)(66556008)(66476007)(8676002)(66946007)(5660300002)(41300700001)(86362001)(316002)(2616005)(6506007)(52116002)(26005)(6512007)(6666004)(478600001)(1076003)(6486002)(32563001)(473944003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: CsxNH1yXFRM9rxC51LoehtalC9uplg/9Y/fI51sfuH+0TLDQtzlFLIYkZyg3xbK3lvAHu9nKV1AWjyZgvAWrTd3RXuastSBZX5KHQbrrMMxXLZyn4zPGctdF2AVGj7sRPL/5WJhZs+DPvt6J2XQwK+FCCN7shlk+Oo48XlYBObgYgKIToiqH8KuAupw+/eNmNQ6tNP9MXboC6RQfKawMwZklu5OE2ylTs36jPRJtx/iwnC+YUBnHAJSJPCIBGEHuCSzQzko4HMEwmYhZKZ6YHsVXi6kO0DJvcMV5m+cxiPVlg2yetEbBtROAARKN2NqzAYZLZy2YplP63MSVoEnLM2IjjjYZbwb1ppcwpRutvHLMypzXaeqtROenPjDzI3JjXf5u20ofHRQbvvAR+GFYLVXZQ16XVnEi+SUvmVNypfksIsssHjySGs5taMWykXUbRMgzLTUUqZhw96reEonfg/1OXbdC3lsWR9UKofz4LqMUziEHx9k7xrFJTUOuHH+Ls0ov6j9ImBA3Bx6fBHg7LE/Qmt4Q+35TaXwSUSMcsCOwhd3XtqAPqtg8eJwDQmu+YGTtdY04Np0lQMrkOMJOyg8ZRqwUDGBzSj1AI32qfHCgKj+4P5Ly4b1bPu2Jp+mfXRtukPN7bH88auqFrC36BKCZuecIeaT1DTvoZzc7Z/JLFGs8qv2WAuzgvWavZ7us1Ab+F17go5JcZvXTcghRp5QGWqWnOWtqzy5ueVCQ1Ewyhl0nSNaY27iQgpyVFad/mVZThhrqtG/pTYNt8vPcIeV2kVa0SbN05T1o/7wMfPkknKY4Fdjdo+KNbqKb4TINogx2rD2oK5larfrKFzRp5csW6dRJcshh78O5gQNz/HQlBfzpN8aGONcTgbbtUgS+zPoNQXP8pnYisQUM9UWtxtgN/dGS4FPefdpkRC9zi2MfgHMtUhRBdbL80NbvDZbwsZMA6tlCmrv5LtoZwDPrS4NiIePGOJSWWOc3MHSdjctwBc/KHrF4kLzb5pf1ed+UPS6vINFmiYYkE8evmb4wlA8VRsAyEHkhSG5ttKyyOjIATbgNpkggkGNm7NhMwaDTbbVi3n2z1cKnNGirnoaByC7TJsYTu33keVz4VuEBqcDGs6MfNMZNwTAKYUVZcwGFgbTZZEhD0ty0DVdhSQm+STYEfWJZGhgVL+LAE1GTtOsXs+Ci8fv49hmwNVZzaa81R5+xlz1B/dumMRwMjsMFPxWpxAlKDf44kul4bn7oYEHRNqNweUIqmlw8fhmdVkXSxJ1w7OH9uXLZoP7QTAMLCXUDc0ydbkq6bjqc936EINVDvfhNwb1Kl7jU3aVcxMeFP4+uk8V2U83qwee/CKS0I/fOxbY6BM17ZCMkqSgfwDyLuCnDdDuL0VfxSFPA+J8nvXcEl10n0n0cdEnsxoprRkJ0z+2q2ZRcDO9C7Bupi+lxKNsaCjx+2cFo+6Ol+KuAHaGXGKy9T2XkhtYwHgITaY7CbSgpDiKlR5RKg8XXaMp7aVzA+EUEd7elu18bPUcBsQRTjRJ3xjslGLm6AIpnIbFBzHezpqy7tWZe1I8xfCuCf19V4hIsG7eoKxqFk/kM X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c356d1db-dd1c-4311-b34e-08dab56da851 X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9416.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2022 03:13:00.9003 (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: 700JbPl5Ysj1o5C4SZxQE7jV+PbPejA+vbK+aYxyJK32P5gMc+4zu37WG4MRI3qnJpRIkh6isgJaZPPkt5FcLg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6825 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?1747537210420116782?= X-GMAIL-MSGID: =?utf-8?q?1747537210420116782?= From: Peng Fan Enable uart1 for BT usage Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi index a37a165b40ec..f137eb406c24 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi @@ -247,6 +247,15 @@ &spdif1 { status = "okay"; }; +&uart1 { /* BT */ + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart1>; + assigned-clocks = <&clk IMX8MN_CLK_UART1>; + assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_80M>; + fsl,uart-has-rtscts; + status = "okay"; +}; + &uart2 { /* console */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart2>; @@ -440,6 +449,15 @@ MX8MN_IOMUXC_SD1_STROBE_GPIO2_IO11 0x159 >; }; + pinctrl_uart1: uart1grp { + fsl,pins = < + MX8MN_IOMUXC_UART1_RXD_UART1_DCE_RX 0x140 + MX8MN_IOMUXC_UART1_TXD_UART1_DCE_TX 0x140 + MX8MN_IOMUXC_UART3_RXD_UART1_DCE_CTS_B 0x140 + MX8MN_IOMUXC_UART3_TXD_UART1_DCE_RTS_B 0x140 + >; + }; + pinctrl_uart2: uart2grp { fsl,pins = < MX8MN_IOMUXC_UART2_RXD_UART2_DCE_RX 0x140 From patchwork Mon Oct 24 03:13:48 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: 8143 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp228851wru; Sun, 23 Oct 2022 20:16:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7LGpnBVpuJNBFuYUjQL5NLxd1ITYmDaIP1Io/M1SP1I47on6yZIoFjr8g+Q6vzb8W0h+6P X-Received: by 2002:a17:902:dac3:b0:186:a437:f4b9 with SMTP id q3-20020a170902dac300b00186a437f4b9mr3966116plx.29.1666581390884; Sun, 23 Oct 2022 20:16:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666581390; cv=pass; d=google.com; s=arc-20160816; b=ePLFHAjwLeJJ2gc/P+LULxbsMDwnn2tD9J1OQ85glSSD7EUVzjfKFagROp8cNVruY7 qKJhzrYW4TnoJMF/mhtgZlhY+yH9Y5dJakdgdrqU18FxaWv0j4IOlGQR2JhopR8yK4Mv Id+Wogf2Izh449KYpogIaVAbO3yroh2tJSK9XjJ9sw0m8RI0lh+BSxvmCTNTcQ9ux5iW r4TQmfwileWPe5VLGpCReAjZ0v9mKA63dbWvKcyFtevk7C+BosxsRd36DfjsThX2mwFP 7y/0SHjfBuik4nLXvxjwDNBVkUbOtvKNg5MrNQKvnmCAtT67FN3oFMbB0e9mquDsbOpA 4Y2g== 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=M4vYeBZR9tmPY+QMMDrxLe28Hz4g6Nb4Whf3zuqIOoQ=; b=myEWgyDOHNrYhtl/Eu3U1NQmAoqv/2k4rPoty5Kjl4vUrhLyt6mLVz406PPAP31aFx v0QgD4Db3v3sy79EGmrd4hgeECUE+ZM4mlX0R48xPC/ZKKV7fy1vj7JpPiEI1VBMlnmI jUQFxUXRcLA9nlTUAGeHLeJ6OzoOYjY1l+hCdeF3/hiYnF8PMwjB14JtwCmZNpq4zClk iYEerJc2IdHSqFn4NcqIffa9ihRO3zDV7j8gHpfq76piJmGSp2nmvYhMPx3dVSnAmiCm Pm+CG3hqHyTQiVyJ5ZeHUb3mze8v2dJ8Fn58gcF/kR9EBiv8yHp2eg5rHhFnEsRawTvY C0HQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Hb0AybKt; 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 s4-20020a634504000000b0046b0e168b1asi32154578pga.222.2022.10.23.20.16.18; Sun, 23 Oct 2022 20:16:30 -0700 (PDT) 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=Hb0AybKt; 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 S230037AbiJXDPs (ORCPT + 99 others); Sun, 23 Oct 2022 23:15:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230129AbiJXDO2 (ORCPT ); Sun, 23 Oct 2022 23:14:28 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70041.outbound.protection.outlook.com [40.107.7.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 782AC792F6; Sun, 23 Oct 2022 20:13:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dLHzSy1EdQyroUfADAtrq8virusNIDc+uo3iyp9icHEB1moMv0RAm1o2vJ9lkncVANKO1j7LmrN6qOexOivlFWGGG+qR5qO2IRvNBrhKoxIJsmzyEiTYLqCVrHDQPGG3a2eXVl2Z/jkJ1PUdFJyFJFFtXYPzAtHllZqNx+aYCbZ1aZe4wVDGk+XYofUvLxQowUWOp69F5rsdiR8yJ8gfjBwQilotg7bytrq2ti6RQgjVqRtoYKVxi3Umm2Qi6qBKT/Ej/TzFsUAdzpAs5ynIknRqLmYf+uku3eMdg5xnNJA2WYItznebEIfJWChK+c0f1j6OHTBYQlIN3Y+2zhSvNQ== 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=M4vYeBZR9tmPY+QMMDrxLe28Hz4g6Nb4Whf3zuqIOoQ=; b=Cqu2T9jhCBEIaiY78LuY3ui0A7TraQ58SkccApaIMSKRZuCvyNPBjVG/QbUDpjr4WLfrqOPlVU6P7d2JJrcZ3sfTuJRhFpgSMfhiMRkFm6TbbSBtR9O8WlVmbEK6ihZr4Y4b9dnIthr1GTcagjUTYglC1zFMoyA/rnoVd60RfD/MnR7Iyr0n4FMQPu/UQbTO75/1r9XYrWqNNw9z3uQd03JvQ9gtlwhX5GQfacWJuiDirK7OL6EjDf72OX3B7ygsV/OxaeHL1GMYag9+qlqM6b/v3SxmMCzPdCBexMElt2u1bWkMRUGNddeSpRIc40ylGqFnDAtMbVJogh7S9T1gLw== 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=M4vYeBZR9tmPY+QMMDrxLe28Hz4g6Nb4Whf3zuqIOoQ=; b=Hb0AybKtONE76OOc2vBcXuCbmnXQWiHQ+82n/r5oh2YgKy+/Ani0Hk50a8tg1rtvaPZ5J1HPP0wE2yRK+lzAZ50bh4zd5E+5IywqzPUJA9Gl9m04ZE4CwAeM8OaimkdaZLWIG7VufFvtbhLYFtLP9HmGQHn4vPQl0zYRy/9Uo2w= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) by DB8PR04MB6825.eurprd04.prod.outlook.com (2603:10a6:10:112::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.26; Mon, 24 Oct 2022 03:13:04 +0000 Received: from PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85]) by PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85%7]) with mapi id 15.20.5746.021; Mon, 24 Oct 2022 03:13:04 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH V2 12/15] arm64: dts: imx8mn-evk: enable usdhc1 Date: Mon, 24 Oct 2022 11:13:48 +0800 Message-Id: <20221024031351.4135651-13-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221024031351.4135651-1-peng.fan@oss.nxp.com> References: <20221024031351.4135651-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR02CA0042.apcprd02.prod.outlook.com (2603:1096:3:18::30) To PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9416:EE_|DB8PR04MB6825:EE_ X-MS-Office365-Filtering-Correlation-Id: de5e7ae0-45bd-4957-0193-08dab56daa5e 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: NNA0tILrTdrwRrSc+S0rCwXqFu3UGUdYAoy30IvkIkkNa0KgIjt62W72VaUqlfKPtUXoS9Mb/21xpDtF7uOwVKKdGUh9ujRvsczELSP8MpElxOB7oVxRENB381HBGXKaxxTChE83AghaW/1ixJTvpLe8yZaXMFSJpXaqAFvW+Y+/gGdbJ5IrBqoztxVv799qkNBNHyvjaiIht1/kV6ygNuwdXM3dB+xR5Vsxn3GwFixKnrLwUa/wnVVuvcuVNhxMeH1xNjYG8HsUsS3ayFt8AcsaADPZaf1fm5kImT972YA13Q7vjCJgjSwr0MXm+qnDIkkJw/o8N2/NyewQFTiLIurL3Jf5BNoEE9py05DVOuWXN1DtebfTrJZMRg30+cJzvScz8FDz+3IZCALdqIrOwIEB40wK/DMUSGqIeKE2amoCfb5BS8hW+kutZn4NudKaAek+l2COFwE4aUDvyN12Cp2X9i3zJatfbXxbG1PA46yaRVpSbd6FfwnIlHb7FoWE/7NyI5xZyyOLigRtjDXcktDD3M5e9AJydTIS5ouy4qEQ0b82qUHRz7K1DTO65mjo0fffsMGGZb6mPpkBws/fVHHpdJN2MMEuOWmQwt1V5tk1ci3l7dJagFb3gnkrCgCaChYYAOhZasgC+CNJx/CCF3CEUT5IWhIHzAMiTNaFIQ7B0jxmqc4N2YKz3m9XVyP96AvEqyKisWjaydbu5ZW2jZqLPt/jf/AAZEsrUzyYueem7xj+Fi5RT1nLlocEWM9fggz9/32KkygJSZThq9x5ftCXCNA+rzwzmUVAfE/7IVJ16GvkmWmTCOuM+zBZ7CKO X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9416.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(366004)(396003)(136003)(346002)(39860400002)(451199015)(186003)(38350700002)(38100700002)(83380400001)(8936002)(4326008)(2906002)(66556008)(66476007)(8676002)(66946007)(5660300002)(41300700001)(86362001)(316002)(2616005)(6506007)(52116002)(26005)(6512007)(6666004)(478600001)(1076003)(6486002)(32563001)(473944003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: lOWNO5t2OYMp+lx9M2XIFbE099N6e/VURCnHTSQs0b+kRETyeycBv8OU6/2R+DWiLn7I8eahfDyjiHLuI4jaTvprKw6+mTI+EkpPY+ntsGvLYaXXNo+hpggs8jk520WGg18vWW9ELGTfhQSbg6h/Ai4Ydr5R+b+jAbWtkyjm379tpnQth4Voob7LutsFGD1jPJ+DR/LZ24uSB/I/nlSMZM60cWt09JTAIDyKTGtnIwLf6A3pumnbr3hS8vfBiBH0YpjrKROAoJSM8SNxhZe536SypS2lGnKwmkSreRQrVZhKM08XxYWEGyVX9LSCXOC6pZht05z5K03NRPM31ERjB0n053DCafsdlRS+fI7LdgUQymkipVfO5YmVxBTonZqERZNk7vWAnMTHlvUJ2gpr60AZ7kYlvW+MsX5FxTn3G37ck8MVYWdYxVyk3czGPt7vBCslD0gVI4M1jFtODgviQSBCURLeWbtGC2x7k8g8kWZgF+7z16KOr0wh+sOuMzUrc/B3BCzu4azjTrlt9JunyElbB2NFI6jLCs+Z8iH5JJMUeWhlPctZRgG/AGKNzZWg2C9zQxJYRRbnulGIEpuxsg6umGmTWYCd9cPzWtcZ/py+q0CQ/GpozlhD1XZVb+J8Ys+Yo0qJW7ip3GQbBOHEjLs8lzONaJlpi2GsxL/rti3L4bfii6KIfg/dIWkVhhlfmkgiP9ZSdMxN0DpyPLv4AFKo5dIJfnM6WtACgWFUIPPkFqJe3sfxP+YDOz7DLt6A1LvvEqGlSU0eYCTcHbHThQTzhCrRvyNNodcKFHZz4/hgc4TiGiIP63qG7yZTpWp8bqN0sMbQbz8RcXW+3mzA4y4Xw/on8ivTFF3rncJz9W65jUO13X1YfVH3skxUE1Fp2LlpKQqLoazu1xInBmO+Qd79kAh/R33+3x4V+zNH7NT2g1+16+Wc3NKNcX+LWLfNcmzIz1v81Qr26vW2drz1zugFd4wPE/bwKI2nmXIKIC2y7ibTSmKGj5mv/PsliIuI1P6wZGXND+2HpwlTNYy1PJ8yD0wZzyoLTU9PN/XbFyLgw5RHrMbrhMiN+9BKSaNARnP3pP2VCOzRQaIHsNGBNaiTtQrfsIO3QlnCSr2In+ZbCVHv8SkK8Vbpg5f8pk5PiZfgUbQZ1kmrXMw45GVvja9inRbrIbU3WMJqJi5MHoA5iCaK2gNbKJvsBfiZ/d52zhuc1XxV1OYbG3D2wRauPPN24K9Yfvb5JLQLuWxsLuCGUNaj4N2wduXNVjSQTcWQlHmRLAhs+/DkLF/RVi08N2oteOobxQU9JR92YKIPUGaSA4MMGmesenNg0fb+NbmJVOqrWL7ae6mBlGVP9G5OnuIJuRtLJfhJ4gGlZrEz865/1ZzH8+keMgtNl3b8LC0kfYtQQQzIE9cYcblkbfYg3DrIH5FiB1slZ+AXGb8WvVMUUi/7mc6jDBHH/DOtj0A0Ph+QDJAjc6IOPJDZ/mZ6tUoBGNGeAH8kLh3gMxkybekw2a1l5nhBuN4AK88bPUpii7j8X4cfHbNlHp9cGkQY+A93YZOX3WVGiF4sCTnMO7Qwb/SC6UXPoIKFSe51HJUG X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: de5e7ae0-45bd-4957-0193-08dab56daa5e X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9416.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2022 03:13:04.3195 (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: qUQg85oqY6pkBFs24eynJVgGvEbi8D1FWAec+98Wvl1ZDNPXocorVTySrHGC+9P6MDYQSyY3GYL32TsmF1YoIA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6825 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?1747537248622164848?= X-GMAIL-MSGID: =?utf-8?q?1747537248622164848?= From: Peng Fan Enable usdhc1 for wlan usage, the wifi device node not included. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi index f137eb406c24..50553359401f 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi @@ -28,6 +28,13 @@ memory@40000000 { reg = <0x0 0x40000000 0 0x80000000>; }; + usdhc1_pwrseq: usdhc1_pwrseq { + compatible = "mmc-pwrseq-simple"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc1_gpio>; + reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; + }; + reg_usdhc2_vmmc: regulator-usdhc2 { compatible = "regulator-fixed"; pinctrl-names = "default"; @@ -271,6 +278,22 @@ &uart3 { status = "okay"; }; +&usdhc1 { + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default", "state_100mhz", "state_200mhz"; + pinctrl-0 = <&pinctrl_usdhc1>, <&pinctrl_wlan>; + pinctrl-1 = <&pinctrl_usdhc1_100mhz>, <&pinctrl_wlan>; + pinctrl-2 = <&pinctrl_usdhc1_200mhz>, <&pinctrl_wlan>; + bus-width = <4>; + keep-power-in-suspend; + non-removable; + wakeup-source; + fsl,sdio-async-interrupt-enabled; + mmc-pwrseq = <&usdhc1_pwrseq>; + status = "okay"; +}; + &usbotg1 { dr_mode = "otg"; hnp-disable; @@ -474,6 +497,45 @@ MX8MN_IOMUXC_ECSPI1_MISO_UART3_DCE_CTS_B 0x140 >; }; + pinctrl_usdhc1_gpio: usdhc1grpgpio { + fsl,pins = < + MX8MN_IOMUXC_SD1_RESET_B_GPIO2_IO10 0x41 + >; + }; + + pinctrl_usdhc1: usdhc1grp { + fsl,pins = < + MX8MN_IOMUXC_SD1_CLK_USDHC1_CLK 0x190 + MX8MN_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d0 + MX8MN_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d0 + MX8MN_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d0 + MX8MN_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d0 + MX8MN_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d0 + >; + }; + + pinctrl_usdhc1_100mhz: usdhc1grp100mhz { + fsl,pins = < + MX8MN_IOMUXC_SD1_CLK_USDHC1_CLK 0x194 + MX8MN_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d4 + MX8MN_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d4 + MX8MN_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d4 + MX8MN_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d4 + MX8MN_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d4 + >; + }; + + pinctrl_usdhc1_200mhz: usdhc1grp200mhz { + fsl,pins = < + MX8MN_IOMUXC_SD1_CLK_USDHC1_CLK 0x196 + MX8MN_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d6 + MX8MN_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d6 + MX8MN_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d6 + MX8MN_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d6 + MX8MN_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d6 + >; + }; + pinctrl_usdhc2_gpio: usdhc2gpiogrp { fsl,pins = < MX8MN_IOMUXC_GPIO1_IO15_GPIO1_IO15 0x1c4 @@ -569,4 +631,11 @@ pinctrl_wdog: wdoggrp { MX8MN_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0x166 >; }; + + pinctrl_wlan: wlangrp { + fsl,pins = < + MX8MN_IOMUXC_GPIO1_IO00_ANAMIX_REF_CLK_32K 0x141 + MX8MN_IOMUXC_SD1_DATA7_GPIO2_IO9 0x159 + >; + }; }; From patchwork Mon Oct 24 03:13:49 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: 8144 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp228896wru; Sun, 23 Oct 2022 20:16:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4PpAFHBCk5DuC6hqE46a2Dc8nBPLUPC8JBr2MeorzE7xpZFC7cUVBz4eGvzOv2yyOgf0iY X-Received: by 2002:a17:90b:4f4e:b0:20d:9f5b:abbf with SMTP id pj14-20020a17090b4f4e00b0020d9f5babbfmr37385052pjb.148.1666581402117; Sun, 23 Oct 2022 20:16:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666581402; cv=pass; d=google.com; s=arc-20160816; b=lwfsDN1YI7KjqAK+RO3+8oAVyIW/E39PpBlcU9WxSMkzUy8BaQxh16ihZbsYmR37k7 /02jz61Mkd3jtZwJBslGCCcMDZ+Ric7b8X5Se0BKJVv6oGHKDUzP+f2Sg1RuVshUdXTZ pFtq7TyhITa3RSB500Mo72x2S0kEULYDFgrjwCYxAz3J4u4uRo5Q6QEWq0E7HtfMtdfp Sxpmjmw89+JjtpKzknh8rObg0wgGrwFQzAq3MBqMDkNr65IPrKaqv2MWuI4u/aiwckUh G9AVZR8R56qaZOxSNvBxjzjkZ74i3pBIS6xXPFlEyJ5KpW6Jm2MiXHGv6YQev0UprP5g o6RQ== 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=iLyeayUuvhh1tMXNNZm98QcOsVKr73ywfPvFJJys2Q0=; b=gGPC6sqbTCsX6VgS4YapHQiifWw778b0ev/qE/cz6slvui9zs6xwCJegKakLMCBUg+ zrTo8IWFI+v/+ahwSQW3b1OMZjdodEz2IPn+kOUoDjfGxXe/OtIUHuBEfkz0HhL5vr9s 9v2xQvhVnV4Lw0kddYQZwDky2D+3dnYB4DYu5xqLYafXA4c+JQ5kox6AQVOPhnLrQkHu z0e9vfCZuxxv0JbgJTOaqUn6bojuC8KKC3w0uxWquILcCoTcoHU27XtHFkxA/znTSBsv AAh3zB57n593NSrKPDrw/2jrJMoWDnFrZmtePjqP8yjCn6IlacVe0PlX8Qg5yTiuF0+0 p12g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b="jKE11/p1"; 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 w12-20020a170902d70c00b00176c5805be5si30831216ply.207.2022.10.23.20.16.28; Sun, 23 Oct 2022 20:16:42 -0700 (PDT) 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="jKE11/p1"; 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 S229964AbiJXDQK (ORCPT + 99 others); Sun, 23 Oct 2022 23:16:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230226AbiJXDO4 (ORCPT ); Sun, 23 Oct 2022 23:14:56 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70041.outbound.protection.outlook.com [40.107.7.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBB0076569; Sun, 23 Oct 2022 20:13:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fEqfcXpGUcUhKQzB6nQYXBSYW6BD7bQkracm+CRlU7QuWukCLGvOrA3CabajjAaLDQ96psSnPUkdXICj4QLAx0maFK5NitIxvCz0aD9lWdxCNObqBe6atoMZbebo804wLER+q7KliGOW/NxobXKHIbGY4ZXmU+txJFjRQrt8t6fsX7tCnTECwsqI8E0zYsC20L7QGaeJ/I1dx3wg6lijDUoYyHthOEqvkf2kyZRsBblHhjknl8oMi1yZm7bl/4aln7KmYKREWVgtFu+VnF/V7fabhXOzRFzw+g+fcSreXEkP8mimqnCYVkIGkZDQp4pfjTPFX2BGeuVp4Aeke/MNEA== 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=iLyeayUuvhh1tMXNNZm98QcOsVKr73ywfPvFJJys2Q0=; b=WNC7VtsYgUtS6s5sRJmIWD9n85dMLdcFXReu77pdlBGtmoVkwTxPax9ttG0Sl0HjtVCXzpDqCTjlGHO/clH/h1X4VoEREGcP7b4Aj63JEm+QSFj/YrPyxq1kOQWoQjvY/U+QtV5upcVYgOff4Wa7LA2Qj3+iqL6au/vHA2TiQNQCjt8vtE90aG1wNPEwYwF6WcPbItJI5gV/KuzxBapAiJZOqpDEO59IbbKM0SsOf+tt2V3Xn7Cg5XjK1Ymi19ywrCkDMSMX6+feNdlsqY9a/dsgCVnxsfwkpSJH7KWNZJojLbbq7gft/9FXs5EGPkGRlmO2uBleSWlRF+ih4pVfFA== 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=iLyeayUuvhh1tMXNNZm98QcOsVKr73ywfPvFJJys2Q0=; b=jKE11/p1oWfg7Azv72+YlV3y+C9dc9sQjEIMXX/WkElSosOWQRuOamyCQHP2VLuYvbP8qc316u4E4tWMFG5a/NE/xc22NtPmObrsGNrJRxC4v57LgoNULHR2GnvZKB8T/RF4G1Rq+V5rYTFAHlwzmNs2qZvZMnZvgr0NnPDWfGs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) by DB8PR04MB6825.eurprd04.prod.outlook.com (2603:10a6:10:112::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.26; Mon, 24 Oct 2022 03:13:08 +0000 Received: from PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85]) by PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85%7]) with mapi id 15.20.5746.021; Mon, 24 Oct 2022 03:13:08 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sherry Sun , Peng Fan Subject: [PATCH V2 13/15] arm64: dts: imx8mm-evk: Enable usdhc1 to support wifi Date: Mon, 24 Oct 2022 11:13:49 +0800 Message-Id: <20221024031351.4135651-14-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221024031351.4135651-1-peng.fan@oss.nxp.com> References: <20221024031351.4135651-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR02CA0042.apcprd02.prod.outlook.com (2603:1096:3:18::30) To PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9416:EE_|DB8PR04MB6825:EE_ X-MS-Office365-Filtering-Correlation-Id: 3feab0a2-167c-4c26-e091-08dab56dac84 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: lNWnmUy0LAoA18tiZlaKFIhyqXI16Eh962dOoZIhDHo0t92DoM+OvZpIpfRmqpmJBRZFd0ly8awfoNT7wInIancF7i4cr9joMc+iNEKpqHHfY189RpYcihltRGGMO64Z366xeCa2FA+oUEOGDaNlTsDadN7jq+iuk8Mi/owsnjfcasZCpdIkL6i/3wGQuoo6nbNVKa2R8xDFo1NrMCIrs0RNSEUynuky5ooygboae7EapcZZMdiM9rJ5SmMhGr3JvwTBBb1U4tyzet7o7Cinh+3jfdwSVZb++hCWSVcoi0nRgfDQObT+ss6GqEGsZPiUD4OeU8Hcp/Y0bqs/MiCGnSTa48EvO1QbTFv4ip8NBK/56Le80ityxZ4YFrhE9eV4qHjtS4X/sD4OMgfjX6gKh6omD/HIrlf8/dBTaG3yq+XyuZqPNSw5Uy3fiTZnDbewX7KsrNLormIua/Sbh2CvIg69LYJvC1fwB/ek+D5y2yk7x9CC+TViPCmo33RIis/rMGqJCmhbdJUxVaYmW/WE4P36RVhkJLmBhtDfPpWvtsyFU0WWNu+IvoDe5mhHk1nFqsUT3NerLUto8XjqM2/G5nthfHBi7ZRJbR4MAyieyajXqe5duoNHybcZxhNJsI4ieB4zO1WQFGLZpnNP8S6a74CDf4fBAsqdphvtAf2LWth25Vbyh+Gl/hdD09dg1qFW/Q5Dj3/148I/1Iu0okykC4/dMeDbdmz+/TYElOm+EbYNLZMg6QfnQ5Xse1w0Ob21sjG00r8YS6+hQ/PC+RqC31kg2qxYPNNOm2ejHXZX9iGx7akjcdnx7EEz9t7C1s7Z X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9416.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(366004)(396003)(136003)(346002)(39860400002)(451199015)(186003)(38350700002)(38100700002)(83380400001)(8936002)(4326008)(2906002)(66556008)(66476007)(8676002)(66946007)(5660300002)(54906003)(41300700001)(86362001)(316002)(2616005)(6506007)(52116002)(26005)(6512007)(6666004)(478600001)(1076003)(6486002)(32563001)(473944003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: F+IHRqzFt486QUPQNA2kzwHW5riNtvyQlcarOSw7GIqlaYQdeEse6HBaL6g5j33IaPsHN3WALvECHOArmfWFLKX/683agzxHSOR3EKYlgJ4kXisQ8c566MYblq6etLwwPAIVoXcxkNrj5eWqTmWbBQLmPCFUfdJuhSfBkL7mJLbkGbH/tqIqv3Ay+PNHhVu/7+ZjuxwUYcK3zvwQbuEhHVnpkYGoQz49OyODSkBzsPS9GURk11LZRRrZyaAAb2gIvkkm99GNiZz6vYQEuonPJmeJnVAKePuv/ThBebMjxfyR/TEdCfzE8+C3n/K1Afb4b6iHvYqMWXSt5Lea5kta0leRKcdVDpOTccbuwUK3ACSHkGWpoLNnjrXdRfXZSAI8xhIauBfU7tXnkgl6a6ia/24xHmCBby4P1WU22uYkfVJLCwHsder8xcCsfWoYN2jrxX2jfJ8cYESTk1nbOzLs2rw3rbj0LLNXl0r3TWI1xiXj61zP22IlpLcITxaO3mrP+p6i/HOOrGdw4nq69P6snA1FBWycB0gUvsdvBdiyEIjZfUKss066F5tzw8QmFXFvKOAiG11BDa6pWSYY6JZLSMzeCbdzylVtBRsJ7UMUXE6rgflWiynK6yXqR0/XLzQoYQ0rnoSHje3YiCd4nR7YpRhHSt5tHvERw2cWAO6o35gYZlF6GYjfDhmTgnocZM91+TXo97m8fWa2+5R84ofd0phKnXiYo+QL1f22F9vERoESvb+MJduLfWXw94LOmr/IauGaNq8jafpNRwOIJXoyjTjEsOL9Y2vpftGnY+yPZ3K3t7m6YYN/OKtBxhUReFQk+5UnObtpcjfrJKvBKDdN3r+wbFnEtxBuDYiKGya3KzqSuYf5jHbEmnRcTKaU15JkwnGRsRtnGgqs8QN1MleZX/45VdCocM+Q3N1/XQ5sHyO9EClbMkMcx2wFb3EMDa7w0Rlvnyu8SBEvHIrHq9ETOJ24PZM5uwELn0RHKB2cTQK644gazoQtwY0jmB+gVYyPDoQue/8I6LX/voI39Y8lkKitZHyYAWYWrkd6AqRImlNqLmZupjk5yan8TeIWZTkq0LabbTN0jMyJkhcqUDz2wrcPFUDLNzHmtkjxKY3ZKNkn8+3daLhYfF3WpsdVvOZpJWRNlh/XUm58vtyPpqmHY281sLBikzjgQ9obHIbuKNOsoTJyOi9fSrDal6miiZc33JfjcLRFRvg4CUs7QaB6a4FLsrxFEX5kgKRy0xqEpr4O8AbLxZer4mU6w/uKmssFUSwxR2zh2QQOL48lAZ8WF4IswCuJ/LmnqMv49uE3Ip2m5YtMfqm5RnuVQqiMtrCc9OLktAGAAJKYKXsynssW/7GU5KTHtmeEdpHKt//9tesNnxTtd9FB2omSxCAZw5GfpoBg9W4omLbdces0xWrivHrV71hSpguOyE8/1kvileP8mjkQgIkmNenU+RKDk25poSpLICc1usv3lcVeth/+yzjlzoYUzDvL0Z701ppvsLcfIta9M7cxbgREc8vNA/7N1OnyLyctkm/TbAGtPc9sT/K46NV7KaYGMyA2MwLMgWhKWcxkysA2L04unmf/NMjj X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3feab0a2-167c-4c26-e091-08dab56dac84 X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9416.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2022 03:13:07.9141 (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: ZIU+DqKraspIRNaO5/HFw9fqsomK7UvyvyomlsI71G0pArmZwMWyWn0B243ZvA8LLNCKFd9hUK21RKSsBlJYGw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6825 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?1747537260196025322?= X-GMAIL-MSGID: =?utf-8?q?1747537260196025322?= From: Sherry Sun Enable usdhc1 which is used for wifi. Signed-off-by: Sherry Sun Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mm-evk.dts | 23 +++++++++++ arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 39 +++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts index a2b24d4d4e3e..c93387fcd498 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts @@ -15,6 +15,17 @@ / { aliases { spi0 = &flexspi; }; + + reg_sd1_vmmc: sd1_regulator { + compatible = "regulator-fixed"; + regulator-name = "WLAN_EN"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio2 10 GPIO_ACTIVE_HIGH>; + off-on-delay = <20000>; + startup-delay-us = <100>; + enable-active-high; + }; }; &ddrc { @@ -53,6 +64,18 @@ flash@0 { }; }; +&usdhc1 { + pinctrl-names = "default", "state_100mhz", "state_200mhz"; + pinctrl-0 = <&pinctrl_usdhc1>, <&pinctrl_usdhc1_gpio>; + pinctrl-1 = <&pinctrl_usdhc1_100mhz>, <&pinctrl_usdhc1_gpio>; + pinctrl-2 = <&pinctrl_usdhc1_200mhz>, <&pinctrl_usdhc1_gpio>; + bus-width = <4>; + vmmc-supply = <®_sd1_vmmc>; + keep-power-in-suspend; + non-removable; + status = "okay"; +}; + &usdhc3 { assigned-clocks = <&clk IMX8MM_CLK_USDHC3_ROOT>; assigned-clock-rates = <400000000>; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi index 7d6317d95b13..ce450965e837 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi @@ -559,6 +559,45 @@ MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX 0x140 >; }; + pinctrl_usdhc1_gpio: usdhc1grpgpio { + fsl,pins = < + MX8MM_IOMUXC_SD1_RESET_B_GPIO2_IO10 0x41 + >; + }; + + pinctrl_usdhc1: usdhc1grp { + fsl,pins = < + MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK 0x190 + MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d0 + MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d0 + MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d0 + MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d0 + MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d0 + >; + }; + + pinctrl_usdhc1_100mhz: usdhc1grp100mhz { + fsl,pins = < + MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK 0x194 + MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d4 + MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d4 + MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d4 + MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d4 + MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d4 + >; + }; + + pinctrl_usdhc1_200mhz: usdhc1grp200mhz { + fsl,pins = < + MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK 0x196 + MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d6 + MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d6 + MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d6 + MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d6 + MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d6 + >; + }; + pinctrl_usdhc2_gpio: usdhc2grpgpiogrp { fsl,pins = < MX8MM_IOMUXC_GPIO1_IO15_GPIO1_IO15 0x1c4 From patchwork Mon Oct 24 03:13:50 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: 8146 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp232492wru; Sun, 23 Oct 2022 20:26:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6CEpvgRKttV93iB7gUKuRzUOw6q0HI5TZ/cU64VKpPDe3VNAjnfDK8oko2UuohCJ3alZVl X-Received: by 2002:a17:906:8a79:b0:78d:9c52:2196 with SMTP id hy25-20020a1709068a7900b0078d9c522196mr25924751ejc.328.1666581986139; Sun, 23 Oct 2022 20:26:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666581986; cv=pass; d=google.com; s=arc-20160816; b=hm7qUGzByPmBTZEfhaG1gUrjytCKaF2yj8Of8cUjecv9Ib7ejns79rGOdkW/NGF81f VzOcS+uZicxlt9fxYcBJYaqjtcVm1ex8erOXXrYn1idUN53UyLRV7s5wuyoZUrgaW8jN /kTVBvblmYXB+p9uGxuKhR+o9ZPFu/3GzQTF8ODAuZGiueK75JaK6dGccgdItiLHPWt6 ENVCwjO7mei3IT9hqd2ZA9Qz8a444SKuHDwcZ7knLx0xTTnF5bJZVLVnnCSBYvZlNQWL +stCJe2KdHhluW8FrCNgCinK4RUsM89p4pVowqrPljpa+ekWM812sqyAnR3u2l1Lqjr4 +3aQ== 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=E7Q9AOHQMXt4wCkcqRDZ4U+/hVLe3JLkndEzNEt0LNc=; b=YPWypU0NV0nxDvWEN+20Unoo12KtUbAJRyhV6BE4/4LXVTkSh8hRu3hcWufw1Ld7z5 KLgnSyjNBWOvhGaNkmyRlXHAzAxp2OxbMORQ+BZGShhdAhWcVplxzq+as9hk32UuQe7u LrCTsq8R/r0BRwp+FXAmcPcatszfn05QxiPic2GtyM1bsw3aVWf8y0Ec6mD86okuTrNW QCoV7HVfk+dK+TIZaspohPS96ijA+WqGghqNLuZdKr2mE5KYeTUOhXKsaLtsxOvjth4g WzMbNUQc+e9s/W6Ifv4lMM8gSkHElS/eMtiXgSn4Mu+VY8h+uBAVI6NcNDZRbbRoScWJ AwFw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=mVmD7OJC; 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 hz6-20020a1709072ce600b00791a67e4c04si13890650ejc.31.2022.10.23.20.26.00; Sun, 23 Oct 2022 20:26:26 -0700 (PDT) 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=mVmD7OJC; 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 S230306AbiJXDQ2 (ORCPT + 99 others); Sun, 23 Oct 2022 23:16:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230220AbiJXDPV (ORCPT ); Sun, 23 Oct 2022 23:15:21 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70041.outbound.protection.outlook.com [40.107.7.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E7BB7962A; Sun, 23 Oct 2022 20:13:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j/kNaUMaQB16JDxnU9I4u+G2ZbK9KXwl8OyM0IsNf2hH3TDW+7ODppzWcayFNEvEgSfLnX3hpv5q3GbbuYbzjyeRDHAMrgrIO3FsYGVJsNlbgNjKWCSqULzPyvBURZztCa+mLTY7+N9SicWgSxdKpsL4AXChWteYkjlucQabusbmS27zPvQWET4tPt9PMTdClPWZTQ+bqcopTyuADl6cnFg39r0jqv/mngplXu5vwaq1SzaRlOmohxYes6nMmXn5MYH6qN7Zz30GMgmBKAcBmOUOmlUNsOAB1tdsFh/E14d+hZWRj3KtD9glVgNP13lBf4HmHv+hce25YaUPV+GngA== 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=E7Q9AOHQMXt4wCkcqRDZ4U+/hVLe3JLkndEzNEt0LNc=; b=jBl6XOKkd5SqrkXD4DoUZq0v2yN3w2qZJXKgnKfcUbwytkuP+cjukFynsIhvssdqYPrOERVoBOv15WWgn42i7BQkGdbs7c9qhPPfK2vV1dA/Eovpqzj6ZStqAIADHeOB44iTbVrh/2USdSsL/YucYL/HpZ+vr5WhSmlGQiTynXSMaYLbMWYw4DY57We0D0xijyCq7aKehITz3gCoYVhXNRupfpXGz9B8CSIqFAFcmUAIrzR1pacWMMDFcLRV0XdC6D7vGSD7ycy80YtLcVhi50LxF2C7Y9lBWMUgvLC5hhx1mCb0eZvYnkoQeR69G43IiioSeCuH8gl8O6tQdD8jMQ== 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=E7Q9AOHQMXt4wCkcqRDZ4U+/hVLe3JLkndEzNEt0LNc=; b=mVmD7OJCuOtQAlsGk77n1FGYv4Q2ZiaThkTccJJVE3kBo5TgpCLkD6BXh8KkZ0QFc3vqJ0aJIv40Q6lkNWxoN8khBF6FJd1rqPg4sRhCxDiYzT0F03H+2oKVjrutuu+8sBQfHkunMho0zYdgrjIwibgHb3y6O3eEbA9LPbescac= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) by DB8PR04MB6825.eurprd04.prod.outlook.com (2603:10a6:10:112::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.26; Mon, 24 Oct 2022 03:13:11 +0000 Received: from PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85]) by PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85%7]) with mapi id 15.20.5746.021; Mon, 24 Oct 2022 03:13:11 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Haibo Chen , Peng Fan Subject: [PATCH V2 14/15] arm64: dts: imx8m[m,p]-evk: change to use off-on-delay-us in regulator Date: Mon, 24 Oct 2022 11:13:50 +0800 Message-Id: <20221024031351.4135651-15-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221024031351.4135651-1-peng.fan@oss.nxp.com> References: <20221024031351.4135651-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR02CA0042.apcprd02.prod.outlook.com (2603:1096:3:18::30) To PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9416:EE_|DB8PR04MB6825:EE_ X-MS-Office365-Filtering-Correlation-Id: 81fb9de8-5fe5-41eb-240d-08dab56daea7 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: ko2ie+FQpjsFAu28WcigI56a4728+zvQ3M3SMigbR6SWLINPr6GJx4n3cmJSKO3BzUHG+/eJ4SgOauSQSbDAfsW9oa683LQVOlsOkBKBJmsBU6cKhycd/yvlXRRi2VyesAbA+G973Q5ABKxLY1wzv50lY/aO2s70phmYdzv2pxOMX0F4A1gcFKG2QIZLJCSLI4zqZKhZN7Lu/5eitW3Xu/Zw+Eq0PUp7kdc/FRrsVge8OdV3lV+rCq/olRHy4ZIfTNQTwWh39P4LHDrMF9/2jIg4l5v560mrVC01FIQFTbtrgNZj4R/44qjkS/YT4gRUiGWlpw47H8KeioerXqjdA+28e3R4L6scnN45HyiBOYtC0cp+BSTqw8UUhjHGmhKByDhUoo9JVw/V+g5BQO4qRqrM+tC6VY/byMboDyPM/HQK7KTkWaP+/mO9IA5Rygip6oaIZCWLmxieBPP7kJO4IZyIdeATSQ5TLDrW76+L8fcJnEthqNRTzJEQPEk0rk5fl50/fWu161qYZ0N/B5njOhNCGxCUlGOkcYnDmDkpND70Zrc/5RLI4Bh2ryUd2eEB59jiSNYLueEuoeztDv5hNKsmOBaKi2P0NN/LArkn5KUbNMV8n4C8jw3bBwOCgUtZpR/u2n03F5VGlxpA/OW/r3IB7smbq2xYkzIRcc4mj4tqn+Mcfgim3B5C4YobXVw1+JjypIwvixGSGvigc0uF1UuJV5wsiorwgpWKwImXSDQYZvF+TMtk2KFzxqQMh+XLD8V1UTx29p24e1C2U1bqaZZNHcsUYeLIz6PBllJa4/0= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9416.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(366004)(396003)(136003)(346002)(39860400002)(451199015)(186003)(38350700002)(38100700002)(83380400001)(8936002)(4326008)(2906002)(66556008)(66476007)(8676002)(66946007)(5660300002)(54906003)(41300700001)(86362001)(316002)(2616005)(6506007)(52116002)(26005)(6512007)(6666004)(478600001)(1076003)(6486002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: y3Kh7G8cl98C928xJuDOmKcuICR4XSXpztUYAc2GDbI5EExLEAPEzhpgiXNNJfb7iDedqnmhwFJ3SVUmszjCxcUQsOG0IDZT1gI3Bh485v3gXfgoiN/PnPOFWRAWGC0Jz0UntY2kszSITNkACwxdaEhzDYZYb/h99Pk0jcdXaayiXBSv4V14eZS0uzWDUYFcJhuF2BOVCEH4SzBZB457PXdUjTRO/WVitrM15cFNdkqDEqJ7gqEOXoRpveVLS5OwAZ/PEb09tPLPySmOajbGkl1DfGNQ7167oIRMreTV+YAsspQvnodWIwQR0SbXJGD+GmeX+0xsrbk6O/QeBybY87Nwe1Fvuu0+8PSY1a5UptPwyye6sJoV89EaVicL/vxYFoMo5Vc5E7WrWSRyQpqI+SXECjNkj1QwEiSlzNP7yL/V4ppdxkWYaNmgaU9HHdwX4jQ02JosIr0QPiuQnZCL0NpoL/CbJ/8zuv+DU3NGCEZPQixgdVkEa0p6O3iB46AaYqXKWptLBSbSYCZ3RZIyF+t3SOnJJxVrUQZBoPBKBp2pFH2GlroY6j7e/5BGKoBvKP2indZ/4JnlGH/12UE07DXB/A8HhHaAeetd+OdfMOX0CPAnGaleXvYMjCxyVgqmVx7xQ8ZrLNOMnq6WIXuBxQ1YmDW/6lIXnUJ+7kVbHszELW+Y2UJS8v2B8gYScDaxpxbkWHX/+WJA0Snzv9cLqG/47N7pmiRkb3+1s7BZyylnao/SgUMNWyXCze22YFbK+rNI42k6a2AcAZiWeW1IjCfOQFU3IuLR2hnkXYD+k08JwD56uHcy33EFMFplmALgQlY4Lz8lwS0LP3qYvF73sScJVkpenXCZMLNqECo1zBdDIvh+dWzkE0U0/YvWvj/gJe4pE7N//2Ixr03nebWk2icdqTr/fyE5JQ/vTO6KfLjUq2XhLkog7oK18EkA8HsArs4qi00qO4CU2quzssLZRVFiwrd2Cm5ldLlgXp9pZ/pSrzn+AmmjwvicBs52hhxztxA/EhLh47amJzi9aduUvQ0rOzuY31aMybLKGMtnvj5EFsrTV95su4fWcm1iZ78za5Aq9Ecs609M3VEkopqVajtNFW0VSeV9b7rIGJhaoxLg4q9FMdw1irX4Mrpyqh/3ilsYDtMGkc2mwE0sFpkxoaRvhmOgM/hxSAAr+5JsLt39KVjlqImRZIkY8Ym6CleJYoUOb2AF9zMZtIbqUGmQ+1mjY5UQzdOosE/VZT5mXsvtnoXikSZzeJSxDYKs/q+6S6J6TZvIKgPjB9C2INTynexElYC1DqoOFLGwWERDKSsnz7fMERYCXilwChThwH1+fz/y6SQ9EEj4feY4RMS4lTQT5sb4UI7t3bsM/eP8LMc+F94phTT/waUUsGpsI/TW5RH45kQbh9CMADgKEGjKFIMBsETLbrDGKxxq/aQqHuyINmfbCwCVeyhBEweD2x/9r0uzvhiYvbF/FGsmYWfWa14MRjuPyHlgOXUWN2jh07IC0jBxXKFgih1s54+6fIGr7rCi1eJOsgDinpsLMEcMe6ZMwE8L0/oeWq1f/ouZp0GGxhJs2Rc31zrtGJnr9WDf X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 81fb9de8-5fe5-41eb-240d-08dab56daea7 X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9416.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2022 03:13:11.4941 (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: O9fIAuGVvEo+YBzOdikjo4Omb1AImq4sYmTa08y2ydKQe2FczvLcxL6ccBRJPuHOdKa3mlJgfDF3zeF3qX6Mag== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6825 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?1747537872641222994?= X-GMAIL-MSGID: =?utf-8?q?1747537872641222994?= From: Haibo Chen Some SD Card controller and power circuitry has increased capacitance, so the usual toggling of regulator to power the card off and on is insufficient. According to SD spec, for sd card power reset operation, the sd card supply voltage needs to be lower than 0.5v and keep over 1ms, otherwise, next time power back the sd card supply voltage to 3.3v, sd card can't support SD3.0 mode again. This patch add the off-on-delay-us, make sure the sd power reset behavior is align with the specification. Without this patch, when do quick system suspend/resume test, some sd card can't work at SD3.0 mode after system resume back. Signed-off-by: Haibo Chen Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mm-evk.dts | 2 +- arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 1 + arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts index c93387fcd498..898735965ac9 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts @@ -22,7 +22,7 @@ reg_sd1_vmmc: sd1_regulator { regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; gpio = <&gpio2 10 GPIO_ACTIVE_HIGH>; - off-on-delay = <20000>; + off-on-delay-us = <20000>; startup-delay-us = <100>; enable-active-high; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi index ce450965e837..fdbcd2483efc 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi @@ -56,6 +56,7 @@ reg_usdhc2_vmmc: regulator-usdhc2 { regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>; + off-on-delay-us = <20000>; enable-active-high; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts index 82387b9cb800..07d9fb2aacf8 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts @@ -46,6 +46,7 @@ reg_usdhc2_vmmc: regulator-vsd-3v3 { regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>; + off-on-delay-us = <20000>; enable-active-high; }; From patchwork Mon Oct 24 03:13:51 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: 8145 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp229001wru; Sun, 23 Oct 2022 20:17:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7yrTD0WK7RxV09un3/Xkrtz3zD3vGI4h418CyTWcrvzKCE4TDdDZfbdqYRfAuuRqKRSOab X-Received: by 2002:a63:f608:0:b0:46f:1b5:8474 with SMTP id m8-20020a63f608000000b0046f01b58474mr3371958pgh.377.1666581429753; Sun, 23 Oct 2022 20:17:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666581429; cv=pass; d=google.com; s=arc-20160816; b=YCbIHxZthpSWJz1CoVU018zaOsPgJR/4XgL4zbC/0sJcStLCaNKcuivOuj7ywLj3Gk Uja/l2Ks+VTLqxLcAiX6y4H661Xrd4vToNG5wkk4HpXHOcPXhWBaH1z0FBsZqem0vvWZ EF1t5rpMvKkRvbraqPVUJhAoYglj3krEDHQ9+6fSMCx2PFniP8r9N53hibwhqtPcmjsw GuctF1Qx49AABsrIG877eLpIZeC2ZbYoP1emx4eV0RaqtptB/dA59Bs/muWx02mGK/7J 8hxwiHXyMB7t1uqgm1r4N9ODbQE8Jny7Xrjs3cHBYwnKgcuik5ofmlbMLQEf7yNqEqVz a8ww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=45ZlfSnPATcVCkuW7OpkmI6SoUKfZvDq54LQHVB8cN4=; b=QqqciKjNU2o4AcUwSnFL7P3ZJuv/S35U5oPHiCs2zPwZOfe6AhNGewACp39Hoq+VPU jhk7C3QW1DIogjoTK0sLjBnSkl90D+XhmDyd55dNpARsoyho7fqnYy0auBNw744F9HV+ eVgxHxJDcqTa0cV3KHDY4wQjAppGJ/2dSMGVKXoiml1C7vPocZPjH85iTcgSuycxpxxo B8hMtqd8dcM2whUCtL2GCgl4pAcSWBgLJEuFcID662hGsvMZ8byTEdrtF9qVG0UHsZe8 fSfBRJR/TGi3dJB495MICrWvc255veG3FHvuY7kyOhekxZ6Kt1kBstYiQFhQo2sFx8DI HOEg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=XzchkRWw; 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 p14-20020a63fe0e000000b0043cd68f1223si34738011pgh.291.2022.10.23.20.16.57; Sun, 23 Oct 2022 20:17:09 -0700 (PDT) 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=XzchkRWw; 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 S230077AbiJXDQU (ORCPT + 99 others); Sun, 23 Oct 2022 23:16:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229824AbiJXDP0 (ORCPT ); Sun, 23 Oct 2022 23:15:26 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70041.outbound.protection.outlook.com [40.107.7.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F2B676546; Sun, 23 Oct 2022 20:13:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b0f3NUnt3AWdX5iDxD0bQR69I4O18+FCxEr2QQeTjGYUfEpaNM4NXk/YW6ZLA8V68LBrUOfi2Fw4ayYHMeuP/szmgrQi/wQd9NgKGKt4V+3OJV7KDgRcYnBMe01ARGm5NN8Q6Md5dEKvFHhPWz/g8zr9oSSk68q2MRL4dxnMPdQ6OAPzRINy7YIaRJTcxB0eIIjVL+hFITby7/vhPnwHivKLZ78KyCo0jD63aKGn6EmnX0Twnww9LkFBfHS/yFfoe3Lbu5Y5O9Gdtbcgjj7qJWMVjQuqf1Dg6DdWiE0AdzwI1iuJBNuUp4O9i90jL0plDUxdY7iRXNqSkJFBtIfLJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=45ZlfSnPATcVCkuW7OpkmI6SoUKfZvDq54LQHVB8cN4=; b=koxAce1vAGSwQH6LgUOgZcfyVyOxVIATGkDgshw5UU+AaeqigKP5tra/opfCtC/CkrtRerjZyOHgcf1UD3yvlVw/6mvzJ2OHTMgLWuvmL7I8Y2liJeoOltzpZvDGRSK8CqiuhmwKyN3ZtFzSUxL98KILZCekM0fS6Ep4QaBzWfnrELKvy5zSfjnxna0fSa4/pgLfezrPg3C84iLzYceZnh4VDbs4NbFPWEuK5n3uiVQDFf08nMIYVTIUO1yjVgAD81TAMEbU07k8Diz/ufzhKubFmLCOyN+BdhEaV7d2B23cwapX43SLWrbPPTAHg168ijIig5qInm6rvz23gceaCQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=45ZlfSnPATcVCkuW7OpkmI6SoUKfZvDq54LQHVB8cN4=; b=XzchkRWwOzdhqQPqL0KIbuh0dezlAnLRHX1cPTB8vSoagGWFvEGLo3nFk0x0orHd0T/XU9niQMHea++gOX3R4ycrC900y0RIQZMFN9ZNlyWWRH2CXghXHNkJitCTzv6L4KVJIligSr8Gtm5DQRo5gYG+NHRWlOUdm3Q17q1aw8g= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) by DB8PR04MB6825.eurprd04.prod.outlook.com (2603:10a6:10:112::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.26; Mon, 24 Oct 2022 03:13:15 +0000 Received: from PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85]) by PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85%7]) with mapi id 15.20.5746.021; Mon, 24 Oct 2022 03:13:15 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Adrian Alonso , Shengjiu Wang , Peng Fan Subject: [PATCH V2 15/15] arm64: dts: imx8mm-evk: add vcc supply for pca6416 Date: Mon, 24 Oct 2022 11:13:51 +0800 Message-Id: <20221024031351.4135651-16-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221024031351.4135651-1-peng.fan@oss.nxp.com> References: <20221024031351.4135651-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR02CA0042.apcprd02.prod.outlook.com (2603:1096:3:18::30) To PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9416:EE_|DB8PR04MB6825:EE_ X-MS-Office365-Filtering-Correlation-Id: 60102b10-95dc-4a59-397f-08dab56db0ef 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: qG0FMRaqTo+Q4rcB9QTfgYy1SXysZmr4v3kdB3bH4KMP+uIFvNAdyBQSdGoNO29zXmuSw4EwUyCY9zRXtnJZg/acfWymMB46YNIDBAoP2Yt4maK38pUWaHVKkvPbEVZfW6s6tPJOJZRPy2comzWTRl0uXZlC8l6V6nlCC1sTPmrsgBGRaKkjE4Z7HSjJWBR+xGZTeUD0cARecB8VtwPB+Y5yUJ6fgaYFrPQj8rAaGh27b5NPhwJMZeNrWjQMt3a/r5s799LHU0b1eUvgWZmV2OJv9g8yxsqw93qpAS6c6HNap2V/xJ46sQPpdZDRmNAlaEbwwGieOd6ABxMd1M45wyjw9iOnZgJAcYDJhfenXrL246gkm7/9po2fmbIaNWgBaor8Sx/YJf1I90/BuiohVCvOmkHfL85uAe8R8stfzRW2W1TuRUhdsUugnc8m2qXfvaa/JqB/JwCQV86B9Daqzd/7pw0v5ulcMhGk8UH7qv9C+zN53u5FHsvWOi4OZrad0mxSBtj4j8orykFFTVwCPaWSTl0sk/Ivd08L6zXx0tDwsIqa2gJVNycg3nbHKSgAVOp34Hp8h8yZ3y9gzxmDBd2x2sYxdpVli/GuRgtyLmE72oO+uZIYhXGIRPmdAqt3WONd1iEyXiINlzzgpZnUEopL6bO7UfScYvN3ATzL2AZdga0STgxFm4u5r4Es/tfeCvqSbhL01LiYNz2A2GdgRUYO8Vf22sbG1FQJzY/1ARVdB3vR/6cH0TLsddoJGlp63+x/9POxrjjqzKrde26IhsUDkfB+IBznBA2R4Lka3SI= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9416.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(366004)(396003)(136003)(346002)(39860400002)(451199015)(4744005)(186003)(38350700002)(38100700002)(8936002)(4326008)(2906002)(66556008)(66476007)(8676002)(66946007)(5660300002)(54906003)(41300700001)(86362001)(316002)(2616005)(6506007)(52116002)(26005)(6512007)(6666004)(478600001)(1076003)(6486002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: D9ER5AsmyXXUFLiHyk4Yrp89kHJstez4PlWdJBCuhUjS9BgSLf4Vn71vdsGqwCs9ZRV2AhQk+/3/yhD+rLNdVobq2iPkeAPo083A0dJ2oBVj4JLKvsGpReKZmFkRtr5jN1Yu7/RIvaD9Ekj0GrmaJliX3Z8yrCfsZiiev6hGct+xiC4MKpr8efwvFnNRu2cs74aHR2wdl8QIhsyje60Gwz1gieRKQ90Mk/0RutfFA1Qu1VWKkqD74E4XQXKgNIIF/YkrdT8vW+UszPi/EID8BFKreBcBvTxv21gjh94RyXkbrZlfzufC88CbWDl1Z9SKLJLmfUlJzzl3gFIdUzh0YqZ8A4K5Dyhbs6yFvmojNVlghTCQGmc+pDcXWbHUi081TLI4vcZ74aNMKZ0EwaPijOXjRat6m04Ni7IZD3a3hcNJeAvXFDE98WK3hq3d2kdGj6CPgOreU7gNzmBeUIMZUV8H9bPZz2MxLMvVkXJnSUSoiYhDYaoHY+N7+X0NYuzeDyfHWMq2oV4SLlf8gdyid4qaxLA9K66LKkZSjj/11pDg+WAc2xJ9gAK8BPa9bpuO/wPNE30okIea4n3Jw6TltxOrfyRGh6PLa1HEP1B/SfUf83xs19BGRcyYHpMQLcY/vknVBtlQc4QV56mCbzUVnAxYrj7HKDDDc3/vdT4jP4VhnR7qw5G1YMwQAfk34Ps+U/HfjyVxUhB9g6jWPL3cZOwffeIVv2LrcjpDM9U8FTrJiPVU/5/Jbdfh8Xv/BTQR4vKunsKzsc7i+KPNXoWEqQBzbnnsfplQzR8grUodsNiXwl/Q19gYzNW54yAlr4MPhnOD3FLrtXH6CsJtN4aISEueUX0E+s3NrV5zYfm0fPUbOwnWAZX6AeZLJW3TSBDQ+7ZWJ4n1fVGnhFkeANpL+Lh6Z9KE2azZ1DmZGvi4PDv09hA0SCBmDl4ca4NsyZI9xcqkti2ZsOdVp3tlPNrGDp105BVcB4Gn9Dg+q7TLRz16NXibvrV9zJKsylE5Of/DXavTMWvco79cbehfQvhRuVz0vU3q1q2GBBHWcrcPSBDGF3EGtQroGON3V6t+UQjSxgDHMMTuPvQzSuw9WtddP1CuELCmhUBBDTBQwbrDrKGTKgUP17eXYaJAZKihBaVwbZ2XDL7eF2IF0VT7dhKgNzGVWRIyjRYwfWerJmSlqG7m5bYnqBwWNJIzeLyVnz/TJQo9goGJ2aUWeBlQeUhsOOvA0oBP1LDe826FeCliKXrnInMQ4vvpmO9uBNGVpkLx4HNXJ4aNQEtNSJ520xdt+LwrVAM+zJeP+CkH8Wzqmk5QLIbYQCgltV3Ve13ZGpEk6bK6kFqvsp7BzCvboqewA1+H43sWXKO/kvdc+AtR0C7UJ2lcWylUyUqqNjPUJrx2cIYdXWKbBLKfmNOPcOEkkfMZOfR+DgIcijId15l8tod9AHXhREXkcdkkxrn5+raSHzmnmMaHhSNLuhLEXiaOqULiAPcWuKFmOkoxObU8h2fY68duWbBmHuoIYUKp3ICACkYkHEhh7jx9nL7QAoZzyaWGczgHQKj9QBiwZHrV1fcCVxV0OpdfIpI45HRbTAEl X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 60102b10-95dc-4a59-397f-08dab56db0ef X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9416.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2022 03:13:15.3844 (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: Q0+DeCgt9zEeR4mzlMEeltwNCkR4DKf+9MiaXxbx/HNQ0MJ0x7bOJHc0Lq45G1ajG5/rH8AK2b7iwJHTKyFSLg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6825 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?1747537289093222311?= X-GMAIL-MSGID: =?utf-8?q?1747537289093222311?= From: Adrian Alonso pca6146 requires vcc-supply to work on i.MX8MM-EVK board. Reviewed-by: Shengjiu Wang Signed-off-by: Adrian Alonso Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi index fdbcd2483efc..31144aefe0ba 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi @@ -344,6 +344,7 @@ pca6416: gpio@20 { reg = <0x20>; gpio-controller; #gpio-cells = <2>; + vcc-supply = <&buck4_reg>; }; };