Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3973542pxv; Mon, 28 Jun 2021 18:11:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvuGeOtmrXBNxrDq+Iz/W1H83ChMLgK6Mki/gupYMl4c1UfU7JhzDPhPI9p6Ir5tLn29Cw X-Received: by 2002:a17:907:1ca0:: with SMTP id nb32mr26399313ejc.105.1624929117272; Mon, 28 Jun 2021 18:11:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624929117; cv=none; d=google.com; s=arc-20160816; b=TFpBwl5tXtvz62qdjUY9eWw/2mp9sZe2okRtbSm+oZbvyGdarzszEFjtuEq7164tc7 /qXuajYf/GO9kV2CpM5G5zCwwtHO+uR7kF7cP995FY75eFV+DOt7xSQe6+R6sNrRLikT qqmZcc8y9+VeR/ZKCjnl6+1IVlDsoDXfYFE/p9MQOUEQShQoMVNJexKuHV+1Cm7WJya/ fMGBPhkdswfQqXenApl0MWhFbpqZp6XkrabfFa0Sr8wRzIx/k10dQ2w6kt88flUInML3 GocSPpXYIEgtJwjnQcqPmoLvcqoRjLer1Ipv7v4RqIa3I2CDCVNJX5+Bc41hLsLwMJ+d /kpw== 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=96ncfVtr03GCzU661cBG9R3hbdJTq/o3o2igtoRO6ew=; b=QBzaj/s7IbUF+n414oks5+dBMvWTbHbD4Kt62MuC/pLstdNge4D/8k2yA2mXrFfQDO 50GeBR5MQwINylu6vXTWFpnMjlox5SP59Olfn/KWFpvtXtddKGaqTWtpKdDOnB9DhplH ppW0TEDUAf/j1p+HMGgB4UW/IUQL4aVdTc5c6nwX6WSk44zphJEPyM2hWk6jXvqOMlT2 VJCPvKRX3AOc2hBKbmUulv96F5Z40CdFnlQ6Y7W9lr/V8jhvLYvKbc27o0JmNa2KB7NN PsSEFe51wu20yPoe8zPdNO1m9ESrvdKAVj1Z3vHp4Yl3OXQJtzApOmcFaufYS80fNFQ6 MqqQ== 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 bm28si11353540edb.601.2021.06.28.18.11.34; Mon, 28 Jun 2021 18:11:57 -0700 (PDT) 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 S231472AbhF2BGp (ORCPT + 99 others); Mon, 28 Jun 2021 21:06:45 -0400 Received: from mail.loongson.cn ([114.242.206.163]:42376 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230090AbhF2BGo (ORCPT ); Mon, 28 Jun 2021 21:06:44 -0400 Received: from [10.130.0.191] (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9BxQOKKcdpgcgUaAA--.33112S3; Tue, 29 Jun 2021 09:04:11 +0800 (CST) Subject: Re: [PATCH v4 2/2] MIPS: Loongson64: Add pm block node for Loongson-2K1000 To: Sergei Shtylyov , Thomas Bogendoerfer , Rob Herring , Jiaxun Yang , Huacai Chen References: <20210628151330.11952-1-zhangqing@loongson.cn> <20210628151330.11952-2-zhangqing@loongson.cn> <697cd16e-7131-95d6-6e0b-1034d493b3ce@gmail.com> Cc: devicetree@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org From: zhangqing Message-ID: Date: Tue, 29 Jun 2021 09:04:10 +0800 User-Agent: Mozilla/5.0 (X11; Linux mips64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <697cd16e-7131-95d6-6e0b-1034d493b3ce@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CM-TRANSID: AQAAf9BxQOKKcdpgcgUaAA--.33112S3 X-Coremail-Antispam: 1UD129KBjvJXoWrtrW3Xr4fKw1kKFW8Ww45Jrb_yoW8Jr4xpr nIka1UKF4rury3uFn3tryUXr43ZFZ3AFnFgFsxXryUX3sxZa17KryrJFn3KayxZr43Aay0 9ry0grWUGF15Ca7anT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUvab7Iv0xC_Cr1lb4IE77IF4wAFF20E14v26r4j6ryUM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Cr0_Gr1UM28EF7xvwVC2z280aVAFwI0_Cr0_Gr1UM28EF7xvwV C2z280aVCY1x0267AKxVW8Jr0_Cr1UM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVAC Y4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1j6r18McIj6I8E87Iv67AKxVWUJV W8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IY64vIr41lc7I2V7IY0VAS07AlzVAYIcxG 8wCY02Avz4vE14v_KwCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s 026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_ Jw0_GFylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20x vEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6rW3Jr0E3s1lIxAIcVC2z280 aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVWUJVW8JbIYCTnIWIevJa73UjIFyT uYvjxU7tkuUUUUU X-CM-SenderInfo: x2kd0wptlqwqxorr0wxvrqhubq/ Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/29/2021 12:03 AM, Sergei Shtylyov wrote: > Hello! > > On 6/28/21 6:13 PM, Qing Zhang wrote: > >> The module is now supported, enable it. >> >> Signed-off-by: Qing Zhang >> --- >> >> v3-v4: >> No change >> >> Signed-off-by: Qing Zhang >> --- >> arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 9 +++++++++ >> 1 file changed, 9 insertions(+) >> >> diff --git a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi >> index 569e814def83..e31176ac0ac2 100644 >> --- a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi >> +++ b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi >> @@ -101,6 +101,15 @@ uart0: serial@1fe00000 { >> no-loopback-test; >> }; >> >> + pm: power-controller { >> + device_type = "power management"; >> + compatible = "loongson, reset-controller"; > No spaces allowed here, AFAIK. > >> + reg = <0 0x1fe0700c 0 0x8>, >> + <0 0x1fe07014 0 0x8>, >> + <0 0x1fe07030 0 0x8>; > Better keep those aligned... Hi Sergei :-) enm... Will fix in next reversion. Thanks. -Qing > >> + reg-names = "pm1_sts", "pm1_cnt", "rst_cnt"; >> + }; >> + > [...] > > MBR, Sergei