Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1862094rdh; Tue, 26 Sep 2023 06:01:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGKTHRpSAC1SwCVZjhhKcXJjK/q14NsTflwEq4CF+iuoA8iywha50WiWUaWmJKzZ6OZ06ar X-Received: by 2002:a05:6a20:5606:b0:15c:b7ba:ebda with SMTP id ir6-20020a056a20560600b0015cb7baebdamr9167711pzc.55.1695733269086; Tue, 26 Sep 2023 06:01:09 -0700 (PDT) Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id bd8-20020a056a00278800b0068a140568b4si12727449pfb.348.2023.09.26.06.01.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 06:01:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=fkTHqYgA; arc=fail (DNS record missing); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id EB75581904E3; Mon, 25 Sep 2023 20:29:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233604AbjIZD3g (ORCPT + 99 others); Mon, 25 Sep 2023 23:29:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233448AbjIZD3Z (ORCPT ); Mon, 25 Sep 2023 23:29:25 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2086.outbound.protection.outlook.com [40.107.6.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0349DC; Mon, 25 Sep 2023 20:29:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TvJbpy4ZRuEchzzAuEAEiQ1OB6mtyEibwYnatUkc0qvcBQ3jrA+98q1W9DB29nes2ygtCMZhLdNjHcbcMnTJzBNWzWWK+9JNkm+1SiU4pGM3NV61xsk15iQ/vxwYffvWUEo4Bt/2FxPUGdjoY/qkv3lgU5/JBgR0+dLRuiThuglC4XNXCpYUtZ7kqU0Yi8gFyel4k8ojeYzhNiggzO5Y84MJ84H0TcIHM+j3t1asYNwiQT1onxi/OBHGK43tK0QwNB8cQC/fNby0xNZl7nXnTBQ/le3v+gWoOUicvjIvwnCtSYP3SEYCft1j4mj9/0AADAbB8/ASPQsRo/S9Gr+m2w== 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=fHFXluGVzWt02RyFWyPuMFSCqz5Y1oXytkU5t9k+fKI=; b=DeQ5FAs7WmitfaQg/wecuAjH0Tydd70t7PPTu/dPO1JGrILWR4ZKtOOQg2wMk0fVx2HLAwKKQ/EOzBOuiUQ0blKLg0XwVGOGfWJ7exdIIV7xtqYpqVJI0uE7y+y8qdJXWfoWkL/C2LUWNZ+l5majtdfwwYOVYmW78cosYol7MKaQtt0Ptw+rz4kVoZH4Y7nVsN4k7yNQKN+oONKgw0psWEWfdPTALJCdNK2L6Cczw/X5KAWr3RtRXuR9l6n4tzK6OSqpLiiAET8yN9Ud0Gw4UNNGQhTXTI36bZGweX9Qmpga1A2pMHbRIBxNZU0MmZvQ1XVEzVGYdAmspJYpgbIn8w== 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=fHFXluGVzWt02RyFWyPuMFSCqz5Y1oXytkU5t9k+fKI=; b=fkTHqYgAglN67pIhDIbpMt9d+MXXO4Jle/7eXXwuzY6PMb/QcFCUBK7507xxyks+XWg/3s3wbPRj/fl7ihSMUj0mFE2W2qetmSCV5TGBMxab2ebnQTGxE9Kv6aDqEygUQsieoNHuwWJsitDNeGliYLObRNWLl2QAJyEDccK7KhU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AS8PR04MB8436.eurprd04.prod.outlook.com (2603:10a6:20b:347::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Tue, 26 Sep 2023 03:29:15 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::2b3:d8de:95c8:b28b]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::2b3:d8de:95c8:b28b%3]) with mapi id 15.20.6813.027; Tue, 26 Sep 2023 03:29:15 +0000 From: "Peng Fan (OSS)" Date: Tue, 26 Sep 2023 11:33:22 +0800 Subject: [PATCH v4 6/7] arm64: dts: imx8ulp: update gpio node Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230926-vf610-gpio-v4-6-b57b7f6e8368@nxp.com> References: <20230926-vf610-gpio-v4-0-b57b7f6e8368@nxp.com> In-Reply-To: <20230926-vf610-gpio-v4-0-b57b7f6e8368@nxp.com> To: Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stefan Agner , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Marco Felsch Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1695699209; l=2557; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=OBv9Fl8cAe6WZDwRqWWAbBALhbody3v57Vb/+6bcRug=; b=hMzFP7eFJ9RATpzZ0o91C27xX0sR0zhWvWgF2ZUJeq7BRSbeMKKbI/1p7+WDtGJeuBk5QAqrG 0DUh3T8TyzeBKSNdpdxtoV0KT2dWrqv1eguNhCWfh4pA41qfeumJwVk X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SG2PR02CA0054.apcprd02.prod.outlook.com (2603:1096:4:54::18) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AS8PR04MB8436:EE_ X-MS-Office365-Filtering-Correlation-Id: 31c9ad97-031c-438f-c7ff-08dbbe40c290 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: ztpVzaZfZHEpsbix2AASsquwGxcvM2hFOmWMVPyiiJC+a1DwYyalQzaMRTg6OJ5GUeduKUhHMljrU+h7zoF5sjAeLSsS73WrNdzcj/jhpUQHEJ/xK12+AN47/x6UKKnenU7Iv8MBHi05nAPo4MQ+mHxVSfGDXOvvJThLiYpMB2IKzoZj+ZOPw6CqOdiLMr2UkGJJx18X5xrecoeNRE7f4377RtCQCegeuGl3xNeXtvuN2cxphB+nTP2ygr6myBnYeL7uSe9w8VI+EMYSTif7cxltCOJTa1bCZI83BC7j/i78x+dlNKLnJPyJqHI/ZrC9s/UdjH9/2BGPlV/DEBkXOXOkgXTtVXF2wNQd2ZxlmfHa+JAXyKXt26ly9sG2DZpx0TaPJpzfHQJqC0cfPHl8XcXI+YK+ldpChe+gYEDGxzUdyIEQlv4IBZTDmQ1ck75hck4dh+CkzHTnpJAhgtPUVQCyBRkVrof8dIZSheos9J/JnEvfKdaMjGS5JYA/puPrMYFh9s+gNvDnk7n/d/ISX86aUCqEDO6grt8uUI+JC5FflknoeAdxwhXN3/I0MB0284qwkQUBV0liNPWbiHYdIsoua5h1zqAcnIHJTzrlUGRsUeSXob6oZ3NIT5jDL9u2xYXwH6/5IsCbccJMz3VZGZVu/q06RR7/4Juwl/c6jLg= 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:(13230031)(396003)(136003)(39860400002)(376002)(366004)(346002)(230922051799003)(1800799009)(451199024)(186009)(41300700001)(8936002)(4326008)(8676002)(7416002)(66476007)(66946007)(66556008)(316002)(26005)(110136005)(86362001)(2906002)(921005)(6486002)(478600001)(38350700002)(83380400001)(36756003)(52116002)(38100700002)(6666004)(6512007)(9686003)(5660300002)(6506007)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?aFM0bEJBMEZTYVVlcnhiQ09sWlJzWkhZelphaURWTmsycUx6bnhScitzZVhO?= =?utf-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ektLeTUyUk5WR0J0WmRQOUo5dGxsZ1BD?= =?utf-8?B?QzB3eU52R3B0dFRkRUp2ajBmdWlmOFdYUDN5b0pReHpySXBaSXUxVDRGYTZK?= =?utf-8?B?cWp1WUxEYk1kUi9UZ3NHdDFpa28zWlR0L28zbU15dlROOWF5cnVBNmZmd1Yz?= =?utf-8?B?by9pYzJHSnBOWmVjTjdzdXBKWHdPUVJidXJhbjVJVVJnZWorYXB6VndvV2Nl?= =?utf-8?B?d1Q4azV6cGloVjlyOU8wUThSMzY2aXFKZ0hUTzZRZWhtTld1anRzSndYVm9p?= =?utf-8?Q?Xuj5clcuEWHMIKmTnzdjdZ2cT?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 31c9ad97-031c-438f-c7ff-08dbbe40c290 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2023 03:29:15.5540 (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: p1kETmk8Ql0w4c79rMhRClQAasMujF4tMTarJIwC+52zpNU9o409z7JXETO2wyRanuuJd9WLr+/fSTpRsHp/vQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8436 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 25 Sep 2023 20:29:47 -0700 (PDT) From: Peng Fan The i.MX8ULP GPIO supports two interrupts and one register base, the current fsl,imx7ulp-gpio compatible could work for i.MX8ULP in gpio-vf610.c driver, it is based on the base address are splited into two with offset added in device tree node. Now following hardware design, using one register base in device tree node. This may break users who use compatible fsl,imx7ulp-gpio to enable i.MX8ULP GPIO. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi index 8a6596d5a581..3921fdace792 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi @@ -484,11 +484,12 @@ fec: ethernet@29950000 { }; gpioe: gpio@2d000080 { - compatible = "fsl,imx8ulp-gpio", "fsl,imx7ulp-gpio"; - reg = <0x2d000080 0x1000>, <0x2d000040 0x40>; + compatible = "fsl,imx8ulp-gpio"; + reg = <0x2d000000 0x1000>; gpio-controller; #gpio-cells = <2>; - interrupts = ; + interrupts = , + ; interrupt-controller; #interrupt-cells = <2>; clocks = <&pcc4 IMX8ULP_CLK_RGPIOE>, @@ -498,11 +499,12 @@ gpioe: gpio@2d000080 { }; gpiof: gpio@2d010080 { - compatible = "fsl,imx8ulp-gpio", "fsl,imx7ulp-gpio"; - reg = <0x2d010080 0x1000>, <0x2d010040 0x40>; + compatible = "fsl,imx8ulp-gpio"; + reg = <0x2d010000 0x1000>; gpio-controller; #gpio-cells = <2>; - interrupts = ; + interrupts = , + ; interrupt-controller; #interrupt-cells = <2>; clocks = <&pcc4 IMX8ULP_CLK_RGPIOF>, @@ -533,11 +535,12 @@ pcc5: clock-controller@2da70000 { }; gpiod: gpio@2e200080 { - compatible = "fsl,imx8ulp-gpio", "fsl,imx7ulp-gpio"; - reg = <0x2e200080 0x1000>, <0x2e200040 0x40>; + compatible = "fsl,imx8ulp-gpio"; + reg = <0x2e200000 0x1000>; gpio-controller; #gpio-cells = <2>; - interrupts = ; + interrupts = , + ; interrupt-controller; #interrupt-cells = <2>; clocks = <&pcc5 IMX8ULP_CLK_RGPIOD>, -- 2.37.1