From patchwork Thu Oct 27 13:08:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shenwei Wang X-Patchwork-Id: 13022119 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1D57BFA3740 for ; Thu, 27 Oct 2022 13:13:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=56TXrJ5EMB6q1/CshHqn/X2Wx3ZAiOKx8LV00CyXVZc=; b=kwU/sH5Np0gGIW 86H4cxDtZGwZ2pBDWumF36q4WbfemFPN2spqnZYl045kWbCZ9H2uH7hw79vvyrCof2uCKnOGLpG9d cmaQnWfPyd8yIuPRTJW3O5IyLwlvB0RCFQJeLO4DevgbKChCmSWygmrAxuSi9tcv+sSwQWbuUkJ5a Cr7n0nBfprORI+lMzgu+rFA4bUbkIRPvoXrzenBAjIgjNigRLPwFZzfe3lfgJNBkX5wt0P6r6JsrM HQpzSXsJ3loBKV36ie6amMpKWKqjGtCY8gJCyAMZiMTvo/iZB6FGABrh0KZdXlQBpc/kZ3NdVE2/P atqA7AOlwTGVY++W/2Og==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oo2fG-00DN2O-RS; Thu, 27 Oct 2022 13:11:22 +0000 Received: from mail-vi1eur05on2048.outbound.protection.outlook.com ([40.107.21.48] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oo2dq-00DMUn-AA for linux-arm-kernel@lists.infradead.org; Thu, 27 Oct 2022 13:09:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GR5Twdteequs5EPeGJhQnwPfqnY6ySNoQ8Wg4rHf44Wq5x/QaUcZM6ZQiPbpBk9eYomErfWVQeZ9L2rF3FsE3XiY+q9p7AV5ZcFeQi5Dyy+GE0sHwiF/OBWLs8tuR0QPorPAKFNdur77L5Q+2d/S/aFJ+lFKhO5+dG99OvdalFEkrb0lcP27a6UaiveoS50MWAduz+HbVnrx+twIviI/TfNg2ubllU04CLSMjkGddhrQudFJ0CAyFLCNViQISCvI5QiNXJbKUpmX3NIhi0Aw1kWk6EhRrvOtirDBhbGoD/rAuzPcrJPKwBVV3NBHX80Wz88IdsEIQYnZx+cskD5/Dw== 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=YHh0nFTm4zTj5yYtQa/eucC6o1aa9lk6NCATzrwyE7I=; b=UyaErNSSZr75ikbPgwQynL8pUSZUizdsmPOC5idY37WuH/e9OW/4DWR8DNiHcEdhE/yxlSVr2xzxIKD3tAuzYACV8rnGH60r2SCSNIivuyzml1Wq+aOGJL0HCHajiBVveVcF79grrz5mHDyThYrk2sQGUB0pXNtVgnf3tZRlPSggs+t9akbJCcgk8HJzrQwNkcnIDwhZ2tR+0MnAm1uii/OSlitT9/qcshGubBH+OWnYtRqIPEuX89MNVyPWTE1bkxFpB3nQ+v1L4AiHOXzPjXmwUmAlHVHtjn2/0x4lCikoSYlm2B4y0Ycc4mifUGWEkejh9d0BVRBU8DipW4mlMg== 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=YHh0nFTm4zTj5yYtQa/eucC6o1aa9lk6NCATzrwyE7I=; b=IKn8bWdn7MOh9CfNqdvyli7hb9DUxJRePxSy+5sgJvm7eSR+JijRJwwhqhqZYeEMZBcSSzRNu5Yn5PJ3K8Mc0VyxcBDpqBSgqS8Z9MKonYlG6gfJuTuAZhqm/lxmMIQt5BM3TpIPUqCLrJaWfKYbK581kjpXG+97DeZBtd2dtEc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9185.eurprd04.prod.outlook.com (2603:10a6:102:231::11) by AM7PR04MB6807.eurprd04.prod.outlook.com (2603:10a6:20b:104::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Thu, 27 Oct 2022 13:09:46 +0000 Received: from PAXPR04MB9185.eurprd04.prod.outlook.com ([fe80::b1ab:dd4f:9237:d9f8]) by PAXPR04MB9185.eurprd04.prod.outlook.com ([fe80::b1ab:dd4f:9237:d9f8%3]) with mapi id 15.20.5769.014; Thu, 27 Oct 2022 13:09:46 +0000 From: Shenwei Wang To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Linus Walleij , Bartosz Golaszewski , Dong Aisheng , Jacky Bai Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Shenwei Wang , Peng Fan , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev Subject: [PATCH v4 1/5] arm64: dts: imx8dxl-ss-lsio: add gpio-ranges property Date: Thu, 27 Oct 2022 08:08:55 -0500 Message-Id: <20221027130859.1444412-2-shenwei.wang@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221027130859.1444412-1-shenwei.wang@nxp.com> References: <20221027130859.1444412-1-shenwei.wang@nxp.com> X-ClientProxiedBy: SJ0PR03CA0136.namprd03.prod.outlook.com (2603:10b6:a03:33c::21) To PAXPR04MB9185.eurprd04.prod.outlook.com (2603:10a6:102:231::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9185:EE_|AM7PR04MB6807:EE_ X-MS-Office365-Filtering-Correlation-Id: 4c70e68e-3b58-41a7-7b1e-08dab81c853b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZWsfqVe3VjAxTYgQs/+KrA9KmCMhhmyJIPZ+08RbpPv+iLzyNsrDXMpuNvS4DaSH9w/9yJqHSxI2w/UdJQX/jy2zQiEkTcTXxSDyPUCBmQFy4y372GZSSr+IG3SbzlH3KFTzmVPCYBZuPdIdr+WYijCJo7medYqUuB3cRo/sqFzb0AflPdltYKQPvbLFKbCuGNX4nkvXJuzsmrQXMfzPKhWpMh6+L82bvZHMJntC1E7zWORhVnvTg5v6/t1e6cfYJxiuFP+sng9yPYaeL3YxPmnIexxtxeSSTQmdtmPykgOLP/JuOFpGa8HJxF2aEzsGV0UWdwHJCN05CKdhmIB7gPsbxePzlsxK7jQ+BrmbHIeBpl6Rx8tMRbXFUHJgyIDrN/ES9SGW4RKvUn4ZtMaYsmGwQZ6wx7LSf9asGWmM7FgB43y2S+FxebuDw6gB3ZoX72dO+dAO/O1jzX9Mq9oRXmYgSAzVJoVoRgH25dz3cvXvqwOBCHcH2S7NTY4rIyskA8l9VVvYNQ7lFbM5+NnuDjz1y+i6sEu8zUYkCQFWc6/fCzpo7tccakR7NCOh/eBiXKnkg0KBrxW7bQfhcQsQ/huWMAvUIWoF2F5vftvsjuerX/k+Rud8E3BItN3WLxxeVK0s4XSei198OdQHKoS9GxdKi7k/cOhfBeXBjSUfFUCgQzGB1pVNfIfO1y80koZ+ZqW9dWgfd5Eo2xhvgT03OoTIUWjbCV/Y0cDTf7xotQtOUPuTH+glNWjaZp4s7dKsDLBS6ibhbQuMsgrEtCbvHKxrOVnZ6+7Y5FmZRcptmg4= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9185.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(136003)(376002)(396003)(39860400002)(366004)(346002)(451199015)(55236004)(1076003)(6512007)(26005)(52116002)(6666004)(6506007)(478600001)(186003)(2616005)(44832011)(2906002)(6636002)(5660300002)(54906003)(8676002)(110136005)(6486002)(316002)(41300700001)(66556008)(7416002)(66946007)(66476007)(4326008)(8936002)(36756003)(86362001)(38350700002)(38100700002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Wepp2Z7/UlknxeGWRfMiHA5YPWnLztYRgZthwfCLlPdd1W6IX9+XgGO0fKWRb+fAMJnYIiZsHiRRJEx788H912Suo9eARQFtOiaObbuf8yvZ94ufPpCExFqz2ZbsRDPvKosCtmWW2ymZxIAsD3TaLwwM5SA8ZhxviVl60GkDfyAsLudj4/BuQsDDw1Ce6Jh2229VY6YpPrOejfKwkU6b7xHAdRl5HU35ULnvRu43juY7ouyY9YsP+A1KLHnaAJJma9JxqiIZGGqTvFTRj7gRTdr0lRS2fgzzbfFGSAqfmLSBEkvKCbGWeX9T0LPK2OzCYqxNpSCGdodF+cnTKMSj7mKkAzOrYllExMjUKQYyoW0QAoB1b+jQ2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XKtDkr3ycA6ui6949FXSR2rq/g0V+cmbaI0GeDmlUK50mbrExh/qM+nkXoqD6DfG3V7YA0Q9EQLPKeilznzinyMtigryaUnoicxOkfn/lOoQ9pYQ3EjqN/7mcZsdJz80DfNKwHxfmw4dtL/zHF1P3Qryc+Oc+T5S53lB8V0+2mr2/bayg== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4c70e68e-3b58-41a7-7b1e-08dab81c853b X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9185.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2022 13:09:46.8323 (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: u0WbvoXnlA77R6n9TuQ7Zt+AuxINXY5zEm1xcwaS4kJTd/PGxiud1X3ZCgxpgI4ca5law+Pm0q4KGQWhS6YCCw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6807 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221027_060950_426226_C2025BA8 X-CRM114-Status: UNSURE ( 9.15 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org add gpio-ranges property for imx8dxl soc. Signed-off-by: Shenwei Wang Reviewed-by: Peng Fan Reviewed-by: Linus Walleij --- .../boot/dts/freescale/imx8dxl-ss-lsio.dtsi | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-ss-lsio.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl-ss-lsio.dtsi index 815bd987b09b..5306d2b3fc3f 100644 --- a/arch/arm64/boot/dts/freescale/imx8dxl-ss-lsio.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8dxl-ss-lsio.dtsi @@ -6,41 +6,82 @@ &lsio_gpio0 { compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; interrupts = ; + gpio-ranges = <&iomuxc 0 47 13>, + <&iomuxc 13 61 4>, + <&iomuxc 19 67 4>, + <&iomuxc 24 72 1>; }; &lsio_gpio1 { compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; interrupts = ; + gpio-ranges = <&iomuxc 4 74 5>, + <&iomuxc 9 80 16>; }; &lsio_gpio2 { compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; interrupts = ; + gpio-ranges = <&iomuxc 1 98 2>, + <&iomuxc 3 101 1>, + <&iomuxc 5 107 8>; }; &lsio_gpio3 { compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; interrupts = ; + gpio-ranges = <&iomuxc 0 115 4>, + <&iomuxc 9 121 1>, + <&iomuxc 10 120 1>, + <&iomuxc 11 123 1>, + <&iomuxc 12 122 1>, + <&iomuxc 13 125 1>, + <&iomuxc 14 124 1>, + <&iomuxc 16 126 1>, + <&iomuxc 17 128 1>, + <&iomuxc 18 131 1>, + <&iomuxc 19 130 1>, + <&iomuxc 20 133 1>, + <&iomuxc 21 132 1>, + <&iomuxc 22 129 1>, + <&iomuxc 23 134 1>; }; &lsio_gpio4 { compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; interrupts = ; + gpio-ranges = <&iomuxc 0 0 3>, + <&iomuxc 3 4 4>, + <&iomuxc 7 9 12>, + <&iomuxc 19 22 2>, + <&iomuxc 21 25 2>, + <&iomuxc 29 29 3>; }; &lsio_gpio5 { compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; interrupts = ; + gpio-ranges = <&iomuxc 0 32 3>, + <&iomuxc 3 36 6>, + <&iomuxc 9 43 3>; }; &lsio_gpio6 { compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; interrupts = ; + gpio-ranges = <&iomuxc 0 53 7>, + <&iomuxc 8 86 10>, + <&iomuxc 19 107 8>; }; &lsio_gpio7 { compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; interrupts = ; + gpio-ranges = <&iomuxc 0 0 3>, + <&iomuxc 3 4 4>, + <&iomuxc 8 22 2>, + <&iomuxc 10 25 2>, + <&iomuxc 16 44 2>; }; &lsio_mu0 {