Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1328424rwb; Fri, 28 Jul 2023 07:59:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlFgBWrGDqmGmgKPrzl25i13EXxjYdLVDhiJmBkya4El8COXaEcanzPgpexVNVk0TpbhAQ3e X-Received: by 2002:a17:903:124c:b0:1b5:2b12:6f50 with SMTP id u12-20020a170903124c00b001b52b126f50mr1626519plh.12.1690556372863; Fri, 28 Jul 2023 07:59:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690556372; cv=none; d=google.com; s=arc-20160816; b=yRjg3pXgKeWvij1KVhN2w3dlI8Z+EXQ2jXCdC6sJudYSKwVFzEUZ5hA3czID4lG82g a5oTGnaqx8/adveEErMcDXCF1W/g5NMWLJvACnZ22itSBiHemEVEROZAu6jNGA6Qf4Ki VOc7yGSAN6RyEQ7Ko2hG9Jrmj9fXwyvHVT4pB277AE1VPhaKMa4avk5k5XbRRryMuNpQ pfITi7J/08iJc4+pU7Aj6wV+Ji7WqWKZfEC3mYgztJ56/6+zmVh3rYIbeV1EB+XbLePH TjyC/gGhaDgur/10vViBd2VcqfJHUV3MQnssgMPDRFZRggIh+TUlu/CswqkBAHPl96DE nQxQ== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=0vGzHPOHRgwV2rrCJY+z+iKt3Xe22jPI5VspopXK2NU=; fh=GTEz1P0TEckoA8+EGHVCKT3IS8pkeqPnbT/OS7RGAPc=; b=07wWHdxJVDkG2xHiXtmg3u3UXSLwnyBPcS9lL83lkSvSm5zezkDnEMCfrgOEug6QGJ ubB5gxRx5jFl14i/NYqn+lPIHJ8Z+rIb4LLAGE3heQ7wzsgPtbwVqij1X7/j+GWS0nyk jQ8WuxFlNTXjAj1MCZNcDLTnkMBtBwAHmXVr9Q+22TmBjoPxMAqEwhrFIEk1aFUFW4xw lthuEQg1RDpc2zb3o2mxqfm6xOZxZpGb0rzedRKNEz6Ed9aYBtg+t0K3Acru3oW95CLO T9OTegmsz8V5zXAeeQhpZM1Pq7Djh1x0M0sEf43dpR3AQuNr2gqdvtZtPshapUQEso6a a/bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=sJRROBhD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id iy5-20020a170903130500b001bbd639dff9si3042825plb.467.2023.07.28.07.59.20; Fri, 28 Jul 2023 07:59:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=sJRROBhD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236578AbjG1MVT (ORCPT + 99 others); Fri, 28 Jul 2023 08:21:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236565AbjG1MVG (ORCPT ); Fri, 28 Jul 2023 08:21:06 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05FDA5BB2; Fri, 28 Jul 2023 05:18:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=0vGzHPOHRgwV2rrCJY+z+iKt3Xe22jPI5VspopXK2NU=; b=sJRROBhDfmYmeSmTgTGOt8SFY0 bDZz3f0wR6a2kXM2ns6izfQ2/JejJbk0fBYT8Z0R6CPDfwN7OE5/+qH4GRXY2K/AX9E6e/bnP3XCL ykz6XXNDiF/Z8MGhusNxDfsTVmkBajUdMlg/K0p5ULCtiyLdhEDvcnaLmlOtNUmu+4l+nk/Xs3O+J nZG1ZSqdpN9S1DAOySNanAlMYexHD/jIDikdenef6iRzHrnECZd/gwrlGnXPlZ6nTwmmOaOIhLaOq XwDbogXsLoRfxOg90WxvFvBE41953j+8Whg0BaJSrN5laJi8jBknbO5Vav6YQsem8sM/q4sHLNzh1 5x0zbOrQ==; Received: from [2601:1c2:980:9ec0::2764] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qPMPZ-003JFK-0x; Fri, 28 Jul 2023 12:17:37 +0000 Message-ID: Date: Fri, 28 Jul 2023 05:17:33 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v5 2/2] soc: loongson2_pm: add power management support Content-Language: en-US To: Yinbo Zhu , Arnd Bergmann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jianmin Lv , wanghongliang@loongson.cn, Liu Peibao , loongson-kernel@lists.loongnix.cn, Liu Yun References: <20230728074944.26746-1-zhuyinbo@loongson.cn> <20230728074944.26746-3-zhuyinbo@loongson.cn> From: Randy Dunlap In-Reply-To: <20230728074944.26746-3-zhuyinbo@loongson.cn> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi-- On 7/28/23 00:49, Yinbo Zhu wrote: > +config LOONGSON2_PM > + bool "Loongson-2 SoC Power Management Controller Driver" > + depends on LOONGARCH && OF > + help > + The Loongson-2's power management controller was ACPI, supports ACPI > + S2Idle (Suspend To Idle), ACPI S3 (Suspend To RAM), ACPI S4 (Suspend To > + Disk), ACPI S5 (Soft Shutdown) and supports multiple wake-up methods > + (USB, GMAC, PWRBTN, etc.). This driver was to add power management > + controller support that base on dts for Loongson-2 series SoCs. Kconfig help text should be indented with one tab +2 spaces, as documented in Documentation/process/coding-style.rst. thanks. -- ~Randy