Home
last modified time | relevance | path

Searched +full:off +full:- +full:on +full:- +full:delay +full:- +full:us (Results 1 – 25 of 1055) sorted by relevance

12345678910>>...43

/kernel/linux/linux-5.10/drivers/staging/hikey9xx/
Dhisilicon,hi6421-spmi-pmic.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mfd/hisilicon,hi6421-spmi-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
16 The GPIO and interrupt settings are represented as part of the top-level PMIC
20 drivers/staging/hikey9xx/hisilicon,hisi-spmi-controller.yaml.
24 pattern: "pmic@[0-9a-f]"
27 const: hisilicon,hi6421v600-spmi
32 '#interrupt-cells':
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/mmc/
Dmmc-pwrseq-simple.txt4 common properties between various SOC designs. It thus enables us to use the
8 - compatible : contains "mmc-pwrseq-simple".
11 - reset-gpios : contains a list of GPIO specifiers. The reset GPIOs are asserted
13 They will be de-asserted right after the power has been provided to the
15 - clocks : Must contain an entry for the entry in clock-names.
16 See ../clocks/clock-bindings.txt for details.
17 - clock-names : Must include the following entry:
19 - post-power-on-delay-ms : Delay in ms after powering the card and
20 de-asserting the reset-gpios (if any)
21 - power-off-delay-us : Delay in us after asserting the reset-gpios (if any)
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
Dregulator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Liam Girdwood <lgirdwood@gmail.com>
11 - Mark Brown <broonie@kernel.org>
14 regulator-name:
18 regulator-min-microvolt:
21 regulator-max-microvolt:
24 regulator-microvolt-offset:
27 regulator-min-microamp:
[all …]
Dfixed-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/regulator/fixed-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Liam Girdwood <lgirdwood@gmail.com>
11 - Mark Brown <broonie@kernel.org>
16 expected to have the regulator-min-microvolt and regulator-max-microvolt
20 - $ref: "regulator.yaml#"
26 const: regulator-fixed-clock
28 - clocks
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/regulator/
Dregulator.txt4 - regulator-name: A string used as a descriptive name for regulator outputs
5 - regulator-min-microvolt: smallest voltage consumers may set
6 - regulator-max-microvolt: largest voltage consumers may set
7 - regulator-microvolt-offset: Offset applied to voltages to compensate for voltage drops
8 - regulator-min-microamp: smallest current consumers may set
9 - regulator-max-microamp: largest current consumers may set
10 - regulator-input-current-limit-microamp: maximum input current regulator allows
11 - regulator-always-on: boolean, regulator should never be disabled
12 - regulator-boot-on: bootloader/firmware enabled regulator
13 - regulator-allow-bypass: allow the regulator to go into bypass mode
[all …]
/kernel/linux/linux-5.10/drivers/leds/trigger/
Dledtrig-activity.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Partially based on Atsushi Nemoto's ledtrig-heartbeat.c.
36 struct led_classdev *led_cdev = activity_data->led_cdev; in led_activity_function()
39 int delay; in led_activity_function() local
47 if (test_and_clear_bit(LED_BLINK_BRIGHTNESS_CHANGE, &led_cdev->work_flags)) in led_activity_function()
48 led_cdev->blink_brightness = led_cdev->new_blink_brightness; in led_activity_function()
52 led_set_brightness_nosleep(led_cdev, led_cdev->blink_brightness); in led_activity_function()
74 * down to 16us, ensuring we won't overflow 32-bit computations below in led_activity_function()
75 * even up to 3k CPUs, while keeping divides cheap on smaller systems. in led_activity_function()
78 diff_boot = (curr_boot - activity_data->last_boot) >> 16; in led_activity_function()
[all …]
/kernel/linux/linux-4.19/drivers/leds/trigger/
Dledtrig-activity.c5 * Partially based on Atsushi Nemoto's ledtrig-heartbeat.c.
39 struct led_classdev *led_cdev = activity_data->led_cdev; in led_activity_function()
42 int delay; in led_activity_function() local
50 if (test_and_clear_bit(LED_BLINK_BRIGHTNESS_CHANGE, &led_cdev->work_flags)) in led_activity_function()
51 led_cdev->blink_brightness = led_cdev->new_blink_brightness; in led_activity_function()
55 led_set_brightness_nosleep(led_cdev, led_cdev->blink_brightness); in led_activity_function()
73 * down to 16us, ensuring we won't overflow 32-bit computations below in led_activity_function()
74 * even up to 3k CPUs, while keeping divides cheap on smaller systems. in led_activity_function()
77 diff_boot = (curr_boot - activity_data->last_boot) >> 16; in led_activity_function()
78 diff_used = (curr_used - activity_data->last_used) >> 16; in led_activity_function()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mmc/
Dmmc-pwrseq-simple.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mmc/mmc-pwrseq-simple.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ulf Hansson <ulf.hansson@linaro.org>
14 of common properties between various SOC designs. It thus enables us to use
19 const: mmc-pwrseq-simple
21 reset-gpios:
28 They will be de-asserted right after the power has been provided to the
33 description: Handle for the entry in clock-names.
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Ds5pv210-aries.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
32 reserved-memory {
33 #address-cells = <1>;
34 #size-cells = <1>;
38 compatible = "shared-dma-pool";
39 no-map;
44 compatible = "shared-dma-pool";
[all …]
Drk3066a-mk808.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
14 stdout-path = "serial2:115200n8";
22 gpio-leds {
23 compatible = "gpio-leds";
25 blue_led: led-0 {
28 default-state = "off";
29 linux,default-trigger = "default-on";
34 compatible = "hdmi-connector";
39 remote-endpoint = <&hdmi_out_con>;
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Ds5pv210-aries.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
26 wifi_pwrseq: wifi-pwrseq {
27 compatible = "mmc-pwrseq-simple";
28 reset-gpios = <&gpg1 2 GPIO_ACTIVE_LOW>;
29 pinctrl-names = "default";
30 pinctrl-0 = <&wlan_gpio_rst>;
31 post-power-on-delay-ms = <500>;
[all …]
Drk3066a-mk808.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
14 stdout-path = "serial2:115200n8";
22 gpio-leds {
23 compatible = "gpio-leds";
28 default-state = "off";
29 linux,default-trigger = "default-on";
33 vcc_io: vcc-io {
34 compatible = "regulator-fixed";
35 regulator-name = "vcc_io";
[all …]
/kernel/linux/linux-5.10/tools/power/pm-graph/config/
Dexample.cfg5 # all the tool arguments so that they don't have to be given on the
9 # sudo ./sleepgraph.py -config config/example.cfg
14 # ---- General Options ----
26 output-dir: suspend-{hostname}-{date}-{time}
29 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15)
37 # insert a small visible gap between suspend and resume on the timeline (default: false)
49 # Enable/disable runtime suspend for all devices, restore all after test (default: no-action)
52 # Turn display on/off for test
53 # Switch the display on/off for the test using xset (default: no-action)
54 # display: on
[all …]
/kernel/linux/linux-4.19/Documentation/trace/
Dftrace.rst2 ftrace - Function Tracer
13 - Written for: 2.6.28-rc2
14 - Updated for: 3.10
15 - Updated for: 4.13 - Copyright 2017 VMware Inc. Steven Rostedt
16 - Converted to rst format - Changbin Du <changbin.du@intel.com>
19 ------------
22 designers of systems to find what is going on inside the kernel.
24 performance issues that take place outside of user-space.
35 going on in certain parts of the kernel.
41 ----------------------
[all …]
/kernel/linux/linux-5.10/drivers/scsi/ufs/
Dufs_quirks.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
22 * ufs_dev_fix - ufs device quirk info
51 * - As soon as SW sees the DL NAC error, it should schedule the error handler
52 * - Error handler would sleep for 50ms to see if there are any fatal errors
54 * - If there are fatal errors then SW does normal error recovery.
55 * - If there are no fatal errors then SW sends the NOP command to device
57 * - If NOP command times out, SW does normal error recovery
58 * - If NOP command succeed, skip the error handling.
68 * 600us which may not be enough for reliable hibern8 exit hardware sequence
[all …]
/kernel/linux/linux-5.10/Documentation/trace/
Dftrace.rst2 ftrace - Function Tracer
13 - Written for: 2.6.28-rc2
14 - Updated for: 3.10
15 - Updated for: 4.13 - Copyright 2017 VMware Inc. Steven Rostedt
16 - Converted to rst format - Changbin Du <changbin.du@intel.com>
19 ------------
22 designers of systems to find what is going on inside the kernel.
24 performance issues that take place outside of user-space.
35 going on in certain parts of the kernel.
41 ----------------------
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/
Dcommon.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
25 led-sources:
30 $ref: /schemas/types.yaml#definitions/uint32-array
35 from the header include/dt-bindings/leds/common.h. If there is no
42 the header include/dt-bindings/leds/common.h. If there is no matching
48 function-enumerator:
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/nvidia/
Dtegra210-p2180.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/mfd/max77620.h>
17 stdout-path = "serial0:115200n8";
26 vdd-supply = <&vdd_gpu>;
36 clock-frequency = <400000>;
41 interrupt-parent = <&tegra_pmc>;
44 #interrupt-cells = <2>;
45 interrupt-controller;
47 #gpio-cells = <2>;
48 gpio-controller;
[all …]
/kernel/linux/linux-4.19/tools/power/pm-graph/
Dsleepgraph.83 sleepgraph \- Suspend/Resume timing analysis
21 Generates output files in subdirectory: suspend-yymmdd-HHMMSS
27 \fB-h\fR
30 \fB-v\fR
33 \fB-verbose\fR
36 \fB-config \fIfile\fR
39 \fB-m \fImode\fR
42 \fB-o \fIname\fR
46 e.g. suspend-{hostname}-{date}-{time}
48 \fB-rtcwake \fIt\fR | off
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/
Di2c-arb-gpio-challenge.txt1 GPIO-based I2C Arbitration Using a Challenge & Response Mechanism
7 the standard I2C multi-master rules. Using GPIOs is generally useful in
8 the case where there is a device on the bus that has errata and/or bugs
13 * Having two masters on a bus in general makes it relatively hard to debug
15 some device on the bus).
20 All masters on the bus have a 'bus claim' line which is an output that the
21 others can see. These are all active low with pull-ups enabled. We'll
24 - OUR_CLAIM: output from us signaling to other hosts that we want the bus
25 - THEIR_CLAIMS: output from others signaling that they want the bus
38 5. If not, back off, release the claim and wait for a few more milliseconds.
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/i2c/
Di2c-arb-gpio-challenge.txt1 GPIO-based I2C Arbitration Using a Challenge & Response Mechanism
7 the standard I2C multi-master rules. Using GPIOs is generally useful in
8 the case where there is a device on the bus that has errata and/or bugs
13 * Having two masters on a bus in general makes it relatively hard to debug
15 some device on the bus).
20 All masters on the bus have a 'bus claim' line which is an output that the
21 others can see. These are all active low with pull-ups enabled. We'll
24 - OUR_CLAIM: output from us signaling to other hosts that we want the bus
25 - THEIR_CLAIMS: output from others signaling that they want the bus
38 5. If not, back off, release the claim and wait for a few more milliseconds.
[all …]
/kernel/linux/linux-4.19/tools/power/pm-graph/config/
Dexample.cfg5 # all the tool arguments so that they don't have to be given on the
9 # sudo ./sleepgraph.py -config config/example.cfg
14 # ---- General Options ----
26 output-dir: suspend-{hostname}-{date}-{time}
29 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15)
37 # insert a small visible gap between suspend and resume on the timeline (default: false)
49 # Enable/disable runtime suspend for all devices, restore all after test (default: no-action)
52 # Turn display on/off for test
53 # Switch the display on/off for the test using xset (default: no-action)
54 # display: on
[all …]
/kernel/linux/linux-5.10/drivers/phy/intel/
Dphy-intel-keembay-emmc.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <linux/delay.h>
66 ret = regmap_update_bits(priv->syscfg, PHY_CFG_0, PWR_DOWN_MASK, in keembay_emmc_phy_power()
69 dev_err(&phy->dev, "CALIO power down bar failed: %d\n", ret); in keembay_emmc_phy_power()
73 ret = regmap_update_bits(priv->syscfg, PHY_CFG_0, DLL_EN_MASK, in keembay_emmc_phy_power()
76 dev_err(&phy->dev, "turn off the dll failed: %d\n", ret); in keembay_emmc_phy_power()
80 /* Already finish power off above */ in keembay_emmc_phy_power()
84 mhz = DIV_ROUND_CLOSEST(clk_get_rate(priv->emmcclk), 1000000); in keembay_emmc_phy_power()
100 dev_warn(&phy->dev, "Unsupported rate: %d MHz\n", mhz); in keembay_emmc_phy_power()
104 * cycle takes more than 2us without the minimal recommended in keembay_emmc_phy_power()
[all …]
/kernel/linux/linux-4.19/drivers/scsi/ufs/
Dufs_quirks.h2 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
30 * ufs_dev_fix - ufs device quirk info
52 * the LCC transmission on UFS host controller (by clearing
73 * - As soon as SW sees the DL NAC error, it should schedule the error handler
74 * - Error handler would sleep for 50ms to see if there are any fatal errors
76 * - If there are fatal errors then SW does normal error recovery.
77 * - If there are no fatal errors then SW sends the NOP command to device
79 * - If NOP command times out, SW does normal error recovery
80 * - If NOP command succeed, skip the error handling.
90 * in off state during suspend. Enabling this quirk will not allow the
[all …]
/kernel/linux/linux-5.10/drivers/clk/qcom/
Dgdsc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2015, 2017-2018, The Linux Foundation. All rights reserved.
7 #include <linux/delay.h>
16 #include <linux/reset-controller.h>
53 /* Returns 1 if GDSC status is status, 0 if not, and < 0 on error */
60 if (sc->flags & POLL_CFG_GDSCR) in gdsc_check_status()
61 reg = sc->gdscr + CFG_GDSCR_OFFSET; in gdsc_check_status()
62 else if (sc->gds_hw_ctrl) in gdsc_check_status()
63 reg = sc->gds_hw_ctrl; in gdsc_check_status()
65 reg = sc->gdscr; in gdsc_check_status()
[all …]

12345678910>>...43