Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3061956pxb; Mon, 9 Nov 2020 01:10:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJzgG0AfsIYu97ITqdAg1hxAMxS1+EaGek8DMSMyc0jSQL0kzHWDdn8otvTAi5vZhPgQ48zH X-Received: by 2002:a17:906:4104:: with SMTP id j4mr14498010ejk.439.1604913012392; Mon, 09 Nov 2020 01:10:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1604913012; cv=pass; d=google.com; s=arc-20160816; b=uIusuj3IqfFY4bNiZ+qU0pfrK6ttaNVDgpM3bSuawdKBEnJd9z9P2olBxuTHfELk1m TFoka0lOTq0WPu2UwLqezxemLykRDjcgxHz8CsNdCYytcZmIa1uZrhLAxpCAzpXbkxn+ BLWNRKP+vAOqJAJBYz2hdc1KSF/UrCo9obtwS7gQmclaxBNsY7cs9SkGbO7aEa+5lggu JUJKkdX3Yoz7qTRyDXCZ+siFeNh3QL0N9wLpjMMUTyiv9Z/Gzgsi9HcGXp0kZ1tuxoH/ xZvdfRZAWOlsSNQgMuvU4akZKGdhzw6sI77atZ6L0uysUGdWt/NepakuIX8Y24HSCtVc iHBg== 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:subject:cc:to:from:date :dkim-signature; bh=9eU4FHEY1wThLphgN5Th2vKhLTEoFSgPh64aCNCDOxc=; b=G8oWHZboMPfgkdMvX/lvVAs3T4q3fPdD1pH053THhmKHNiGTcB3/HXKTRtx5cOdv3S 7AbGb+MvSu1hPKIJElXSd3oFVsYBaZbXXK1+MKgSPaWsEe/A8tgSLFBXjWqoXln1K+Ll nUdu0+MpQTBTzGyG7o8gCZQjuyLeBQ8zd+0p9cIfFtgVSIBdwgOAkE/hGI0lDBg2js1B jUHiict1lbS4S7NPFWabcFPu9ld453kX8E9ArEIYr38QHvThHw70Oad/YlY9v39tRl7X Hcd5x+WgMYGH8pW8GvluMo6W5DAXYCWqGt01s4JznL//3uSUFckHB7Rs8iGgNWZkz+Vv eZ8g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Synaptics.onmicrosoft.com header.s=selector2-Synaptics-onmicrosoft-com header.b=An8cEcWV; arc=pass (i=1 spf=pass spfdomain=synaptics.com dkim=pass dkdomain=synaptics.com dmarc=pass fromdomain=synaptics.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=synaptics.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x72si6048041ede.132.2020.11.09.01.09.46; Mon, 09 Nov 2020 01:10:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@Synaptics.onmicrosoft.com header.s=selector2-Synaptics-onmicrosoft-com header.b=An8cEcWV; arc=pass (i=1 spf=pass spfdomain=synaptics.com dkim=pass dkdomain=synaptics.com dmarc=pass fromdomain=synaptics.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=synaptics.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729868AbgKIJIF (ORCPT + 99 others); Mon, 9 Nov 2020 04:08:05 -0500 Received: from mail-bn7nam10on2084.outbound.protection.outlook.com ([40.107.92.84]:17153 "EHLO NAM10-BN7-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729745AbgKIJIE (ORCPT ); Mon, 9 Nov 2020 04:08:04 -0500 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 Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Saravana Kannan , Linus Walleij 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) Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 --- 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>; -- 2.29.2