Home
last modified time | relevance | path

Searched +full:ls2k0500 +full:- +full:pmc (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/soc/loongson/
H A Dloongson,ls2k-pmc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/loongson/loongson,ls2k-pmc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson-2 Power Manager controller
10 - Yinbo Zhu <zhuyinbo@loongson.cn>
15 - items:
16 - const: loongson,ls2k0500-pmc
17 - const: syscon
18 - items:
[all …]
/openbmc/linux/drivers/soc/loongson/
H A Dloongson2_pm.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Loongson-2 PM Support
104 return -ENOMEM; in loongson2_power_button_init()
106 button->name = "Power Button"; in loongson2_power_button_init()
107 button->phys = "pm/button/input0"; in loongson2_power_button_init()
108 button->id.bustype = BUS_HOST; in loongson2_power_button_init()
109 button->dev.parent = NULL; in loongson2_power_button_init()
116 dev_pm_set_wake_irq(&button->dev, irq); in loongson2_power_button_init()
117 device_set_wakeup_capable(&button->dev, true); in loongson2_power_button_init()
118 device_set_wakeup_enable(&button->dev, true); in loongson2_power_button_init()
[all …]