From patchwork Mon Nov 9 09:03:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 11890719 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 851EDC2D0A3 for ; Mon, 9 Nov 2020 09:08:49 +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 11AC220731 for ; Mon, 9 Nov 2020 09:08:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="AostYTYV"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=Synaptics.onmicrosoft.com header.i=@Synaptics.onmicrosoft.com header.b="i2QIMl+c" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 11AC220731 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=id7wW/Crw7wbfI0XhpZ+WuOkW8GxohNIvz4fOZmXZYc=; b=AostYTYVWhisr2Y9NepIpcaWR 4n6/bG6GEUoi2RnKqdioGNwSM0xGpf5oN/r3wCbA5pmDF9NX1OR2h9wnapNMBX4Owcj5s+BhWNdnJ RFcFsSUcBqcgwJfGxFj0ndsMWoJWf8xEFicgX/GnS+7w0hS810Go/FlCBF8FJC8gEvQnPva8k4p3E 28DJqjfIMeIwzO8vmNanTgO+YKMz9EVnZ23dWoWZg0exQgoJytpqVC1U5tLdfTucTA4uVbU5drxXo rl6kj0Ah5R+dYWZ20PP+x7M3Iy5BPq29HHL4KBhU6wDXarn5U2ZCmbuc4bm1tVDPeqO5vOVdVKFes JyTsj8ZOg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kc39x-0001Uj-GP; Mon, 09 Nov 2020 09:08:21 +0000 Received: from mail-bn8nam12on2057.outbound.protection.outlook.com ([40.107.237.57] helo=NAM12-BN8-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kc39r-0001Sf-Ru for linux-arm-kernel@lists.infradead.org; Mon, 09 Nov 2020 09:08:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QMHXGaiOG7h0YsDcXesx9Z471xLWB7+gAcguZwlP/7+2wipLSByKfK9bkTH/PCf/JTKGycQAoKYzAnokW/rz3xabBPQkhJs7nFEKj0OlpqCBMSC9dtX6ziY5Wi7hc+MKUw86IQXorqv9ByInXxbHoCpafIkhP/XvGOW3/pFvSjrAsHZxcMwP9hf7JjByNlVa9k+KiYTRF4IWlBzkhJRYgTCYWkcI6Bl3A8ESyF/v+PtRv46W5YuODD1bvUCR8IP4TiaHKTDP20im0vbQcpQh4EA0HUp659z21u9sMW1o1pG2pFiALPmkM4IrRo9eMrMD8/40Ah91T8RKt4EwEBTC4g== 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=HifD2sJV5rwTmvgQIMsNM6GrO/yiMfq3SEuPbcrW6ek=; b=RYqHbQ+u4z5Thj1rNAKxEFDe0HlqVGFd8DwlBhOyNa+idmUjPaL4eqiP0xnQcymDDbWLgAkH8uO6+yEBOnpxF7s3E0pdZJO/8mCgxeJAJVdrqk16jvAsz8//2x1FO7IrTggT43/0Wic6bepzdftxpxCJM4gXhkEtELRWYPDuQimqlXB49W7l6BJxBrMeSGOrpPrwYjONgc+3y9UkMr04Xn/Pe1VzJ0SOM2Nt/51bIfK8yei225ZLi7HtLubqGNvnLYvdWMSfMDq95MYrVml5jrqQ5ZzeCU9v8SOdoANnQb+zqQNVRutpsQrIIFruPzRo5rhgLvM7RgfW2nIeykqqIw== 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=HifD2sJV5rwTmvgQIMsNM6GrO/yiMfq3SEuPbcrW6ek=; b=i2QIMl+cgs0QXx39CmPKWhNmZ8dLyItUbydN+J07kf1E4F/4NhRtLEQZK2hQocvdYU5BfAxB9/Yb8ovRpV7sIkID1Mzl7QnyvlUFsZOJDBVwhcUmgtYqXzDJk+rDKOJEU82kGFVYoCgTceSsd9kilEJ/eW341uACdvWWrJUrFMo= 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:14 +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:14 +0000 Date: Mon, 9 Nov 2020 17:03:35 +0800 From: Jisheng Zhang To: Sebastian Hesselbarth , Rob Herring , Dinh Nguyen , Khuong Dinh , Manivannan Sadhasivam , Wei Xu Subject: [PATCH 1/8] arm64: dts: socfpga: Use generic "ngpios" rather than "snps,nr-gpios" Message-ID: <20201109170335.00a0523b@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:10 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 209107a3-05fd-456c-765d-08d8848efd32 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: YZX4j9pIoWpn77aUgxvloWQ/OXPtGqXuehaFMHs1A37KvUokvkVi/TrGJm80B/18biQ0iRqvfgrEpkBGRolGWO8QdsZS9OoGLAE442CkBZ2clXqQ4hXbTs3QoIdxc+dB6G8X78A6wiLOSrJl07XpQsHtLDhkmp3CQKJo1PQMRlYLYEOXmwEUSJ4pj/hcDbCi8f2jwINHU3Voj1vCmY955uKXANc2VVoD6s8RqydeAs15y00GhTzrFWV0ZHDGkVFr6k0OHylM5cO3Hlllf18gMM2Q960fANpdZ7nLPCoKi6nh5CMwrKC3rWJRcwLxOKH/aGkxTEMORnAY1Tm6OQFVteI/UmAMTXHVGWJj1XBsosYcdb7BAsWsHHSewL3yHcYW 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: BeWXDTLe9Gd7ZsWmesYpNXey9MNr9EpSLVozWuFOq+My3vfq+k6NampKqn4gfg2aL36tww3g+B1dcGbyjoA17NagjLldPk7hz2nXffJ6a7CuU6Q4L+Z4JSTyAacJ8e1jR2B4dYjdu5Xb6vpftZukIJdLiKXS3ckMZrJ4m9ljPZaXN0iiTb+nWYfGLkfECnxtQOj31KPlFr0FEWQR8QN998Q4g9KsRM/2+F989rExKfCKvWwBs0XPvhkY4cBmsLt3coZ0M7eXuQH3ayqee1ZkST95igXSrMDoYc3Vx8AmozdZ7jLPWqIWwP+9SlHGEy8KGpYXXGU3T8/9N/YAzs1odK2mLJEUFhx+H7SbX3DgbcTaI8wR2aa4afh0i8ilFQ/UXDuUuLtu1gVbLVaVab70607uMDqSGm9R6wh7q0lXoYxYiPVIctTOu7CubqElLeyYTzA12kWPDenDYaOaGdJVlIOyQtS03zokXNcw3JchkJPlQQtOv90XQ+VmLR3MdTljZz+a/XnAeAqqWopUdfknHNM/wyV5sikYk0Vpt7NAbBh97vwsqk5dFJ7sIo/Q+XXxUC7PeU4e2D3rSRlr95wh7mqqnMb12S3v4EygpZ82u6zvK1sS0rlgoiqDpuL3vsoZJbat5ho+wWG0d/JsbPnaQw== X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-Network-Message-Id: 209107a3-05fd-456c-765d-08d8848efd32 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:14.2419 (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: 17B52sJpiM9tZKGJxrHhXdhqylQIl1+dI8ASK2KNzqxFha0dyei+ChAEqLuDX14uiPSRMznBXoRh7zcFfj5MpA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR03MB5497 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201109_040816_016613_C31F0602 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 --- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi index 0f893984c256..d301ac0d406b 100644 --- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi @@ -203,7 +203,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>; @@ -223,7 +223,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>; 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: 11890725 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 20C45C4741F for ; Mon, 9 Nov 2020 09:08:24 +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 B3BFD20702 for ; Mon, 9 Nov 2020 09:08:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="WAsnEdaZ"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=Synaptics.onmicrosoft.com header.i=@Synaptics.onmicrosoft.com header.b="fHygaaqT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B3BFD20702 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=URZs6OPZCLdlXc3LavjYkk7Z+8Nr2VanBooSG3LwVY8=; b=WAsnEdaZpOKWGZ87JLX/xmior oCLsxJHsAp7zk3Z8z13a1L7uumAIFUYWwGiuhS+rTRCRwIF9OjkQpZi24DX00w9rImSPK0MuHcfxm RQXMTV7/Wfupwdha9404f4NDGhKQTzd8VKFGkiUcKn3iFZ1gCD+3XGxwKuipO+sp9VT8QUAXuuoyN iiuJMkvtqFhr99imHsiLl3AB6pxZ3WI1S58aOJrEFByQ+a9Rmbq0mgmLTAUs+T/s4PherLeog2YPS XXeisu/7fL4J0QE1VU6vQlcq0cV2bMC/3mr7Ne2e7mG0aJp8Zo6TciI7ybuiUxDm4tgDT6D0gzlkw R44uFH4wA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kc39Z-0001Kl-EX; Mon, 09 Nov 2020 09:07:57 +0000 Received: from mail-bn7nam10on2050.outbound.protection.outlook.com ([40.107.92.50] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kc39W-0001JW-0q for linux-arm-kernel@lists.infradead.org; Mon, 09 Nov 2020 09:07:55 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201109_040754_131289_68BFBFFE X-CRM114-Status: GOOD ( 13.08 ) 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/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: 11890733 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 7469EC2D0A3 for ; Mon, 9 Nov 2020 09:08:14 +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 03E4020702 for ; Mon, 9 Nov 2020 09:08:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="pEg31f1N"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=Synaptics.onmicrosoft.com header.i=@Synaptics.onmicrosoft.com header.b="aSGPQPV5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 03E4020702 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=V3JgobKdy3sy44+QXk4DJJW00KoW0ifdxc9lJtVFb3Q=; b=pEg31f1N4E0BD2rk8v0WmmCUa kmCxeDgNCNr4IZmdj/I2rwlvhwntqvqKR5MM0k7VOiCpDj9upzdRjLoaY1oA/HxSkRtJXP+FJ/VrX viKcsmBrH/ODcKZ3YdX7jX84RvZ51qv3edhy1yL0g04RvYYl/dtUOVO1A3RMYeB/Axt/nzCHB1END AEkQQ1cQ+ZzatGXPW6dBVc2rsOOCf6etqU9enh78WmRuYlNdKqT/Y/rh26mBGmS4Hhm2yrkjCJVVW EyWhM7+d2QcI1vMeCHyKbJ7bwPcIWW0HkDx5ANKDIspdw2TXtUJbfjKBn/mXyaegmmCE6RUeVT3pR vGlbfpZ9Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kc39L-0001Hc-P4; Mon, 09 Nov 2020 09:07:43 +0000 Received: from mail-bn7nam10on2054.outbound.protection.outlook.com ([40.107.92.54] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kc39J-0001HH-Oy for linux-arm-kernel@lists.infradead.org; Mon, 09 Nov 2020 09:07:42 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201109_040741_833660_6BB1F0AB 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 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: 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>; 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>; From patchwork Mon Nov 9 09:06:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 11890731 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 9B64BC56201 for ; Mon, 9 Nov 2020 09:08:15 +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 3FE8420702 for ; Mon, 9 Nov 2020 09:08:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="SSCDa29j"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=Synaptics.onmicrosoft.com header.i=@Synaptics.onmicrosoft.com header.b="lO5wQYWK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3FE8420702 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=YakPIduqHnTAx0CtcQkCkbqnmRC+50DGcrKxoU1Zo94=; b=SSCDa29jmUFW7XuzOwXQumXLL ww/1B//CWOuVBTx7FNdMpfn42jHEO3OAFHziWDlCglhkziq+WQLaeLEf0ikpv+3ZHIWMU0qocsECg I4lHwxQ3uCxoAaIYCftzYjbnoo5c+tiaVfdcDl6topAEuY2tN6k6OHk3+f9D8FfBmUE6ZpXwEhNhw 9YhsfA49GvOwFpENHZdTSlZeo15aaeIMMxaCMJU44QZ6k8CqZbQ57OeHycXZ/7oJyJPg6Q8jslYFx jgT623tBn7Xo3PxcZhYoQNY192ORxL+ngO/howCU4cpA7LW34qRtL2ti82EcGwOh9eoD9uIKpTskm COgFTMnVg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kc39R-0001Ip-Lr; Mon, 09 Nov 2020 09:07:49 +0000 Received: from mail-bn8nam12on2050.outbound.protection.outlook.com ([40.107.237.50] helo=NAM12-BN8-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kc39Q-0001IL-0K for linux-arm-kernel@lists.infradead.org; Mon, 09 Nov 2020 09:07:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O5LInsxn7FXr4JTANHHy67dFwdGIeEN/v8+MjfsJf/Kv/WEcN2YYeLD/UZtKKpMcqDDZlX9aUbjDt+kR5FmO0yNYpB+umSqapgFLKSnYEpCCPor5R/kBMHhqiVfxFisQ1PLCZk4YFWpyXEopafiVImo+K7UCJmVSBmagMGnmfVIdFqRGZlkftpxIFPbWbuK6hT4L/qK45WEKZjCHT316SVuS7lGLQKt8v8ONHUZpPIeY2pg9Y3HKvOwBifz5c1ux7DdU/GNSHIP8dlbvfxr5+lCHOB5Re1aoxWHZslZG5WZTznJXLyZgOBGVEUUVcYednGmDRjleSVf0Tj5jeJgyNQ== 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=O0BpXoWtb/H8C4EbeHEcOxKORMVJKCQPNnmvFxkPnjQ=; b=iXOQm7o2PFnOvmYeAgdOkGcy59i5Ep/Vj/pRUZHHGPOVrir88QMRLWg3rrVdi4m/nRH7kxoPeZTW8633njSr4dsFM4KlyVJOTuZ7+qXn6q9heE+rBSAX7p6wIvuGtHkqLDRXhjC8BFgm1jXQMPTQDApzz9kegBWS8m0aKnPAFtzLh39hzJ4JwBlNwRQlR6fXYjZH+eqftx/FzgMvD42mtg097+3WmbjauIOvXFwSxKH/g/tj8ZBQY2nSxjoMAHdL4sT8TeryThWMPjwMasyZzOR56TtAPeRoBF5vQy8J6b0jRZi/7Tu6bspSTtZYJe1LuwN9q9suTppJtFoJ3Zo6ag== 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=O0BpXoWtb/H8C4EbeHEcOxKORMVJKCQPNnmvFxkPnjQ=; b=lO5wQYWK8BRa4e8FuSS+WVaX7EXUduAVkGOP+eCkoBwPEJb9XaEdwTKFQlLa7TGfh1/zWr4IGKJgLbPd5fcYGCC/Yh3D4MhaTS7OIdulhbsc2YHUGj0hM3AVxAhZR/ASq8yqf3jinRtfr76Mh3O6y5YimKjZ+P097k+dmTXB3N8= 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:46 +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:46 +0000 Date: Mon, 9 Nov 2020 17:06:22 +0800 From: Jisheng Zhang To: Sebastian Hesselbarth , Rob Herring , Dinh Nguyen , Khuong Dinh , Manivannan Sadhasivam , Wei Xu Subject: [PATCH 6/8] arm64: dts: synaptics: Use generic "ngpios" rather than "snps,nr-gpios" Message-ID: <20201109170622.29f7bfb6@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:43 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5a4fabfd-4f10-44db-2ffe-08d8848eec86 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: o/mVFxCdLoTDdoTvoJfeKyhvF0RSqVB+CC7ESRrIbnz1H4FeJmqWfNh7u2cqTlFZkDBZnrvMPfB6o5YTABgeuHvzgF7poerE+RxAU83W9m4fwq1vmmCVw8AaBOQRK2//IFGhG1u6YblqQfGUe5Du6TD+vHWQ2s1s6z6WdS5ORDabvG8/DHSe+CMCeVhfoYi12YCdkcEvFZG4rhDT0+Xb2e3pJexbgsPK/Glk3scMI9GFsuTk/l9BL8mlycWsQWyt5NPUt9Bz/1sLukT5LZkqj+E69hT39Wy6z3jhgqHY/62UyebYdKH1aHCLrKe7HnWXBiawIEI/9fuplEqW2MpRvSVcOHWlvsjD+QhIZdG9ndFwQ8Vh8cKIZlQkL+ula1pk 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: vwwA/N71yidhy6Su4HtftrifgNxAjrePP2xCUAHQ02P3tPuBx7af86IKgl4wpeng1/luWM7ahgxbUQ3sifNrUQyI0+Z1Jh0RqOB+ShXbqNXeyW975JWeo77TN63NEZXM6F7Rn7KiJRUfQN+feg7zv2ENMtBEl/AQQ3JRtSmu1uZBFl8SuZbfoufZuTLMmJRWDc/sCGjjzyN0ynN1q5FhxVY1cLnOAQW5KX0qzVEJlVnKN+mPT9tcPCjYwj3N4Z5PcWZpGplGaar+N387Y9rK6XVW013WD1nKDin5S1hOvZ8v2g2LID0sAvPYmTU4dDPqyuNTEJxgg2TjD3lGOKVKM283JvW+plHjRz+flYqM4+8mOudkHzsDfYrNmJAcUtx7lLbSjWFnll06DyM7/8eluMFziA6VxJZ8ixBHCc7zMcXtpyP3e0x9bZTneyFrBKHRLZ1hmOXJlX01hlrclZFSzJfzNsEWpgI76PB0EpZh9cAgH2LHeIMAE2sel8CiqLt2wwk9bWWw/Us1GGCCtnXP2SpP7xZ5W9+EfKlF99ZOZ2BbdHwyB/FJ3essfqEdXeFk5SzFm8KN/mp0hhA5A9yZUP1/jX23dfVImJw/5jO+aTGvfRli5ejWSOuANSZFB3wbYEyCzPImufInnl9hE5lpPg== X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5a4fabfd-4f10-44db-2ffe-08d8848eec86 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:46.2514 (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: AfZoA6tMu7j8u8O/2EqC9y3Yrm3oyqtqY8zdIvpPdBjqdxxpgNHOTnjRRh90ElKGZUPaP+mSo9ii+HKBIPpC5A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR03MB5497 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201109_040748_115370_933D9F48 X-CRM114-Status: GOOD ( 12.01 ) 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/synaptics/as370.dtsi | 4 ++-- arch/arm64/boot/dts/synaptics/berlin4ct.dtsi | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/synaptics/as370.dtsi b/arch/arm64/boot/dts/synaptics/as370.dtsi index addeb0efc616..4bb5d650df9c 100644 --- a/arch/arm64/boot/dts/synaptics/as370.dtsi +++ b/arch/arm64/boot/dts/synaptics/as370.dtsi @@ -143,7 +143,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>; @@ -161,7 +161,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>; diff --git a/arch/arm64/boot/dts/synaptics/berlin4ct.dtsi b/arch/arm64/boot/dts/synaptics/berlin4ct.dtsi index 15625b99e336..0949acee4728 100644 --- a/arch/arm64/boot/dts/synaptics/berlin4ct.dtsi +++ b/arch/arm64/boot/dts/synaptics/berlin4ct.dtsi @@ -140,7 +140,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>; @@ -158,7 +158,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>; @@ -176,7 +176,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>; @@ -194,7 +194,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>; @@ -269,7 +269,7 @@ porte: gpio-port@4 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <32>; + ngpios = <32>; reg = <0>; }; }; @@ -284,7 +284,7 @@ portf: gpio-port@5 { 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: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>; }; }; 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: 11890729 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 D5CE1C4741F for ; Mon, 9 Nov 2020 09:08:43 +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 4F43620731 for ; Mon, 9 Nov 2020 09:08:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="PcXin2et"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=Synaptics.onmicrosoft.com header.i=@Synaptics.onmicrosoft.com header.b="iRZZMHZV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4F43620731 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=k7hLVLDucPV2ZjL74YWDPilTuvrD+zaiqNBPgnlGGL0=; b=PcXin2et1+sdyAU5OVdwIx0oo Mw4Ysdp3EVqtKMcTNWhfA0ScmFehIQHZKNXKD5cTqQmuuy0m7FfyaS9OKtrNO7leUtdIzcPvKYy98 WCspwdDGPaB++gpep8N9ZHAbfU12DD0WWC7neRG1hIqA+h4ow/mNv1mvhE18lve6vPK8hNPLCAVvM hvFZYyOuL8PN4IgQU1UCIVs4xoZqk7uMwYY7WYPnaEPOjpLW6vM/gve780F2457faGAr1nRLDObCU bTZWi5Mp6AGK5dzaITAgIYbDGAqEmJTATwfLZ5pOA8XtP+BCF8bOOkHP5A7XXNz0+ugYiyLr3uEHI HbP+hyq8g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kc39s-0001Si-Pd; Mon, 09 Nov 2020 09:08:16 +0000 Received: from mail-bn7nam10on2083.outbound.protection.outlook.com ([40.107.92.83] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kc39l-0001PE-Kp for linux-arm-kernel@lists.infradead.org; Mon, 09 Nov 2020 09:08:12 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201109_040810_415292_8E614444 X-CRM114-Status: GOOD ( 11.78 ) 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 --- 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>;