From patchwork Mon Nov 9 09:05:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 11890723 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A9296C55ABD for ; Mon, 9 Nov 2020 09:08:40 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 30B0520702 for ; Mon, 9 Nov 2020 09:08:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gpfy1BJh"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=Synaptics.onmicrosoft.com header.i=@Synaptics.onmicrosoft.com header.b="An8cEcWV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 30B0520702 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=synaptics.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=5ZP0c69Unp+NZ2Y5ZGAEi79je/nQYd9nDkSqG8IeROg=; b=gpfy1BJhw7X+S5sU4mGq/F3zT NPBmv7r0XDODUrgI+tYGgLXwC1I+rQSYR70ZG5eFFF97SNil977uW6A0GaCUGNbuWPoAAdO65Jv+y K21azesdctZwcLlRVjFwJpSbzSu2E1f+CxHqBl9qsaVJjJCHg8JCYd5NVZgObZtmXls2Tlsh/eJfT Ie0POm64Lw7NhNVvw4bDlwjqyBRDy5h9HEQ0A6Uod66BgCIvOzLyRtTLRHDOYnhOquPBauZChMK+t Z06MDrWHyrCigPgF8AM19AhaNPOaup7WpWoqRQNjR1N8riLRofh8ZKnlAvcK6mYnYuCPQFSSGJsMQ 06+NjUY8g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kc39k-0001OA-Rq; Mon, 09 Nov 2020 09:08:08 +0000 Received: from mail-bn8nam12on2065.outbound.protection.outlook.com ([40.107.237.65] helo=NAM12-BN8-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kc39f-0001MN-Cr for linux-arm-kernel@lists.infradead.org; Mon, 09 Nov 2020 09:08:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mCqAjIXFn6x3dfZkPxItuwOyZCj6LVxjZMlYHsp5xj7GCl7mJfavErw0xAbaNZEIPzis6PtGWxzs9bg06kJCUzZSiv8oqNC896KmIRNy329HuSAjJ+n30I3JkeLn8wSxJ4l29Rgw2bHo1AiME/YPeicNAOJiBfCSBCCJTP7kJh7mBQcndTLd1suM8iX7ktQ6Ir3bV2S6+yvjIOMSRcjl0QypfheEKChpLOZeuOPIWh5ou8ohHqmnPWOGC4BydRGlWtahxhvKAiVJu2zCYmBuEZqyDXrsUFOftMC4ryYefPHxlwidn2j7AQetyvHTNlc+SmtN4yUkEbU/bDTL1k5ygg== 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-SenderADCheck; bh=9eU4FHEY1wThLphgN5Th2vKhLTEoFSgPh64aCNCDOxc=; b=ltUfw1eWIoPyS7WHqH0ddfKTCv88ePIIKVBKdincV/EhGYQX4kM2+TfgKb47HlCB/j7bgm77J7SLBAYsi0U4jVquVW0lNrdqW+8Pn1FslD+8NCLreeEVQz24R0PNoiLSINZdZsuXYjV2ELt0jX1pzuS2d2pKJOYGb+BhNGFghdjeTbddqFUrZ5VbJRhsdMF3G0EkyG5A6OigVbaLPTkpiNQeL+UFr26sEhAWS5z0gCYvU8Q9vL411gyRoqUL+unYRVZgwHgag6VDt4xjjAR7VnmsiS2N47bNnL4/0KP7aZUup0xqRbMazO4qd6GGH1uHYsgGFRF0+MdmTley+HozUg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=synaptics.com; dmarc=pass action=none header.from=synaptics.com; dkim=pass header.d=synaptics.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Synaptics.onmicrosoft.com; s=selector2-Synaptics-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9eU4FHEY1wThLphgN5Th2vKhLTEoFSgPh64aCNCDOxc=; b=An8cEcWVZBXNqJEJLrDITerYjGYGdPx5wpg4Upt7YDsNVXG80uZQLUNaqhV1eyl+g+k+G69GkjpoEqN+0fAvhXt05K+3noKqm3aIOlr+fFkGtcsvhk6uSv/4SgKy3F4+29+kShhilnjtdl8YdcI7Yku7KWlikvpgpr9bV7/Rkqg= Authentication-Results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=synaptics.com; Received: from SN2PR03MB2383.namprd03.prod.outlook.com (2603:10b6:804:d::23) by SA0PR03MB5497.namprd03.prod.outlook.com (2603:10b6:806:b5::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18; Mon, 9 Nov 2020 09:08:02 +0000 Received: from SN2PR03MB2383.namprd03.prod.outlook.com ([fe80::49be:5ea3:8961:a22]) by SN2PR03MB2383.namprd03.prod.outlook.com ([fe80::49be:5ea3:8961:a22%6]) with mapi id 15.20.3541.024; Mon, 9 Nov 2020 09:08:01 +0000 Date: Mon, 9 Nov 2020 17:05:56 +0800 From: Jisheng Zhang To: Sebastian Hesselbarth , Rob Herring , Dinh Nguyen , Khuong Dinh , Manivannan Sadhasivam , Wei Xu Subject: [PATCH 5/8] arm64: dts: agilex: Use generic "ngpios" rather than "snps,nr-gpios" Message-ID: <20201109170556.2e3a173f@xhacker.debian> In-Reply-To: <20201109170258.4a70c768@xhacker.debian> References: <20201109170258.4a70c768@xhacker.debian> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) X-Originating-IP: [192.147.44.204] X-ClientProxiedBy: BYAPR02CA0021.namprd02.prod.outlook.com (2603:10b6:a02:ee::34) To SN2PR03MB2383.namprd03.prod.outlook.com (2603:10b6:804:d::23) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from xhacker.debian (192.147.44.204) by BYAPR02CA0021.namprd02.prod.outlook.com (2603:10b6:a02:ee::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.19 via Frontend Transport; Mon, 9 Nov 2020 09:07:58 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 146efc21-6592-449d-9a23-08d8848ef5d7 X-MS-TrafficTypeDiagnostic: SA0PR03MB5497: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:983; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6Ke9K/6wNRj56tGBbt9v81Cw7FxjtbuOrvWR8y8ncO46apJiMxEFJRmTf1wXYM44lz9k3bLfcoYur9ACcErYFqzKvEPSmp2glXIHGaj2s0sJMUhCHrn35o481equuab3zLofPlZUXEWsaLjDpHM3kyZWROnxMySJcY1oDWFe7evIWWmm65nYw70p7VIEW2AQh9xwH/VODzVPU3DO0pXqrF6gsqxw6JOgR5Lza9DzsMtgGjPMsQ1xiC9nG8qBefdRkc1hRBsAVpHHiF4FeLiNWZDuaa2rIPgEl5g1ocELUl+PMGNhiG1zvT9VlfrsAuUGRFDUoN7Sh7I0wwNJCLpI0bWpPbmcaRKodk/GT3WgnzppE+P4n90CZuWy7cpJzbo6 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN2PR03MB2383.namprd03.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(396003)(376002)(39850400004)(136003)(366004)(9686003)(54906003)(66946007)(52116002)(8676002)(8936002)(66556008)(55016002)(110136005)(66476007)(26005)(7416002)(4326008)(2906002)(7696005)(186003)(478600001)(316002)(1076003)(86362001)(5660300002)(6506007)(83380400001)(956004)(16526019)(41533002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: NvZCtSsaksV+KM92zNmzyfmKE5EzR25uqrQBpTsxvekP5mbGfCYGPpnFbYghg7xnwK/X/yhcuvW7HWH3SjayoeTdza8pTCd3G4dn4Qf1hEhzbyeBpeCRtF5q+JdH8Pv6jIbe9Sa57mSDWmcQil9D0KPAUmBYCjNqBbM8Zn66qlz/qhMTgsaDqEZ9HgwSXD96wALQkRK7QKwBOqCKJqQySXd4K7MKoPv/E+bA54e/PC/oxD/zi9TxHn+Z/G/sDr3ctZtWZRcRhoUC7NqHWEqnvbIvE64RhaMDGrt91wsHFknoexCVpj4ZaB9d0Ej9B39wmFpYWa+dj3eKnzqXLxwCiQVh7rKvLi2yDQvXFsRQFSgk2kAiDnQ/Q69mZjx1Xwzilfmk1e0M9bfEAwKDtyBvwgGbNr6orADRGmx1bxMp5f31PwstTfHV0HXNsAs6xKAF8fVwTedYzyAfLT+yOSN7mRDlWlYeyYrE5jIwQikBs+JzZufw7Y1faUEAZiuHsjJn38R/ExF8VeaqrfcT7f3EGp72mtuyhd9Qw8g+jkQrzFIt2iDYxqwSgAsSJ0Y2ykLYqKFrbWh1dfW0euXKkWb73iHLanm0lcjMIA1sjVQlXsQHhpKDic9O1MoxgcljiXGa9xxx/rY8/aFZ/rMEBpSXmQ== X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-Network-Message-Id: 146efc21-6592-449d-9a23-08d8848ef5d7 X-MS-Exchange-CrossTenant-AuthSource: SN2PR03MB2383.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Nov 2020 09:08:01.9254 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335d1fbc-2124-4173-9863-17e7051a2a0e X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: mgHMA8TISJ1HWyVN/d55wu0YPMyaGL51JwZodwBXuOZMpMuqzco6scQ6SuEwdgd1BQjtrkY/JoXABvAAU1Ksbg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR03MB5497 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201109_040804_318086_5C61249C X-CRM114-Status: GOOD ( 12.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Linus Walleij , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Saravana Kannan Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This is to remove similar errors as below: OF: /.../gpio-port@0: could not find phandle Commit 7569486d79ae ("gpio: dwapb: Add ngpios DT-property support") explained the reason of above errors well and added the generic "ngpios" property, let's use it. Signed-off-by: Jisheng Zhang Acked-by: Dinh Nguyen Acked-by: Dinh Nguyen --- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi index e1c0fcba5c20..2f731e3a7cd7 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi @@ -202,7 +202,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <24>; + ngpios = <24>; reg = <0>; interrupt-controller; #interrupt-cells = <2>; @@ -222,7 +222,7 @@ portb: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <24>; + ngpios = <24>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;