Message ID | 20221027130859.1444412-4-shenwei.wang@nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp226858wru; Thu, 27 Oct 2022 06:20:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM75Ijr3JXnch48y1967rmFPCzcZkLADAyy/kTe0X191k/ObZq/QWfEHfMeUhR3Nf5saJrc2 X-Received: by 2002:a17:906:9746:b0:798:baec:3a80 with SMTP id o6-20020a170906974600b00798baec3a80mr31793376ejy.610.1666876817699; Thu, 27 Oct 2022 06:20:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666876817; cv=pass; d=google.com; s=arc-20160816; b=QaxXhVYbyNUf4NW0uD+NUIl6372tlnVPD9r5hrLHYieJjuZlC1Ug49kbDAH2JILCcv Gdim2bhxWFSY/18bjqHj0EqgX+rh/dexq+O8UwODghLWH0NGbpyk9FccJ2jOBJXFg//F 4XqoDRLYezQdvX8vS9Az4cxP0o+/cnkq7EXuLa2m8oPVsoRjfRsnOorzXTqfNOR7hGsz l6TcLatbUoNt6ZtCTCkUVcyPMe1+SH0iK/GLxtjNWcPyG0WDH9QLnJ3fRkiCzt+U5Kqa EpICIZMp5xnAXHxvnsMHQxoPEldALoW9Dr1vjFJLeKJwhRVWHjCk8MvYSBBGvCCZmAgi 7hpA== 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=pt6pEJ4tFgXysBoOilvGa8i9zK5mFNHm3eCr37GOGd0=; b=IIzP04aHNoLCTYyQp8ufYdX15+rauUT5iTyHG1GcGGSdXofcoNG7JwBtS8X7NKvoUt dBE0GlNMieH5eJY2zmTn1bFLtgakE+cvsowUpZ6U49Fahj7ZVVlm3Rp+vR7TOQMxcvfq KW0Yms1k9vitsDE5yOYo24wkXBJTQZdE5QRrjQy1RlsSzDnWSBbqXH15VCRrsvgKGAwF IjqzOwNXCi8opiVvV2HRX2Uc88+6iL12s48BHnaU9DC4rzTEsh1vZGeMiGKGOiegqNzZ L3VKByVsNNkkwz7R532ptsts6TRzlZmrBcE4PHe0TznIJJ+Imb8uIMOyc29Vt27JRSGv s0Iw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=jxt6nXc7; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id go18-20020a1709070d9200b0078212b2e6e2si1843986ejc.75.2022.10.27.06.19.52; Thu, 27 Oct 2022 06:20: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=@nxp.com header.s=selector2 header.b=jxt6nXc7; 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 S236082AbiJ0NK0 (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Thu, 27 Oct 2022 09:10:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236036AbiJ0NKG (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 27 Oct 2022 09:10:06 -0400 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2068.outbound.protection.outlook.com [40.107.105.68]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A7D2357F0; Thu, 27 Oct 2022 06:10:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Xr2lqqXgWTIxM9HWMg8Vx+un9V9NagcJHOlyboQ5B1DxNIvLXDuNEvadC9baHJQC3BrVUUS1tek/ZzPuPDmzaNs8s7JxUqz0SG+XcGbWz5mkuLO79Hgu3Y+4nAyzoQzrbTtSkds/ofNBDSoCmaKPAJCVh7dSeCw0cv9VyopZQvJ6+3t2f3WpbyIqwbI1KsR+A/fEbeqBqwJTeh2lKcUroMXsYdOt8icxtit1F+9E8ecLODZ3kVwph3gOKC6PXmIWlLm8bPzV9hoGYph3sijEYMuYa7Tk0q9J5qB3PNkBVPsMJdJAo5AbSYtXmE4xdXx8ocRso5TQF5NqaJ34uLsG5Q== 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=pt6pEJ4tFgXysBoOilvGa8i9zK5mFNHm3eCr37GOGd0=; b=LZ5d/ZgcwelXCw+Ob+8/XE+G976AajpywzgI5KV3ORrP3Ww/1oEkG63ZfZ/Iqv9+ffO7VyEExtH824JBEFYpFjnDzRYHs/FKLTwonFgaSpXK3JxvnbdoFHtcw2So48o4waxkAhPrZZopHopJIFRcp2S1iBydaaMIH6SILdiBWBUPveuxE5e12vrIcWJ5PgDMttix2x7eXGrBgrR2WUFrhClb7ZIDSMSjnsC1X3schu4tRcElai7mJ+C0jbrdgDVvn06oVh4bfWbH500lPmqbU7oqTfc3/NBHPdFEBXXx9HeRUlq0uR3PJDtie45QZCYLLZYPv8vkzAP9iObEtr4Xhw== 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=pt6pEJ4tFgXysBoOilvGa8i9zK5mFNHm3eCr37GOGd0=; b=jxt6nXc7C5rJYnXVl4WHKF+V9JPbmS3j00HBCH7XmNtdgh8yg9BxNibeGhgN6hQBo+8qYU/iR7HoyMxdItRPJsB3jvMSr1ZCBLvR9KTBM/9dWONczicw4ZNM+IlPN116R+z08GUIrgXNbI3+kni2CX3xeua3jXnsaeJzzM1TtpY= 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:10:01 +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:10:01 +0000 From: Shenwei Wang <shenwei.wang@nxp.com> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Linus Walleij <linus.walleij@linaro.org>, Bartosz Golaszewski <brgl@bgdev.pl>, Dong Aisheng <aisheng.dong@nxp.com>, Jacky Bai <ping.bai@nxp.com> Cc: Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com>, Shenwei Wang <shenwei.wang@nxp.com>, Peng Fan <peng.fan@nxp.com>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev Subject: [PATCH v4 3/5] arm64: dts: imx8qxp-ss-lsio: add gpio-ranges property Date: Thu, 27 Oct 2022 08:08:57 -0500 Message-Id: <20221027130859.1444412-4-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> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SJ0PR03CA0378.namprd03.prod.outlook.com (2603:10b6:a03:3a1::23) 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: 0ed0ab93-3cf1-4c5a-2094-08dab81c8dbb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WSXbU8shxivf17/mSZYLYgZ34U6qAu1lUzqvT98YkUe/ZIkO8k9+AbGUoa6H3EN7BhW35aioRDj/d4xcjABS8BUekc3qq63aozahFIWsVULJCL7LJ//qfRYaXs0ZBE0G0YMco8SaBqTZHD3SLwRePchTzavLKSW5QT9rspY4K4pBAWVqo6qO18Lu2yfwupWC+fiDJDwFlqMaIB5lkT4l1p/tfdgiJZHPnKQTCITNxtIMsBCQNzwjJBpABugyT45pihsr6Q8Ymgf+SIzqEtJ1ahOnua16WMjCILsizj0Pu1SszpJV03k/x5h2GRDL50kPgSQDRoWLR5wj+munX+wTYdTa0hXhkTl01GXrDG0PxRulTaBFMFEoxlgqr19vzrUmAg4zMzQQ7pRB1lJBRfpNbDcw5wlTg9+gSXnCTEoYajdaGSOzu2V5P0jXTTqK3YHp6YLj+5x4xjFHnEOs8YTnPY0FBRqLzZAjbDS98oIkr2eQ7w+c+7CPaO1ILmYpaZZnfpKBppuCa/Tce1MKdWkASl4glCVHA/yw1rp17FUPBfw25mlVILtWZibTPNxI+PZl0GtVCHgpwSXYVQexztHgvwu93ASZALp/URo3mPS7yPQhwndLwBmPcEQQyHCm+Aopp17478YEMf9+bQQUuCQkDOVsjvQnyKmYkidKr1Z5Wj3du4wi+0qc1BMZtQ7z3U0QOq2HEox9JB8wI2Pf8ZFSD7Teo+bYAL1QK0b7Gkr5610RU5Yn4SOVK8jNKI6H4lbyIbYAVQ9b51cxcugqfOy1Fd468aqrQHy02XRFt2wEy9k= 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: h7AaPwlNuwXuXiEB2QvURprNs7A1qCbC65tdiKtly3QDcV/dhMte53fQhJjZPUzMASWq1xRc6/bl1VrH6zNGpyfBlOglW3orRt4Euj+MJLgEk3uP+V3c4GJMJQzElR4/4TpDCX9ZQQ14qGq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GAlUjb4EFshX6Tw2h+TOkleuonXHYklr+um2TjtAg/GxJsIkEKJuqyvqLtXowXxFnynkh9lTXjG+7DcEdnFaqlqAHOzFw9yPtzaUh9lqPrC3EDkDU8ILS7JYDMn889QCpw7/T5u/ni0ZC6Q1OhvQAfpREzE7lPM8tNJK1TG4a7YcZAWk8axWaA8m4y8K6TPs8sWkKNtPd3LC1Zyrqx8i7F6Ft6oiCQ5xC2wb8W6eIXj5lAas+4JhV//+UkBJf/wId9SfjFAMWQtJaFV9hxQYZQmVjdW9hd8vQj7CK+5puh0pkQ5os3Fsz/3rMkRnxIpeTMp+e3BPbI8nPmfKu3xy1yqvlMKOmStnPM+mThsdWNvzgqSb3PAksa9dY7N/98sEsD1Q5fYMBotmYRfVg== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0ed0ab93-3cf1-4c5a-2094-08dab81c8dbb 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:10:01.0291 (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: RXxQy/M58T826J3cClr66RjWD2r7kvC9JEjMX/8z4foy6QdBQE+I85KN9cqJ/qvArz4Uhp9GBoxgrHZef4Yh+g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6807 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 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747847025915644631?= X-GMAIL-MSGID: =?utf-8?q?1747847025915644631?= |
Series |
gpio: add suspend/resume support for i.mx8x SoCs
|
|
Commit Message
Shenwei Wang
Oct. 27, 2022, 1:08 p.m. UTC
add gpio-ranges property for imx8qxp soc. Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> --- .../boot/dts/freescale/imx8qxp-ss-lsio.dtsi | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+)
Comments
On Thu, Oct 27, 2022 at 3:10 PM Shenwei Wang <shenwei.wang@nxp.com> wrote: > add gpio-ranges property for imx8qxp soc. > > Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com> > Reviewed-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Please put this into the i.MX SoC tree. (If that doesn't work tell me and I can queue it in the pinctrl tree) Yours, Linus Walleij
diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi index 8e2152c6eb88..8f722b1dd078 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi @@ -6,26 +6,51 @@ &lsio_gpio0 { compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio"; + gpio-ranges = <&iomuxc 1 56 12>, + <&iomuxc 13 69 4>, + <&iomuxc 19 75 4>, + <&iomuxc 24 80 1>, + <&iomuxc 25 82 7>; }; &lsio_gpio1 { compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio"; + gpio-ranges = <&iomuxc 0 89 9>, + <&iomuxc 9 99 16>, + <&iomuxc 25 116 7>; }; &lsio_gpio2 { compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio"; + gpio-ranges = <&iomuxc 0 123 1>, + <&iomuxc 1 126 2>, + <&iomuxc 3 129 1>; }; &lsio_gpio3 { compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio"; + gpio-ranges = <&iomuxc 0 146 4>, + <&iomuxc 4 151 13>, + <&iomuxc 17 165 8>; }; &lsio_gpio4 { compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio"; + gpio-ranges = <&iomuxc 0 0 3>, + <&iomuxc 3 4 4>, + <&iomuxc 7 9 6>, + <&iomuxc 13 16 6>, + <&iomuxc 19 23 2>, + <&iomuxc 21 26 2>, + <&iomuxc 23 30 6>, + <&iomuxc 29 37 3>; }; &lsio_gpio5 { compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio"; + gpio-ranges = <&iomuxc 0 40 3>, + <&iomuxc 3 44 6>, + <&iomuxc 9 51 3>; }; &lsio_gpio6 {