Home
last modified time | relevance | path

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

123

/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A 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 …]
H A 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 …]
/openbmc/u-boot/arch/arm/dts/
H A Ddra72-evm-tps65917.dtsi2 * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/
11 * http://www.ti.com/lit/ds/symlink/tps65917-q1.pdf
17 interrupt-controller;
18 #interrupt-cells = <2>;
20 ti,system-power-controller;
23 compatible = "ti,tps65917-pmic";
25 smps1-in-supply = <&vsys_3v3>;
26 smps2-in-supply = <&vsys_3v3>;
27 smps3-in-supply = <&vsys_3v3>;
28 smps4-in-supply = <&vsys_3v3>;
[all …]
H A Ddra76-evm.dts2 * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
8 /dts-v1/;
11 #include "dra7-evm-common.dtsi"
12 #include "dra76x-mmc-iodelay.dtsi"
13 #include <dt-bindings/net/ti-dp83867.h>
17 compatible = "ti,dra76-evm", "ti,dra762", "ti,dra7";
24 vsys_12v0: fixedregulator-vsys12v0 {
26 compatible = "regulator-fixed";
27 regulator-name = "vsys_12v0";
28 regulator-min-microvolt = <12000000>;
[all …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A 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 …]
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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/ &rmtfs_mem;
23 chassis-type = "handset";
[all …]
H A 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 …]
H A Dsm7225-fairphone-fp4.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/leds/common.h>
15 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
16 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
26 chassis-type = "handset";
29 qcom,msm-id = <459 0x10000>;
[all …]
H A Dsm8150-hdk.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 = "qcom,sm8150-hdk", "qcom,sm8150";
18 chassis-type = "embedded";
25 stdout-path = "serial0:115200n8";
28 vph_pwr: vph-pwr-regulator {
29 compatible = "regulator-fixed";
30 regulator-name = "vph_pwr";
[all …]
H A 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 …]
H A 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 …]
/openbmc/linux/include/linux/regulator/
H A 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 */
62 * struct regulator_ops - regulator operations.
64 * @enable: Configure the regulator as enabled.
65 * @disable: Configure the regulator as disabled.
66 * @is_enabled: Return 1 if the regulator is enabled, 0 if not.
69 * @set_voltage: Set the voltage for the regulator within the range specified.
[all …]
/openbmc/linux/drivers/iio/adc/
H A 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 …]
/openbmc/linux/sound/soc/codecs/
H A 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 …]
/openbmc/linux/arch/arm64/boot/dts/ti/
H A 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 …]
/openbmc/linux/drivers/regulator/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 // core.c -- Voltage/Current Regulator framework.
23 #include <linux/regulator/of_regulator.h>
24 #include <linux/regulator/consumer.h>
25 #include <linux/regulator/coupler.h>
26 #include <linux/regulator/driver.h>
27 #include <linux/regulator/machine.h>
31 #include <trace/events/regulator.h>
56 struct regulator_dev *regulator; member
85 static int _regulator_disable(struct regulator *regulator);
[all …]
/openbmc/linux/Documentation/sound/soc/
H A 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