Home
last modified time | relevance | path

Searched +full:voltage +full:- +full:microvolts (Results 1 – 25 of 101) sorted by relevance

12345

/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Dpmic-cpcap.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pmic-cpcap.c - CPCAP-specific functions for the OPP code
15 #include "voltage.h"
21 * omap_cpcap_vsel_to_vdc - convert CPCAP VSEL value to microvolts DC
24 * Returns the microvolts DC that the CPCAP PMIC should generate when
35 * omap_cpcap_uv_to_vsel - convert microvolts DC to CPCAP VSEL value
36 * @uv: microvolts DC to convert
39 * generate an output voltage equal to or greater than @uv microvolts DC.
47 return DIV_ROUND_UP(uv - 600000, 12500); in omap_cpcap_uv_to_vsel()
85 * omap_max8952_vsel_to_vdc - convert MAX8952 VSEL value to microvolts DC
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-regulator20 supplying power to the system (unless some non-Linux
26 NOTE: this field can be used in conjunction with microvolts
38 - off
39 - on
40 - error
41 - fast
42 - normal
43 - idle
44 - standby
52 "error" indicates an out-of-regulation status such as being
[all …]
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 …]
/kernel/linux/linux-4.19/Documentation/ABI/testing/
Dsysfs-class-regulator20 supplying power to the system (unless some non-Linux
26 NOTE: this field can be used in conjunction with microvolts
52 "error" indicates an out-of-regulation status such as being
53 disabled due to thermal shutdown, or voltage being unstable
77 'voltage'
81 'voltage' means the regulator output voltage can be controlled
87 'unknown' means software cannot control either voltage or
91 What: /sys/class/regulator/.../microvolts
97 microvolts. This holds the regulator output voltage setting
98 measured in microvolts (i.e. E-6 Volts), for regulators
[all …]
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
47 Valid values: 0 - 100 (percent)
51 Contact: linux-pm@vger.kernel.org
53 Maximum battery capacity trip-wire value where the supply will
54 notify user-space of the event. This is normally used for the
55 battery discharging scenario where user-space needs to know the
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Dnvidia,tegra124-dfll.txt4 Documentation/devicetree/bindings/clock/clock-bindings.txt
7 the fast CPU cluster. It consists of a free-running voltage controlled
8 oscillator connected to the CPU voltage rail (VDD_CPU), and a closed loop
9 control module that will automatically adjust the VDD_CPU voltage by
10 communicating with an off-chip PMIC either via an I2C bus or via PWM signals.
13 - compatible : should be one of:
14 - "nvidia,tegra124-dfll": for Tegra124
15 - "nvidia,tegra210-dfll": for Tegra210
16 - reg : Defines the following set of registers, in the order listed:
17 - registers for the DFLL control logic.
[all …]
/kernel/linux/linux-5.10/include/linux/regulator/
Dfixed.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
10 * Roger Quadros <ext-roger.quadros@nokia.com>
19 * struct fixed_voltage_config - fixed_voltage_config structure
22 * @microvolts: Output voltage of regulator
23 * @startup_delay: Start-up time in microseconds
30 * This structure contains fixed voltage regulator configuration
32 * voltage regulator driver.
37 int microvolts; member
58 "fixed-dummy", s, ns, 0)
/kernel/linux/linux-4.19/include/linux/regulator/
Dfixed.h9 * Roger Quadros <ext-roger.quadros@nokia.com>
23 * struct fixed_voltage_config - fixed_voltage_config structure
26 * @microvolts: Output voltage of regulator
28 * set to -EINVAL if not used
29 * @startup_delay: Start-up time in microseconds
32 * through PULL-UP with setting gpio as input
33 * and low will be set as gpio-output with driven
34 * to low. For non-open-drain case, the gpio will
44 * This structure contains fixed voltage regulator configuration
46 * voltage regulator driver.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dmax8998.txt1 * Maxim MAX8998, National/TI LP3974 multi-function device
3 The Maxim MAX8998 is a multi-function device which includes voltage/current
5 other sub-blocks. It is interfaced using an I2C interface. Each sub-block
8 PMIC sub-block
9 --------------
11 The PMIC sub-block contains a number of voltage and current regulators,
12 with controllable parameters and dynamic voltage scaling capability.
17 - compatible: Should be one of the following:
18 - "maxim,max8998" for Maxim MAX8998
19 - "national,lp3974" or "ti,lp3974" for National/TI LP3974.
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/mfd/
Dmax8998.txt1 * Maxim MAX8998, National/TI LP3974 multi-function device
3 The Maxim MAX8998 is a multi-function device which includes voltage/current
5 other sub-blocks. It is interfaced using an I2C interface. Each sub-block
8 PMIC sub-block
9 --------------
11 The PMIC sub-block contains a number of voltage and current regulators,
12 with controllable parameters and dynamic voltage scaling capability.
17 - compatible: Should be one of the following:
18 - "maxim,max8998" for Maxim MAX8998
19 - "national,lp3974" or "ti,lp3974" for National/TI LP3974.
[all …]
/kernel/linux/linux-4.19/drivers/regulator/
Dfixed-helper.c1 // SPDX-License-Identifier: GPL-2.0
18 kfree(data->cfg.supply_name); in regulator_fixed_release()
23 * regulator_register_fixed_name - register a no-op fixed regulator
28 * @uv: voltage in microvolts
39 data->cfg.supply_name = kstrdup(name, GFP_KERNEL); in regulator_register_always_on()
40 if (!data->cfg.supply_name) { in regulator_register_always_on()
45 data->cfg.microvolts = uv; in regulator_register_always_on()
46 data->cfg.gpio = -EINVAL; in regulator_register_always_on()
47 data->cfg.enabled_at_boot = 1; in regulator_register_always_on()
48 data->cfg.init_data = &data->init_data; in regulator_register_always_on()
[all …]
Dfixed.c9 * Roger Quadros <ext-roger.quadros@nokia.com>
17 * non-controllable regulators, as well as for allowing testing on
41 * of_get_fixed_voltage_config - extract fixed_voltage_config structure info
54 struct device_node *np = dev->of_node; in of_get_fixed_voltage_config()
60 return ERR_PTR(-ENOMEM); in of_get_fixed_voltage_config()
62 config->init_data = of_get_regulator_init_data(dev, dev->of_node, desc); in of_get_fixed_voltage_config()
63 if (!config->init_data) in of_get_fixed_voltage_config()
64 return ERR_PTR(-EINVAL); in of_get_fixed_voltage_config()
66 init_data = config->init_data; in of_get_fixed_voltage_config()
67 init_data->constraints.apply_uV = 0; in of_get_fixed_voltage_config()
[all …]
/kernel/linux/linux-5.10/drivers/regulator/
Dfixed-helper.c1 // SPDX-License-Identifier: GPL-2.0
18 kfree(data->cfg.supply_name); in regulator_fixed_release()
23 * regulator_register_fixed_name - register a no-op fixed regulator
28 * @uv: voltage in microvolts
39 data->cfg.supply_name = kstrdup(name, GFP_KERNEL); in regulator_register_always_on()
40 if (!data->cfg.supply_name) { in regulator_register_always_on()
45 data->cfg.microvolts = uv; in regulator_register_always_on()
46 data->cfg.enabled_at_boot = 1; in regulator_register_always_on()
47 data->cfg.init_data = &data->init_data; in regulator_register_always_on()
49 data->init_data.constraints.always_on = 1; in regulator_register_always_on()
[all …]
Dfixed.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 * Roger Quadros <ext-roger.quadros@nokia.com>
13 * non-controllable regulators, as well as for allowing testing on
49 ret = clk_prepare_enable(priv->enable_clock); in reg_clock_enable()
53 priv->clk_enable_counter++; in reg_clock_enable()
62 clk_disable_unprepare(priv->enable_clock); in reg_clock_disable()
63 priv->clk_enable_counter--; in reg_clock_disable()
72 return priv->clk_enable_counter > 0; in reg_clock_is_enabled()
77 * of_get_fixed_voltage_config - extract fixed_voltage_config structure info
90 struct device_node *np = dev->of_node; in of_get_fixed_voltage_config()
[all …]
/kernel/linux/linux-4.19/include/linux/
Dpm_opp.h4 * Copyright (C) 2009-2010 Texas Instruments Incorporated.
31 * struct dev_pm_opp_supply - Power supply voltage/current values
32 * @u_volt: Target voltage in microvolts corresponding to this OPP
33 * @u_volt_min: Minimum voltage in microvolts corresponding to this OPP
34 * @u_volt_max: Maximum voltage in microvolts corresponding to this OPP
37 * This structure stores the voltage/current values for a single power supply.
47 * struct dev_pm_opp_info - OPP freq/voltage/current values
49 * @supplies: Array of voltage/current values for all power supplies
51 * This structure stores the freq/voltage/current values for a single OPP.
59 * struct dev_pm_set_opp_data - Set OPP data
[all …]
/kernel/linux/linux-5.10/include/linux/
Dpm_opp.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2009-2010 Texas Instruments Incorporated.
30 * struct dev_pm_opp_supply - Power supply voltage/current values
31 * @u_volt: Target voltage in microvolts corresponding to this OPP
32 * @u_volt_min: Minimum voltage in microvolts corresponding to this OPP
33 * @u_volt_max: Maximum voltage in microvolts corresponding to this OPP
36 * This structure stores the voltage/current values for a single power supply.
46 * struct dev_pm_opp_icc_bw - Interconnect bandwidth values
58 * struct dev_pm_opp_info - OPP freq/voltage/current values
60 * @supplies: Array of voltage/current values for all power supplies
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
Dltc4215.c1 // SPDX-License-Identifier: GPL-2.0-only
18 #include <linux/hwmon-sysfs.h>
46 struct i2c_client *client = data->client; in ltc4215_update_device()
50 mutex_lock(&data->update_lock); in ltc4215_update_device()
53 if (time_after(jiffies, data->last_updated + HZ / 10) || !data->valid) { in ltc4215_update_device()
55 dev_dbg(&client->dev, "Starting ltc4215 update\n"); in ltc4215_update_device()
58 for (i = 0; i < ARRAY_SIZE(data->regs); i++) { in ltc4215_update_device()
61 data->regs[i] = 0; in ltc4215_update_device()
63 data->regs[i] = val; in ltc4215_update_device()
66 data->last_updated = jiffies; in ltc4215_update_device()
[all …]
/kernel/linux/linux-4.19/drivers/hwmon/
Dltc4215.c21 #include <linux/hwmon-sysfs.h>
49 struct i2c_client *client = data->client; in ltc4215_update_device()
53 mutex_lock(&data->update_lock); in ltc4215_update_device()
56 if (time_after(jiffies, data->last_updated + HZ / 10) || !data->valid) { in ltc4215_update_device()
58 dev_dbg(&client->dev, "Starting ltc4215 update\n"); in ltc4215_update_device()
61 for (i = 0; i < ARRAY_SIZE(data->regs); i++) { in ltc4215_update_device()
64 data->regs[i] = 0; in ltc4215_update_device()
66 data->regs[i] = val; in ltc4215_update_device()
69 data->last_updated = jiffies; in ltc4215_update_device()
70 data->valid = 1; in ltc4215_update_device()
[all …]
/kernel/linux/linux-4.19/Documentation/hwmon/
Dltc29907 Addresses scanned: -
15 -----------
17 LTC2990 is a Quad I2C Voltage, Current and Temperature Monitor.
19 can be combined to measure a differential voltage, which is typically used to
25 -----------
32 ----------------
34 in0_input Voltage at Vcc pin in millivolt (range 2.5V to 5V)
40 in[1-4]_input Voltage at V[1-4] pin in millivolt
43 curr1_input Current in mA across V1-V2 assuming a 1mOhm sense resistor
44 curr2_input Current in mA across V3-V4 assuming a 1mOhm sense resistor
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/nvidia/
Dtegra210-p2371-2180.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "tegra210-p2180.dtsi"
5 #include "tegra210-p2597.dtsi"
9 compatible = "nvidia,p2371-2180", "nvidia,tegra210";
14 avdd-pll-uerefe-supply = <&avdd_1v05_pll>;
15 hvddio-pex-supply = <&vdd_1v8>;
16 dvddio-pex-supply = <&vdd_pex_1v05>;
17 dvdd-pex-pll-supply = <&vdd_pex_1v05>;
18 hvdd-pex-pll-e-supply = <&vdd_1v8>;
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/
Dallwinner,sun4i-a10-lradc-keys.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/input/allwinner,sun4i-a10-lradc-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
16 - const: allwinner,sun4i-a10-lradc-keys
17 - const: allwinner,sun8i-a83t-r-lradc
18 - items:
19 - const: allwinner,sun50i-a64-lradc
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
Dmax8952.txt1 Maxim MAX8952 voltage regulator
4 - compatible: must be equal to "maxim,max8952"
5 - reg: I2C slave address, usually 0x60
6 - max8952,dvs-mode-microvolt: array of 4 integer values defining DVS voltages
7 in microvolts. All values must be from range <770000, 1400000>
8 - any required generic properties defined in regulator.txt
11 - max8952,vid-gpios: array of two GPIO pins used for DVS voltage selection
12 - max8952,en-gpio: GPIO used to control enable status of regulator
13 - max8952,default-mode: index of default DVS voltage, from <0, 3> range
14 - max8952,sync-freq: sync frequency, must be one of following values:
[all …]
Dpwm-regulator.txt6 Voltage Table: When in this mode, a voltage table (See below) of
7 predefined voltage <=> duty-cycle values must be
10 Intermediary duty-cycle values which would normally
11 allow finer grained voltage selection are ignored and
13 the user if the assumptions made in continuous-voltage
16 Continuous Voltage: This mode uses the regulator's maximum and minimum
18 regulator-{min,max}-microvolt properties to calculate
19 appropriate duty-cycle values. This allows for a much
21 voltage-table mode above. This solution does make an
22 assumption that a %50 duty-cycle value will cause the
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/regulator/
Dmax8952.txt1 Maxim MAX8952 voltage regulator
4 - compatible: must be equal to "maxim,max8952"
5 - reg: I2C slave address, usually 0x60
6 - max8952,dvs-mode-microvolt: array of 4 integer values defining DVS voltages
7 in microvolts. All values must be from range <770000, 1400000>
8 - any required generic properties defined in regulator.txt
11 - max8952,vid-gpios: array of two GPIO pins used for DVS voltage selection
12 - max8952,en-gpio: GPIO used to control enable status of regulator
13 - max8952,default-mode: index of default DVS voltage, from <0, 3> range
14 - max8952,sync-freq: sync frequency, must be one of following values:
[all …]
Dpwm-regulator.txt6 Voltage Table: When in this mode, a voltage table (See below) of
7 predefined voltage <=> duty-cycle values must be
10 Intermediary duty-cycle values which would normally
11 allow finer grained voltage selection are ignored and
13 the user if the assumptions made in continuous-voltage
16 Continuous Voltage: This mode uses the regulator's maximum and minimum
18 regulator-{min,max}-microvolt properties to calculate
19 appropriate duty-cycle values. This allows for a much
21 voltage-table mode above. This solution does make an
22 assumption that a %50 duty-cycle value will cause the
[all …]

12345