| /kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
| D | pmic-cpcap.c | 1 // 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-6.6/arch/arm/mach-omap2/ |
| D | pmic-cpcap.c | 1 // 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/ |
| D | sysfs-class-regulator | 20 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 …]
|
| D | sysfs-class-power | 5 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-5.10/Documentation/devicetree/bindings/clock/ |
| D | nvidia,tegra124-dfll.txt | 4 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-6.6/Documentation/devicetree/bindings/clock/ |
| D | nvidia,tegra124-dfll.txt | 4 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-6.6/Documentation/ABI/testing/ |
| D | sysfs-class-regulator | 20 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 …]
|
| D | sysfs-class-power-ltc4162l | 1 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 …]
|
| D | sysfs-class-power | 5 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-5.10/include/linux/regulator/ |
| D | fixed.h | 1 /* 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-6.6/include/linux/regulator/ |
| D | fixed.h | 1 /* 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-5.10/drivers/regulator/ |
| D | fixed-helper.c | 1 // 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 …]
|
| D | fixed.c | 1 // 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-6.6/drivers/regulator/ |
| D | fixed-helper.c | 1 // SPDX-License-Identifier: GPL-2.0 18 kfree(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 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| D | max8998.txt | 1 * 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-5.10/Documentation/devicetree/bindings/mfd/ |
| D | max8998.txt | 1 * 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-6.6/include/linux/ |
| D | power_supply.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 226 /* Run-time specific power supply configuration */ 344 int ocv; /* microVolts */ 354 int vbat_uv; /* Battery voltage in microvolt */ 359 * struct power_supply_maintenance_charge_table - setting for maintenace charging 363 * reach this voltage the maintenance charging current is turned off. It is 364 * turned back on if we fall below this voltage. 365 * @charge_voltage_max_uv: maintenance charging voltage that is usually a bit 367 * charge_current_max_ua until we get back up to this voltage. 371 * maintenance charge current and voltage pair in respective array and wait [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | pm_opp.h | 1 /* 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-6.6/drivers/hwmon/ |
| D | ltc4215.c | 1 // 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-5.10/drivers/hwmon/ |
| D | ltc4215.c | 1 // 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-5.10/arch/arm64/boot/dts/nvidia/ |
| D | tegra210-p2371-2180.dts | 1 // 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/ |
| D | allwinner,sun4i-a10-lradc-keys.yaml | 1 # 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-6.6/Documentation/devicetree/bindings/iio/adc/ |
| D | aspeed,ast2600-adc.yaml | 1 # 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/ |
| D | max8952.txt | 1 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/ |
| D | allwinner,sun4i-a10-lradc-keys.yaml | 1 # 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 …]
|