From patchwork Mon Nov 9 09:05:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 11890727 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 B794CC4741F for ; Mon, 9 Nov 2020 09:08:54 +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 47CF220702 for ; Mon, 9 Nov 2020 09:08:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="c/6KIb35"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=Synaptics.onmicrosoft.com header.i=@Synaptics.onmicrosoft.com header.b="aCwii3c0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 47CF220702 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=HCBVAqhN9R2dI6GnKk54TKfn/02AfF5lw86C5BaYeqo=; b=c/6KIb35+li6Blkkf/OBdGT5w 2k+i8gEfp/4bmB5BD7z3JxuIKx6DdZAi0PghLhGji13UhvYMarOc4J5jfdnKdO6ZtaCO7OHorZ86g MQmXR9BTltKoCKpYAnqVFS6TwWjSEXZ8BBW3N/bpCKyJjXZcxmoak/At7bGLM0wOilvWr/4TJ0B2H aO5PYQAeNrsxQLvxOm/VW3kvw0nVWflWujSm8XtnIDqdnbbhb61x2CrZY11bbvvMS/2WRIkz9S+vY aTD9vHHpaR64MupnmfkB6jjQSaNcrNoaFYYWyZfG4KZ/MzT8LSQxXp3WRJbslIp4FUci0jFhaLgZF /vGAFTv/A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kc3A3-0001Xm-Nf; Mon, 09 Nov 2020 09:08:27 +0000 Received: from mail-bn7nam10on2079.outbound.protection.outlook.com ([40.107.92.79] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kc39y-0001V3-27 for linux-arm-kernel@lists.infradead.org; Mon, 09 Nov 2020 09:08:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k0lGeJGl9+RZYJK7bUPJSjyuB9Iu/bkHjZmJonaTPNHLdmfEY/s3ymAdPs4dXNbcjpm2/bgFN8pwNuSykEFtNBgHH+GnCsIttirRHACdHhGpw7jExwkXJlaQIyz97NMeXBMuCZyHm5EkkWGWCOwJKil+zwaxHbvhISRTXyCNBY9hGNzFA5nk7W+2DDp65pNKtr9vKX/P5VoyRdfSb9lXO/MiPGaWx1P0yG9qNaFoc0NVwexxGVgR7PJvsTLJrEAHDf8uHKwx6E/KZMzXztybTOX2omIc65gK/eR/vxkinjqz+018oh+/ftV+wqLITo2UqjD2nZXnMHENhmxi5SuSoA== 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=sP81t/vjxawhIHhMGHzmguhFNNxVMMr/ACDXTNrXsAo=; b=J5o4fuphe0KoQ3syhs8UGGeyc2BaAuVk0kkwRMfyVOUD9ksvMDBBieuCkFnXm0UDAZcA4j8vhlSlHlaFmFv+B8BORpo7FPKyO96t75vo5SDvLYqh5a1AGhpK/PoY6dlzBxinoU1WWTelRrpk9deb05iCHyfz1pxdm/G1c7i1QKOrAllvPH0LJx8kTseeAt6QBAINweko38Y/nean5yTvoemr5NXSId2Mz+MhmhTm6koQrUNJMJIRwoYyS57mYM374w7gmLu+p0C81E54IVE46WjgrRA7C4u6m3CTUOFzbY7dpcWnl/nImVSHlVJoPhiFgCHZhL8O3g9OZYKQL1hvAA== 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=sP81t/vjxawhIHhMGHzmguhFNNxVMMr/ACDXTNrXsAo=; b=aCwii3c0tsmBFOrxZ/fdSJqsaV4hXEeKdp9YGmVEv+5ec8fKwWk0SzbWU1Gk1UdvAwCpVyjYOeEdsOmAtsr/Q1dZCtS/X2W8wD9+f1dxgN0i99EXSSZHsZc1f7UO8wmlmcA4lTEIhJ9KNm/M+TSeHL3/eFGEJgSTXeMmVGtNPSc= 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:20 +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:20 +0000 Date: Mon, 9 Nov 2020 17:05:29 +0800 From: Jisheng Zhang To: Sebastian Hesselbarth , Rob Herring , Dinh Nguyen , Khuong Dinh , Manivannan Sadhasivam , Wei Xu Subject: [PATCH 4/8] arm64: dts: hisilicon: Use generic "ngpios" rather than "snps,nr-gpios" Message-ID: <20201109170529.2ee1f04e@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:08:17 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 75e36e90-bf8c-483a-d088-08d8848f00e8 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: ZbtDCRoRw8N8OFW8D+P1DPDbh4DWk7QkrFwa4yZy4hT+rHGjYds4z1PHg626l5k77NaAiGGOB9Lmng3RIK1hkZhbyf/zIwMseGc7s3+ZDRM6G6pp6Gs1oh+AisDewXb0vq542gOK33Nm59ObAEipa2qWJcedASAIGaMuyZABRpfCDROG1R7Jdsqth12c7iGUZvOIdt1oativO952fuxsy983pikefUuH6sc0KEijD2q9lpn6FfTdnPGdsWEwoPVkdMi12dB1C4+WHV0AMA7XVzPtUuI9modv3GvvdyW3qysiCxtwRHWkTdBY30iXSt952jwH8/jABLjT+6aHk/XRZRs4RNxZeeNbUW99vG9ldy+W4+WEJAzfQRC0d5vl3/lV 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)(6666004)(41533002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: qz+D9AoARnQVvuubOV0kfeAqYSpJ5ItMC/KEzrvr7A7tqPmFiG0oTWdQX4WPU75ASJ8tS3TgF5UXC5rc1KjMgmFRa78+ZzRELad6E/cBlal+GQRBI5THC5Sy6PGDLonrxLp6XqwAbJZPfZFWgEJ2AXcfBdQCzmOhTSZr7rCmGwSaG3tNZjUb9E5sGGnVBCktB+1dNELTUa2baN7OwGpP2uIVxDJAh+8+OhaQ+CkhrSPrVwAFHUex8hYuFkS6HLedEExuWxdtQyHoHGnqykJhSlXXp4SbDKbK2FbdX3ErRRjMwMiHZn8SNYbnrQIlVyOGfrOyfmS2sT2Oo1etLtKblHYV63HE1G1ilg+zZIjaiLBE6ypbPpkPMP6M6a2QxyoO2OyS/QZc7EEwZJtIQxjn+vXkkGlO77B0/5cah+bsIhDYWb1dxKu1XlMhiVIkKPSeI1oqrE4JXHyDQdS8SWCFMYm57w0DlB9jxvYKFINTmfMJ6Ia2Ku+Xy8RyoVd48Z2ofcPm//s+/CZZwJyNWj+ZoQ0puJdYWbsvOWdnEQhF/Fbz/JVsnAb4Rc9tfueoxLfps+IRX3t/AUBnaCHBh+OGJydijEKnfYtUpna8yLnMBpFdB0btbBPfmNyKHC97CVhjE9U3m6KNvA+blynSza4dzg== X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-Network-Message-Id: 75e36e90-bf8c-483a-d088-08d8848f00e8 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:20.4652 (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: 0pVR9c+ytYai6JIpNmVxpoYA5A76tNVG5L7iPFgIkdrmbvzmLK65fIAlNE7FQc3fmNawknk5S/GlMy3TERLvow== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR03MB5497 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201109_040822_176989_FFEC466B 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 --- arch/arm64/boot/dts/hisilicon/hip05.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/hisilicon/hip05.dtsi b/arch/arm64/boot/dts/hisilicon/hip05.dtsi index bc49955360db..fbe83eb9f77b 100644 --- a/arch/arm64/boot/dts/hisilicon/hip05.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hip05.dtsi @@ -335,7 +335,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; interrupt-controller; #interrupt-cells = <2>; @@ -354,7 +354,7 @@ portb: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;