Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp56074pxu; Tue, 24 Nov 2020 18:33:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZhdvdjL4+D0tDKgaqD/enIYIOGiry/E+O9E8cutXFFv9Gq9FSqDR1YDgl0um6lwEwHJMt X-Received: by 2002:a50:a845:: with SMTP id j63mr1547432edc.32.1606271584853; Tue, 24 Nov 2020 18:33:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606271584; cv=none; d=google.com; s=arc-20160816; b=vLtjF/MlYc47bcXMoZ2SCCH38HhXIB1PqSyrRUmOyXEi1jbqph5bP7TZCoGDDfelbk xV+ZCeu2kndg9dJNegcMEGkVCRCwgWl2AWbbxrqlv1x6hLqrJAF+ll8Rm7fmHo3MGUDO 9RvZMjRwHCwsCl6vvG87Fo9kUgVQBWfH82xFlDNi6kXmJqhV8ZEdw9zSQ1smCLn582g9 2rx84EUJ2mJC87F0A5WNe+BBQxUCrWMAziLj/8WbQJbpsnXm38GgyIv7+97K/R9M8r93 +QLuojWVEiweu/nb9yLpyBWgEKhlWbkih+ZUTYFkoVhd2dp2AHJZCDkbb/oDCfpKKAkR BOQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=DH+aG2N/qo7iXiKchf/vkXu9QWqxuIdWLXcJNFrI+TM=; b=a+17KGCdhrz4YflUeSsZXfdr8Jy46BgaDoo70Io8iN3tVFetaShS16bsD7ZMuRddVf Zkq9MVQdoJIs9IVsv0e4qEo3TuWE5XBsjIHLbV2B8tNsK96jd0HCAuWRa9fokyMzqIfx 75o8Ehs+Zqda1aJuKBSCIAnRMhbcpo4hqhDDAvoatdOaVJXYxXAw+W1/RJ9x7j1eaq5G TB5ejV+bb2ntQPa1bOwlHmuqQpB5qVUz+k8Tx+WvSVHDXlEvgQoxCPrPcn6B5Qeue+LF bYMFg6GK3vMYG4kvYK6EXgt+bsn1PDWjkF874IYOYjLyu+MD0zCIdD65gZnAxLF9S80f 0pyQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a5si413863ejs.534.2020.11.24.18.32.42; Tue, 24 Nov 2020 18:33:04 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726964AbgKYC2x (ORCPT + 99 others); Tue, 24 Nov 2020 21:28:53 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:8031 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725952AbgKYC2x (ORCPT ); Tue, 24 Nov 2020 21:28:53 -0500 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4CglDv5gDtzhgmF; Wed, 25 Nov 2020 10:28:31 +0800 (CST) Received: from [10.57.101.250] (10.57.101.250) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.487.0; Wed, 25 Nov 2020 10:28:50 +0800 Subject: Re: [PATCH 4/8] arm64: dts: hisilicon: Use generic "ngpios" rather than "snps,nr-gpios" To: Jisheng Zhang , Sebastian Hesselbarth , Rob Herring , "Dinh Nguyen" , Khuong Dinh , Manivannan Sadhasivam References: <20201109170258.4a70c768@xhacker.debian> <20201109170529.2ee1f04e@xhacker.debian> CC: , , , Saravana Kannan , "Linus Walleij" From: Wei Xu Message-ID: <5FBDC161.8020700@hisilicon.com> Date: Wed, 25 Nov 2020 10:28:49 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20201109170529.2ee1f04e@xhacker.debian> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.57.101.250] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jisheng, On 2020/11/9 17:05, 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/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>; > Thanks! Applied to the hisilicon arm64 dt tree. Best Regards, Wei