/linux-5.10/Documentation/devicetree/bindings/leds/backlight/ |
D | qcom-wled.yaml | 1 # 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 …]
|
/linux-5.10/Documentation/devicetree/bindings/sound/ |
D | cs35l35.txt | 5 - 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 …]
|
D | cs35l34.txt | 5 - 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 …]
|
D | cs35l36.txt | 5 - 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 …]
|
/linux-5.10/Documentation/admin-guide/pm/ |
D | cpufreq.rst | 1 .. 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 …]
|
/linux-5.10/Documentation/hwmon/ |
D | lm93.rst | 10 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 …]
|
/linux-5.10/drivers/power/supply/ |
D | bq2415x_charger.c | 1 // 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 …]
|
D | bq25890_charger.c | 1 // 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 …]
|
D | axp288_charger.c | 1 // 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 …]
|
D | rt9455_charger.c | 1 // 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 …]
|
D | qcom_smbb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * This driver is for the multi-block Switch-Mode Battery Charger and Boost 6 * integrated, single-cell lithium-ion battery charger. 8 * Sub-components: 9 * - Charger core 10 * - Buck 11 * - DC charge-path 12 * - USB charge-path 13 * - Battery interface 14 * - Boost (not implemented) [all …]
|
D | bd99954-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 * Curve (1) represents charging current. 20 * a) Trickle-charge with constant current (8). 21 * b) pre-charge with constant current (6) 22 * c) fast-charge, first with constant current (5) phase. After 24 * voltage phase until charging current has dropped to termination 30 *(4)` `.` ` ` ` ` ` ` ` ` ` ` ` ` ` ----------------------------. 32 * . o----+/:/ ` ` ` ` ` ` ` ` ` ` ` ` `.` ` (5) 34 * . + /- -- . 35 * . +`/- + . [all …]
|
/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
D | qcom_smbb.txt | 1 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 …]
|
/linux-5.10/include/linux/power/ |
D | bq2415x_charger.h | 1 /* 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) */
|
/linux-5.10/sound/soc/codecs/ |
D | wm8940.c | 1 // 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 …]
|
D | max98926.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max98926.c -- ALSA SoC MAX98926 driver 4 * Copyright 2013-15 Maxim Integrated Products 24 "Current", "Voltage", 75 { 0x35, 0x01 }, /* Boost Converter */ 79 { 0x3A, 0x00 }, /* Boost Limiter */ 159 {"PDM CH1 Source", "Current", "DAI_OUT"}, 161 {"PDM CH0 Source", "Current", "DAI_OUT"}, 205 static DECLARE_TLV_DB_SCALE(max98926_spk_tlv, -600, 100, 0); 222 (1<<MAX98926_SPK_GAIN_WIDTH)-1, 0, [all …]
|
D | max98927.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * max98927.c -- MAX98927 ALSA Soc Audio driver 5 * Copyright (C) 2016-2017 Maxim Integrated Products 141 struct snd_soc_component *component = codec_dai->component; in max98927_dai_set_fmt() 148 dev_dbg(component->dev, "%s: fmt 0x%08X\n", __func__, fmt); in max98927_dai_set_fmt() 155 max98927->master = true; in max98927_dai_set_fmt() 159 dev_err(component->dev, "DAI clock mode unsupported\n"); in max98927_dai_set_fmt() 160 return -EINVAL; in max98927_dai_set_fmt() 163 regmap_update_bits(max98927->regmap, in max98927_dai_set_fmt() 175 dev_err(component->dev, "DAI invert mode unsupported\n"); in max98927_dai_set_fmt() [all …]
|
/linux-5.10/arch/arm/boot/dts/ |
D | qcom-msm8974-sony-xperia-honami.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974.dtsi" 3 #include "qcom-pm8841.dtsi" 4 #include "qcom-pm8941.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 11 compatible = "sony,xperia-honami", "qcom,msm8974"; 18 stdout-path = "serial0:115200n8"; 21 gpio-keys { [all …]
|
D | qcom-msm8974-sony-xperia-amami.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974.dtsi" 3 #include "qcom-pm8841.dtsi" 4 #include "qcom-pm8941.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 11 compatible = "sony,xperia-amami", "qcom,msm8974"; 18 stdout-path = "serial0:115200n8"; 21 gpio-keys { [all …]
|
/linux-5.10/kernel/rcu/ |
D | tree_plugin.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Read-Copy Update mechanism for mutual exclusion (tree-based version) 4 * Internal non-public definitions that provide either classic 31 pr_info("\tCONFIG_RCU_FANOUT set to non-default value of %d.\n", in rcu_bootup_announce_oddness() 36 pr_info("\tRCU dyntick-idle grace-period acceleration is enabled.\n"); in rcu_bootup_announce_oddness() 40 pr_info("\tRCU strict (and thus non-scalable) grace periods enabled.\n"); in rcu_bootup_announce_oddness() 42 pr_info("\tFour(or more)-level hierarchy is enabled.\n"); in rcu_bootup_announce_oddness() 44 pr_info("\tBuild-time adjustment of leaf fanout to %d.\n", in rcu_bootup_announce_oddness() 47 pr_info("\tBoot-time adjustment of leaf fanout to %d.\n", in rcu_bootup_announce_oddness() 56 pr_info("\tBoot-time adjustment of callback invocation limit to %ld.\n", blimit); in rcu_bootup_announce_oddness() [all …]
|
/linux-5.10/kernel/sched/ |
D | cpufreq_schedutil.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * CPUFreq governor based on scheduler-provided CPU utilization data. 59 /* The field below is for single-CPU policies only: */ 74 * Since cpufreq_update_util() is called with rq->lock held for in sugov_should_update_freq() 75 * the @target_cpu, our per-CPU data is fully serialized. in sugov_should_update_freq() 77 * However, drivers cannot in general deal with cross-CPU in sugov_should_update_freq() 88 if (!cpufreq_this_cpu_can_update(sg_policy->policy)) in sugov_should_update_freq() 91 if (unlikely(sg_policy->limits_changed)) { in sugov_should_update_freq() 92 sg_policy->limits_changed = false; in sugov_should_update_freq() 93 sg_policy->need_freq_update = true; in sugov_should_update_freq() [all …]
|
/linux-5.10/Documentation/cpu-freq/ |
D | cpu-drivers.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 - Dominik Brodowski <linux@brodo.de> 11 - Rafael J. Wysocki <rafael.j.wysocki@intel.com> 12 - Viresh Kumar <viresh.kumar@linaro.org> 18 1.2 Per-CPU Initialization 31 So, you just got a brand-new CPU / chipset with datasheets and want to 37 ------------------ 46 .name - The name of this driver. 48 .init - A pointer to the per-policy initialization function. 50 .verify - A pointer to a "verification" function. [all …]
|
/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | debugfs_gt_pm.c | 1 // SPDX-License-Identifier: MIT 23 struct intel_gt *gt = m->private; in fw_domains_show() 24 struct intel_uncore *uncore = gt->uncore; in fw_domains_show() 29 uncore->user_forcewake_count); in fw_domains_show() 33 intel_uncore_forcewake_domain_to_str(fw_domain->id), in fw_domains_show() 34 READ_ONCE(fw_domain->wake_count)); in fw_domains_show() 44 struct intel_gt *gt = m->private; in print_rc6_res() 47 with_intel_runtime_pm(gt->uncore->rpm, wakeref) in print_rc6_res() 49 intel_uncore_read(gt->uncore, reg), in print_rc6_res() 50 intel_rc6_residency_us(>->rc6, reg)); in print_rc6_res() [all …]
|
/linux-5.10/block/ |
D | bfq-iosched.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 * BFQ is a proportional-share I/O scheduler, with some extra 17 * low-latency capabilities. BFQ also supports full hierarchical 20 * limitations can be found in Documentation/block/bfq-iosched.rst. 22 * BFQ is a proportional-share storage-I/O scheduling algorithm based 23 * on the slice-by-slice service scheme of CFQ. But BFQ assigns 25 * time slices. The device is not granted to the in-service process 31 * B-WF2Q+, to schedule processes according to their budgets. More 33 * process/queue is assigned a user-configurable weight, and B-WF2Q+ 36 * B-WF2Q+, BFQ can afford to assign high budgets to I/O-bound [all …]
|
/linux-5.10/drivers/video/backlight/ |
D | qcom-wled.c | 1 // SPDX-License-Identifier: GPL-2.0-only 61 /* WLED3 specific per-'string' registers below */ 93 /* WLED4 specific per-'string' registers below */ 140 /* WLED5 specific per-'string' registers below */ 239 for (i = 0; i < wled->cfg.num_strings; ++i) { in wled3_set_brightness() 240 rc = regmap_bulk_write(wled->regmap, wled->ctrl_addr + in wled3_set_brightness() 252 u16 low_limit = wled->max_brightness * 4 / 1000; in wled4_set_brightness() 255 /* WLED4's lower limit of operation is 0.4% */ in wled4_set_brightness() 262 for (i = 0; i < wled->cfg.num_strings; ++i) { in wled4_set_brightness() 263 rc = regmap_bulk_write(wled->regmap, wled->sink_addr + in wled4_set_brightness() [all …]
|