Home
last modified time | relevance | path

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

12

/linux/Documentation/devicetree/bindings/regulator/
H A 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 - devicetree@vger.kernel.org
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 …]
H A Dmaxim,max8973.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
13 - $ref: regulator.yaml#
18 - maxim,max8973
19 - maxim,max77621
21 junction-warn-millicelsius:
30 maxim,dvs-gpio:
35 maxim,dvs-default-state:
[all …]
H A 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:
28 regulator-min-microamp:
[all …]
/linux/drivers/regulator/
H A 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 …]
H A 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 …]
H A Dmax8973-regulator.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * max8973-regulator.c -- Maxim max8973A
5 * Regulator driver for MAXIM 8973A DC-DC step-down switching regulator.
21 #include <linux/regulator/max8973-regulator.h>
121 * - If it is already there then it will make that register as most
125 * - If requested voltage is not found then it will use the least
135 int new_vout_reg = tps->lru_index[MAX8973_MAX_VOUT_REG - 1]; in find_voltage_set_register()
136 int found_index = MAX8973_MAX_VOUT_REG - 1; in find_voltage_set_register()
139 if (tps->curr_vout_val[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register()
140 new_vout_reg = tps->lru_index[i]; in find_voltage_set_register()
[all …]
/linux/arch/arm/boot/dts/qcom/
H A 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 …]
H A 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/arch/arm/boot/dts/st/
H A 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 …]
H A 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 …]
H A Dstm32mp15xx-dhcom-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) 2019-2020 Marek Vasut <marex@denx.de>
6 #include "stm32mp15-pinctrl.dtsi"
7 #include "stm32mp15xxaa-pinctrl.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/mfd/st,stpmic1.h>
24 reserved-memory {
25 #address-cells = <1>;
26 #size-cells = <1>;
30 compatible = "shared-dma-pool";
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A 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 …]
H A 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 …]
H A 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 …]
H A Dsdm845-xiaomi-polaris.dts1 // SPDX-License-Identifier: BSD-3-Clause
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
12 #include <dt-bindings/input/linux-event-codes.h>
13 #include <dt-bindings/sound/qcom,q6afe.h>
14 #include <dt-bindings/sound/qcom,q6asm.h>
16 #include "sdm845-wcd9340.dtsi"
25 /delete-node/ &rmtfs_mem;
[all …]
H A Dsdm845-xiaomi-beryllium-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
5 #include <dt-bindings/leds/common.h>
6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
8 #include <dt-bindings/sound/qcom,q6afe.h>
9 #include <dt-bindings/sound/qcom,q6asm.h>
11 #include "sdm845-wcd9340.dtsi"
19 /delete-node/ &tz_mem;
20 /delete-node/ &adsp_mem;
[all …]
/linux/arch/arm/boot/dts/nvidia/
H A 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 …]
H A Dtegra30-asus-transformer-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include <dt-bindings/input/gpio-keys.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/thermal/thermal.h>
8 #include "tegra30-cpu-opp.dtsi"
9 #include "tegra30-cpu-opp-microvolt.dtsi"
12 chassis-type = "convertible";
31 * pre-existing /chosen node to be available to insert the
37 trusted-foundations {
38 compatible = "tlm,trusted-foundations";
[all …]
/linux/drivers/input/keyboard/
H A 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/Documentation/ABI/testing/
H A Dsysfs-class-power5 Contact: linux-pm@vger.kernel.org
14 Contact: linux-pm@vger.kernel.org
23 Contact: linux-pm@vger.kernel.org
32 Contact: linux-pm@vger.kernel.org
43 Contact: linux-pm@vger.kernel.org
66 Contact: linux-pm@vger.kernel.org
81 Contact: linux-pm@vger.kernel.org
94 read-only reporting, unless the 'online' state of the supply
106 Contact: linux-pm@vger.kernel.org
124 Contact: linux-pm@vger.kernel.org
[all …]
/linux/arch/arm64/boot/dts/rockchip/
H A 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/arch/arm64/boot/dts/nvidia/
H A 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/sound/soc/codecs/
H A 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/arch/arm64/boot/dts/ti/
H A Dk3-am654-base-board.dts1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
3 * Copyright (C) 2016-2024 Texas Instruments Incorporated - https://www.ti.com/
6 /dts-v1/;
8 #include "k3-am654.dtsi"
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/net/ti-dp83867.h>
13 compatible = "ti,am654-evm", "ti,am654";
31 stdout-path = "serial2:115200n8";
36 bootph-all;
42 reserved-memory {
[all …]
/linux/Documentation/devicetree/bindings/input/
H A Dazoteq,iqs7222.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
21 - azoteq,iqs7222a
22 - azoteq,iqs7222b
23 - azoteq,iqs7222c
24 - azoteq,iqs7222d
29 irq-gpios:
32 Specifies the GPIO connected to the device's active-low RDY output.
[all …]

12