Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp301590rwi; Wed, 26 Oct 2022 00:45:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4yWKEzcCa13bJtc2QC0kojNHoB6Llo8o0SVOYfOTAPoxYHR5MlXS5eMne8hvK0wA5n/jGL X-Received: by 2002:a17:907:2c71:b0:79e:8603:72c6 with SMTP id ib17-20020a1709072c7100b0079e860372c6mr21839923ejc.172.1666770328862; Wed, 26 Oct 2022 00:45:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666770328; cv=pass; d=google.com; s=arc-20160816; b=YjJ2sApQx9+4xedCXCNv+ymiDxdlso+dmVRoZtz7JQ/v1swQncmR0EPyQqwYueq+j2 /GcP05MRgrwsgf2uYBbnf7Nsr4kRUQf8HssZSzYclJz68nTQd6QEZ06vJ7Aw+rZOaFbj bdH3Pzx8pdz87GVo3dJiRAyooE7LGUjRA684Fs0tkUYNuQn5D6IjKeAIwJucl6ai/xJB zpNppWvbFB4GOJI44FOrK6eJu5rvSAdqtSPFrTxFLvPkBM2RvKE8S6MZfdFoUU4CBKoE 0Kwe5LySsYWoI1iSUs+mHnTS2GB9yCdJlshYKJfz7AIKGyxqrLjKfExwW2ugf/f9S1Vk 6ICw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=x2rO2F6YrHuAAyc52/u32+YTxD5r54pFuOCpA9emG/U=; b=axz7gXBQIEWW0ek+j8hLv9xR1ULBdJTtK0Zdr0oeHh3dwcY1KM2mpVmTV9VysF5x01 abZevMF1s7zHmE88t9YAvbrWYh/XhCIqngduG2MLfWoNWE0Uc+uF7SaAtbVPpBhu7kIR BuNeRu91rG2DAYU3PF4m3eRhN8HGnHEjRzEcYdQBE/i1W0ROL00qX1FbOP5ckBJmugJP L6z6epkvS/Ey6tR6PeTdjNylXgziKSGzM2mMPkO5EOB44XGTISlDQM5n4bAru/SKc6gN XZr1+RkQmN3Zd+9t/hmVwoMggKKlVHPy3zPY1T13Vgeb2xk5JlKg5Uk3F04KU3LTiBxM Eonw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=RkNWTFWD; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i6-20020a1709064fc600b0078dee0fce23si1731887ejw.123.2022.10.26.00.45.02; Wed, 26 Oct 2022 00:45:28 -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=@nxp.com header.s=selector2 header.b=RkNWTFWD; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233277AbiJZHkN (ORCPT + 99 others); Wed, 26 Oct 2022 03:40:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233228AbiJZHkE (ORCPT ); Wed, 26 Oct 2022 03:40:04 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70057.outbound.protection.outlook.com [40.107.7.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E4A01742B; Wed, 26 Oct 2022 00:40:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ju+d67KFUIAQaGvzlEMJZ9LGk3hCk7y25TaxkhLAAwmENRTLdXDhGJgukvctFSqt/quWipaZrZCIzkM1g5cXdRmpZd0OuzJYbVIRNS13L5tuGzeHIS/uc4rhfXBEXAOJtz4LA/+7/GPRNf00CiBskqHwPitDezNnrpoZH3uBByYut+a4W1lcT/S/ZgsL0wPCaLwPR+RitN+hapG5wfTFbQ5S4PqA4sJRWDeL4OPrGo28N9Jkz88z1+0jUOHPekfyJwScDyFVR2LxKrHT4fOGJb5qFGLo4MQ6F/+LIYXK56maaKXCRUybRF9KWZl/crUoe9jSK/L3uxDbKraENrbadw== 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=x2rO2F6YrHuAAyc52/u32+YTxD5r54pFuOCpA9emG/U=; b=bq4oyQ5RvdoxKK6MPMylEyEHp3ofpxkvZKkxJY7KGk15Lj8xA9I2LRtrIEWaqwKiSv6RZT/S9xMqpgGTKbBorhxHLmwRGuN0MaFAmQG+b3k2eSL8rMyWxUc8afewwZo/BI+Q1Vg9I1Jtg5h0bDpxc24bPXRXUx+w9Rsm7zaTTNdT0MZC6XWc6lXdtsFPNCYVs21V0vvtXq3HaHG4sHuV3dg34YF/jcD5wSsdmjTHUHH1iVjUzAhYWqBOk0lu7jy2Qp84TWBa9jeUZnVP+uGu75bgVF8UnytU9pEjg+P2NysFjVFjo8I5rO25SZLYjDk3RYolLYV63OSGkGH3dba/lQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=x2rO2F6YrHuAAyc52/u32+YTxD5r54pFuOCpA9emG/U=; b=RkNWTFWDFDNoeaY8Cc2knh2UC3CjE23YAB+SeClgLeWU7vyVST2xLdGj3TuY1SMbkhfRW5KtB9QgHx3qHC7Dmlb0lHFhtGLfD5cegpZJJ78NOINaPDNEvkwlRgFbWPC3AP3ShFda537d06XwPO/gArq32J7K4waoiX7zLw/1X18= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AM9PR04MB7569.eurprd04.prod.outlook.com (2603:10a6:20b:2d8::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Wed, 26 Oct 2022 07:40:00 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1587:379:da06:2f18]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1587:379:da06:2f18%5]) with mapi id 15.20.5746.028; Wed, 26 Oct 2022 07:39:59 +0000 Date: Wed, 26 Oct 2022 16:26:08 +0800 From: Peng Fan To: Shenwei Wang Cc: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Linus Walleij , Bartosz Golaszewski , Dong Aisheng , Jacky Bai , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev Subject: Re: [PATCH v3 2/5] arm64: dts: imx8qm-ss-lsio: add gpio-ranges property Message-ID: <20221026082608.GD18160@linux-1xn6> References: <20221025183244.615318-1-shenwei.wang@nxp.com> <20221025183244.615318-3-shenwei.wang@nxp.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221025183244.615318-3-shenwei.wang@nxp.com> X-ClientProxiedBy: SI2PR06CA0001.apcprd06.prod.outlook.com (2603:1096:4:186::21) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AM9PR04MB7569:EE_ X-MS-Office365-Filtering-Correlation-Id: 7c97c01a-d680-4dad-acd6-08dab7254932 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8xOVCVL+BnkMgvQBrjdjTVpyDZVY7GsvQsYuvvDysPe9/VVmbJo8+lIPUFr11JbG1pdUOPMUn23T3Z14kuyuJIfcWpokAWFpv7wzi51DQPbalI/zuvB1chHN+jUZ9kqctkH/Em0H3of1gI98rTd5/AmBEpEYylaMzTRsLza+gNE+q7MxI7Ggtco8KeYi5tsYd9cHVvPZZ5Tl2U4OAAzMUwh9PUEfoHux0esSHuFPDla3ejbEDwhyv0zKBXcSCzFOvK6Pi4b1W991IVa1d2C4yBH89Ws7txmEfl+21SS0q+4QuOwWO7bFeHefecUkbm5ZlSaNXWqiB353Y0TJJE2LvFyA/eMMyCzW5ckBb3gmiySC4875J3QSOQ0aiRW5Jb49hQXzg8t+eMmbMI2UIeNk4GasqFpyzNLQQMBNrFJdiEGiuD64WYdQb8gmnHEuG7KeS3hpXd5HoV2AKRdivo0Foy8Cq3RvhLW7Q4RtRCQIOYF6C6/eSlnq2w+z83t1qhxUV/5JIZGSA7ZGbpo/V/HgRCFuWzlF62ZzE/JIwsVUC0iRe4wvMRpK1mE/gUA6VlvBp4VR3WiXlpgFWmMcJ8ewwH7voKrm2d8PAN/XshYM6UcXsdPvmz3fXLFzrR3UExNaP01YsKYIDt4yfM9I3hL9PW41C/fO4zbOX3rDXqL2bEt1YXn4ONyI8sPH8GAzDpEM0vAGwLr5KHB6QFzyvjNAb0+utVjtTbhUVy6tb55mm0jgKKI9jhqtze+QxhmovpxDrG0XU2zVfH447FZ0DWAejpy9LJJJB98xgiOW1kdEvtQ= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(7916004)(346002)(39860400002)(396003)(376002)(366004)(136003)(451199015)(478600001)(86362001)(6486002)(9686003)(26005)(41300700001)(8936002)(6636002)(54906003)(6862004)(7416002)(66476007)(52116002)(6506007)(6666004)(4326008)(8676002)(66556008)(66946007)(44832011)(1076003)(186003)(2906002)(33656002)(5660300002)(316002)(38100700002)(6512007)(33716001)(38350700002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?fdvaI+EGpEha6CNc5xSNi0NSp/uiPD8hCrtjhdsSZrP4Ft+Is1S1e73ZBSHf?= =?us-ascii?Q?iZ7VYrszbBybgQJxAgOK9bU2tFFXQbqfiB9TgFa4+9tb3JhKXF5e40GWAG+y?= =?us-ascii?Q?VS98BJ6lKAhVnaTjJFeS4Db+EfbrT9cvc9bM1D9N8TE1BtNYPMJXrThy16XY?= =?us-ascii?Q?+zb5KZ/msq/2HlMYzZKu8fwnM7LjXrmLsXSExhUvh+xCtsAwlJ1mgXo9fPfb?= =?us-ascii?Q?SNontXZFg8m6WjJS9idENqOZWNGpgDQ9zyVumFuLDOcqF2WTTnnUAbsnCYCl?= =?us-ascii?Q?oXCQ+ZLAUYhPAL2GnwbNQXTXVxy7F2cA15TEwePJjtFcEH6lVhWeRx6T727M?= =?us-ascii?Q?b07VJGaFlsLr4u4GzqPL4U6XBPrm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qA8gGZH3jPkd3n003XnRDoJxpAR7og5YJRxGidCcc+mHjk3w0IU/?= =?us-ascii?Q?cmoRoIHt9Q7TlFcKa42els0/VABKNOyTUiJ5+aabT9dYbssFRxypX42wmy0b?= =?us-ascii?Q?l55nSi/6aiugjsJW3r5AcZbjsmzxKak8x4q1kGr4lf3glgIm4cqazofeVqQk?= =?us-ascii?Q?XcqZZIgVfLwIHBqaq+16eaApYhGZv+oA+fOXUmoU1faB64p8yPJnCpOI7aJ+?= =?us-ascii?Q?Jlt4F7k/as/im1ESJYHIEHfwPxdJ1DL2fHYhGyiSDCPkmcSPOV5HoifoVcYm?= =?us-ascii?Q?MVSMrH77aWr8h+Mv+a1zzhxMPSuWig1tSqiTCFzF?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7c97c01a-d680-4dad-acd6-08dab7254932 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Oct 2022 07:39:59.7256 (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: orMsx+W4jfL9AbNlS7eUikV8hN+Azmxo+4QVTeyGQtfhEu4khHPv8BMhxg4Mrm5o/LCpuwXGrgVMSoyMEaw9IA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7569 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 25, 2022 at 01:32:41PM -0500, Shenwei Wang wrote: >add gpio-ranges property for imx8qm soc. > >Signed-off-by: Shenwei Wang >--- > .../boot/dts/freescale/imx8qm-ss-lsio.dtsi | 38 +++++++++++++++++++ > 1 file changed, 38 insertions(+) > >diff --git a/arch/arm64/boot/dts/freescale/imx8qm-ss-lsio.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-ss-lsio.dtsi >index 669aa14ce9f7..b483134f84d1 100644 >--- a/arch/arm64/boot/dts/freescale/imx8qm-ss-lsio.dtsi >+++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-lsio.dtsi >@@ -6,30 +6,68 @@ > > &lsio_gpio0 { > compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio"; >+ gpio-ranges = <&iomuxc 0 0 6>, >+ <&iomuxc 6 7 22>, >+ <&iomuxc 28 36 4>; > }; > > &lsio_gpio1 { > compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio"; >+ gpio-ranges = <&iomuxc 0 40 4>, >+ <&iomuxc 4 50 12>, >+ <&iomuxc 16 63 8>, >+ <&iomuxc 24 72 8>; > }; > > &lsio_gpio2 { > compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio"; >+ gpio-ranges = <&iomuxc 0 80 4>, >+ <&iomuxc 4 85 18>, >+ <&iomuxc 22 104 10>; > }; > > &lsio_gpio3 { > compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio"; >+ gpio-ranges = <&iomuxc 0 114 2>, >+ <&iomuxc 2 117 16>, >+ <&iomuxc 18 141 1>, >+ <&iomuxc 19 140 1>, >+ <&iomuxc 20 139 1>, >+ <&iomuxc 21 138 1>, >+ <&iomuxc 22 137 1>, >+ <&iomuxc 23 136 1>, >+ <&iomuxc 24 135 1>, >+ <&iomuxc 25 134 1>, >+ <&iomuxc 26 142 3>, >+ <&iomuxc 29 146 3>; > }; > > &lsio_gpio4 { > compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio"; >+ gpio-ranges = <&iomuxc 0 149 3>, >+ <&iomuxc 3 153 4>, >+ <&iomuxc 7 158 6>, >+ <&iomuxc 13 165 6>, >+ <&iomuxc 19 172 8>, >+ <&iomuxc 27 198 5>; > }; > > &lsio_gpio5 { > compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio"; >+ gpio-ranges = <&iomuxc 0 203 1>, >+ <&iomuxc 1 205 2>, >+ <&iomuxc 3 210 11>, >+ <&iomuxc 14 223 3>, >+ <&iomuxc 17 227 2>, >+ <&iomuxc 19 230 5>, >+ <&iomuxc 24 236 6>, >+ <&iomuxc 30 243 2>; > }; > > &lsio_gpio6 { > compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio"; >+ gpio-ranges = <&iomuxc 0 245 10>, >+ <&iomuxc 10 256 12>; > }; > > &lsio_gpio7 { Reviewed-by: Peng Fan >-- >2.34.1 > --