Message ID | 20230517073149.31980-1-zhuyinbo@loongson.cn |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6358:3046:b0:115:7a1d:dabb with SMTP id p6csp833284rwl; Wed, 17 May 2023 00:42:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6WEH4TuzOoQT8zAGUlFzQlmEpchK0jNnK7Ly4oEGP70cHQmMKSAKmzLy+ZFw6arsSaBsm8 X-Received: by 2002:a17:902:d487:b0:1ac:8835:b881 with SMTP id c7-20020a170902d48700b001ac8835b881mr1831290plg.17.1684309334725; Wed, 17 May 2023 00:42:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684309334; cv=none; d=google.com; s=arc-20160816; b=kuu4Cs3OVnsGLLVQDHeY3nK1ldjjmfnG14kMBfmSDj//pEnlnvLo32xFF//V+wTBEg TuU1w9A2SDFH2Qp9NBCK4bIlHlrz6bnKGA8cDRYJ9E4euU7pIJd4d6wtaKBbZAm6YUK9 lLzkxNWbn2fZce1UmOj+rP/sb27dLVKDGvCq+uHY09HB/F78PWrgD27bAEu07VAH+rk+ gJhmzZdgpafy+qaEDG0lqQ2NjPY9YyofGs5p6lprwLqu20SuWRJJB1VfSN0ypNLPUPkD obR7l9iKSTWKdijyM2xiFxaRg5BkkJSIdvGkG22hnzCsMKN7SxpW+k4q4nUDltQ3iC3g XeQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=r5dUf0QWum0CCe3IO69grnbodx9Ttwi0U5Yo4Qwt1WY=; b=PNXH88hOc3JWwodK3ctBYGxL/lmiI2x3c0VXVkFvBMli0mKo4RInLW4HZrJT175reA iDdDyN+XYiBgR6Z1MICjZdEASi+6c9mDFMpxav3AExvOLwj6UvXFXHHOy1gEOSficKXg 6xmvCOYf1Y8bAOos+yT+8d0eYhe2Wcx/fkJMomfbxHF/yaAFTbS4aqGQhlnWWUItMHzc f3gSSbR6diN0nDSD4m8MiO07yRfDYNYfUGds+w+zxR19CbNKAB1nVqdP0lnxNvqze+PO dcMKK82vovp9+cJayleGvGxCzpgOAmWh+ryBZFQxYeVlU/fw4WC/48hRmHiG57dHx4ZJ Jp7A== ARC-Authentication-Results: i=1; mx.google.com; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u10-20020a17090341ca00b001ac6d4cc269si22219049ple.396.2023.05.17.00.42.01; Wed, 17 May 2023 00:42:14 -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; 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 S230036AbjEQHcU (ORCPT <rfc822;pacteraone@gmail.com> + 99 others); Wed, 17 May 2023 03:32:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229964AbjEQHcB (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 17 May 2023 03:32:01 -0400 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 34134170E; Wed, 17 May 2023 00:31:57 -0700 (PDT) Received: from loongson.cn (unknown [10.20.42.35]) by gateway (Coremail) with SMTP id _____8Bx7errgmRkL2oJAA--.16575S3; Wed, 17 May 2023 15:31:55 +0800 (CST) Received: from user-pc.202.106.0.20 (unknown [10.20.42.35]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Axmr3lgmRk_1plAA--.41619S2; Wed, 17 May 2023 15:31:55 +0800 (CST) From: Yinbo Zhu <zhuyinbo@loongson.cn> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Huacai Chen <chenhuacai@kernel.org>, WANG Xuerui <kernel@xen0n.name>, "Rafael J . Wysocki" <rafael@kernel.org>, Pavel Machek <pavel@ucw.cz>, Tiezhu Yang <yangtiezhu@loongson.cn>, Marc Zyngier <maz@kernel.org>, Youling Tang <tangyouling@loongson.cn>, Baoqi Zhang <zhangbaoqi@loongson.cn>, Arnd Bergmann <arnd@arndb.de>, Yun Liu <liuyun@loongson.cn>, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, loongarch@lists.linux.dev Cc: Jianmin Lv <lvjianmin@loongson.cn>, wanghongliang@loongson.cn, Liu Peibao <liupeibao@loongson.cn>, loongson-kernel@lists.loongnix.cn, Yinbo Zhu <zhuyinbo@loongson.cn> Subject: [PATCH v1 0/3] soc: loongson2_pm: add power management support Date: Wed, 17 May 2023 15:31:46 +0800 Message-Id: <20230517073149.31980-1-zhuyinbo@loongson.cn> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf8Axmr3lgmRk_1plAA--.41619S2 X-CM-SenderInfo: 52kx5xhqerqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjvdXoW7GFWrJr18Xr4kXw1xtry8AFb_yoW3XwbE9a s7Xay8ur47GFZrJa4DXw15Xry5WFWxJ3Z093Wqqr1I93WYyr15Jr4UZ343CF12qFWUuFs8 XrW8KryFyryFyjkaLaAFLSUrUUUU0b8apTn2vfkv8UJUUUU8wcxFpf9Il3svdxBIdaVrn0 xqx4xG64xvF2IEw4CE5I8CrVC2j2Jv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY X7CY07I20VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2 IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84AC jcxK6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM2 8EF7xvwVC2z280aVCY1x0267AKxVW8Jr0_Cr1UM2kKe7AKxVWUAVWUtwAS0I0E0xvYzxvE 52x082IY62kv0487Mc804VCY07AIYIkI8VC2zVCFFI0UMc02F40EFcxC0VAKzVAqx4xG6I 80ewAv7VC0I7IYx2IY67AKxVWUAVWUtwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCj c4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMxkF7I0En4kS14v26r1q6r43MxAIw28IcxkI7V AKI48JMxAIw28IcVCjz48v1sIEY20_WwCFx2IqxVCFs4IE7xkEbVWUJVW8JwCFI7km07C2 67AKxVWUAVWUtwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI 8E67AF67kF1VAFwI0_GFv_WrylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUCVW8 JwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r 1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBI daVFxhVjvjDU0xZFpf9x07jUManUUUUU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766126345243096324?= X-GMAIL-MSGID: =?utf-8?q?1766126345243096324?= |
Series |
soc: loongson2_pm: add power management support
|
|
Message
Yinbo Zhu
May 17, 2023, 7:31 a.m. UTC
Loongson-2 platform support Power Management Controller (ACPI) and this series patch was to add PM driver that base on dts and PM binding support. Yinbo Zhu (3): loongarch: export loongarch pm interface dt-bindings: soc: add loongson-2 pm soc: loongson2_pm: add power management support .../soc/loongson/loongson,ls2k-pmc.yaml | 47 ++++ MAINTAINERS | 7 + arch/loongarch/include/asm/acpi.h | 5 +- arch/loongarch/include/asm/suspend.h | 10 + arch/loongarch/power/suspend.c | 10 +- arch/loongarch/power/suspend_asm.S | 8 +- drivers/soc/loongson/Kconfig | 10 + drivers/soc/loongson/Makefile | 1 + drivers/soc/loongson/loongson2_pm.c | 237 ++++++++++++++++++ 9 files changed, 323 insertions(+), 12 deletions(-)