Devicetree
 help / color / mirror / Atom feed
* [PATCH v2 0/3] soc: loongson2_pm: add power management support
@ 2023-05-22  9:31 Yinbo Zhu
  2023-05-22  9:31 ` [PATCH v2 1/3] loongarch: export loongarch pm interface Yinbo Zhu
  2023-05-22  9:31 ` [PATCH v2 2/3] dt-bindings: soc: add loongson-2 pm Yinbo Zhu
  0 siblings, 2 replies; 7+ messages in thread
From: Yinbo Zhu @ 2023-05-22  9:31 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Huacai Chen,
	WANG Xuerui, Rafael J . Wysocki, Pavel Machek, Tiezhu Yang,
	Marc Zyngier, Youling Tang, Baoqi Zhang, Arnd Bergmann, Yun Liu,
	linux-pm, devicetree, linux-kernel, loongarch
  Cc: Jianmin Lv, wanghongliang, Liu Peibao, loongson-kernel, Yinbo Zhu

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-05-24  3:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-22  9:31 [PATCH v2 0/3] soc: loongson2_pm: add power management support Yinbo Zhu
2023-05-22  9:31 ` [PATCH v2 1/3] loongarch: export loongarch pm interface Yinbo Zhu
2023-05-24  1:57   ` Huacai Chen
2023-05-24  3:41     ` zhuyinbo
2023-05-22  9:31 ` [PATCH v2 2/3] dt-bindings: soc: add loongson-2 pm Yinbo Zhu
2023-05-22 12:47   ` Conor Dooley
2023-05-23  3:22     ` zhuyinbo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox