Home
last modified time | relevance | path

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

12

/linux/arch/arm/mach-omap2/
H A 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_uv - 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_uv - convert MAX8952 VSEL value to microvolts DC
[all …]
H A Domap_opp_data.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2009-2010 Texas Instruments Incorporated - https://www.ti.com/
16 #include "voltage.h"
25 * struct omap_opp_def - OMAP OPP Definition
28 * @u_volt: Nominal voltage in microvolts corresponding to this OPP
29 * @default_available: True/false - is this OPP available by default
31 * OMAP SOCs have a standard set of tuples consisting of frequency and voltage
32 * pairs that the device will support per voltage domain. This is called
35 * domain, you can have a set of {frequency, voltage} pairs and this is denoted
39 * which belongs to a voltage domain may define their own set of OPPs on top
[all …]
/linux/Documentation/devicetree/bindings/clock/
H A 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 …]
/linux/Documentation/ABI/testing/
H A 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 …]
H A Dsysfs-class-power-ltc4162l1 What: /sys/class/power_supply/ltc4162-l/charge_status
18 What: /sys/class/power_supply/ltc4162-l/ibat
29 What: /sys/class/power_supply/ltc4162-l/vbat
33 Battery voltage as measured by the charger.
37 Valid values: In microvolts
39 What: /sys/class/power_supply/ltc4162-l/vbat_avg
43 Battery voltage, averaged over time, as measured by the charger.
47 Valid values: In microvolts
49 What: /sys/class/power_supply/ltc4162-l/force_telemetry
55 voltage, current and temperature measurements.
[all …]
/linux/include/linux/regulator/
H A 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)
H A Dgpio-regulator.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * gpio-regulator.h
14 * Roger Quadros <ext-roger.quadros@nokia.com>
27 * struct gpio_regulator_state - state description
28 * @value: microvolts or microamps
29 * @gpios: bitfield of gpio target-states for the value
32 * and the necessary gpio-state to achieve it.
34 * The n-th bit in the bitfield describes the state of the n-th GPIO
35 * from the gpios-array defined in gpio_regulator_config below.
43 * struct gpio_regulator_config - config structure
[all …]
/linux/drivers/regulator/
H A Dfixed-helper.c1 // SPDX-License-Identifier: GPL-2.0
18 kfree_const(data->cfg.supply_name); in regulator_fixed_release()
23 * regulator_register_always_on - register an always-on regulator with a fixed name
28 * @uv: voltage in microvolts
41 data->cfg.supply_name = kstrdup_const(name, GFP_KERNEL); in regulator_register_always_on()
42 if (!data->cfg.supply_name) { in regulator_register_always_on()
47 data->cfg.microvolts = uv; in regulator_register_always_on()
48 data->cfg.enabled_at_boot = 1; in regulator_register_always_on()
49 data->cfg.init_data = &data->init_data; in regulator_register_always_on()
51 data->init_data.constraints.always_on = 1; in regulator_register_always_on()
[all …]
H A 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
55 ret = clk_prepare_enable(priv->enable_clock); in reg_clock_enable()
59 priv->enable_counter++; in reg_clock_enable()
68 clk_disable_unprepare(priv->enable_clock); in reg_clock_disable()
69 priv->enable_counter--; in reg_clock_disable()
77 struct device *dev = rdev->dev.parent; in reg_domain_enable()
80 ret = dev_pm_genpd_set_performance_state(dev, priv->performance_state); in reg_domain_enable()
84 priv->enable_counter++; in reg_domain_enable()
[all …]
H A Dbcm590xx-regulator.c1 // SPDX-License-Identifier: GPL-2.0-or-later
56 * LDO ops without voltage selection, used for MICLDO on BCM59054.
230 /* LDO group A: supported voltages in microvolts */
236 /* LDO group C: supported voltages in microvolts */
242 /* DCDC group CSR: supported voltages in microvolts */
249 /* DCDC group IOSR1: supported voltages in microvolts */
257 /* DCDC group SDSR1: supported voltages in microvolts */
590 /* LDO group 1: supported voltages in microvolts */
596 /* LDO group 2: supported voltages in microvolts */
602 /* LDO group 3: supported voltages in microvolts */
[all …]
H A Dtps65910-regulator.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * tps65910.c -- TI tps65910
29 /* supported VIO voltages in microvolts */
36 /* supported VRTC voltages in microvolts */
41 /* supported VDD3 voltages in microvolts */
46 /* supported VDIG1 voltages in microvolts */
51 /* supported VDIG2 voltages in microvolts */
56 /* supported VPLL voltages in microvolts */
61 /* supported VDAC voltages in microvolts */
66 /* supported VAUX1 voltages in microvolts */
[all …]
/linux/drivers/hwmon/
H A 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 …]
/linux/Documentation/devicetree/bindings/mfd/
H A Dmaxim,max8998.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
13 The Maxim MAX8998 is a Power Management IC which includes voltage/current
15 sub-blocks. It is interfaced using an I2C interface. Each sub-block is
21 - maxim,max8998
22 - national,lp3974
23 - ti,lp3974
31 - description: Main interrupt
[all …]
/linux/rust/kernel/
H A Dregulator.rs1 // SPDX-License-Identifier: GPL-2.0
4 //! voltage and current regulators.
8 //! voltage regulators (where voltage output is controllable) and current sinks
16 //! See [Voltage and current regulator API](https://docs.kernel.org/driver-api/regulator.html)
72 /// Obtains and enables a [`devres`]-managed regulator for a device.
81 /// [`devres`]: https://docs.kernel.org/driver-ap
255 set_voltage(&self, min_voltage: Voltage, max_voltage: Voltage) -> Result set_voltage() argument
267 get_voltage(&self) -> Result<Voltage> get_voltage() argument
269 let voltage = unsafe { bindings::regulator_get_voltage(self.inner.as_ptr()) }; get_voltage() localVariable
406 pub struct Voltage(i32); global() struct
408 impl Voltage { global() implementation
[all...]
/linux/Documentation/devicetree/bindings/display/bridge/
H A Dti,sn65dsi83.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Marek Vasut <marex@denx.de>
13 Texas Instruments SN65DSI83 1x Single-link MIPI DSI
14 to 1x Single-link LVDS
16 Texas Instruments SN65DSI84 1x Single-link MIPI DSI
17 to 1x Dual-link or 2x Single-link LVDS
23 - ti,sn65dsi83
24 - ti,sn65dsi84
[all …]
/linux/Documentation/devicetree/bindings/iio/adc/
H A Daspeed,ast2600-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/aspeed,ast2600-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Billy Tsai <billy_tsai@aspeedtech.com>
13 • 10-bits resolution for 16 voltage channels.
14 • The device split into two individual engine and each contains 8 voltage
16 • Channel scanning can be non-continuous.
21 • Built-in a compensating method.
22 • Built-in a register to trim internal reference voltage.
[all …]
H A Dadi,ad7949.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Charles-Antoine Couret <charles-antoine.couret@essensium.com>
15 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7949.pdf
17 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7682_7689.pdf
22 - adi,ad7682
23 - adi,ad7689
24 - adi,ad7949
29 vrefin-supply:
[all …]
/linux/Documentation/devicetree/bindings/input/
H A 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 - enum:
[all …]
/linux/Documentation/devicetree/bindings/regulator/
H A Dpwm-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/regulator/pwm-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Brian Norris <briannorris@chromium.org>
11 - Lee Jones <lee@kernel.org>
12 - Alexandre Courbot <acourbot@nvidia.com>
17 Voltage Table:
18 When in this mode, a voltage table (See below) of predefined voltage <=>
19 duty-cycle values must be provided via DT. Limitations are that the
[all …]
H A Dgpio-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/regulator/gpio-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Liam Girdwood <lgirdwood@gmail.com>
11 - Mark Brown <broonie@kernel.org>
18 - $ref: regulator.yaml#
22 const: regulator-gpio
24 regulator-name: true
26 enable-gpios:
[all …]
H A Dmaxim,max8952.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Maxim MAX8952 voltage regulator
10 - Krzysztof Kozlowski <krzk@kernel.org>
13 - $ref: regulator.yaml#
19 max8952,default-mode:
23 index of default DVS voltage
25 max8952,dvs-mode-microvolt:
32 Array of 4 integer values defining DVS voltages in microvolts. All values
[all …]
/linux/Documentation/hwmon/
H A Dltc2990.rst11 Addresses scanned: -
19 - Mike Looijmans <mike.looijmans@topic.nl>
20 - Tom Levens <tom.levens@cern.ch>
24 -----------
26 LTC2990 is a Quad I2C Voltage, Current and Temperature Monitor.
28 can be combined to measure a differential voltage, which is typically used to
34 -----------
41 ----------------
44 in0_input Voltage at Vcc pin in millivolt (range 2.5V to 5V)
52 in[1-4]_input Voltage at V[1-4] pin in millivolt
[all …]
H A Dadm1177.rst7 Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf
13 -----------
16 Hot-Swap Controller and Digital Power Monitors with Soft Start Pin.
20 -----------
22 This driver does not auto-detect devices. You will have to instantiate the
23 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst
28 -------------
31 is read-write, all other attributes are read-only.
33 in0_input Measured voltage in microvolts.
/linux/include/linux/
H A Dpm_opp.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2009-2010 Texas Instruments Incorporated.
32 * struct dev_pm_opp_supply - Power supply voltage/current values
33 * @u_volt: Target voltage in microvolts corresponding to this OPP
34 * @u_volt_min: Minimum voltage i
[all...]
/linux/Documentation/devicetree/bindings/power/supply/
H A Dbattery.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
14 In smart batteries, these are typically stored in non-volatile memory
16 no appropriate non-volatile memory, or it is unprogrammed/incorrect.
27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle.
28 The phandle's property should be named "monitored-battery".
32 const: simple-battery
34 device-chemistry:
[all …]

12