Home
last modified time | relevance | path

Searched +full:regulator +full:- +full:allow +full:- +full:bypass (Results 1 – 25 of 56) sorted by relevance

123

/linux-6.8/Documentation/devicetree/bindings/mfd/
Dactions,atc260x.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
11 - Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
16 (i.e. regulators and system power-off/reboot) for the ATC2603C and ATC2609A
18 ATC2603C includes 3 programmable DC-DC converters, 9 programmable LDO
19 regulators and 1 fixed LDO regulator.
20 ATC2609A includes 5 programmable DC-DC converters and 10 programmable LDO
24 - $ref: ../input/input.yaml
[all …]
Drichtek,rt4831.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - ChiYuan Huang <cy_huang@richtek.com>
23 https://www.richtek.com/assets/product_file/RT4831A/DS4831A-05.pdf
33 enable-gpios:
40 $ref: ../regulator/richtek,rt4831-regulator.yaml
43 $ref: ../leds/backlight/richtek,rt4831-backlight.yaml
46 - compatible
47 - reg
[all …]
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 <p.paillet@foss.st.com>
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.8/arch/arm/boot/dts/ti/omap/
Ddra72-evm-tps65917.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/
8 * https://www.ti.com/lit/ds/symlink/tps65917-q1.pdf
14 interrupt-controller;
15 #interrupt-cells = <2>;
17 ti,system-power-controller;
20 compatible = "ti,tps65917-pmic";
22 smps1-in-supply = <&vsys_3v3>;
23 smps2-in-supply = <&vsys_3v3>;
24 smps3-in-supply = <&vsys_3v3>;
[all …]
Ddra76-evm.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/
5 /dts-v1/;
8 #include "dra7-evm-common.dtsi"
9 #include "dra76x-mmc-iodelay.dtsi"
10 #include <dt-bindings/net/ti-dp83867.h>
14 compatible = "ti,dra76-evm", "ti,dra762", "ti,dra7";
28 reserved-memory {
29 #address-cells = <2>;
30 #size-cells = <2>;
[all …]
/linux-6.8/arch/arm/boot/dts/nxp/imx/
Dimx6ul-ccimx6ulsom.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Digi International's ConnectCore 6UL System-On-Module device tree source
12 reg = <0x80000000 0>; /* will be filled by U-Boot */
15 reserved-memory {
16 #address-cells = <1>;
17 #size-cells = <1>;
21 compatible = "shared-dma-pool";
24 linux,cma-default;
30 vref-supply = <&vdda_adc_3v3>;
34 pinctrl-names = "default";
[all …]
/linux-6.8/Documentation/devicetree/bindings/regulator/
Dregulator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/regulator/regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Liam Girdwood <lgirdwood@gmail.com>
11 - Mark Brown <broonie@kernel.org>
14 regulator-name:
15 description: A string used as a descriptive name for regulator outputs
18 regulator-min-microvolt:
21 regulator-max-microvolt:
[all …]
/linux-6.8/arch/arm64/boot/dts/qcom/
Dmsm8994-sony-xperia-kitakami.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/gpio-keys.h>
18 * and requires driver-side changes (including CPR, be warned!!).
21 qcom,msm-id = <207 0x20000>, <207 0x20001>;
23 qcom,pmic-id = <0x10009 0x1000a 0x00 0x00>;
25 qcom,board-id = <8 0>;
28 /delete-node/ psci;
30 gpio-keys {
31 compatible = "gpio-keys";
[all …]
Dmsm8992-lg-bullhead.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2021-2022, Petr Vorel <petr.vorel@gmail.com>
9 /dts-v1/;
16 /delete-node/ &cont_splash_mem;
19 /delete-node/ &dfps_data_mem;
24 chassis-type = "handset";
26 qcom,msm-id = <251 0>, <252 0>;
27 qcom,pmic-id = <0x10009 0x1000A 0x0 0x0>;
30 /delete-node/ psci;
37 stdout-path = "serial0:115200n8";
[all …]
Dsm6350-sony-xperia-lena-pdx213.dts1 // SPDX-License-Identifier: BSD-3-Clause
5 /dts-v1/;
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
15 chassis-type = "handset";
16 qcom,msm-id = <434 0x10000>, <459 0x10000>;
17 qcom,board-id = <0x1000B 0>;
20 #address-cells = <2>;
21 #size-cells = <2>;
25 compatible = "simple-framebuffer";
[all …]
Dmsm8994-msft-lumia-octagon.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/gpio-keys.h>
14 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
20 /delete-node/ &adsp_mem;
21 /delete-node/ &audio_mem;
22 /delete-node/ &cont_splash_mem;
23 /delete-node/ &mba_mem;
24 /delete-node/ &mpss_mem;
25 /delete-node/ &peripheral_region;
[all …]
Dmsm8992-xiaomi-libra.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/gpio-keys.h>
14 /delete-node/ &adsp_mem;
15 /delete-node/ &audio_mem;
16 /delete-node/ &mpss_mem;
17 /delete-node/ &peripheral_region;
18 /delete-node/ &res_hyp_mem;
19 /delete-node/ &rmtfs_mem;
[all …]
Dmsm8996-xiaomi-common.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/leds/common.h>
11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
15 compatible = "gpio-gate-clock";
17 #clock-cells = <0>;
18 enable-gpios = <&pm8994_gpios 15 GPIO_ACTIVE_HIGH>;
20 pinctrl-names = "default";
21 pinctrl-0 = <&divclk1_default>;
[all …]
Dsm7225-fairphone-fp4.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
15 #include <dt-bindings/firmware/qcom,scm.h>
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
18 #include <dt-bindings/input/input.h>
19 #include <dt-bindings/leds/common.h>
20 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
21 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
31 chassis-type = "handset";
[all …]
Dsm8150-mtp.dts1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
7 /dts-v1/;
9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
10 #include <dt-bindings/gpio/gpio.h>
18 compatible = "qcom,sm8150-mtp", "qcom,sm8150";
19 chassis-type = "handset";
26 stdout-path = "serial0:115200n8";
29 vph_pwr: vph-pwr-regulator {
30 compatible = "regulator-fixed";
[all …]
Dsm8150-sony-xperia-kumano.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
16 /delete-node/ &cdsp_mem;
17 /delete-node/ &gpu_mem;
18 /delete-node/ &ipa_fw_mem;
19 /delete-node/ &ipa_gsi_mem;
20 /delete-node/ &mpss_mem;
[all …]
Dsm8150-microsoft-surface-duo.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
9 #include <dt-bindings/gpio/gpio.h>
17 compatible = "microsoft,surface-duo", "qcom,sm8150";
18 chassis-type = "handset";
25 stdout-path = "serial0:115200n8";
28 vph_pwr: vph-pwr-regulator {
29 compatible = "regulator-fixed";
30 regulator-name = "vph_pwr";
[all …]
/linux-6.8/include/linux/regulator/
Ddriver.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * driver.h -- SoC Regulator driver support.
9 * Regulator Driver Interface.
18 #include <linux/regulator/consumer.h>
37 /* The regulator is enabled but not regulating */
57 * struct regulator_ops - regulator operations.
59 * @enable: Configure the regulator as enabled.
60 * @disable: Configure the regulator as disabled.
61 * @is_enabled: Return 1 if the regulator is enabled, 0 if not.
64 * @set_voltage: Set the voltage for the regulator within the range specified.
[all …]
/linux-6.8/drivers/iio/adc/
Dti-ads7924.c1 // SPDX-License-Identifier: GPL-2.0
3 * IIO driver for Texas Instruments ADS7924 ADC, 12-bit, 4-Channels, I2C
8 * based on iio/adc/ti-ads1015.c
23 #include <linux/regulator/consumer.h>
98 * The power-up time is allowed to elapse whenever the device has been shutdown
99 * in idle mode. Power-up time can allow external circuits, such as an
103 * If a power-up time is not required, set the bits to '0' to effectively bypass.
105 #define ADS7924_PWRUPTIME_US 0 /* Bypass (0us). */
135 struct regulator *vref_reg;
137 /* GPIO descriptor for device hard-reset pin. */
[all …]
/linux-6.8/sound/soc/codecs/
Dtfa989x.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (C) 2014-2020 NXP Semiconductors, All Rights Reserved.
14 #include <linux/regulator/consumer.h>
61 struct regulator *vddd_supply;
111 gpiod_set_value_cansleep(tfa989x->rcv_gpiod, ucontrol->value.enumerated.item[0]); in tfa989x_put_mode()
126 if (tfa989x->rev->rev == TFA9897_REVISION) in tfa989x_probe()
155 return -EINVAL; in tfa989x_find_sample_rate()
162 struct snd_soc_component *component = dai->component; in tfa989x_hw_params()
179 .name = "tfa989x-hifi",
196 /* temporarily allow access to hidden registers */ in tfa9890_init()
[all …]
Des8328.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * es8328.c -- ES8328 ALSA SoC Audio driver
5 * Copyright 2014 Sutajio Ko-Usagi PTE LTD
16 #include <linux/regulator/consumer.h>
51 /* regulator supplies for sgtl5000, VDDD is an optional external supply */
99 static const DECLARE_TLV_DB_SCALE(play_tlv, -3000, 100, 0);
100 static const DECLARE_TLV_DB_SCALE(dac_adc_tlv, -9600, 50, 0);
101 static const DECLARE_TLV_DB_SCALE(bypass_tlv, -1500, 300, 0);
123 if (es8328->deemph) { in es8328_set_deemph()
126 if (abs(deemph_settings[i].rate - es8328->playback_fs) < in es8328_set_deemph()
[all …]
/linux-6.8/drivers/regulator/
Dcore.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 // core.c -- Voltage/Current Regulator framework.
24 #include <linux/regulator/of_regulator.h>
25 #include <linux/regulator/consumer.h>
26 #include <linux/regulator/coupler.h>
27 #include <linux/regulator/driver.h>
28 #include <linux/regulator/machine.h>
32 #include <trace/events/regulator.h>
58 struct regulator_dev *regulator; member
87 static int _regulator_disable(struct regulator *regulator);
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 menuconfig REGULATOR config
3 bool "Voltage and Current Regulator Support"
6 Generic Voltage and Current Regulator support.
14 The intention is to allow systems to dynamically control regulator
26 if REGULATOR
29 bool "Regulator debug support"
34 tristate "Fixed voltage regulator support"
38 managed regulators and simple non-configurable regulators.
41 tristate "Virtual regulator consumer support"
[all …]
/linux-6.8/arch/arm64/boot/dts/ti/
Dk3-am62-phycore-som.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2022 - 2023 PHYTEC Messtechnik GmbH
7 * https://www.phytec.com/product/phycore-am62x
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/net/ti-dp83867.h>
15 model = "PHYTEC phyCORE-AM62x";
16 compatible = "phytec,am62-phycore-som", "ti,am625";
34 reserved_memory: reserved-memory {
35 #address-cells = <2>;
[all …]
/linux-6.8/Documentation/sound/soc/
Ddapm.rst8 Dynamic Audio Power Management (DAPM) is designed to allow portable
11 such, can easily co-exist with the other PM systems.
60 Audio DAPM widgets fall into a number of types:-
88 Regulator
89 External regulator that supplies power to audio components.
127 (Widgets are defined in include/sound/soc-dapm.h)
130 There are convenience macros defined in soc-dapm.h that can be used to quickly
138 ---------------------
144 Stream widgets have the following format:-
167 -------------------
[all …]

123