/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 | cirrus,cs35l41.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - david.rhodes@cirrus.com 19 - cirrus,cs35l40 20 - cirrus,cs35l41 28 '#sound-dai-cells': 33 reset-gpios: 36 VA-supply: 39 VP-supply: [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/arch/x86/include/uapi/asm/ |
H A D | amd_hsmp.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 20 HSMP_SET_SOCKET_POWER_LIMIT, /* 05h Set the socket power limit */ 21 HSMP_GET_SOCKET_POWER_LIMIT, /* 06h Get current socket power limit */ 23 HSMP_SET_BOOST_LIMIT, /* 08h Set a core maximum frequency limit */ 25 HSMP_GET_BOOST_LIMIT, /* 0Ah Get current frequency limit */ 29 HSMP_SET_AUTO_DF_PSTATE, /* 0Eh Enable DF P-State Performance Boost algorithm */ 30 HSMP_GET_FCLK_MCLK, /* 0Fh Get FCLK and MEMCLK for current socket */ 31 HSMP_GET_CCLK_THROTTLE_LIMIT, /* 10h Get CCLK frequency limit in socket */ 35 HSMP_GET_DDR_BANDWIDTH, /* 14h Get theoretical maximum and current DDR Bandwidth */ 37 HSMP_GET_DIMM_TEMP_RANGE, /* 16h Get per-DIMM temperature range and refresh rate */ [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 …]
|
/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/drivers/power/supply/ |
H A 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 …]
|
H A D | bq25890_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 82 u8 ichg; /* charge current */ 84 u8 iterm; /* termination current */ 85 u8 iprechg; /* precharge current */ 86 u8 sysvmin; /* minimum system voltage limit */ 87 u8 boostv; /* boost regulation voltage */ 88 u8 boosti; /* boost current limit */ 89 u8 boostf; /* boost frequency */ 93 u8 vclamp; /* IBAT compensation voltage limit */ 113 char name[28]; /* "bq25890-charger-%d" */ [all …]
|
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 …]
|
H A D | rt9455_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 #define RT9455_DRIVER_NAME "rt9455-charger" 165 #define GET_MASK(fid) (BIT(rt9455_reg_fields[fid].msb + 1) - \ 169 * Each array initialised below shows the possible real-world values for a 171 * 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 */ 265 for (i = 0; i < tbl_size - 1; i++) in rt9455_find_idx() 269 return (tbl_size - 1); in rt9455_find_idx() 279 ret = regmap_field_read(info->regmap_fields[field], &v); in rt9455_get_field_val() [all …]
|
H A D | rt5033_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/devm-helpers.h> 18 #include <linux/mfd/rt5033-private.h> 45 struct regmap *regmap = charger->regmap; in rt5033_get_charger_state() 72 if (charger->otg) in rt5033_get_charger_state() 80 struct regmap *regmap = charger->regmap; in rt5033_get_charger_type() 102 struct regmap *regmap = charger->regmap; in rt5033_get_charger_current_limit() 118 struct regmap *regmap = charger->regmap; in rt5033_get_charger_const_voltage() 134 struct rt5033_charger_data *chg = &charger->chg; in rt5033_init_const_charge() 140 if (chg->const_uvolt < RT5033_CHARGER_CONST_VOLTAGE_LIMIT_MIN || in rt5033_init_const_charge() [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/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/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> 15 stdout-path = "serial0:115200n8"; 18 gpio-keys { 19 compatible = "gpio-keys"; 21 pinctrl-names = "default"; 22 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/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-default value of %d.\n", in rcu_bootup_announce_oddness() 58 pr_info("\tRCU strict (and thus non-scalable) grace periods are enabled.\n"); in rcu_bootup_announce_oddness() 60 pr_info("\tFour(or more)-level hierarchy is enabled.\n"); in rcu_bootup_announce_oddness() 62 pr_info("\tBuild-time adjustment of leaf fanout to %d.\n", in rcu_bootup_announce_oddness() [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. 52 /* The field below is for single-CPU policies only: */ 67 * Since cpufreq_update_util() is called with rq->lock held for in sugov_should_update_freq() 68 * the @target_cpu, our per-CPU data is fully serialized. in sugov_should_update_freq() 70 * However, drivers cannot in general deal with cross-CPU in sugov_should_update_freq() 81 if (!cpufreq_this_cpu_can_update(sg_policy->policy)) in sugov_should_update_freq() 84 if (unlikely(sg_policy->limits_changed)) { in sugov_should_update_freq() 85 sg_policy->limits_changed = false; in sugov_should_update_freq() 86 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 …]
|