[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230615091757.24686-1-zhuyinbo@loongson.cn>
Date: Thu, 15 Jun 2023 17:17:54 +0800
From: Yinbo Zhu <zhuyinbo@...ngson.cn>
To: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Huacai Chen <chenhuacai@...nel.org>,
WANG Xuerui <kernel@...0n.name>,
"Rafael J . Wysocki" <rafael@...nel.org>,
Pavel Machek <pavel@....cz>, Marc Zyngier <maz@...nel.org>,
Arnd Bergmann <arnd@...db.de>, linux-pm@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
loongarch@...ts.linux.dev
Cc: Jianmin Lv <lvjianmin@...ngson.cn>, wanghongliang@...ngson.cn,
Liu Peibao <liupeibao@...ngson.cn>,
loongson-kernel@...ts.loongnix.cn, Yinbo Zhu <zhuyinbo@...ngson.cn>
Subject: [PATCH v3 0/3] soc: loongson2_pm: add power management support
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.
Change in v3:
1. Reword the [1/3] patch commit log and title.
2. Use the old naming for suspend interface for the [1/3] and
[3/3] patch.
3. Combine some small function in the driver patch.
4. Rename 'pwrbt' to 'button' in the driver patch.
5. Use the specific compatible in yaml file.
Change in v2:
1. Fixup the "suspend-address" description.
2. Remove the "return -EINVAL" in PM driver probe when firmware
no configure "suspend-address" property in dts in oder to
other PM state to work.
Yinbo Zhu (3):
loongarch: export some arch-specific pm interfaces
soc: dt-bindings: add loongson-2 pm
soc: loongson2_pm: add power management support
.../soc/loongson/loongson,ls2k-pmc.yaml | 53 +++++
MAINTAINERS | 7 +
arch/loongarch/include/asm/acpi.h | 3 +-
arch/loongarch/include/asm/suspend.h | 10 +
arch/loongarch/power/suspend.c | 8 +-
drivers/soc/loongson/Kconfig | 10 +
drivers/soc/loongson/Makefile | 1 +
drivers/soc/loongson/loongson2_pm.c | 218 ++++++++++++++++++
8 files changed, 304 insertions(+), 6 deletions(-)
--
2.20.1
Powered by blists - more mailing lists