From patchwork Mon Aug 28 12:38:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Binbin Zhou X-Patchwork-Id: 13367935 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66409C83F11 for ; Mon, 28 Aug 2023 12:39:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229810AbjH1Mj1 (ORCPT ); Mon, 28 Aug 2023 08:39:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230173AbjH1MjA (ORCPT ); Mon, 28 Aug 2023 08:39:00 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4C1F9107; Mon, 28 Aug 2023 05:38:54 -0700 (PDT) Received: from loongson.cn (unknown [112.20.109.102]) by gateway (Coremail) with SMTP id _____8CxRuhclexk7oAcAA--.4825S3; Mon, 28 Aug 2023 20:38:52 +0800 (CST) Received: from localhost.localdomain (unknown [112.20.109.102]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Dx5sxalexkNrJlAA--.29195S2; Mon, 28 Aug 2023 20:38:51 +0800 (CST) From: Binbin Zhou To: Binbin Zhou , Huacai Chen , Yinbo Zhu , Arnd Bergmann , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Huacai Chen , loongson-kernel@lists.loongnix.cn, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Xuerui Wang , loongarch@lists.linux.dev, Binbin Zhou Subject: [PATCH 0/5] soc: loongson: Fix some issues about loongson_pm2 Date: Mon, 28 Aug 2023 20:38:30 +0800 Message-Id: X-Mailer: git-send-email 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v2 0xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4 v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AK xVWUJVW8JbIYCTnIWIevJa73UjIFyTuYvjxUxYiiDUUUU Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Hi all: Since commit 67694c076bd7 ("soc: loongson2_pm: add power management support"), the Loongson-2K PM driver was added, some issues have been found and this patch set is planned to fix these issues. Specific: Patch 1: Compilation error found by Randy; Patch 2/3: Add Loongson-2K2000 support; Patch 4/5: Add Loongson-2K SoC reboot/shutdown support as part of power management. Thanks. Binbin Zhou (5): soc: loongson: loongson_pm2: add dependency for INPUT dt-bindings: soc: loongson,ls2k-pmc: Add missing compatible for Loongson-2K2000 soc: loongson: loongson_pm2: Add missing compatible for Loongson-2K2000 dt-bindings: soc: loongson,ls2k-pmc: Allow syscon-reboot/syscon-poweroff as child soc: loongson: loongson_pm2: Populate children syscon nodes .../soc/loongson/loongson,ls2k-pmc.yaml | 30 ++++++++++++++++++- drivers/soc/loongson/Kconfig | 1 + drivers/soc/loongson/loongson2_pm.c | 7 +++++ 3 files changed, 37 insertions(+), 1 deletion(-)