/linux/Documentation/devicetree/bindings/leds/backlight/ |
H A 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 <andersson@kernel.org> 11 - Kiran Gunda <quic_kgunda@quicinc.com> 21 - qcom,pm8941-wled 22 - qcom,pmi8950-wled 23 - qcom,pmi8994-wled 24 - qcom,pmi8998-wled [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
/linux/Documentation/admin-guide/pm/ |
H A 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 …]
|
H A D | amd-pstate.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 ``amd-pstate`` CPU Performance Scaling Driver 16 ``amd-pstate`` is the AMD CPU performance scaling driver that introduces a 20 than legacy ACPI hardware P-States. Current AMD CPU/APU platforms are using 21 the ACPI P-states driver to manage CPU frequency and clocks with switching 22 only in 3 P-states. CPPC replaces the ACPI P-states controls and allows a 23 flexible, low-latency interface for the Linux kernel to directly 26 ``amd-pstate`` leverages the Linux kernel governors such as ``schedutil``, 30 Volume 2: System Programming [1]_). Currently, ``amd-pstate`` supports basic 40 continuous, abstract, and unit-less performance value in a scale that is [all …]
|
/linux/Documentation/hwmon/ |
H A 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/Documentation/ABI/testing/ |
H A D | sysfs-platform-asus-wmi | 6 Change CPU clock configuration (write-only). 9 * 0 -> Super Performance Mode 10 * 1 -> High Performance Mode 11 * 2 -> Power Saving Mode 46 Fan boost mode: 47 * 0 - normal, 48 * 1 - overboost, 49 * 2 - silent 57 * 0 - default, 58 * 1 - overboost, [all …]
|
H A D | sysfs-bus-iio-adc-mcp3564 | 3 Contact: linux-iio@vger.kernel.org 5 This attribute is used to set the gain of the biasing current 6 circuit of the Delta-Sigma modulator. The different BOOST 12 Contact: linux-iio@vger.kernel.org 15 the current biasing circuit of the Delta-Sigma modulator. 19 Contact: linux-iio@vger.kernel.org 22 auto-zeroing algorithm (the input multiplexer and the ADC 26 input as VIN+/VIN-, one with VIN+/VIN- inverted. In this case the 30 ultra-low offset without any digital calibration. The resulting 39 Contact: linux-iio@vger.kernel.org [all …]
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-msm8974-sony-xperia-rhine.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 17 stdout-path = "serial0:115200n8"; 20 gpio-keys { 21 compatible = "gpio-keys"; 23 pinctrl-names = "default"; 24 pinctrl-0 = <&gpio_keys_pin_a>; [all …]
|
H A D | qcom-msm8974pro-fairphone-fp2.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 12 chassis-type = "handset"; 21 stdout-path = "serial0:115200n8"; 24 gpio-keys { 25 compatible = "gpio-keys"; 27 pinctrl-names = "default"; [all …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | qcom,pm8941-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/qcom,pm8941-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Switch-Mode Battery Charger and Boost 10 - Sebastian Reichel <sre@kernel.org> 15 - qcom,pm8226-charger 16 - qcom,pm8941-charger 23 - description: charge done 24 - description: charge fast mode [all …]
|
/linux/include/linux/power/ |
H A 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/kernel/rcu/ |
H A 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 23 * non-preemptible reads are also safe. NOCB kthreads and in rcu_rdp_is_offloaded() 30 lockdep_is_held(&rdp->nocb_lock) || in rcu_rdp_is_offloaded() 38 return rcu_segcblist_is_offloaded(&rdp->cblist); in rcu_rdp_is_offloaded() 51 pr_info("\tCONFIG_RCU_FANOUT set to non-defaul in rcu_bootup_announce_oddness() [all...] |
/linux/drivers/power/supply/ |
H A 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> 160 else if (cc > info->max_cc) in axp288_charger_set_cc() 161 cc = info->max_cc; in axp288_charger_set_cc() 163 reg_val = (cc - CHRG_CCCV_CC_OFFSET) / CHRG_CCCV_CC_LSB_RES; in axp288_charger_set_cc() 167 ret = regmap_update_bits(info->regmap, in axp288_charger_set_cc() 171 info->cc = cc; in axp288_charger_set_cc() 197 ret = regmap_update_bits(info->regmap, in axp288_charger_set_cv() 202 info->cv = cv; in axp288_charger_set_cv() [all …]
|
/linux/drivers/i2c/busses/ |
H A D | i2c-cht-wc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (C) 2011 - 2014 Intel Corporation. All rights reserved. 62 mutex_lock(&adap->adap_lock); in cht_wc_i2c_adap_thread_handler() 65 ret = regmap_read(adap->regmap, CHT_WC_EXTCHGRIRQ, ®); in cht_wc_i2c_adap_thread_handler() 67 dev_err(&adap->adapter.dev, "Error reading extchgrirq reg\n"); in cht_wc_i2c_adap_thread_handler() 68 mutex_unlock(&adap->adap_lock); in cht_wc_i2c_adap_thread_handler() 72 reg &= ~adap->irq_mask; in cht_wc_i2c_adap_thread_handler() 75 ret = regmap_read(adap->regmap, CHT_WC_I2C_RDDATA, &adap->read_data); in cht_wc_i2c_adap_thread_handler() 77 adap->io_error = true; in cht_wc_i2c_adap_thread_handler() 81 * handling the previous ones our irq will re-trigger when we're done. in cht_wc_i2c_adap_thread_handler() [all …]
|
/linux/kernel/sched/ |
H A D | cpufreq_schedutil.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * CPUFreq governor based on scheduler-provided CPU utilization data. 54 /* The field below is for single-CPU policies only: */ 69 * Since cpufreq_update_util() is called with rq->lock held for in sugov_should_update_freq() 70 * the @target_cpu, our per-CPU data is fully serialized. in sugov_should_update_freq() 72 * However, drivers cannot in general deal with cross-CPU in sugov_should_update_freq() 83 if (!cpufreq_this_cpu_can_update(sg_policy->policy)) in sugov_should_update_freq() 86 if (unlikely(READ_ONCE(sg_policy->limits_changed))) { in sugov_should_update_freq() 87 WRITE_ONCE(sg_policy->limits_changed, false); in sugov_should_update_freq() 88 sg_policy->need_freq_update = true; in sugov_should_update_freq() [all …]
|
/linux/sound/soc/codecs/ |
H A 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 …]
|
H A 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. 128 { 0x18, 0x0032 }, /* DAC Limit Control 1 */ 129 { 0x19, 0x0000 }, /* DAC Limit Control 2 */ 145 { 0x2f, 0x0002 }, /* ADC Boost Control */ 155 static const char *wm8940_companding[] = { "Off", "NC", "u-law", "A-law" }; 173 static DECLARE_TLV_DB_SCALE(wm8940_spk_vol_tlv, -5700, 100, 1); 174 static DECLARE_TLV_DB_SCALE(wm8940_att_tlv, -1000, 1000, 0); 175 static DECLARE_TLV_DB_SCALE(wm8940_pga_vol_tlv, -1200, 75, 0); [all …]
|
/linux/Documentation/cpu-freq/ |
H A 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/include/linux/mfd/ |
H A D | rt5033-private.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 116 /* RT5033 charger property - model, manufacturer */ 121 * While RT5033 charger can limit the fast-charge current (as in CHGCTRL1 122 * register), AICR mode limits the input current. For example, the AIRC 100 123 * mode limits the input current to 100 mA. 158 * and boost mode. 177 /* RT5033 charger pre-charge current limits (as in CHGCTRL4 register), uA */ 183 /* RT5033 charger fast-charge current (as in CHGCTRL5 register), uA */ 190 * RT5033 charger const-charge end of charger current ( 200 * RT5033 charger pre-charge threshold volt limits
|
/linux/arch/arm64/boot/dts/allwinner/ |
H A D | sun50i-h700-anbernic-rg35xx-2024.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 6 /dts-v1/; 8 #include "sun50i-h616.dtsi" 9 #include "sun50i-h616-cpu-opp.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/linux-event-codes.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/leds/common.h> 17 chassis-type = "handset"; 18 compatible = "anbernic,rg35xx-2024", "allwinner,sun50i-h700"; [all …]
|
/linux/drivers/regulator/ |
H A D | stpmic1_regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 15 #include <dt-bindings/mfd/st,stpmic1.h> 18 * struct stpmic1_regulator_cfg - this structure is used as driver data 434 .desc = REG_BOOST(BOOST, boost), 467 regmap_read(regmap, rdev->desc->enable_reg, &value); in stpmic1_get_mode() 488 return -EINVAL; in stpmic1_set_mode() 491 return regmap_update_bits(regmap, rdev->desc->enable_reg, in stpmic1_set_mode() 508 * Also, I don't know if limit can be configured or if we support in stpmic1_set_icc() 513 return -EINVAL; in stpmic1_set_icc() 515 /* enable switch off in case of over current */ in stpmic1_set_icc() [all …]
|
/linux/Documentation/scheduler/ |
H A D | sched-util-clamp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 57 foreground, top-app, etc. Util clamp can be used to constrain how much 60 the ones belonging to the currently active app (top-app group). Beside this 65 1. The big cores are free to run top-app tasks immediately. top-app 106 Note that by design RT tasks don't have per-task PELT signal and must always 114 See :ref:`section 3.4 <uclamp-default-values>` for default values and 115 :ref:`3.4.1 <sched-util-clamp-min-rt-default>` on how to change RT tasks 150 task on the rq to only a subset of tasks on the top-most bucket. 156 As tasks are enqueued and dequeued, we keep track of the current effective 157 uclamp value of the rq. See :ref:`section 2.1 <uclamp-buckets>` for details on [all …]
|
/linux/drivers/video/backlight/ |
H A 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 */ 238 for (i = 0; i < wled->cfg.num_strings; ++i) { in wled3_set_brightness() 239 rc = regmap_bulk_write(wled->regmap, wled->ctrl_addr + in wled3_set_brightness() 240 WLED3_SINK_REG_BRIGHT(wled->cfg.enabled_strings[i]), 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() 261 for (i = 0; i < wled->cfg.num_strings; ++i) { in wled4_set_brightness() [all …]
|