Reviewd-by: Huacai Chen <chenhuacai@xxxxxxxxxxx> > -----原始邮件----- > 发件人: "Yinbo Zhu" <zhuyinbo@xxxxxxxxxxx> > 发送时间:2023-07-28 15:49:42 (星期五) > 收件人: "Arnd Bergmann" <arnd@xxxxxxxx>, "Rob Herring" <robh+dt@xxxxxxxxxx>, "Krzysztof Kozlowski" <krzysztof.kozlowski+dt@xxxxxxxxxx>, "Conor Dooley" <conor+dt@xxxxxxxxxx>, linux-pm@xxxxxxxxxxxxxxx, devicetree@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx > 抄送: "Jianmin Lv" <lvjianmin@xxxxxxxxxxx>, wanghongliang@xxxxxxxxxxx, "Liu Peibao" <liupeibao@xxxxxxxxxxx>, loongson-kernel@xxxxxxxxxxxxxxxxx, "Yinbo Zhu" <zhuyinbo@xxxxxxxxxxx>, "Liu Yun" <liuyun@xxxxxxxxxxx> > 主题: [PATCH v5 0/2] 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 v5: > 1. The patch "[PATCH v3 1/3] loongarch: export some arch-specific > pm interfaces" had been merged into linux-next tree thus this > v4 series patch need drop it and need depend on it and it's > patch link was: > https://lore.kernel.org/all/20230615091757.24686-2-zhuyinbo@xxxxxxxxxxx/ > 2. Swap the positions of compatible for 2k1000 and 2k0500. > Change in v4: > 1. The patch "[PATCH v3 1/3] loongarch: export some arch-specific > pm interfaces" had been merged into linux-next tree thus this > v4 series patch need drop it and need depend on it and it's > patch link was: > https://lore.kernel.org/all/20230615091757.24686-2-zhuyinbo@xxxxxxxxxxx/ > 2. Remove the pmc label in dt-binding patch. > 3. Add the Co-developed-by for driver patch. > 4. Simplify the loongson2_suspend_valid_state that "return > (state == PM_SUSPEND_MEM)". > 5. Use Using loongson2_pm_irq_enable() to replace. > loongson2_power_button_irq_enable(). > 6. Remove the "oneOf" in dt-bindings patch. > 7. Replace "suspend-address" that use "loongson,suspend-address". > 8. Use u64 type that for "loongson,suspend-address". > 9. Rename "pm" to "power-mangement" in dt-bindings patch. > 10. Add the reivewed-by for dt-bindings patch. > 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 (2): > soc: dt-bindings: add loongson-2 pm > soc: loongson2_pm: add power management support > > .../soc/loongson/loongson,ls2k-pmc.yaml | 52 +++++ > MAINTAINERS | 7 + > drivers/soc/loongson/Kconfig | 10 + > drivers/soc/loongson/Makefile | 1 + > drivers/soc/loongson/loongson2_pm.c | 215 ++++++++++++++++++ > 5 files changed, 285 insertions(+) > > -- > 2.20.1 > > _______________________________________________ > Loongson-kernel mailing list -- loongson-kernel@xxxxxxxxxxxxxxxxx > To unsubscribe send an email to loongson-kernel-leave@xxxxxxxxxxxxxxxxx 本邮件及其附件含有龙芯中科的商业秘密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制或散发)本邮件及其附件中的信息。如果您错收本邮件,请您立即电话或邮件通知发件人并删除本邮件。 This email and its attachments contain confidential information from Loongson Technology , which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this email in error, please notify the sender by phone or email immediately and delete it.