From patchwork Mon Nov 9 09:06:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 11890735 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=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 D1677C2D0A3 for ; Mon, 9 Nov 2020 09:09:00 +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 49CF520702 for ; Mon, 9 Nov 2020 09:09:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="c3kSkr8k"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=Synaptics.onmicrosoft.com header.i=@Synaptics.onmicrosoft.com header.b="VDznTe0A" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 49CF520702 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=XEF7QBfngoFU94imkoPWhJtrF4Aw/3sTtq/WwIs0hkw=; b=c3kSkr8k7TsqgZX6SNLPfCD5O 70Y5c7G1wFdNSPeJ12oWZXB3CiYIA2nV0IbTUuMp6eEAxi5XZvWxzi14JpsOYffeel/6UptulBAF8 YW+NYv7Psj3ocvBmgTEu84JlAHnic7bA/r5LfX8EjGCoT9yj6cRVUraWQRsx0Ty+qrhpEf1/1tD2h e3qqMI6dScxjbLmjOSReIbe2b6a7NRpMrdUDxu5aB9cmaWhvVL8WXZr+4vbVIaq80OTzmvaBSzZ+h H67NW2MPFVbXh6rvxVWypdGAyA3bQ//ACQrg2XI612b4spDLBnrp5lHFO4O4TIdfq5K1y/ZT9Fpdb E/CzIFlBA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kc3AC-0001bB-27; Mon, 09 Nov 2020 09:08:36 +0000 Received: from mail-bn7nam10on2061.outbound.protection.outlook.com ([40.107.92.61] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kc3A6-0001Yh-N7 for linux-arm-kernel@lists.infradead.org; Mon, 09 Nov 2020 09:08:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nBeYOKAbIjGwziCZurZRdm/ycLPozFtXv3HRUIjwBLrebtqwwH06kM3UIhZzqA32nmM10sLb58Cp04XCVgN1auIqXlyeerf9yBnrw30bG4xxprTg6RD1SUrEbW7cFZkn5/jt88eUrt4qgByUVJHctAa4sSuTcptwLvwumB3kg34LWz2xs7dIHlWZsyO14EgahHKLF/lDx2yobQLOLeUh5bjwHO0/8ShDaPM3sbciz3V+VJuubijvvNFlr4MNJh3ngk9ElkFklEo6FmoNQmtFNAnCZ4w7sEGi8JUQPw/nC/rRnZ19tUpP1U4sC745T90oDZU6qoYaaNMMrZlOHwbytg== 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=Uvhr3/CTYYKFnN5lIxwyoMUGNlXTBZ3+8puAbIgQTUU=; b=Q5X2/jyZmvPpq9qTsFNQs1GEI4GXHtS8uX4Qo9FqIDPC6NPfKuQBC1783PTD4eJEIsdAEbcuUTdK7mw8U5+gLdh4HCUkjKweQ5OnPijPO8gXdS73+IabfsqYlctK/Ri+gjEmgyW4Lztgbzypng8eVWLIeY2Vaj12Ndo2jqi9CiFFIMEjx5ZWlZzQakk6rl42Mz77bXe75NVTE3I1YmftU7oMZ1BepTJJXHIl80FsRs4uBmdljhZcMjLG8oKg45I5H9LqpvqlbDtisUzGpkSfHAUzuGWIWtfbnc/980ZxfNU/pqDRgN4L8fY64GJAddfmF0kFbsce0MMkTNCBFzXspg== 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=Uvhr3/CTYYKFnN5lIxwyoMUGNlXTBZ3+8puAbIgQTUU=; b=VDznTe0AJa9Bkf4wR1losAWy500CtEch3QH7YihcQ6HxnuwBkunvQ+OCbLg4sKhveAXDJuTad5P6inmsbx89eTq/RC8yjYSj5T9JNv4ogaBgVUFAoxd4CaRgoZjUgIULjlQfFJtLIGgcxiW1x58m1ClAaj766qca+yegqIwAK4E= 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:28 +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:28 +0000 Date: Mon, 9 Nov 2020 17:06:47 +0800 From: Jisheng Zhang To: Sebastian Hesselbarth , Rob Herring , Dinh Nguyen , Khuong Dinh , Manivannan Sadhasivam , Wei Xu Subject: [PATCH 7/8] ARM: dts: berlin: Use generic "ngpios" rather than "snps,nr-gpios" Message-ID: <20201109170647.538ad459@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:25 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 84120893-a024-4923-9bc0-08d8848f05f1 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: xQOPfXUxsLsrvXz2kaW90TMOTg8dqvLMzJSaEyiCP2b0Rj7uk0euWsTk8wFt384a1a8WzuC/YMVOB2E8C7najojVkG39qF7sl0XRYWlSSR/0ubMLhQMynz+TqlpwmwqUDWeGyU7u3pdqLXCGoavQQmy4ZFbNN7220Iohv6QRLEBpRfe7uBVgTyRoUZpg9jJ89iowUjZiPub8e80l+hK8z44ujvoe+Wdw8ue45zEpLyqEs526O22jjpTB0cpvQIkYy1A6EXab2lu3kxMexF7jHBqPPdZuqmva4e18EP14hdFOpC/ezi+O8Bt6REcJsWVp+4eUEHUbc0XGbxDII700QxDfsgsIAxcS3PSk50cyaoNBaM+pmaP7P54vVMAoHCqZ 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)(39860400002)(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: vtsbQssxSouMOg4+ddQAQSQKTMiKDyhbbVEa0iHBk5hRUvU5u+QggPoDC3TZoMgAMfyC+xKKL1VoHqqQ1m8wlsfj9VNAIGzXydA5OmoKa9ASDOa4Xf5CAR5WKkR8uQxSgpw92BxwrdU7Fd2jPLAUL2t0RWQUBK//z+tqoGimjthO4kEu6CSaazuMh8RWA314DmvSKTTGK+z2PXEmwlvqSXM4eMhyZle2tMt7x7g+Miw8664aSaEd9mljU98t4oKkB1Bxgm+U8RXIJA8/hwCjs9IiZDhPFkmTnNLQjp3XMWbjyLY5S4yO1vOd/+unqoDgOEj6mFUWhVWmqH135sBiZQ4q33VBTMZ+LEsAsEFB4Dxi6hBqr5hvUrJzXESlgiIh1K8H6/xR3bTYVce3LpwRWFf1/c1Mvww0yRMRpkcgeSZVzOKkC66pHA4dqPKJUvoQHo2HQk33mYs5k7HtfvO06oxMBgOYl7kdgTYbsQi4xrM8kWksLncVoxr09UVGsisgC4vgMzIR2SOKpL1esvT8RSOS8c5gJgAKrBudosgvgSN1IXYFW7HBx52vAHfzat/BL19bWjMOjQsGyRdyqvAis6xWBNk39zl91Wq1HghDaWEXtlRHulOxq7s7GpJZTlde4rRoOx9c81BSD13JvWWtvQ== X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-Network-Message-Id: 84120893-a024-4923-9bc0-08d8848f05f1 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:28.8864 (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: N9i2rTLfgigpqRHwKzjhs9KmkNKNnGdK8re7GkVabkmV9Qg0Dqd6E/gvoXiqhQHhlQ+LohVx4LX10yyOuJU14g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR03MB5497 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201109_040830_799778_DBB21CCA X-CRM114-Status: GOOD ( 11.20 ) 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/arm/boot/dts/berlin2.dtsi | 12 ++++++------ arch/arm/boot/dts/berlin2cd.dtsi | 12 ++++++------ arch/arm/boot/dts/berlin2q.dtsi | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/arch/arm/boot/dts/berlin2.dtsi b/arch/arm/boot/dts/berlin2.dtsi index 6194857f8a02..1114c592e461 100644 --- a/arch/arm/boot/dts/berlin2.dtsi +++ b/arch/arm/boot/dts/berlin2.dtsi @@ -191,7 +191,7 @@ porta: gpio-port@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>; @@ -209,7 +209,7 @@ portb: gpio-port@1 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; interrupt-controller; #interrupt-cells = <2>; @@ -227,7 +227,7 @@ portc: gpio-port@2 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; interrupt-controller; #interrupt-cells = <2>; @@ -245,7 +245,7 @@ portd: gpio-port@3 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; interrupt-controller; #interrupt-cells = <2>; @@ -446,7 +446,7 @@ portf: gpio-port@5 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; }; }; @@ -461,7 +461,7 @@ porte: gpio-port@4 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; interrupt-controller; #interrupt-cells = <2>; diff --git a/arch/arm/boot/dts/berlin2cd.dtsi b/arch/arm/boot/dts/berlin2cd.dtsi index 6f30d7eb3b41..b2768f7a3185 100644 --- a/arch/arm/boot/dts/berlin2cd.dtsi +++ b/arch/arm/boot/dts/berlin2cd.dtsi @@ -181,7 +181,7 @@ porta: gpio-port@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>; @@ -199,7 +199,7 @@ portb: gpio-port@1 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; interrupt-controller; #interrupt-cells = <2>; @@ -217,7 +217,7 @@ portc: gpio-port@2 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; interrupt-controller; #interrupt-cells = <2>; @@ -235,7 +235,7 @@ portd: gpio-port@3 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; interrupt-controller; #interrupt-cells = <2>; @@ -473,7 +473,7 @@ portf: gpio-port@5 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; }; }; @@ -518,7 +518,7 @@ porte: gpio-port@4 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <8>; + ngpios = <8>; reg = <0>; }; }; diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi index b6a0acac6836..598a46f96a82 100644 --- a/arch/arm/boot/dts/berlin2q.dtsi +++ b/arch/arm/boot/dts/berlin2q.dtsi @@ -252,7 +252,7 @@ porta: gpio-port@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>; @@ -270,7 +270,7 @@ portb: gpio-port@1 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; interrupt-controller; #interrupt-cells = <2>; @@ -288,7 +288,7 @@ portc: gpio-port@2 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; interrupt-controller; #interrupt-cells = <2>; @@ -306,7 +306,7 @@ portd: gpio-port@3 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; interrupt-controller; #interrupt-cells = <2>; @@ -552,7 +552,7 @@ portf: gpio-port@5 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; }; }; @@ -613,7 +613,7 @@ porte: gpio-port@4 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; }; };