Home
last modified time | relevance | path

Searched +full:current +full:- +full:boost +full:- +full:limit (Results 1 – 25 of 159) sorted by relevance

1234567

/kernel/linux/linux-4.19/Documentation/devicetree/bindings/leds/backlight/
Dpm8941-wled.txt4 - compatible: should be "qcom,pm8941-wled"
5 - reg: slave address
8 - default-brightness: brightness value on boot, value from: 0-4095
10 - label: The name of the backlight device
11 - qcom,cs-out: bool; enable current sink output
12 - qcom,cabc: bool; enable content adaptive backlight control
13 - qcom,ext-gen: bool; use externally generated modulator signal to dim
14 - qcom,current-limit: mA; per-string current limit; value from 0 to 25
16 - qcom,current-boost-limit: mA; boost current limit; one of:
19 - qcom,switching-freq: kHz; switching frequency; one of:
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/backlight/
Dqcom-wled.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/backlight/qcom-wled.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <bjorn.andersson@linaro.org>
11 - Kiran Gunda <kgunda@codeaurora.org>
21 - qcom,pm8941-wled
22 - qcom,pmi8998-wled
23 - qcom,pm660l-wled
24 - qcom,pm8150l-wled
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/sound/
Dcs35l35.txt5 - compatible : "cirrus,cs35l35"
7 - reg : the I2C address of the device for I2C
9 - VA-supply, VP-supply : power supplies for the device,
13 - interrupts : IRQ line info CS35L35.
14 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
17 - cirrus,boost-ind-nanohenry: Inductor value for boost converter. The value is
21 - reset-gpios : gpio used to reset the amplifier
23 - cirrus,stereo-config : Boolean to determine if there are 2 AMPs for a
26 - cirrus,audio-channel : Set Location of Audio Signal on Serial Port
30 - cirrus,advisory-channel : Set Location of Advisory Signal on Serial Port
[all …]
Dcs35l34.txt5 - compatible : "cirrus,cs35l34"
7 - reg : the I2C address of the device for I2C.
9 - VA-supply, VP-supply : power supplies for the device,
13 - cirrus,boost-vtge-millivolt : Boost Voltage Value. Configures the boost
17 - cirrus,boost-nanohenry: Inductor value for boost converter. The value is
22 - reset-gpios: GPIO used to reset the amplifier.
24 - interrupts : IRQ line info CS35L34.
25 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
28 - cirrus,boost-peak-milliamp : Boost converter peak current limit in mA. The
32 - cirrus,i2s-sdinloc : ADSP SDIN I2S channel location. Indicates whether the
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dcs35l35.txt5 - compatible : "cirrus,cs35l35"
7 - reg : the I2C address of the device for I2C
9 - VA-supply, VP-supply : power supplies for the device,
13 - interrupts : IRQ line info CS35L35.
14 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
17 - cirrus,boost-ind-nanohenry: Inductor value for boost converter. The value is
21 - reset-gpios : gpio used to reset the amplifier
23 - cirrus,stereo-config : Boolean to determine if there are 2 AMPs for a
26 - cirrus,audio-channel : Set Location of Audio Signal on Serial Port
30 - cirrus,advisory-channel : Set Location of Advisory Signal on Serial Port
[all …]
Dcs35l34.txt5 - compatible : "cirrus,cs35l34"
7 - reg : the I2C address of the device for I2C.
9 - VA-supply, VP-supply : power supplies for the device,
13 - cirrus,boost-vtge-millivolt : Boost Voltage Value. Configures the boost
17 - cirrus,boost-nanohenry: Inductor value for boost converter. The value is
22 - reset-gpios: GPIO used to reset the amplifier.
24 - interrupts : IRQ line info CS35L34.
25 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
28 - cirrus,boost-peak-milliamp : Boost converter peak current limit in mA. The
32 - cirrus,i2s-sdinloc : ADSP SDIN I2S channel location. Indicates whether the
[all …]
Dcs35l36.txt5 - compatible : "cirrus,cs35l36"
7 - reg : the I2C address of the device for I2C
9 - VA-supply, VP-supply : power supplies for the device,
13 - cirrus,boost-ctl-millivolt : Boost Voltage Value. Configures the boost
18 - cirrus,boost-peak-milliamp : Boost-converter peak current limit in mA.
19 Configures the peak current by monitoring the current through the boost FET.
24 - cirrus,boost-ind-nanohenry : Inductor estimation LBST reference value.
25 Seeds the digital boost converter's inductor estimation block with the initial
32 - cirrus,multi-amp-mode : Boolean to determine if there are more than
33 one amplifier in the system. If more than one it is best to Hi-Z the ASP
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/pm/
Dcpufreq.rst1 .. SPDX-License-Identifier: GPL-2.0
20 Operating Performance Points or P-states (in ACPI terminology). As a rule,
24 time (or the more power is drawn) by the CPU in the given P-state. Therefore
29 as possible and then there is no reason to use any P-states different from the
30 highest one (i.e. the highest-performance frequency/voltage configuration
38 put into different P-states.
41 capacity, so as to decide which P-states to put the CPUs into. Of course, since
64 information on the available P-states (or P-state ranges in some cases) and
65 access platform-specific hardware interfaces to change CPU P-states as requested
70 performance scaling algorithms for P-state selection can be represented in a
[all …]
/kernel/linux/linux-4.19/Documentation/admin-guide/pm/
Dcpufreq.rst17 Operating Performance Points or P-states (in ACPI terminology). As a rule,
21 time (or the more power is drawn) by the CPU in the given P-state. Therefore
26 as possible and then there is no reason to use any P-states different from the
27 highest one (i.e. the highest-performance frequency/voltage configuration
35 put into different P-states.
38 capacity, so as to decide which P-states to put the CPUs into. Of course, since
61 information on the available P-states (or P-state ranges in some cases) and
62 access platform-specific hardware interfaces to change CPU P-states as requested
67 performance scaling algorithms for P-state selection can be represented in a
68 platform-independent form in the majority of cases, so it should be possible
[all …]
/kernel/linux/linux-4.19/Documentation/hwmon/
Dlm937 Addresses scanned: I2C 0x2c-0x2e
11 Addresses scanned: I2C 0x2c-0x2e
21 -----------------
24 Set to non-zero to force some initializations (default is 0).
29 Configures in7 and in8 limit type, where 0 means absolute and non-zero
45 --------------------
50 SMBus 2.0. Using an 8-bit ADC, the LM93 measures the temperature of two remote
56 tachometer inputs to measure fan speed. Limit and status registers for all
68 --------------
76 the current readings for the most recent complete time interval. The
[all …]
/kernel/linux/linux-5.10/Documentation/hwmon/
Dlm93.rst10 Addresses scanned: I2C 0x2c-0x2e
18 Addresses scanned: I2C 0x2c-0x2e
24 - Mark M. Hoffman <mhoffman@lightlink.com>
25 - Ported to 2.6 by Eric J. Bowersox <ericb@aspsys.com>
26 - Adapted to 2.6.20 by Carsten Emde <ce@osadl.org>
27 - Modified for mainline integration by Hans J. Koch <hjk@hansjkoch.de>
30 -----------------
33 Set to non-zero to force some initializations (default is 0).
38 Configures in7 and in8 limit type, where 0 means absolute and non-zero
54 --------------------
[all …]
/kernel/linux/linux-5.10/drivers/power/supply/
Dbq2415x_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2011-2013 Pali Rohár <pali@kernel.org>
82 /* current register */
172 int autotimer; /* 1 - if driver automatically reset timer, 0 - not */
173 int automode; /* 1 - enabled, 0 - disabled; -1 - not supported */
189 struct i2c_client *client = to_i2c_client(bq->dev); in bq2415x_i2c_read()
194 if (!client->adapter) in bq2415x_i2c_read()
195 return -ENODEV; in bq2415x_i2c_read()
197 msg[0].addr = client->addr; in bq2415x_i2c_read()
201 msg[1].addr = client->addr; in bq2415x_i2c_read()
[all …]
Dbq25890_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
76 u8 ichg; /* charge current */
78 u8 iterm; /* termination current */
79 u8 iprechg; /* precharge current */
80 u8 sysvmin; /* minimum system voltage limit */
81 u8 boostv; /* boost regulation voltage */
82 u8 boosti; /* boost current limit */
83 u8 boostf; /* boost frequency */
87 u8 vclamp; /* IBAT compensation voltage limit */
251 * Most of the val -> idx conversions can be computed, given the minimum,
[all …]
Daxp288_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * axp288_charger.c - X-power AXP288 PMIC Charger driver
5 * Copyright (C) 2016-2017 Hans de Goede <hdegoede@redhat.com>
150 else if (cc > info->max_cc) in axp288_charger_set_cc()
151 cc = info->max_cc; in axp288_charger_set_cc()
153 reg_val = (cc - CHRG_CCCV_CC_OFFSET) / CHRG_CCCV_CC_LSB_RES; in axp288_charger_set_cc()
157 ret = regmap_update_bits(info->regmap, in axp288_charger_set_cc()
161 info->cc = cc; in axp288_charger_set_cc()
187 ret = regmap_update_bits(info->regmap, in axp288_charger_set_cv()
192 info->cv = cv; in axp288_charger_set_cv()
[all …]
Drt9455_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
22 #define RT9455_DRIVER_NAME "rt9455-charger"
166 #define GET_MASK(fid) (BIT(rt9455_reg_fields[fid].msb + 1) - \
170 * Each array initialised below shows the possible real-world values for a
172 * ascending order. The index of each real-world value represents the value
197 * When the charger is in boost mode, REG02[7:2] represent boost output
200 /* REG02[7:2] (Boost output voltage) in uV */
264 for (i = 0; i < tbl_size - 1; i++) in rt9455_find_idx()
268 return (tbl_size - 1); in rt9455_find_idx()
278 ret = regmap_field_read(info->regmap_fields[field], &v); in rt9455_get_field_val()
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/power/supply/
Dqcom_smbb.txt1 Qualcomm Switch-Mode Battery Charger and Boost
4 - compatible:
8 - "qcom,pm8941-charger"
10 - reg:
12 Value type: <prop-encoded-array>
15 - interrupts:
17 Value type: <prop-encoded-array>
21 - charge done
22 - charge fast mode
23 - charge trickle mode
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dqcom_smbb.txt1 Qualcomm Switch-Mode Battery Charger and Boost
4 - compatible:
8 - "qcom,pm8941-charger"
10 - reg:
12 Value type: <prop-encoded-array>
15 - interrupts:
17 Value type: <prop-encoded-array>
21 - charge done
22 - charge fast mode
23 - charge trickle mode
[all …]
/kernel/linux/linux-4.19/drivers/power/supply/
Dbq2415x_charger.c4 * Copyright (C) 2011-2013 Pali Rohár <pali.rohar@gmail.com>
91 /* current register */
181 int autotimer; /* 1 - if driver automatically reset timer, 0 - not */
182 int automode; /* 1 - enabled, 0 - disabled; -1 - not supported */
198 struct i2c_client *client = to_i2c_client(bq->dev); in bq2415x_i2c_read()
203 if (!client->adapter) in bq2415x_i2c_read()
204 return -ENODEV; in bq2415x_i2c_read()
206 msg[0].addr = client->addr; in bq2415x_i2c_read()
210 msg[1].addr = client->addr; in bq2415x_i2c_read()
216 ret = i2c_transfer(client->adapter, msg, ARRAY_SIZE(msg)); in bq2415x_i2c_read()
[all …]
Dbq25890_charger.c68 u8 ichg; /* charge current */
70 u8 iterm; /* termination current */
71 u8 iprechg; /* precharge current */
72 u8 sysvmin; /* minimum system voltage limit */
73 u8 boostv; /* boost regulation voltage */
74 u8 boosti; /* boost current limit */
75 u8 boostf; /* boost frequency */
239 * Most of the val -> idx conversions can be computed, given the minimum,
264 /* Boost mode current limit lookup table, in uA */
306 ret = regmap_field_read(bq->rmap_fields[field_id], &val); in bq25890_field_read()
[all …]
Drt9455_charger.c31 #define RT9455_DRIVER_NAME "rt9455-charger"
175 #define GET_MASK(fid) (BIT(rt9455_reg_fields[fid].msb + 1) - \
179 * Each array initialised below shows the possible real-world values for a
181 * ascending order. The index of each real-world value represents the value
206 * When the charger is in boost mode, REG02[7:2] represent boost output
209 /* REG02[7:2] (Boost output voltage) in uV */
273 for (i = 0; i < tbl_size - 1; i++) in rt9455_find_idx()
277 return (tbl_size - 1); in rt9455_find_idx()
287 ret = regmap_field_read(info->regmap_fields[field], &v); in rt9455_get_field_val()
291 v = (v >= tbl_size) ? (tbl_size - 1) : v; in rt9455_get_field_val()
[all …]
Daxp288_charger.c2 * axp288_charger.c - X-power AXP288 PMIC Charger driver
4 * Copyright (C) 2016-2017 Hans de Goede <hdegoede@redhat.com>
157 else if (cc > info->max_cc) in axp288_charger_set_cc()
158 cc = info->max_cc; in axp288_charger_set_cc()
160 reg_val = (cc - CHRG_CCCV_CC_OFFSET) / CHRG_CCCV_CC_LSB_RES; in axp288_charger_set_cc()
164 ret = regmap_update_bits(info->regmap, in axp288_charger_set_cc()
168 info->cc = cc; in axp288_charger_set_cc()
194 ret = regmap_update_bits(info->regmap, in axp288_charger_set_cv()
199 info->cv = cv; in axp288_charger_set_cv()
209 ret = regmap_read(info->regmap, AXP20X_CHRG_BAK_CTRL, &val); in axp288_charger_get_vbus_inlmt()
[all …]
/kernel/linux/linux-5.10/include/linux/power/
Dbq2415x_charger.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright (C) 2011-2013 Pali Rohár <pali@kernel.org>
14 * value is -1 then default chip value (specified in datasheet) will be
18 * termination current. If it is less or equal to zero, configuring charge
19 * and termination current will not be possible.
23 * POWER_SUPPLY_PROP_CURRENT_MAX when current changed.
26 /* Supported modes with maximal current limit */
32 BQ2415X_MODE_BOOST, /* boost mode (charging disabled) */
/kernel/linux/linux-4.19/include/linux/power/
Dbq2415x_charger.h4 * Copyright (C) 2011-2013 Pali Rohár <pali.rohar@gmail.com>
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27 * value is -1 then default chip value (specified in datasheet) will be
31 * termination current. It it is less or equal to zero, configuring charge
32 * and termination current will not be possible.
36 * POWER_SUPPLY_PROP_CURRENT_MAX when current changed.
39 /* Supported modes with maximal current limit */
45 BQ2415X_MODE_BOOST, /* boost mode (charging disabled) */
/kernel/linux/linux-4.19/Documentation/cpu-freq/
Dcpu-drivers.txt8 - information for developers -
23 ---------
26 1.2 Per-CPU Initialization
39 So, you just got a brand-new CPU / chipset with datasheets and want to
45 ------------------
54 .name - The name of this driver.
56 .init - A pointer to the per-policy initialization function.
58 .verify - A pointer to a "verification" function.
60 .setpolicy _or_ .fast_switch _or_ .target _or_ .target_index - See
65 .flags - Hints for the cpufreq core.
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dwm8940.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8940.c -- WM8940 ALSA Soc Audio driver
14 * No means to obtain current gain if alc enabled.
126 { 0x18, 0x0032 }, /* DAC Limit Control 1 */
127 { 0x19, 0x0000 }, /* DAC Limit Control 2 */
143 { 0x2f, 0x0002 }, /* ADC Boost Control */
153 static const char *wm8940_companding[] = { "Off", "NC", "u-law", "A-law" };
171 static DECLARE_TLV_DB_SCALE(wm8940_spk_vol_tlv, -5700, 100, 1);
172 static DECLARE_TLV_DB_SCALE(wm8940_att_tlv, -1000, 1000, 0);
173 static DECLARE_TLV_DB_SCALE(wm8940_pga_vol_tlv, -1200, 75, 0);
[all …]

1234567