[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230522093156.7108-1-zhuyinbo@loongson.cn>
Date: Mon, 22 May 2023 17:31:53 +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>,
Tiezhu Yang <yangtiezhu@...ngson.cn>,
Marc Zyngier <maz@...nel.org>,
Youling Tang <tangyouling@...ngson.cn>,
Baoqi Zhang <zhangbaoqi@...ngson.cn>,
Arnd Bergmann <arnd@...db.de>, Yun Liu <liuyun@...ngson.cn>,
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 v2 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 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 loongarch pm interface
dt-bindings: soc: add loongson-2 pm
soc: loongson2_pm: add power management support
.../soc/loongson/loongson,ls2k-pmc.yaml | 51 ++++
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 | 235 ++++++++++++++++++
9 files changed, 325 insertions(+), 12 deletions(-)
--
2.20.1
Powered by blists - more mailing lists