Home
last modified time | relevance | path

Searched +full:wakeup +full:- +full:parent (Results 1 – 25 of 1042) sorted by relevance

12345678910>>...42

/kernel/linux/linux-6.6/drivers/base/power/
Dwakeup_stats.c1 // SPDX-License-Identifier: GPL-2.0
3 * Wakeup statistics in sysfs
6 * Copyright (c) 2019 Greg Kroah-Hartman <gregkh@linuxfoundation.org>
29 return sysfs_emit(buf, "%lu\n", ws->_name); \
43 ws->active ? ktime_sub(ktime_get(), ws->last_time) : 0; in active_time_ms_show()
54 ktime_t total_time = ws->total_time; in total_time_ms_show()
56 if (ws->active) { in total_time_ms_show()
57 active_time = ktime_sub(ktime_get(), ws->last_time); in total_time_ms_show()
70 ktime_t max_time = ws->max_time; in max_time_ms_show()
72 if (ws->active) { in max_time_ms_show()
[all …]
/kernel/linux/linux-5.10/drivers/base/power/
Dwakeup_stats.c1 // SPDX-License-Identifier: GPL-2.0
3 * Wakeup statistics in sysfs
6 * Copyright (c) 2019 Greg Kroah-Hartman <gregkh@linuxfoundation.org>
29 return sysfs_emit(buf, "%lu\n", ws->_name); \
43 ws->active ? ktime_sub(ktime_get(), ws->last_time) : 0; in active_time_ms_show()
54 ktime_t total_time = ws->total_time; in total_time_ms_show()
56 if (ws->active) { in total_time_ms_show()
57 active_time = ktime_sub(ktime_get(), ws->last_time); in total_time_ms_show()
70 ktime_t max_time = ws->max_time; in max_time_ms_show()
72 if (ws->active) { in max_time_ms_show()
[all …]
/kernel/linux/linux-6.6/drivers/acpi/
Ddevice_pm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/acpi/device_pm.c - ACPI device power management routines.
27 * acpi_power_state_string - String representation of ACPI device power state.
53 status = acpi_evaluate_integer(device->handle, "_PSC", NULL, &psc); in acpi_dev_pm_explicit_get()
55 return -ENODEV; in acpi_dev_pm_explicit_get()
62 * acpi_device_get_power - Get power state of an ACPI device.
67 * update its parent's power.state field (when the parent's power state is
78 struct acpi_device *parent; in acpi_device_get_power() local
82 return -EINVAL; in acpi_device_get_power()
84 parent = acpi_dev_parent(device); in acpi_device_get_power()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/
Dinterrupts.txt5 -------------------------
8 "interrupts" property, an "interrupts-extended" property, or both. If both are
16 interrupt-parent = <&intc1>;
19 The "interrupt-parent" property is used to specify the controller to which
22 interrupt client node or in any of its parent nodes. Interrupts listed in the
23 "interrupts" property are always in reference to the node's interrupt parent.
25 The "interrupts-extended" property is a special form; useful when a node needs
26 to reference multiple interrupt parents or a different interrupt parent than
27 the inherited one. Each entry in this property contains both the parent phandle
31 interrupts-extended = <&intc1 5 1>, <&intc2 1 0>;
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/interrupt-controller/
Dinterrupts.txt5 -------------------------
8 "interrupts" property, an "interrupts-extended" property, or both. If both are
16 interrupt-parent = <&intc1>;
19 The "interrupt-parent" property is used to specify the controller to which
22 interrupt client node or in any of its parent nodes. Interrupts listed in the
23 "interrupts" property are always in reference to the node's interrupt parent.
25 The "interrupts-extended" property is a special form; useful when a node needs
26 to reference multiple interrupt parents or a different interrupt parent than
27 the inherited one. Each entry in this property contains both the parent phandle
31 interrupts-extended = <&intc1 5 1>, <&intc2 1 0>;
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dsamsung-pinctrl.txt6 on-chip controllers onto these pads.
9 - compatible: should be one of the following.
10 - "samsung,s3c2412-pinctrl": for S3C2412-compatible pin-controller,
11 - "samsung,s3c2416-pinctrl": for S3C2416-compatible pin-controller,
12 - "samsung,s3c2440-pinctrl": for S3C2440-compatible pin-controller,
13 - "samsung,s3c2450-pinctrl": for S3C2450-compatible pin-controller,
14 - "samsung,s3c64xx-pinctrl": for S3C64xx-compatible pin-controller,
15 - "samsung,s5pv210-pinctrl": for S5PV210-compatible pin-controller,
16 - "samsung,exynos3250-pinctrl": for Exynos3250 compatible pin-controller.
17 - "samsung,exynos4210-pinctrl": for Exynos4210 compatible pin-controller.
[all …]
/kernel/linux/linux-5.10/drivers/acpi/
Ddevice_pm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/acpi/device_pm.c - ACPI device power management routines.
28 * acpi_power_state_string - String representation of ACPI device power state.
54 status = acpi_evaluate_integer(device->handle, "_PSC", NULL, &psc); in acpi_dev_pm_explicit_get()
56 return -ENODEV; in acpi_dev_pm_explicit_get()
63 * acpi_device_get_power - Get power state of an ACPI device.
68 * update its parent's power.state field (when the parent's power state is
82 return -EINVAL; in acpi_device_get_power()
84 if (!device->flags.power_manageable) { in acpi_device_get_power()
85 /* TBD: Non-recursive algorithm for walking up hierarchy. */ in acpi_device_get_power()
[all …]
Dscan.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * scan.c - support for transforming the ACPI namespace into individual objects
16 #include <linux/dma-map-ops.h>
19 #include <linux/dma-direct.h>
31 #define ACPI_IS_ROOT_DEVICE(device) (!(device)->parent)
48 * special-casing. Everything else is covered by ACPI namespace paths in STAO
87 hp->notify = notify; in acpi_initialize_hp_context()
88 hp->uevent = uevent; in acpi_initialize_hp_context()
97 return -EINVAL; in acpi_scan_add_handler()
99 list_add_tail(&handler->list_node, &acpi_scan_handlers_list); in acpi_scan_add_handler()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/
Dmarvell-bt-8xxx.txt2 ------
9 - compatible : should be one of the following:
10 * "marvell,sd8897-bt" (for SDIO)
11 * "marvell,sd8997-bt" (for SDIO)
16 - marvell,cal-data: Calibration data downloaded to the device during
20 - marvell,wakeup-pin: It represents wakeup pin number of the bluetooth chip.
21 firmware will use the pin to wakeup host system (u16).
22 - marvell,wakeup-gap-ms: wakeup gap represents wakeup latency of the host
25 - interrupt-names: Used only for USB based devices (See below)
26 - interrupts : specifies the interrupt pin number to the cpu. For SDIO, the
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dmarvell-bt-8xxx.txt2 ------
9 - compatible : should be one of the following:
10 * "marvell,sd8897-bt" (for SDIO)
11 * "marvell,sd8997-bt" (for SDIO)
16 - marvell,cal-data: Calibration data downloaded to the device during
20 - marvell,wakeup-pin: It represents wakeup pin number of the bluetooth chip.
21 firmware will use the pin to wakeup host system (u16).
22 - marvell,wakeup-gap-ms: wakeup gap represents wakeup latency of the host
25 - interrupt-names: Used only for USB based devices (See below)
26 - interrupts : specifies the interrupt pin number to the cpu. For SDIO, the
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/
Dbrcm,brcmstb-gpio.txt3 The controller's registers are organized as sets of eight 32-bit
9 - compatible:
10 Must be "brcm,brcmstb-gpio"
12 - reg:
16 - #gpio-cells:
19 bit[0]: polarity (0 for active-high, 1 for active-low)
21 - gpio-controller:
24 - brcm,gpio-bank-widths:
30 - interrupts:
33 - interrupts-extended:
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/
Dcypress,cyapa.txt4 - compatible: must be "cypress,cyapa".
5 - reg: I2C address of the chip.
6 - interrupts: interrupt to which the chip is connected (see interrupt
10 - wakeup-source: touchpad can be used as a wakeup source.
11 - pinctrl-names: should be "default" (see pinctrl binding [1]).
12 - pinctrl-0: a phandle pointing to the pin settings for the device (see
14 - vcc-supply: a phandle for the regulator supplying 3.3V power.
16 [0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
17 [1]: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
27 interrupt-parent = <&gpio>;
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/rtc/
Disil,isl12057.txt8 ("wakeup-source") to handle the specific use-case found
9 on at least three in-tree users of the chip (NETGEAR ReadyNAS 102, 104
10 and 2120 ARM-based NAS); On those devices, the IRQ#2 pin of the chip
13 RTC alarm rings. In order to mark the device has a wakeup source and
20 - "compatible": must be "isil,isl12057"
21 - "reg": I2C bus address of the device
25 - "wakeup-source": mark the chip as a wakeup source, independently of
38 that the pinctrl-related properties below are given for completeness and
41 "interrupt-parent" and "interrupts" are usually sufficient):
60 pinctrl-0 = <&rtc_alarm_pin>;
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/rtc/
Disil,isl12057.txt8 ("wakeup-source") to handle the specific use-case found
9 on at least three in-tree users of the chip (NETGEAR ReadyNAS 102, 104
10 and 2120 ARM-based NAS); On those devices, the IRQ#2 pin of the chip
13 RTC alarm rings. In order to mark the device has a wakeup source and
20 - "compatible": must be "isil,isl12057"
21 - "reg": I2C bus address of the device
25 - "wakeup-source": mark the chip as a wakeup source, independently of
38 that the pinctrl-related properties below are given for completeness and
41 "interrupt-parent" and "interrupts" are usually sufficient):
60 pinctrl-0 = <&rtc_alarm_pin>;
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Dtc3589x.txt1 * Toshiba TC3589x multi-purpose expander
3 The Toshiba TC3589x series are I2C-based MFD devices which may expose the
4 following built-in devices: gpio, keypad, rotator (vibrator), PWM (for
7 - TC35890
8 - TC35892
9 - TC35893
10 - TC35894
11 - TC35895
12 - TC35896
15 - compatible : must be "toshiba,tc35890", "toshiba,tc35892", "toshiba,tc35893",
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dtc3589x.txt1 * Toshiba TC3589x multi-purpose expander
3 The Toshiba TC3589x series are I2C-based MFD devices which may expose the
4 following built-in devices: gpio, keypad, rotator (vibrator), PWM (for
7 - TC35890
8 - TC35892
9 - TC35893
10 - TC35894
11 - TC35895
12 - TC35896
15 - compatible : must be "toshiba,tc35890", "toshiba,tc35892", "toshiba,tc35893",
[all …]
/kernel/linux/linux-5.10/drivers/soc/fsl/
Drcpm.c1 // SPDX-License-Identifier: GPL-2.0
3 // rcpm.c - Freescale QorIQ RCPM driver
26 * rcpm_pm_prepare - performs device-level tasks associated with power
27 * management, such as programming related to the wakeup source control.
37 struct device_node *np = dev->of_node; in rcpm_pm_prepare()
43 return -EINVAL; in rcpm_pm_prepare()
45 base = rcpm->ippdexpcr_base; in rcpm_pm_prepare()
48 /* Begin with first registered wakeup source */ in rcpm_pm_prepare()
52 if (!ws->dev || !ws->dev->parent) in rcpm_pm_prepare()
55 ret = device_property_read_u32_array(ws->dev->parent, in rcpm_pm_prepare()
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0019_linux_drivers_gpio.patch7 Change-Id: I85874db4979e1d5dcfde13a3ecaeca8507d0ea43
9 diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
11 --- a/drivers/gpio/Kconfig
13 @@ -427,6 +427,12 @@ config GPIO_MXC
26 @@ -434,6 +440,13 @@ config GPIO_MXS
35 + Say Y here to enable the imx8 gpio pad wakeup
40 @@ -628,7 +641,7 @@ config GPIO_UNIPHIER
44 - depends on ARCH_MXC && SOC_VF610
49 diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile
51 --- a/drivers/gpio/Makefile
[all …]
/kernel/linux/linux-6.6/drivers/input/keyboard/
Dgpio_keys.c1 // SPDX-License-Identifier: GPL-2.0-only
31 #include <dt-bindings/input/gpio-keys.h>
41 unsigned int release_delay; /* in msecs, for IRQ-only buttons */
45 unsigned int software_debounce; /* in msecs, for GPIO-driven buttons */
67 * There are 4 attributes under /sys/devices/platform/gpio-keys/
68 * keys [ro] - bitmap of keys (EV_KEY) which can be
70 * switches [ro] - bitmap of switches (EV_SW) which can be
72 * disabled_keys [rw] - bitmap of keys currently disabled
73 * disabled_switches [rw] - bitmap of switches currently disabled
79 * For example, if we have following switches set up as gpio-keys:
[all …]
/kernel/linux/linux-5.10/drivers/input/keyboard/
Dgpio_keys.c1 // SPDX-License-Identifier: GPL-2.0-only
30 #include <dt-bindings/input/gpio-keys.h>
40 unsigned int release_delay; /* in msecs, for IRQ-only buttons */
43 unsigned int software_debounce; /* in msecs, for GPIO-driven buttons */
64 * There are 4 attributes under /sys/devices/platform/gpio-keys/
65 * keys [ro] - bitmap of keys (EV_KEY) which can be
67 * switches [ro] - bitmap of switches (EV_SW) which can be
69 * disabled_keys [rw] - bitmap of keys currently disabled
70 * disabled_switches [rw] - bitmap of switches currently disabled
76 * For example, if we have following switches set up as gpio-keys:
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/ti/omap/
Domap3-ldp.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
5 /dts-v1/;
7 #include <dt-bindings/input/input.h>
9 #include "omap-gpmc-smsc911x.dtsi"
13 compatible = "ti,omap3-ldp", "ti,omap3430", "ti,omap3";
22 cpu0-supply = <&vcc>;
27 compatible = "gpio-keys";
28 pinctrl-names = "default";
29 pinctrl-0 = <&gpio_key_pins>;
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Domap3-ldp.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
5 /dts-v1/;
7 #include <dt-bindings/input/input.h>
9 #include "omap-gpmc-smsc911x.dtsi"
13 compatible = "ti,omap3-ldp", "ti,omap3430", "ti,omap3";
22 cpu0-supply = <&vcc>;
27 compatible = "gpio-keys";
28 pinctrl-names = "default";
29 pinctrl-0 = <&gpio_key_pins>;
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/
Dsamsung,pinctrl.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
11 - Sylwester Nawrocki <s.nawrocki@samsung.com>
12 - Tomasz Figa <tomasz.figa@gmail.com>
22 - External GPIO interrupts (see interrupts property in pin controller node);
24 - External wake-up interrupts - multiplexed (capable of waking up the system
25 see interrupts property in external wake-up interrupt controller node -
26 samsung,pinctrl-wakeup-interrupt.yaml);
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/
Dwakeup-source.txt1 Specifying wakeup capability for devices
5 ----------------
6 Nodes that describe devices which has wakeup capability must contain an
7 "wakeup-source" boolean property.
9 Also, if device is marked as a wakeup source, then all the primary
10 interrupt(s) can be used as wakeup interrupt(s).
12 However if the devices have dedicated interrupt as the wakeup source
14 interrupt name. In such cases only that interrupt can be used as wakeup
18 ---------------------------------------------------------
20 1. "gpio-key,wakeup" Documentation/devicetree/bindings/input/gpio-keys{,-polled}.txt
[all …]
/kernel/linux/linux-6.6/drivers/soc/fsl/
Drcpm.c1 // SPDX-License-Identifier: GPL-2.0
3 // rcpm.c - Freescale QorIQ RCPM driver
5 // Copyright 2019-2020 NXP
34 np = of_find_compatible_node(NULL, NULL, "fsl,ls1021a-scfg"); in copy_ippdexpcr1_setting()
50 * rcpm_pm_prepare - performs device-level tasks associated with power
51 * management, such as programming related to the wakeup source control.
61 struct device_node *np = dev->of_node; in rcpm_pm_prepare()
67 return -EINVAL; in rcpm_pm_prepare()
69 base = rcpm->ippdexpcr_base; in rcpm_pm_prepare()
72 /* Begin with first registered wakeup source */ in rcpm_pm_prepare()
[all …]

12345678910>>...42