Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4040590pxv; Mon, 28 Jun 2021 20:17:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw164BKq+1AWhowdX21vWjuuSws3jZGWthpOWGjhCYEZb8a+H42IQ3GTFi52BpbHNV22Wmk X-Received: by 2002:a05:6e02:174b:: with SMTP id y11mr20674030ill.207.1624936657568; Mon, 28 Jun 2021 20:17:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624936657; cv=none; d=google.com; s=arc-20160816; b=N2qyn1gSr8y6KBSXiTydjIbhQBp25miCJtMyHwxhf4yl9jx+zMTj2DJPYSlr9nMkQA NOz+uOtNnP3kOnWU/UkFHzF19Fm8YibljNbAj2+fK5jzDIIAESn7KldGAbuf6AENCnW/ Q7UXe3ZW/byzXYRa9YuSMMMF2gKXtfN1gD/yvfprDR6DleQ/SnQPp3TUBk1Hzu99LFUe wL+WTquAnD1Zglbx1fGMMPvjCbOc6SrsGOT1Bl0Zw6wE5t8V89Vqp6t/O/H/v8lQzoTX BFDUPWrY24engdpnj4fZhZdiWkiWPgmsnsUAjHwKf9YHLKHUZKujKNpvbqI3AHq1vupd pYtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-signature; bh=ZfgomsCwSdXKWwwi7g0uGoQSdn0Bmm4UCRHcNvw8Zno=; b=Fmb6S7khNl1FKSHs3DDvUgFtVFLhcsLdGSp2pfJ3Q7Pwlxn/dnd13Yc0b1MvMeFpHs uXXwzki9/RvaxHr0zx1hYHOJdjwPnhGKPJ9cYbTbh7rwBcICyox2YCvmrkZp+lINNCCr BzTOzTNU4yz4bw872B6CQeqXBa2YqyvClApO4cVghYGqIBsrwCqrEWtQ78RlaiUGymoZ wgXJq0RjSnVxSvqKG3ll8vhcI9ax7RjjbieO3tdyF3R/Z9HPgzTyuOmvXnaEt/kEjzfa xVm8cQ3pP0a5z20L/8CNvywuJjXg/CjKC4EDCQBEQ3G5EVYpmBIuPluLanIh4DpqWP9g wnqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=i0pogZ+r; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=XcrJ+sHv; 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 m16si12867469jao.12.2021.06.28.20.17.25; Mon, 28 Jun 2021 20:17:37 -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; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=i0pogZ+r; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=XcrJ+sHv; 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 S231912AbhF2DTB (ORCPT + 99 others); Mon, 28 Jun 2021 23:19:01 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:37975 "EHLO wout3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231680AbhF2DTB (ORCPT ); Mon, 28 Jun 2021 23:19:01 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id EBB67320055E; Mon, 28 Jun 2021 23:16:33 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 28 Jun 2021 23:16:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=Z fgomsCwSdXKWwwi7g0uGoQSdn0Bmm4UCRHcNvw8Zno=; b=i0pogZ+rupFDeYeJ2 6KW9JrFMeSmfDtz7iGBoOJVJVKL53bzqlnbuoSOuuSio43fC3NEA8jQlB4ZJowdv rSbe0Wm1CQjZo0kM11Kr4xx4IMDNwVOfQTjSPCHoXTxmUFc/1bB0CaP76dQZIiz8 scDj3+EKEGsnRsaaTl8FEJa6F/gPdsV06l0Mb5+HL8MorRdML8bwrDUT2n/weFaB GaJFWVMfuVEXjAL/BCVWLZaWj4ihEW9ynDVzP9ZDXILa6Yj9kDVdjklprirNTLb9 OF5MGnb2PPsT4oIVTHf6CxTo11dHgQGabOyhzDspudVjE4t8uTJ80cR2UQoziBTl ZiI1g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=ZfgomsCwSdXKWwwi7g0uGoQSdn0Bmm4UCRHcNvw8Z no=; b=XcrJ+sHvOlwjW02cLhkKDDyyOMuLGMn44c87Gpt+ViILgqRwgasqaGn8v FzKGNUdVLHoyt97VNvywG22WZgT5SVzF/62WcK2JSzqFDEds811NcaEvpGER02bq o1igNs4w5730qHiIOqfTTkJBb4V+c2qE0+ybjk+Wf2HaUq8WMAwLzPm/l5ZcuwOC D34bArkMW8DV9fLJzzOd1sBoJEnLzEfAqqQoTWYCdSNKj+tpT+7mpDQGIcv3t4qm 6CoP4mjCGzWQnTKQiu6jz4pE2WVku2eGeUZIyQFD3nfeTKJ3EX/iBkTFQs4azU/q wXVmrE5kUn4lZ/gqtjg37MOsHZ0OQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeehhedgieehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdeftfenucfhrhhomheplfhirgig uhhnucgjrghnghcuoehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtohhmqeenuc ggtffrrghtthgvrhhnpeefleduiedtvdekffeggfeukeejgeeffeetlefghfekffeuteei jeeghefhueffvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 28 Jun 2021 23:16:29 -0400 (EDT) Subject: Re: [PATCH v5 2/2] MIPS: Loongson64: Add pm block node for Loongson-2K1000 To: Qing Zhang , Thomas Bogendoerfer , Rob Herring , Huacai Chen Cc: devicetree@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210629011913.18611-1-zhangqing@loongson.cn> <20210629011913.18611-2-zhangqing@loongson.cn> From: Jiaxun Yang Message-ID: Date: Tue, 29 Jun 2021 11:16:27 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210629011913.18611-2-zhangqing@loongson.cn> Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ?? 2021/6/29 ????9:19, Qing Zhang ะด??: > The module is now supported, enable it. > > Signed-off-by: Qing Zhang > --- > > v4-v5: > add missing spaces > > arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi > index 569e814def83..38bf14f00694 100644 > --- a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi > +++ b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi > @@ -101,6 +101,16 @@ uart0: serial@1fe00000 { > no-loopback-test; > }; > > + pm: power-controller { ^ power-management@1fe0700c > + device_type = "power management"; ^ Why do you need to specify device type? > + compatible = "loongson, reset-controller"; ^ why space? I guess it should be loongson,ls2k-pm... - Jiaxun > + > + reg = <0 0x1fe0700c 0 0x8>, > + <0 0x1fe07014 0 0x8>, > + <0 0x1fe07030 0 0x8>; > + reg-names = "pm1_sts", "pm1_cnt", "rst_cnt"; ^ I guess there is no need to specify three reg names, you can simply tell driver 0x1fe07000 base address and calculate them on your own. Thanks. - Jiaxun > + }; > + > pci@1a000000 { > compatible = "loongson,ls2k-pci"; > device_type = "pci";