/openbmc/linux/drivers/regulator/ |
H A D | Kconfig | 1 # 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 15 output in order to save power and prolong battery life. This applies 16 to both voltage regulators (where voltage output is controllable) and 17 current sinks (where current output is controllable). 26 if REGULATOR 29 bool "Regulator debug support" [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-regulator | 1 What: /sys/class/regulator/.../state 6 Some regulator directories will contain a field called 7 state. This reports the regulator enable control, for 16 'enabled' means the regulator output is ON and is supplying 19 'disabled' means the regulator output is OFF and is not 20 supplying power to the system (unless some non-Linux 27 or microamps to determine configured regulator output levels. 30 What: /sys/class/regulator/.../status 32 Some regulator directories will contain a field called 33 "status". This reports the current regulator status, for [all …]
|
/openbmc/u-boot/include/power/ |
H A D | regulator.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Copyright (C) 2014-2015 Samsung Electronics 11 * U-Boot Voltage/Current Regulator 14 * The regulator API is based on a driver model, with the device tree support. 16 * 'UCLASS_REGULATOR' and the regulator driver API. 18 * The regulator uclass - is based on uclass platform data which is allocated, 19 * automatically for each regulator device on bind and 'dev->uclass_platdata' 21 * The uclass file: 'drivers/power/regulator/regulator-uclass.c' 23 * The regulator device - is based on driver's model 'struct udevice'. 24 * The API can use regulator name in two meanings: [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8996-sony-xperia-tone.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/leds/common.h> 15 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 16 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 18 /delete-node/ &adsp_mem; 19 /delete-node/ &slpi_mem; 20 /delete-node/ &venus_mem; 21 /delete-node/ &gpu_mem; [all …]
|
/openbmc/linux/Documentation/power/regulator/ |
H A D | overview.rst | 2 Linux voltage and current regulator framework 11 The intention is to allow systems to dynamically control regulator power output 13 regulators (where voltage output is controllable) and current sinks (where 26 - Regulator 27 - Electronic device that supplies power to other devices. 28 Most regulators can enable and disable their output while 29 some can control their output voltage and or current. 31 Input Voltage -> Regulator -> Output Voltage 34 - PMIC 35 - Power Management IC. An IC that contains numerous [all …]
|
H A D | consumer.rst | 2 Regulator Consumer Driver Interface 5 This text describes the regulator interface for consumer device drivers. 9 1. Consumer Regulator Access (static & dynamic drivers) 12 A consumer driver can get access to its supply regulator by calling :: 14 regulator = regulator_get(dev, "Vcc"); 17 then finds the correct regulator by consulting a machine specific lookup table. 19 regulator that supplies this consumer. 21 To release the regulator the consumer driver should call :: 23 regulator_put(regulator); 25 Consumers can be supplied by more than one regulator e.g. codec consumer with [all …]
|
/openbmc/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-ibm-sbp1.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 4 #include <dt-bindings/gpio/aspeed-gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/i2c/i2c.h> 9 #include "aspeed-g6.dtsi" 13 compatible = "ibm,sbp1-bmc", "aspeed,ast2600"; 16 stdout-path = &uart1; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | regulator-output.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $id: http://devicetree.org/schemas/regulator/regulator-output.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Regulator output connector 11 - Zev Weiss <zev@bewilderbeest.net> 14 This describes a power output connector supplied by a regulator, 22 const: regulator-output 24 vout-supply: 26 Phandle of the regulator supplying the output. [all …]
|
H A D | ltc3589.txt | 1 Linear Technology LTC3589, LTC3589-1, and LTC3589-2 8-output regulators 4 - compatible: "lltc,ltc3589", "lltc,ltc3589-1" or "lltc,ltc3589-2" 5 - reg: I2C slave address 8 - regulators: Contains eight regulator child nodes sw1, sw2, sw3, bb-out, 10 documented in Documentation/devicetree/bindings/regulator/regulator.txt. 12 Each regulator is defined using the standard binding for regulators. The 13 nodes for sw1, sw2, sw3, bb-out, ldo1, and ldo2 additionally need to specify 17 - lltc,fb-voltage-divider: An array of two integers containing the resistor 21 0.3625 V to 0.75 V in 12.5 mV steps. The output voltage thus ranges between 22 0.3625 * (1 + R1/R2) V and 0.75 * (1 + R1/R2) V. Regulators bb-out and ldo1 [all …]
|
H A D | qcom,usb-vbus-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/regulator/qcom,usb-vbus-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: The Qualcomm PMIC VBUS output regulator driver 10 - Wesley Cheng <quic_wcheng@quicinc.com> 13 This regulator driver controls the VBUS output by the Qualcomm PMIC. This 14 regulator will be enabled in situations where the device is required to 18 - $ref: regulator.yaml# 23 - qcom,pm8150b-vbus-reg [all …]
|
H A D | ltc3676.txt | 1 Linear Technology LTC3676 8-output regulators 4 - compatible: "lltc,ltc3676" 5 - reg: I2C slave address 8 - regulators: Contains eight regulator child nodes sw1, sw2, sw3, sw4, 10 documented in Documentation/devicetree/bindings/regulator/regulator.txt. 12 Each regulator is defined using the standard binding for regulators. The 17 - lltc,fb-voltage-divider: An array of two integers containing the resistor 21 412.5mV to 800mV in 12.5 mV steps. The output voltage thus ranges between 24 Regulators ldo1, ldo2, and ldo4 have a fixed 0.725 V reference and thus output 25 0.725 * (1 + R1/R2) V. The ldo3 regulator is fixed to 1.8 V. The ldo1 standby [all …]
|
/openbmc/linux/include/linux/regulator/ |
H A D | consumer.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * consumer.h -- SoC Regulator consumer support. 9 * Regulator Consumer Interface. 11 * A Power Management Regulator framework for SoC based devices. 12 * Features:- 15 * o Regulator status. 19 * Dynamic Regulator operating Mode Switching (DRMS) - allows regulators 23 * e.g. Devices x,y,z share regulator r. Device x and y draw 20mA each during 25 * idling. Regulator r has > 90% efficiency in NORMAL mode at loads > 100mA 26 * but this drops rapidly to 60% when below 100mA. Regulator r has > 90% [all …]
|
/openbmc/u-boot/test/dm/ |
H A D | regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Tests for the driver model regulator API 14 #include <dm/device-internal.h> 18 #include <dm/uclass-internal.h> 20 #include <power/regulator.h> 48 /* Test regulator get method */ 60 * Do the test for each regulator's devname and platname, in dm_test_power_regulator_get() 71 ut_asserteq_str(devname, dev_by_devname->name); in dm_test_power_regulator_get() 80 ut_asserteq_str(platname, uc_pdata->name); in dm_test_power_regulator_get() 84 * points to the same regulator device. in dm_test_power_regulator_get() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | rockchip,rk809.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chris Zhong <zyw@rock-chips.com> 11 - Zhang Qing <zhangqing@rock-chips.com> 20 - rockchip,rk809 28 '#clock-cells': 30 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 34 clock-output-names: 36 From common clock binding to override the default output clock name. [all …]
|
H A D | rockchip,rk805.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chris Zhong <zyw@rock-chips.com> 11 - Zhang Qing <zhangqing@rock-chips.com> 20 - rockchip,rk805 28 '#clock-cells': 30 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 34 clock-output-names: 36 From common clock binding to override the default output clock name. [all …]
|
/openbmc/linux/arch/arm/boot/dts/rockchip/ |
H A D | rk3288-r89.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/pwm/pwm.h> 20 ext_gmac: external-gmac-clock { 21 compatible = "fixed-clock"; 22 clock-frequency = <125000000>; 23 clock-output-names = "ext_gmac"; 24 #clock-cells = <0>; 27 gpio-keys { [all …]
|
H A D | rk3288-firefly-reload-core.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/input/input.h> 16 ext_gmac: external-gmac-clock { 17 compatible = "fixed-clock"; 18 #clock-cells = <0>; 19 clock-frequency = <125000000>; 20 clock-output-names = "ext_gmac"; 24 vcc_flash: flash-regulator { 25 compatible = "regulator-fixed"; 26 regulator-name = "vcc_flash"; [all …]
|
H A D | rk3288-miqi.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/input/input.h> 15 stdout-path = "serial2:115200n8"; 23 ext_gmac: external-gmac-clock { 24 compatible = "fixed-clock"; 25 #clock-cells = <0>; 26 clock-frequency = <125000000>; 27 clock-output-names = "ext_gmac"; 31 compatible = "gpio-leds"; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-am625-sk.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2021-2022 Texas Instruments Incorporated - https://www.ti.com/ 8 /dts-v1/; 10 #include "k3-am62x-sk-common.dtsi" 13 compatible = "ti,am625-sk", "ti,am625"; 16 opp-table { 17 /* Add 1.4GHz OPP for am625-sk board. Requires VDD_CORE to be at 0.85V */ 18 opp-1400000000 { 19 opp-hz = /bits/ 64 <1400000000>; 20 opp-supported-hw = <0x01 0x0004>; [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | rk3288-miqi.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR X11 14 ext_gmac: external-gmac-clock { 15 compatible = "fixed-clock"; 16 #clock-cells = <0>; 17 clock-frequency = <125000000>; 18 clock-output-names = "ext_gmac"; 21 io_domains: io-domains { 22 compatible = "rockchip,rk3288-io-voltage-domain"; 25 audio-supply = <&vcca_33>; 26 flash0-supply = <&vcc_flash>; [all …]
|
H A D | rk3288-fennec.dtsi | 2 * This file is dual-licensed: you can use it either under the terms 49 ext_gmac: external-gmac-clock { 50 compatible = "fixed-clock"; 51 #clock-cells = <0>; 52 clock-frequency = <125000000>; 53 clock-output-names = "ext_gmac"; 56 vcc_sys: vsys-regulator { 57 compatible = "regulator-fixed"; 58 regulator-name = "vcc_sys"; 59 regulator-min-microvolt = <5000000>; [all …]
|
H A D | rk3288-firefly.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR X11 13 ext_gmac: external-gmac-clock { 14 compatible = "fixed-clock"; 15 #clock-cells = <0>; 16 clock-frequency = <125000000>; 17 clock-output-names = "ext_gmac"; 20 ir: ir-receiver { 21 compatible = "gpio-ir-receiver"; 22 pinctrl-names = "default"; 23 pinctrl-0 = <&ir_int>; [all …]
|
H A D | rk3288-evb.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR X11 13 ext_gmac: external-gmac-clock { 14 compatible = "fixed-clock"; 15 #clock-cells = <0>; 16 clock-frequency = <125000000>; 17 clock-output-names = "ext_gmac"; 20 keys: gpio-keys { 21 compatible = "gpio-keys"; 24 gpio-key,wakeup = <1>; 28 pinctrl-names = "default"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | tlv320aic31xx.txt | 1 Texas Instruments - tlv320aic31xx Codec module 7 - compatible - "string" - One of: 8 "ti,tlv320aic310x" - Generic TLV320AIC31xx with mono speaker amp 9 "ti,tlv320aic311x" - Generic TLV320AIC31xx with stereo speaker amp 10 "ti,tlv320aic3100" - TLV320AIC3100 (mono speaker amp, no MiniDSP) 11 "ti,tlv320aic3110" - TLV320AIC3110 (stereo speaker amp, no MiniDSP) 12 "ti,tlv320aic3120" - TLV320AIC3120 (mono speaker amp, MiniDSP) 13 "ti,tlv320aic3111" - TLV320AIC3111 (stereo speaker amp, MiniDSP) 14 "ti,tlv320dac3100" - TLV320DAC3100 (no ADC, mono speaker amp, no MiniDSP) 15 "ti,tlv320dac3101" - TLV320DAC3101 (no ADC, stereo speaker amp, no MiniDSP) [all …]
|
/openbmc/linux/arch/arm64/boot/dts/renesas/ |
H A D | ulcb-kf.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 18 #clock-cells = <0>; 19 compatible = "gpio-mux-clock"; 21 select-gpios = <&gpio_exp_75 13 GPIO_ACTIVE_HIGH>; 24 hdmi1-out { 25 compatible = "hdmi-connector"; 30 remote-endpoint = <&adv7513_out>; 35 accel_3v3: regulator-acc-3v3 { 36 compatible = "regulator-fixed"; 37 regulator-name = "accel-3v3"; [all …]
|