Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1157316pxb; Fri, 13 Nov 2020 05:51:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJzmvbNvA/EV/SqjSPfJYTH8QoVvBgq4XQm4hrI/QYfN+JFhMRRB1OzrN8TNNVyAFr9bR9pW X-Received: by 2002:a17:906:26c7:: with SMTP id u7mr2028852ejc.96.1605275463629; Fri, 13 Nov 2020 05:51:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275463; cv=none; d=google.com; s=arc-20160816; b=rnR6tbY3psBSU4+Hc0O1rMw9E2fpOCkf+8hNIrYVKcVYIM+xSZ3boMg3GDtcCzOs7u 4JGYlnVzv+qqCOsvs6X1+zdmbizASnpSb3WMpujsikG5DG1HlngPbxExBTCqu43vaYUM Js+uW4vlDhSEeqVGqZf3m/bc/sIiJwRaMmMsOk8H9ADicxmDkbIhgFIk5mhAvYfBfgV4 AAWxnGhIGQRPaeCJfD45D9EeRPXmNX2mnfiQQQkV6Sq8Ge/YKx2ReBqFn/iuY9VaVCdk JaTROjjNB91wGsZbJWSIHixFSqNwCB4CMu7y0UhQSNy6NRbi+px5qR8sp8i6DxSVrszg bCgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:autocrypt:from :references:cc:to:subject:dkim-signature; bh=vKDm+djcLFq4moRF8pkCAEnqKYSEF42QZNXilVXC6vk=; b=GGJDKmAl3smmBV8zyGiLmBfwDwCdCBVjPrvcPDOdaMq2s70V6VbKrUNoiRElDZYcsK xFk8Fshy/8le+JuWBOp7KA7Luew/CUEkVuM6uF4mNKAT0X7t0WR9SW+anW4sKwlSKHLy 9Nvk9IOy4S/lUCXX4qdDGdnVc3SFB4HGyX3EOq9ueBVNN8P1vD9aWEcR9mq6pJiXKO9o zTvZ3X2TDxWqY+P+i9K11C1b+n/ij5mipKDnNonrCOj5UAf21I0tJZpK7zJ8uOiFDeYA Tz8pozvrFAz121pLcn48JhXm7Er/9lT8z3yAytKjeaFE4y+okBGOGOHm3dw2hs/oEP4L 4iyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BzzkwrWP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y20si3726537ejr.214.2020.11.13.05.50.40; Fri, 13 Nov 2020 05:51:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BzzkwrWP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726802AbgKMNsl (ORCPT + 99 others); Fri, 13 Nov 2020 08:48:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:47570 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726692AbgKMNsi (ORCPT ); Fri, 13 Nov 2020 08:48:38 -0500 Received: from [10.0.0.27] (cpe-70-114-140-30.austin.res.rr.com [70.114.140.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 315D12222F; Fri, 13 Nov 2020 13:48:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605275317; bh=SY9UCjfhFaHxC0k38bv3cD20pkAd3FJphDsB1kfKwEU=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=BzzkwrWPgqHO74p8zDn/IeGfqTwXIkZFg53v9nyt5BwMKKUaUhP3C7Aa1qVelnFp1 9vdFm7p5Dz3F3UNUhh9ZhrbjpCK0yQ4nAeeboZb/fJompJpJWZHL5mK0jemss86LQO xMWMmjv75DiYe9k+xG9nGYcZztvgUr9MHh15xcz4= Subject: Re: [PATCH 5/8] arm64: dts: agilex: Use generic "ngpios" rather than "snps,nr-gpios" To: Jisheng Zhang , Sebastian Hesselbarth , Rob Herring , Khuong Dinh , Manivannan Sadhasivam , Wei Xu Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Saravana Kannan , Linus Walleij References: <20201109170258.4a70c768@xhacker.debian> <20201109170556.2e3a173f@xhacker.debian> From: Dinh Nguyen Autocrypt: addr=dinguyen@kernel.org; prefer-encrypt=mutual; keydata= xsFNBFEnvWwBEAC44OQqJjuetSRuOpBMIk3HojL8dY1krl8T8GJjfgc/Gh97CfVbrqhV5yQ3 Sk/MW9mxO9KNvQCbZtthfn62YHmroNwipjZ6wKOMfKdtJR4+8JW/ShIJYnrMfwN8Wki6O+5a yPNNCeENHleV0FLVXw3aACxOcjEzGJHYmg4UC+56rfoxPEhKF6aGBTV5aGKMtQy77ywuqt12 c+hlRXHODmXdIeT2V4/u/AsFNAq6UFUEvHrVj+dMIyv2VhjRvkcESIGnG12ifPdU7v/+wom/ smtfOAGojgTCqpwd0Ay2xFzgGnSCIFRHp0I/OJqhUcwAYEAdgHSBVwiyTQx2jP+eDu3Q0jI3 K/x5qrhZ7lj8MmJPJWQOSYC4fYSse2oVO+2msoMTvMi3+Jy8k+QNH8LhB6agq7wTgF2jodwO yij5BRRIKttp4U62yUgfwbQtEUvatkaBQlG3qSerOzcdjSb4nhRPxasRqNbgkBfs7kqH02qU LOAXJf+y9Y1o6Nk9YCqb5EprDcKCqg2c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chY9PICcMw+VeEgHZJAhuARKglxiYj9szirPd2kv4CFu2w6a5HNMdVT+i5Hov cJEJNezizexE0dVclt9OS2U9Xwb3VOjs1ITMEYUf8T1j83iiCCFuXqH4U3Eji0nDEiEN5Ac0 Jn/EGOBG2qGyKZ4uOec9j5ABF7J6hyO7H6LJaX5bLtp0Z7wUbyVaR4UIGdIOchNgNQk4stfm JiyuXyoFl/1ihREfvUG/e7+VAAoOBnMjitE5/qUERDoEkkuQkMcAHyEyd+XZMyXY Message-ID: Date: Fri, 13 Nov 2020 07:48:35 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201109170556.2e3a173f@xhacker.debian> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/9/20 3:05 AM, Jisheng Zhang wrote: > This is to remove similar errors as below: > > OF: /.../gpio-port@0: could not find phandle > > Commit 7569486d79ae ("gpio: dwapb: Add ngpios DT-property support") > explained the reason of above errors well and added the generic > "ngpios" property, let's use it. > > Signed-off-by: Jisheng Zhang > --- > arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi > index e1c0fcba5c20..2f731e3a7cd7 100644 > --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi > +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi > @@ -202,7 +202,7 @@ porta: gpio-controller@0 { > compatible = "snps,dw-apb-gpio-port"; > gpio-controller; > #gpio-cells = <2>; > - snps,nr-gpios = <24>; > + ngpios = <24>; > reg = <0>; > interrupt-controller; > #interrupt-cells = <2>; > @@ -222,7 +222,7 @@ portb: gpio-controller@0 { > compatible = "snps,dw-apb-gpio-port"; > gpio-controller; > #gpio-cells = <2>; > - snps,nr-gpios = <24>; > + ngpios = <24>; > reg = <0>; > interrupt-controller; > #interrupt-cells = <2>; > Acked-by: Dinh Nguyen