Home
last modified time | relevance | path

Searched +full:enable +full:- +full:active +full:- +full:discharge (Results 1 – 25 of 47) sorted by relevance

12

/linux-6.14.4/Documentation/devicetree/bindings/regulator/
Dti,tps65132.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - [email protected]
21 - ti,tps65132
26 vin-supply: true
37 enable-gpios:
40 GPIO specifier to enable the GPIO control (on/off) for regulator.
42 active-discharge-gpios:
45 GPIO specifier to actively discharge the delay mechanism.
[all …]
Dmaxim,max8973.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <[email protected]>
13 - $ref: regulator.yaml#
18 - maxim,max8973
19 - maxim,max77621
21 junction-warn-millicelsius:
30 maxim,dvs-gpio:
35 maxim,dvs-default-state:
[all …]
Dregulator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Liam Girdwood <[email protected]>
11 - Mark Brown <[email protected]>
14 regulator-name:
18 regulator-min-microvolt:
21 regulator-max-microvolt:
24 regulator-microvolt-offset:
28 regulator-min-microamp:
[all …]
/linux-6.14.4/drivers/regulator/
Dtps65132-regulator.c65 struct tps65132_reg_pdata *rpdata = &tps->reg_pdata[id]; in tps65132_regulator_enable()
68 if (!IS_ERR(rpdata->en_gpiod)) { in tps65132_regulator_enable()
69 gpiod_set_value_cansleep(rpdata->en_gpiod, 1); in tps65132_regulator_enable()
70 rpdata->ena_gpio_state = 1; in tps65132_regulator_enable()
73 /* Hardware automatically enable discharge bit in enable */ in tps65132_regulator_enable()
74 if (rdev->constraints->active_discharge == in tps65132_regulator_enable()
78 dev_err(tps->dev, "Failed to disable active discharge: %d\n", in tps65132_regulator_enable()
91 struct tps65132_reg_pdata *rpdata = &tps->reg_pdata[id]; in tps65132_regulator_disable()
93 if (!IS_ERR(rpdata->en_gpiod)) { in tps65132_regulator_disable()
94 gpiod_set_value_cansleep(rpdata->en_gpiod, 0); in tps65132_regulator_disable()
[all …]
Daw37503-regulator.c1 // SPDX-License-Identifier: GPL-2.0
50 struct aw37503_reg_pdata *rpdata = &chip->reg_pdata[id]; in aw37503_regulator_enable()
53 if (!IS_ERR(rpdata->en_gpiod)) { in aw37503_regulator_enable()
54 gpiod_set_value_cansleep(rpdata->en_gpiod, 1); in aw37503_regulator_enable()
55 rpdata->ena_gpio_state = 1; in aw37503_regulator_enable()
58 /* Hardware automatically enable discharge bit in enable */ in aw37503_regulator_enable()
59 if (rdev->constraints->active_discharge == in aw37503_regulator_enable()
63 dev_err(chip->dev, "Failed to disable active discharge: %d\n", in aw37503_regulator_enable()
76 struct aw37503_reg_pdata *rpdata = &chip->reg_pdata[id]; in aw37503_regulator_disable()
78 if (!IS_ERR(rpdata->en_gpiod)) { in aw37503_regulator_disable()
[all …]
/linux-6.14.4/arch/arm/boot/dts/qcom/
Dqcom-msm8926-motorola-peregrine.dts1 // SPDX-License-Identifier: BSD-3-Clause
3 /dts-v1/;
5 #include "qcom-msm8226.dtsi"
8 /delete-node/ &smem_region;
13 chassis-type = "handset";
21 #address-cells = <1>;
22 #size-cells = <1>;
26 compatible = "simple-framebuffer";
32 vsp-supply = <&reg_lcd_pos>;
33 vsn-supply = <&reg_lcd_neg>;
[all …]
Dmsm8226-motorola-falcon.dts1 // SPDX-License-Identifier: BSD-3-Clause
3 /dts-v1/;
5 #include "qcom-msm8226.dtsi"
8 /delete-node/ &smem_region;
13 chassis-type = "handset";
20 #address-cells = <1>;
21 #size-cells = <1>;
25 compatible = "simple-framebuffer";
31 vsp-supply = <&reg_lcd_pos>;
32 vsn-supply = <&reg_lcd_neg>;
[all …]
/linux-6.14.4/include/linux/regulator/
Dmachine.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * machine.h -- SoC Regulator support, machine/board driver API.
21 * Regulator operation constraint flags. These flags are used to enable
44 * DO_NOTHING_IN_SUSPEND - the default value
45 * DISABLE_IN_SUSPEND - turn off regulator in suspend states
46 * ENABLE_IN_SUSPEND - keep regulator on in suspend states
53 * Default time window (in milliseconds) following a critical under-voltage
59 /* Regulator active discharge flags */
67 * struct regulator_state - regulator state during low power system states
79 * - DO_NOTHING_IN_SUSPEND
[all …]
Ddriver.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * driver.h -- SoC Regulator driver support.
57 * struct regulator_ops - regulator operations.
59 * @enable: Configure the regulator as enabled.
70 * return -ENOTRECOVERABLE if regulator can't be read at
73 * regulator; return -ENOTRECOVERABLE if regulator can't
80 * @set_current_limit: Configure a limit for a current-limited regulator.
82 * @get_current_limit: Get the configured limit for a current-limited regulator.
89 * - REGULATOR_SEVERITY_PROT should automatically shut down the regulator(s).
91 * - REGULATOR_SEVERITY_ERR should indicate that over-current situation is
[all …]
/linux-6.14.4/arch/arm/boot/dts/st/
Dstm32mp15xx-dhcor-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
3 * Copyright (C) Linaro Ltd 2019 - All Rights Reserved
8 #include "stm32mp15-pinctrl.dtsi"
9 #include "stm32mp15xxac-pinctrl.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/mfd/st,stpmic1.h>
23 reserved-memory {
24 #address-cells = <1>;
25 #size-cells = <1>;
29 compatible = "shared-dma-pool";
[all …]
Dste-ux500-samsung-golden.dts1 // SPDX-License-Identifier: GPL-2.0-only
2 /dts-v1/;
4 #include "ste-db8500.dtsi"
5 #include "ste-ab8505.dtsi"
6 #include "ste-dbx5x0-pinctrl.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/leds/common.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
14 * You need an intermediate, device-tree compatible bootloader
[all …]
/linux-6.14.4/arch/arm64/boot/dts/qcom/
Dmsm8916-huawei-g7.dts1 // SPDX-License-Identifier: GPL-2.0-only
6 /dts-v1/;
8 #include "msm8916-pm8916.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/leds/common.h>
13 #include <dt-bindings/sound/apq8016-lpass.h>
16 * Note: The original firmware from Huawei can only boot 32-bit kernels.
17 * To boot this device tree using arm64 it is necessary to flash 64-bit TZ/HYP
[all …]
Dsdm450-lenovo-tbx605f.dts1 // SPDX-License-Identifier: BSD-3-Clause
5 /dts-v1/;
14 chassis-type = "tablet";
17 #address-cells = <2>;
18 #size-cells = <2>;
22 compatible = "simple-framebuffer";
30 power-domains = <&gcc MDSS_GDSC>;
42 reserved-memory {
43 other-ext-region@0 {
44 no-map;
[all …]
Dmsm8998-sony-xperia-yoshino.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
18 qcom,msm-id = <0x124 0x20000>, <0x124 0x20001>; /* 8998v2, v2.1 */
19 qcom,board-id = <8 0>;
23 compatible = "gpio-gate-clock";
24 pinctrl-0 = <&div_clk1>;
25 pinctrl-names = "default";
27 #clock-cells = <0>;
[all …]
Dsdm845-sony-xperia-tama.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
15 qcom,msm-id = <321 0x20001>; /* SDM845 v2.1 */
16 qcom,board-id = <8 0>;
24 stdout-path = "serial0:115200n8";
27 gpio-keys {
28 compatible = "gpio-keys";
30 pinctrl-0 = <&focus_n &snapshot_n &vol_down_n &vol_up_n>;
[all …]
/linux-6.14.4/arch/arm/boot/dts/nvidia/
Dtegra30-asus-nexus7-grouper-ti-pmic.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include <dt-bindings/interrupt-controller/arm-gic.h>
4 #include <dt-bindings/gpio/gpio.h>
13 #interrupt-cells = <2>;
14 interrupt-controller;
15 wakeup-source;
17 ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>;
18 ti,system-power-controller;
19 ti,sleep-keep-ck32k;
20 ti,sleep-enable;
[all …]
/linux-6.14.4/drivers/gpu/drm/tiny/
Drepaper.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * DRM driver for Pervasive Displays RePaper branded e-ink panels
5 * Copyright 2013-2017 Pervasive Displays, Inc.
52 enum repaper_stage { /* Image pixel -> Display pixel */
53 REPAPER_COMPENSATE, /* B -> W, W -> B (Current Image) */
54 REPAPER_WHITE, /* B -> N, W -> W (Current Image) */
55 REPAPER_INVERSE, /* B -> N, W -> B (New Image) */
56 REPAPER_NORMAL /* B -> B, W -> W (New Image) */
74 struct gpio_desc *discharge; member
112 return -ENOMEM; in repaper_spi_transfer()
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/mfd/
Dst,stpmic1.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
12 - pascal Paillet <[email protected]>
24 "#interrupt-cells":
27 interrupt-controller: true
36 const: st,stpmic1-onkey
40 - description: onkey-falling, happens when onkey is pressed. IT_PONKEY_F of pmic
41 - description: onkey-rising, happens when onkey is released. IT_PONKEY_R of pmic
43 interrupt-names:
[all …]
/linux-6.14.4/Documentation/ABI/testing/
Dsysfs-class-power5 Contact: linux-[email protected]
14 Contact: linux-[email protected]
23 Contact: linux-[email protected]
32 Contact: linux-[email protected]
43 Contact: linux-[email protected]
66 Contact: linux-[email protected]
81 Contact: linux-[email protected]
94 read-only reporting, unless the 'online' state of the supply
106 Contact: linux-[email protected]
124 Contact: linux-[email protected]
[all …]
/linux-6.14.4/drivers/input/keyboard/
Dimx_keypad.c1 // SPDX-License-Identifier: GPL-2.0
32 #define KBD_STAT_KDIE (0x1 << 8) /* Key Depress Interrupt Enable Status bit */
33 #define KBD_STAT_KRIE (0x1 << 9) /* Key Release Interrupt Enable */
34 #define KBD_STAT_KPPEN (0x1 << 10) /* Keypad Clock Enable */
71 * -stable: achieved after a complete debounce process.
72 * -unstable: used in the debouncing process.
86 if ((keypad->cols_en_mask & (1 << col)) == 0) in imx_keypad_scan_matrix()
89 * Discharge keypad capacitance: in imx_keypad_scan_matrix()
91 * 3. configure columns as totem-pole to discharge capacitance. in imx_keypad_scan_matrix()
92 * 4. configure columns as open-drain. in imx_keypad_scan_matrix()
[all …]
/linux-6.14.4/arch/arm64/boot/dts/nvidia/
Dtegra210-smaug.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/mfd/max77620.h>
6 #include <dt-bindings/pinctrl/pinctrl-tegra.h>
12 compatible = "google,smaug-rev8", "google,smaug-rev7",
13 "google,smaug-rev6", "google,smaug-rev5",
14 "google,smaug-rev4", "google,smaug-rev3",
15 "google,smaug-rev2", "google,smaug-rev1",
25 stdout-path = "serial0:115200n8";
[all …]
Dtegra210-p3450-0000.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/gpio-keys.h>
5 #include <dt-bindings/input/linux-event-codes.h>
6 #include <dt-bindings/mfd/max77620.h>
12 compatible = "nvidia,p3450-0000", "nvidia,tegra210";
22 stdout-path = "serial0:115200n8";
33 hvddio-pex-supply = <&vdd_1v8>;
34 dvddio-pex-supply = <&vdd_pex_1v05>;
35 vddio-pex-ctl-supply = <&vdd_1v8>;
[all …]
/linux-6.14.4/arch/arm64/boot/dts/rockchip/
Drk3399-pinephone-pro.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
9 * https://files.pine64.org/doc/PinePhonePro/PinephonePro-Schematic-V1.0-20211127.pdf
12 /dts-v1/;
13 #include <dt-bindings/input/gpio-keys.h>
14 #include <dt-bindings/input/linux-event-codes.h>
15 #include <dt-bindings/leds/common.h>
16 #include "rk3399-s.dtsi"
20 compatible = "pine64,pinephone-pro", "rockchip,rk3399";
21 chassis-type = "handset";
30 stdout-path = "serial2:115200n8";
[all …]
/linux-6.14.4/sound/soc/codecs/
Dwm8350.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8350.c -- WM8350 ALSA SoC audio driver
5 * Copyright (C) 2007-12 Wolfson Microelectronics PLC.
45 u16 active; member
77 struct wm8350_output *out1 = &wm8350_data->out1; in wm8350_out1_ramp_step()
78 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_out1_ramp_step()
86 if (out1->ramp == WM8350_RAMP_UP) { in wm8350_out1_ramp_step()
88 if (val < out1->left_vol) { in wm8350_out1_ramp_step()
95 } else if (out1->ramp == WM8350_RAMP_DOWN) { in wm8350_out1_ramp_step()
98 val--; in wm8350_out1_ramp_step()
[all …]
/linux-6.14.4/drivers/usb/typec/tcpm/
Dtcpm.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2015-2017 Google, Inc
212 VDM_STATE_ERR_BUSY = -3,
213 VDM_STATE_ERR_SEND = -2,
214 VDM_STATE_ERR_TMOUT = -1,
216 /* Anything >0 represents an active state */
243 * Based on "Table 6-14 Fixed Supply PDO - Sink" of "USB Power Delivery Specification Revision 3.0,
292 * @active: PPS mode is active
304 bool active; member
526 /* Auto vbus discharge status */
[all …]

12