From patchwork Mon Nov 9 09:04:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 321292 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,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=unavailable 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 3AC05C4741F for ; Mon, 9 Nov 2020 09:07:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CEE0D20731 for ; Mon, 9 Nov 2020 09:07:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=Synaptics.onmicrosoft.com header.i=@Synaptics.onmicrosoft.com header.b="fHygaaqT" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729848AbgKIJHz (ORCPT ); Mon, 9 Nov 2020 04:07:55 -0500 Received: from mail-bn7nam10on2088.outbound.protection.outlook.com ([40.107.92.88]:41121 "EHLO NAM10-BN7-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729847AbgKIJHy (ORCPT ); Mon, 9 Nov 2020 04:07:54 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hHtSIFkdMZbO5wu1088DRX0GqKwbBjRy279+HscMLKyoAvuooQ5FJZxZiyqunLrrhgJip9s8atFeXqpwcO00iNT/86lNZBQMBH/DS3G6gIR7XQxgcuQUgsWsudLmr03OaDIVinBkoJO3H/ReC8V7avA9Zekh5g6jnXRMuJ8uWm5ZRGFyt03T5tFwMEXsBn+ObV6ZTaz3YTBprD+YFISVoWF52MFgtREFG7WyC9ahvDGOnuEOgKZ5drmPnDsI+IqBLEH3oQl2Pbe1geQZ88Xba6BnOs+emerr3EI/rHyzJ4H/TNNlnJz/DmSZtkw6WKYI2coXcI6gIDEqgXIIV4TXmg== 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=DjxXV37ajQT9zC+599QihV3ZTdBsPHjXVm2NQlxkMAw=; b=O0pZzExEo+UbWjYx7/mcE3EmOIU4IB8Xmb6i1GCasX9yEvi++yDZwSAwWg/8UIqxeuGv76j4uhyqK6cH8qDmsHQ4ls5+6WxJt0SgiWv+SYrdU2+f/gMjM0Xj7IFrtnsWBLu2DBla3PNGHoSX2on22J51HSTYi6l7mNV6WSSWobQ92xbdv5Thp1vqdG3qBfaAmOnZMEjfEzO9la8v8ViXINsWH9skQS1nJZpSC6Usp2x+Pqg6pkPkTZpCrYF5L8lxQvuFbKU0KT103jr+G0bkb5ekG0zthqIhEFIhu6OYjtQXWPKgUHoD9aE91oHtw0sCychqTBYjm+OfcJQfScnXNg== 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=DjxXV37ajQT9zC+599QihV3ZTdBsPHjXVm2NQlxkMAw=; b=fHygaaqTC3b/J/Zw5XLetMg1Px+wO3M2fnB+zPmjyaq94xIKkGpG1S0RAu8YgfvprxUnzEoxhkXk2+BT5yEJoMOD1Aw2UPLIzv8R7/yeoy0DovOkPN5y/uprB6MRIp/xaOiVXvj9pSFirCtt1thi8T4XqNl4LNwcCSUwaK7ITnE= 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:07:52 +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:07:52 +0000 Date: Mon, 9 Nov 2020 17:04:04 +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 2/8] arm64: dts: apm: Use generic "ngpios" rather than "snps,nr-gpios" Message-ID: <20201109170404.1c612f6f@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:49 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d56740eb-cec2-4636-e65e-08d8848ef024 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: 9ylhW8J6kT4aqrui1tj/qWIJWoX+vGN+6pRb9VgFo5O73gvL8gJiQOfat0e9uNKLCvygq4wBnyo6JMzNwmQdcF5kOcK9kWi9I5+l9LYVYmLVA9ulyCJUEda3hW1lfZPdKC0tididQlY3gj5A69q/SCj7KEvg0XNhX//Ww5ODAX/8G4Bhvnvs4ujfNWdw5xqfMhr7unWa2dBWyqddQ3ztEknD+lQFWsSpdk6cTRyj5VHool7i0R9d95CA6X8R0ohjeEuH37GCiZeqM4nW/sx4+GmhhDqVnMQs7YmnjnwwGCgXUPpH6ppkbfQ+HJ4buzKOAhHSLxYLmV+0WPXvTm1+y50Ytb2FN+/nKavTVX1tPJk6VIII2btLQ/QUAPawmwTq 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: 0HPz56Vtay5VSLAUHq3kzGJTbI1UK/KFTfP4Z00Vw/joQAFW01a/7gGXpLU+C0l2ngyzX/qR+dyk2Dktv5WYP/q9Vtody0jGCpz+nHBLyXWa+muLaaSlGvV1VH8Bc+XtwgnChfWDwCIQBy0SF0LVxA+iyAuykimxUw27mr9SJZWRnptW3TJrWSl1vb7DfDuPeb6qXds0ogfMdaHmazGo+CfegEtis5ZZtMHVhT/ZBX0+PMUeF3I/MUHNKBrfB0pM4Rn1uUtLgkx+j2OCg74J7IY+xvByiYVUQGkVsrgVwELLp98DvW3Pnh1yLdgXdKtGWteClHkrP5tB8Y0ps+KpAAPIhbp3aAjjzPnehlFjfUWYg6Wg4QphNTRixBs3CTIfaocVvWKNKFfzMYmwTJQiePctj19AIbhQUNdZ9HKL/7A8W0wGnD+QxnlSmLssSXicmEtJjTjAJZPvIJ7cjGFRSdx5Yr2sb8T7Td7oJ8Yp9Aqngv9dBqQPJvUwJgLlIvK3d32tHisUQoJ3sKvj3ac34zloGkZI9TnL82U8gliKH7CPFc4wA3e3krSuqWyfn62DNsBXClVVfzXE9ilcfBQZjcuqQquFItm9yeGVziTLZd6SbEW6Wfv0hNoOfwPWWmbnYgRw61HztNk19VnH0Bu8Cw== X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-Network-Message-Id: d56740eb-cec2-4636-e65e-08d8848ef024 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:07:52.3627 (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: QwqwrRPyHY71v5wQG4xeqa5obB/pZaee2PnDehQJqs4zTwp0VG4Cw7+1wdYXk2znVCfjBAbXVMU+rq4WRyMxUA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR03MB5497 Precedence: bulk List-ID: X-Mailing-List: devicetree@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/apm/apm-shadowcat.dtsi | 2 +- arch/arm64/boot/dts/apm/apm-storm.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi b/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi index a83c82c50e29..08b19fc5ee9f 100644 --- a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi +++ b/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi @@ -716,7 +716,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; }; }; diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi index 0f37e77f5459..4689fca9112e 100644 --- a/arch/arm64/boot/dts/apm/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi @@ -832,7 +832,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; }; }; From patchwork Mon Nov 9 09:04:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 321293 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,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 497A1C2D0A3 for ; Mon, 9 Nov 2020 09:07:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D802020719 for ; Mon, 9 Nov 2020 09:07:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=Synaptics.onmicrosoft.com header.i=@Synaptics.onmicrosoft.com header.b="aSGPQPV5" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726127AbgKIJHn (ORCPT ); Mon, 9 Nov 2020 04:07:43 -0500 Received: from mail-bn7nam10on2049.outbound.protection.outlook.com ([40.107.92.49]:12097 "EHLO NAM10-BN7-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729769AbgKIJHm (ORCPT ); Mon, 9 Nov 2020 04:07:42 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mdsqx+9+GyJ/H4kQwtGRcRD+BrFyATpfhgzxm5LnZjc51RVVdn0B4x32fdW0gfJSfNkbJAofATt5Dyl9ApRYoMzxkpyqALkJbtpYjlYQqya0mbdEXls0xMhTMxY55zwiFHdwujUnRE1Tv7FYqJ1q0dorQQwcLVXNoLskmI3TiVRD9gDqQ5hJCgD2xY6YT5EWBBgXmMLa9zN1TW6JlXcTx3/veAd/I8nlR6X1e0ZrJLPSAw7vz+qYBNQ+fWJX4tFfg4Z9rjxKdFdlD6HdUG0aE7Otq9iY/pLqxEkrtrbgPh2JVGeL7oogExU/eqX8/gZxqShxk7r6bwi3SNAIVg0G9Q== 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=BeK0z9wCaZW6PCOLNSeuvjwFW0NKhoZIknqut1qA7yY=; b=EaKzcsKUiM5buJSVUXXxkY69YAaH3H1Rt1vCE3c8vbMMhGPeYaby8H/VKsk/bFk015pIjMX3dCoWH9F5+Ze+Jc2tuyE/B+z4JD5MZIBX+jYmesMndpGJj2jlXdvJ3jpqqfM2M9L4de1U+8bSNTc1y0nhm2pbZieHdpOY8rCFc6PsbeFNalvomPcqE8uX+HnzROOb17Fo+yirHJ933qmVS2SBeDsEkzA1Y8R6jaKTImuchx2n7No4SzbmNDjpIGUQFvSPf6ZKXl/a88L7LOMxlj38308n7FGpkLuykmRwPiRmqM0a6uIKZjaKvddL9lE9p/Zgt3xA56HNWhz/YlMOKA== 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=BeK0z9wCaZW6PCOLNSeuvjwFW0NKhoZIknqut1qA7yY=; b=aSGPQPV51RAdNzM32RcwwfrC1xGIeTi22ZgiPc+cPnqJ45wz76F+kGBEDf5yqnKlHPggMG+dDk8u26lCA7Xdcog3iKbReQ8zY0uLcxf927CKQnBFicjuM1DGLrhbn/KBBRZ00yYHXby31xlow6qAI4eHWLVYxwIpnyXxsfgUauQ= 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:07:40 +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:07:40 +0000 Date: Mon, 9 Nov 2020 17:04:31 +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 3/8] arm64: dts: bitmain: Use generic "ngpios" rather than "snps,nr-gpios" Message-ID: <20201109170431.5687732e@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:36 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 710c79e4-ded2-4c3f-dd68-08d8848ee8e6 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: A/V4196Us5Bpt2XLgt5CeUdUYTRAIfX07lXoJUL7BipGGbuEO9uS5egyZsL7zQgq+MTRYUEjn5iEANvg8JxJ0RZkKByzh66A104otmQoXtyG9TTnOnmAaSaDtAa3/w037bJVz8dTkpl5IyzyVqWGtpYMqHxo77fsYWAN+a7P793TdsNHIwFsUvs8U/5zTuYOAHYpt7DM8xCsk5V9b79kdJ/6BKdxWVyeiWr1kUwbWmsO2TZuzxSa7Hlo2ClRpkYoik5xczl0Q6feTW1SUHoU8XAVilPRFjGmL/SnfqCH5x2NHxIrdHPnZ6mSaJzXTlwz/3IPO9TRdTeneHxvrFfIN2zf7XSf3HVZYOKhv1/hXwHWjfyvzXjhTZD8ONcXU95+ 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: F1SLcoabP9kKYqraB6fTTPCxK1CmQ/omK0pYVQJWH6fYD3BR0cTM5iVnxDCvdA9E5tRqlwUIk98FKWeqlc4/Icji2VnZUjhLctC1LIsrV6jj43uzKd/13lmlV1dtwnQfvybEVTch6qCRhXoaqbaDKyaXd8oxcSR9mTAnZksvlgFE3FTUD35V09rc3EAsjpPMZKU8yGpgF+47WL869nKN/BgOAo01aUWR24p96bW0jzhFR6TJe0FkEnrZdiLPE6gGVo0UDMLTOOfKkkH1+69ePbL8DRJWvRYDOd3TuMEyXa8stpVu6T02oVS9d9kDTIq0ElzcIcDIXRfWygreL4c+16Mi+G8GOtJOc6VfPe/FubIYv8uh37vI69TezI4d+lMLpGm8KV3N7uCcgE+RV4tkJQSZINT+qstXHMFFNTFe6Gx01G1ZL5evuP8Fn0e2ui8OafAuMprXe890ysZE8fVPAcKsvFJGtHtwEOkp/w6AzKkkzZYLuUYy7b8kTfQXdfCoZNCkglpfHEU2p2v/OJMN894fSaDq9xwdDF7bikE/W0P+am/AlovspaPZNGXoZG8C66Z1+s29tkgiFwyt9i6fu/Tli1NfHpTW/WUpbVZEVOSuoum438bH8q5G63zic5hEoPKKZM3Ix9UJAMnnsqKt3A== X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-Network-Message-Id: 710c79e4-ded2-4c3f-dd68-08d8848ee8e6 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:07:40.1841 (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: r9bVzio/WNY3Dfzyq/Mxu73QP5ut60LMU5+MsMOqYXjW4b5JIq+mOt5rCe6juNJvbVNNtAtz4oFeA+NHJVoKtA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR03MB5497 Precedence: bulk List-ID: X-Mailing-List: devicetree@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 Acked-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/bitmain/bm1880.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/bitmain/bm1880.dtsi b/arch/arm64/boot/dts/bitmain/bm1880.dtsi index fa6e6905f588..53a9b76057aa 100644 --- a/arch/arm64/boot/dts/bitmain/bm1880.dtsi +++ b/arch/arm64/boot/dts/bitmain/bm1880.dtsi @@ -127,7 +127,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>; @@ -145,7 +145,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>; @@ -163,7 +163,7 @@ portc: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; interrupt-controller; #interrupt-cells = <2>; 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: 321290 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,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=unavailable 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 3DFD0C4741F for ; Mon, 9 Nov 2020 09:08:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DC3CA20731 for ; Mon, 9 Nov 2020 09:08:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=Synaptics.onmicrosoft.com header.i=@Synaptics.onmicrosoft.com header.b="aCwii3c0" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729883AbgKIJIX (ORCPT ); Mon, 9 Nov 2020 04:08:23 -0500 Received: from mail-bn7nam10on2088.outbound.protection.outlook.com ([40.107.92.88]:22880 "EHLO NAM10-BN7-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726482AbgKIJIW (ORCPT ); Mon, 9 Nov 2020 04:08:22 -0500 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 Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Saravana Kannan , Linus Walleij 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@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/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>; From patchwork Mon Nov 9 09:07:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 321291 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,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 461D4C2D0A3 for ; Mon, 9 Nov 2020 09:08:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DE4272076E for ; Mon, 9 Nov 2020 09:08:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=Synaptics.onmicrosoft.com header.i=@Synaptics.onmicrosoft.com header.b="iRZZMHZV" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729857AbgKIJIK (ORCPT ); Mon, 9 Nov 2020 04:08:10 -0500 Received: from mail-bn7nam10on2079.outbound.protection.outlook.com ([40.107.92.79]:24742 "EHLO NAM10-BN7-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729745AbgKIJIJ (ORCPT ); Mon, 9 Nov 2020 04:08:09 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hucp0NsV43xjI6q8vi3ZqWe7EdJQ3yayJGL2h6oRSbjUolTSFZoNr/YDIrSw5yUsmxJMQ2YYq7tx8W8IsrdonmN7tz0hIEDJ5AECcP0E/hzHw+x6rpQFpy6DkeZT6IX8jpQH5pVpTCZUil6DKqB6hrLhePZYLvq5uM9e4JD49h7euX623HdLYICgRVRmXLMTjOdShK5LViKvOpaLrNY78b9FUGjP5CQWtHcrNeFvs6Y2T6jCBQ9vvoW+ZhIqLQXxyYWox45tCjbMwgUI3D4jM5dcKhHsOm5AwJrZAHlCYaQsPH8LlhEJbQDQgGWqTsx4rfYkF2Ch+cLaH+eEw6Ul/Q== 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=QQe+8uJOlN1WhLmtosXJ80BPM7Ycxc1hPotJfCUZC2w=; b=DBYdhkXFMS9Vp0trRSGCgoPgYqQSNVstqA/+80ug4sEHGm4VgYPAJLmlA2DdQgc958SoMlKcZY5G/d/uqDMM4TnWa1n3ppV8wRHAhbnZNfaaJJIwzvsj2u9hIRTzSKktxJnJQCXVuCz0LforbRs6mXKOItVu7BhXeLRtfYylE32+L3xkWBXimCDWcVG5cVKuI/F6BOcZESzVSt06k4T45G4QwzED8eyzqCUi/NkLmnCk5G7Zu7y6e9n/Y5soGL2xiPwY/meq9XKbyol5Hs/6r3lOym148L4bLN80Q88CqOob4h+Kzxp7Dg1wxuzQEvHOfsfgIRFdJHZkG8w6pOXOKg== 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=QQe+8uJOlN1WhLmtosXJ80BPM7Ycxc1hPotJfCUZC2w=; b=iRZZMHZVDekE8cBlRrSZp70hgBB179cU6GF2wHa+IalmraPEUN3t3BPf23ZaEc3d2mFqSAzcKkxcMfSY1GaHvykbSNxUBclon3+HZ9f/lfk8vKp3/TVKZ62npZnQkhPWJRdkLcom5xWyj2Dd/tJ3+XIqycsLbK+2eeSDjMPcaxU= 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:08 +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:08 +0000 Date: Mon, 9 Nov 2020 17:07:12 +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 8/8] ARM: dts: socfgpa: Use generic "ngpios" rather than "snps,nr-gpios" Message-ID: <20201109170712.6e8c1a90@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:04 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 29b89890-18b1-40d6-c073-08d8848ef98a 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: 1UMRKMdiYWpf/ZgVGqUJn3Et0C77uJwgmkiM8/GdCUMB+0g1ytMmcS2X4FMq818Xp1AzrOXDzu/WQ2A/bh0dXrM3Lqgjz80elj8GXvRHyhn1iXseogAukb0gAivqvKrHoSbVqQDh8Wo9/PAKZpctSGWIQTCbkKYZwGt6696fBdM39dXS+iuuBTOrTTkcvC2bWeh4Dm2/lUDXcyUq3cVqSesy5+Immq4kQ8Hkxe8pOW5ztjQBDISAuhnmJPBv6FL0zNLSZLlhkXUnyEpMz26gsyDYd7dlZ3xMCdJjH447w8F4me1OyRymattuC6gsUkynLz8qiN/BPbxXtDcZpAmFWkn+1ye6VZEex52lTI9Z6BN/mhihrCXXONpZ1UGUCs2c 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: rOKA+kmD7IB6+UfhNB5lFdt3sI2s0ufCvhe8fPPyWg4DYSr1V8FvBn5A4nbmF8SwDwgbNw/lmYqR3Jcdlrsq3Vl7rBsbfgrem1WcA/mab3to+NR2Ip+t8QmhObV2KwarcSR+6Ko9FUbCYiloPhU0zv5X5kGNBI1cFb1v68M095p1OKU2lmTen6pFrfI8+ieLihI5tBjMe0EVGhDdaOj5nBvliVdmqHsiWtqO8VOhic3NlvhBasi5mWCMO65kzR1j97S8fB+qA5/omV5Oy4zlzgECkq6u4E3l+L1HHAaI4ovp/MthWkn4porJcVytjkxNC1YeYFh3oVgrByN5yMUkWr3NALKm1wsDWE6ZGTRYQIuu9Vtow1gQT5JLBNHYCmr9jHNvITq+YapaVn9U22/VSvVf0saZIOh4fOu3rFtMzO8a2NT8pNXExcwVHZEbNSenzziLAiY5+EkHDUwJMJUf70ARz9Gmde4A3Hc/C1TWfdon90Mf0R4HkpDHnnAc7G1j3Ce7cORc2pWvJJH73rooXrwmV8yxNkaqLlBpAchwvAvSHCegksOFIzUeHVMPlT9kRv+Xg64xmLNiF7sZIf9CTGUL6/ohdJdcxGpueIws6tijxXlLyFq8+htmoGZ3J/phntSkbct5kR6TIPxg2Pudkw== X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-Network-Message-Id: 29b89890-18b1-40d6-c073-08d8848ef98a 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:08.0907 (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: 0e00UWP/GsutOdO0/XqBDhYazQZvFYxlWEO0Gu8jn7A9CEJlMBgQ8Hm0tRstlYZzKp6n09x0u3rVy0WUKh0QYQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR03MB5497 Precedence: bulk List-ID: X-Mailing-List: devicetree@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 Acked-by: Dinh Nguyen --- arch/arm/boot/dts/socfpga.dtsi | 6 +++--- arch/arm/boot/dts/socfpga_arria10.dtsi | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi index 0b021eef0b53..32b7ad814ec6 100644 --- a/arch/arm/boot/dts/socfpga.dtsi +++ b/arch/arm/boot/dts/socfpga.dtsi @@ -612,7 +612,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <29>; + ngpios = <29>; reg = <0>; interrupt-controller; #interrupt-cells = <2>; @@ -633,7 +633,7 @@ portb: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <29>; + ngpios = <29>; reg = <0>; interrupt-controller; #interrupt-cells = <2>; @@ -654,7 +654,7 @@ portc: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <27>; + ngpios = <27>; reg = <0>; interrupt-controller; #interrupt-cells = <2>; diff --git a/arch/arm/boot/dts/socfpga_arria10.dtsi b/arch/arm/boot/dts/socfpga_arria10.dtsi index 0013ec3463c4..34e23e0582fb 100644 --- a/arch/arm/boot/dts/socfpga_arria10.dtsi +++ b/arch/arm/boot/dts/socfpga_arria10.dtsi @@ -491,7 +491,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <29>; + ngpios = <29>; reg = <0>; interrupt-controller; #interrupt-cells = <2>; @@ -511,7 +511,7 @@ portb: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <29>; + ngpios = <29>; reg = <0>; interrupt-controller; #interrupt-cells = <2>; @@ -531,7 +531,7 @@ portc: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <27>; + ngpios = <27>; reg = <0>; interrupt-controller; #interrupt-cells = <2>;