Home
last modified time | relevance | path

Searched +full:over +full:- +full:volt (Results 1 – 25 of 39) sorted by relevance

12

/linux/Documentation/devicetree/bindings/power/supply/
H A Dmaxim,max17042.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
18 - maxim,max17042
19 - maxim,max17047
20 - maxim,max17050
21 - maxim,max17055
22 - maxim,max77849-battery
[all …]
H A Dbq25980.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Andrew Davis <afd@ti.com>
15 for use in high-power density portable electronics. These inductorless
16 switching chargers can provide over 97% efficiency by making use of the
20 - $ref: power-supply.yaml#
25 - ti,bq25980
26 - ti,bq25975
27 - ti,bq25960
[all …]
/linux/Documentation/hwmon/
H A Dabituguru-datasheet.rst14 Olle Sandberg <ollebull@gmail.com>, 2005-05-25
27 Hans de Goede <j.w.r.degoede@hhs.nl>, 28-01-2006
33 As far as known the uGuru is always placed at and using the (ISA) I/O-ports
34 0xE0 and 0xE4, so we don't have to scan any port-range, just check what the two
35 ports are holding for detection. We will refer to 0xE0 as CMD (command-port)
39 present. We have to check for two different values at data-port, because
41 later on attached again data-port will hold 0x08, more about this later.
57 ----------
82 -----------
101 ----------------------------------------------
[all …]
H A Dgl518sm.rst21 - Frodo Looijaard <frodol@dds.nl>,
22 - Kyösti Mälkki <kmalkki@cc.hut.fi>
23 - Hong-Gunn Chew <hglinux@gunnet.org>
24 - Jean Delvare <jdelvare@suse.de>
27 -----------
44 temperature is above the over temperature limit, and has not yet dropped
46 situation. Measurements are guaranteed between -10 degrees and +110
47 degrees, with a accuracy of +/-3 degrees.
62 measures voltages between 0.000 and 5.865 volt, with a resolution of 0.023
63 volt. The other inputs measure voltages between 0.000 and 4.845 volt, with
[all …]
H A Dadm9240.rst10 Addresses scanned: I2C 0x2c - 0x2f
20 Addresses scanned: I2C 0x2c - 0x2f
24 http://pdfserv.maxim-ic.com/en/ds/DS1780.pdf
30 Addresses scanned: I2C 0x2c - 0x2f
37 - Frodo Looijaard <frodol@dds.nl>,
38 - Philip Edelbrock <phil@netroedge.com>,
39 - Michiel Rook <michiel@grendelproject.nl>,
40 - Grant Coady <gcoady.lk@gmail.com> with guidance
44 ---------
46 chip MSB 5-bit address. Each chip reports a unique manufacturer
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-motorola-surnia.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-motorola-common.dtsi"
10 chassis-type = "handset";
20 interrupts-extended = <&tlmm 12 IRQ_TYPE_EDGE_FALLING>;
22 pinctrl-0 = <&battery_alert_default>;
23 pinctrl-names = "default";
25 maxim,rsns-microohm = <10000>;
26 maxim,over-heat-temp = <600>;
27 maxim,cold-temp = <(-200)>;
[all …]
H A Dmsm8916-motorola-osprey.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-motorola-common.dtsi"
10 chassis-type = "handset";
12 reg_touch_vdda: regulator-touch-vdda {
13 compatible = "regulator-fixed";
14 regulator-name = "touch_vdda";
16 enable-active-high;
17 pinctrl-0 = <&touch_vdda_default>;
18 pinctrl-names = "default";
[all …]
H A Dmsm8916-motorola-harpia.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-motorola-common.dtsi"
10 chassis-type = "handset";
20 interrupts-extended = <&tlmm 62 IRQ_TYPE_EDGE_FALLING>;
22 pinctrl-0 = <&battery_alert_default>;
23 pinctrl-names = "default";
25 maxim,rsns-microohm = <10000>;
26 maxim,over-heat-temp = <600>;
27 maxim,cold-temp = <(-200)>;
[all …]
H A Dmsm8916-samsung-gt5-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-pm8916.dtsi"
6 #include "msm8916-modem-qdsp6.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/sound/apq8016-lpass.h>
21 stdout-path = "serial0";
24 reserved-memory {
[all …]
/linux/drivers/power/supply/
H A Dug3105_battery.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Note the uG3105 is not a full-featured autonomous fuel-gauge. Instead it is
7 * its coulomb-counter before it can wrap (must be read every 400 seconds!).
9 * Since Linux does not monitor coulomb-counter changes while the device
20 * the actual capacity of the battery over reboots
23 * and then use total_coulomb_count to report energy_now over time, resetting
25 * readings, esp. in the 30-70% range and allow userspace to estimate time
28 * capacity during run-time ?
32 * in a total_coulomb_count increase of 3277 units with a 5 milli-ohm sense R.
37 #include <linux/devm-helpers.h>
[all …]
H A Dmax17042_battery.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <linux/devm-helpers.h>
98 struct regmap *map = chip->regmap; in max17042_get_temperature()
105 /* The value is converted into deci-centigrade scale */ in max17042_get_temperature()
117 ret = power_supply_am_i_supplied(chip->battery); in max17042_get_status()
128 * The MAX170xx has builtin end-of-charge detection and will update in max17042_get_status()
133 * continuously once end-of-charge detection kicks in, so allow the in max17042_get_status()
137 ret = regmap_read(chip->regmap, MAX17042_FullCAP, &charge_full); in max17042_get_status()
141 ret = regmap_read(chip->regmap, MAX17042_RepCap, &charge_now); in max17042_get_status()
145 if ((charge_full - charge_now) <= MAX17042_FULL_THRESHOLD) { in max17042_get_status()
[all …]
H A Dbq27xxx_battery.c1 // SPDX-License-Identifier: GPL-2.0
7 * Copyright (C) 2010-2011 Lars-Peter Clausen <lars@metafoo.de>
19 * https://www.ti.com/product/bq27510-g1
20 * https://www.ti.com/product/bq27510-g2
21 * https://www.ti.com/product/bq27510-g3
22 * https://www.ti.com/product/bq27520-g1
23 * https://www.ti.com/product/bq27520-g2
24 * https://www.ti.com/product/bq27520-g3
25 * https://www.ti.com/product/bq27520-g4
26 * https://www.ti.com/product/bq27530-g1
[all …]
/linux/drivers/regulator/
H A Dda9055-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
70 struct da9055_volt_reg volt; member
84 const struct da9055_regulator_info *info = regulator->info; in da9055_buck_get_mode()
87 ret = da9055_reg_read(regulator->da9055, info->mode.reg); in da9055_buck_get_mode()
91 switch ((ret & info->mode.mask) >> info->mode.shift) { in da9055_buck_get_mode()
110 const struct da9055_regulator_info *info = regulator->info; in da9055_buck_set_mode()
115 val = DA9055_BUCK_MODE_SYNC << info->mode.shift; in da9055_buck_set_mode()
118 val = DA9055_BUCK_MODE_AUTO << info->mode.shift; in da9055_buck_set_mode()
121 val = DA9055_BUCK_MODE_SLEEP << info->mode.shift; in da9055_buck_set_mode()
125 return da9055_reg_update(regulator->da9055, info->mode.reg, in da9055_buck_set_mode()
[all …]
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Dsmu_v14_0_2_pptable.h43 // SMU_14_0_2_PP_THERMALCONTROLLER - Thermal Controller Type
68 …NGINE = 1 << SMU_14_0_2_ODCAP_AUTO_UV_ENGINE, // Auto Under Volt GFXCLK
69 …NGINE = 1 << SMU_14_0_2_ODCAP_AUTO_OC_ENGINE, // Auto Over Clock GFXCLK
70 …_MEMORY = 1 << SMU_14_0_2_ODCAP_AUTO_OC_MEMORY, // Auto Over Clock MCLK
74 …UV = 1 << SMU_14_0_2_ODCAP_AUTO_SOC_UV, // Auto Unver Volt VDDSOC
169 … // PPTable_t in driver_if.h -- as requested by PMFW, this offset should start a…
H A Dsmu_v11_0_pptable.h37 // SMU_11_0_PP_THERMALCONTROLLER - Thermal Controller Type
72 …TO_UV_ENGINE = 1 << SMU_11_0_ODCAP_AUTO_UV_ENGINE, //Auto Under Volt GFXCLK feature
73 …TO_OC_ENGINE = 1 << SMU_11_0_ODCAP_AUTO_OC_ENGINE, //Auto Over Clock GFXCLK feature
74 …AUTO_OC_MEMORY = 1 << SMU_11_0_ODCAP_AUTO_OC_MEMORY, //Auto Over Clock MCLK feature
H A Dsmu_v13_0_pptable.h37 // SMU_13_0_PP_THERMALCONTROLLER - Thermal Controller Type
72 …TO_UV_ENGINE = 1 << SMU_13_0_ODCAP_AUTO_UV_ENGINE, //Auto Under Volt GFXCLK feature
73 …TO_OC_ENGINE = 1 << SMU_13_0_ODCAP_AUTO_OC_ENGINE, //Auto Over Clock GFXCLK feature
74 …AUTO_OC_MEMORY = 1 << SMU_13_0_ODCAP_AUTO_OC_MEMORY, //Auto Over Clock MCLK feature
H A Dsmu_v13_0_7_pptable.h37 // SMU_13_0_7_PP_THERMALCONTROLLER - Thermal Controller Type
74 …V_ENGINE = 1 << SMU_13_0_7_ODCAP_AUTO_UV_ENGINE, //Auto Under Volt GFXCLK feature
75 …C_ENGINE = 1 << SMU_13_0_7_ODCAP_AUTO_OC_ENGINE, //Auto Over Clock GFXCLK feature
76 …_OC_MEMORY = 1 << SMU_13_0_7_ODCAP_AUTO_OC_MEMORY, //Auto Over Clock MCLK feature
H A Dsmu_v11_0_7_pptable.h37 // SMU_11_0_7_PP_THERMALCONTROLLER - Thermal Controller Type
75 …UV_ENGINE = 1 << SMU_11_0_7_ODCAP_AUTO_UV_ENGINE, //Auto Under Volt GFXCLK feature
76 …OC_ENGINE = 1 << SMU_11_0_7_ODCAP_AUTO_OC_ENGINE, //Auto Over Clock GFXCLK feature
77 …O_OC_MEMORY = 1 << SMU_11_0_7_ODCAP_AUTO_OC_MEMORY, //Auto Over Clock MCLK feature
/linux/arch/arm/mach-omap2/
H A Dsram242x.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * linux/arch/arm/mach-omap2/sram242x.S
9 * Richard Woodruff <r-woodruff2@ti.com>
31 stmfd sp!, {r0 - r12, lr} @ save registers on stack
39 str r3, [r2] @ go to L1-freq operation
62 mov r9, #0x0 @ shift back to L0-voltage
67 str r3, [r2] @ go to L0-freq operation
82 ldmfd sp!, {r0 - r12, pc} @ restore regs and return
97 ldr r4, omap242x_sdi_prcm_voltctrl @ get addr of volt ctrl.
101 orr r5, r5, r9 @ bulld value for L0/L1-volt operation.
[all …]
H A Dsram243x.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * linux/arch/arm/mach-omap2/sram243x.S
9 * Richard Woodruff <r-woodruff2@ti.com>
31 stmfd sp!, {r0 - r12, lr} @ save registers on stack
39 str r3, [r2] @ go to L1-freq operation
62 mov r9, #0x0 @ shift back to L0-voltage
67 str r3, [r2] @ go to L0-freq operation
82 ldmfd sp!, {r0 - r12, pc} @ restore regs and return
97 ldr r4, omap243x_sdi_prcm_voltctrl @ get addr of volt ctrl.
101 orr r5, r5, r9 @ bulld value for L0/L1-volt operation.
[all …]
H A Dvc.c1 // SPDX-License-Identifier: GPL-2.0-only
19 #include "prm-regbits-34xx.h"
20 #include "prm-regbits-44xx.h"
52 * struct omap_vc_channel_cfg - describe the cfg_channel bitfield
101 * omap_vc_config_channel - configure VC channel to PMIC mappings
106 * - i2c slave address (SA)
107 * - voltage configuration address (RAV)
108 * - command configuration address (RAC) and enable bit (RACEN)
109 * - command values for ON, ONLP, RET and OFF (CMD)
112 * non-default channel. Starting with OMAP4, there are more than 2
[all …]
/linux/drivers/devfreq/
H A Dmtk-cci-devfreq.c1 // SPDX-License-Identifier: GPL-2.0-only
41 const struct mtk_ccifreq_platform_data *soc_data = drv->soc_data; in mtk_ccifreq_set_voltage()
42 struct device *dev = drv->dev; in mtk_ccifreq_set_voltage()
44 int retry_max = drv->vtrack_max; in mtk_ccifreq_set_voltage()
46 if (!drv->sram_reg) { in mtk_ccifreq_set_voltage()
47 ret = regulator_set_voltage(drv->proc_reg, new_voltage, in mtk_ccifreq_set_voltage()
48 drv->soc_data->proc_max_volt); in mtk_ccifreq_set_voltage()
52 pre_voltage = regulator_get_voltage(drv->proc_reg); in mtk_ccifreq_set_voltage()
58 pre_vsram = regulator_get_voltage(drv->sram_reg); in mtk_ccifreq_set_voltage()
64 new_vsram = clamp(new_voltage + soc_data->min_volt_shift, in mtk_ccifreq_set_voltage()
[all …]
/linux/drivers/gpu/drm/amd/pm/inc/
H A Dsmu_v13_0_0_pptable.h37 // SMU_13_0_0_PP_THERMALCONTROLLER - Thermal Controller Type
74 …V_ENGINE = 1 << SMU_13_0_0_ODCAP_AUTO_UV_ENGINE, //Auto Under Volt GFXCLK feature
75 …C_ENGINE = 1 << SMU_13_0_0_ODCAP_AUTO_OC_ENGINE, //Auto Over Clock GFXCLK feature
76 …_OC_MEMORY = 1 << SMU_13_0_0_ODCAP_AUTO_OC_MEMORY, //Auto Over Clock MCLK feature
/linux/drivers/cpufreq/
H A Dmediatek-cpufreq.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Author: Pi-Cheng Chen <pi-cheng.chen@linaro.org>
33 * 100mV < Vsram - Vproc < 200mV
71 if (cpumask_test_cpu(cpu, &info->cpus)) in mtk_cpu_dvfs_info_lookup()
81 const struct mtk_cpufreq_platform_data *soc_data = info->soc_data; in mtk_cpufreq_voltage_tracking()
82 struct regulator *proc_reg = info->proc_reg; in mtk_cpufreq_voltage_tracking()
83 struct regulator *sram_reg = info->sram_reg; in mtk_cpufreq_voltage_tracking()
85 int retry = info->vtrack_max; in mtk_cpufreq_voltage_tracking()
89 dev_err(info->cpu_dev, in mtk_cpufreq_voltage_tracking()
96 dev_err(info->cpu_dev, "invalid Vsram value: %d\n", pre_vsram); in mtk_cpufreq_voltage_tracking()
[all …]
/linux/drivers/video/backlight/
H A Dsky81452-backlight.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * sky81452-backlight.c SKY81452 backlight driver
40 #define SKY81452_DEFAULT_NAME "lcd-backlight"
44 * struct sky81452_bl_platform_data - backlight platform data
46 * If it is not defined, default name is lcd-backlight.
71 dev_get_platdata(bd->dev.parent); in sky81452_bl_update_status()
72 const unsigned int brightness = (unsigned int)bd->props.brightness; in sky81452_bl_update_status()
77 ret = regmap_write(regmap, SKY81452_REG0, brightness - 1); in sky81452_bl_update_status()
82 pdata->enable << CTZ(SKY81452_EN)); in sky81452_bl_update_status()
119 reg = !strcmp(attr->attr.name, "open") ? SKY81452_REG5 : SKY81452_REG4; in sky81452_bl_show_open_short()
[all …]

12