From mboxrd@z Thu Jan 1 00:00:00 1970 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=-15.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 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 31B97C63798 for ; Wed, 25 Nov 2020 02:29:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CE25E20872 for ; Wed, 25 Nov 2020 02:29:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726988AbgKYC2y (ORCPT ); Tue, 24 Nov 2020 21:28:54 -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 From mboxrd@z Thu Jan 1 00:00:00 1970 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=-15.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 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 9E4A3C2D0E4 for ; Wed, 25 Nov 2020 02:30:13 +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 2337C20789 for ; Wed, 25 Nov 2020 02:30: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="3F3NjtoC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2337C20789 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=hisilicon.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:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=f3fGNG9r5L3+jPzpaDghqAxyQm/AIqhVMKVCQbzVR40=; b=3F3NjtoCcF4Yv0K8pR6Wd6WCE gvaJeU0+HegPk9Gjq0+xTGz9oLHx58Z3Mh+iPN796/GxXAcRvZL4hrBylfQG/tqL4UDMfy6/Vbvop borw5stAu1VIebhP+5klduhNtMw2v0UCV1nZFaD7LGXD/L9hyQlLq7OQz1ZqEYK2gYxSz2PXK16GM aTF7hFRNFBmXUNkM9QtoOzDqlwDT9f/MoPMj7GZOhszTu7epqWiIeKMdMcw2SdKQ1NhzhXfhB8XDj mPh7G5gY6KRwVMQ7I68zMI4jichahmtIDOC26Sg2oKu5PmoQjT30ih09GRjhunYY5Fkv+SdilWzx0 Ayjx5N82Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1khkYK-0003Za-6G; Wed, 25 Nov 2020 02:29:04 +0000 Received: from szxga05-in.huawei.com ([45.249.212.191]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1khkYE-0003XT-OW for linux-arm-kernel@lists.infradead.org; Wed, 25 Nov 2020 02:29:01 +0000 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> 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> X-Originating-IP: [10.57.101.250] X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201124_212901_124893_6A891057 X-CRM114-Status: GOOD ( 14.81 ) 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel