| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
| D | bq25980.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Dan Murphy <dmurphy@ti.com> 12 - Ricardo Rivera-Matos <r-rivera-matos@ti.com> 16 for use in high-power density portable electronics. These inductorless 21 - $ref: power-supply.yaml# 26 - ti,bq25980 27 - ti,bq25975 28 - ti,bq25960 [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/ |
| D | bq25980.yaml | 1 # 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 20 - $ref: power-supply.yaml# 25 - ti,bq25980 26 - ti,bq25975 27 - ti,bq25960 32 ti,watchdog-timeout-ms: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ |
| D | nvidia,tegra124-dfll.txt | 4 Documentation/devicetree/bindings/clock/clock-bindings.txt 7 the fast CPU cluster. It consists of a free-running voltage controlled 10 communicating with an off-chip PMIC either via an I2C bus or via PWM signals. 13 - compatible : should be one of: 14 - "nvidia,tegra124-dfll": for Tegra124 15 - "nvidia,tegra210-dfll": for Tegra210 16 - reg : Defines the following set of registers, in the order listed: 17 - registers for the DFLL control logic. 18 - registers for the I2C output logic. 19 - registers for the integrated I2C master controller. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/ |
| D | nvidia,tegra124-dfll.txt | 4 Documentation/devicetree/bindings/clock/clock-bindings.txt 7 the fast CPU cluster. It consists of a free-running voltage controlled 10 communicating with an off-chip PMIC either via an I2C bus or via PWM signals. 13 - compatible : should be one of: 14 - "nvidia,tegra124-dfll": for Tegra124 15 - "nvidia,tegra210-dfll": for Tegra210 16 - reg : Defines the following set of registers, in the order listed: 17 - registers for the DFLL control logic. 18 - registers for the I2C output logic. 19 - registers for the integrated I2C master controller. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/opp/ |
| D | ti,omap-opp-supply.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/opp/ti,omap-opp-supply.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 registers, which contain OPP-specific voltage information tailored 16 Also, some supplies may have an associated vbb-supply, an Adaptive 18 w.r.t the vdd-supply and clk when making an OPP transition. By 20 transitions, we can use the multi-regulator support implemented by 22 OPP core binding Documentation/devicetree/bindings/opp/opp-v2.yaml 27 - Nishanth Menon <nm@ti.com> [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/i2c/ |
| D | maxim,max9286.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Jacopo Mondi <jacopo+renesas@jmondi.org> 12 - Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> 13 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 14 - Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> 18 Serial Links (GMSL) and outputs them on a CSI-2 D-PHY port using up to 4 data 28 '#address-cells': 31 '#size-cells': [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/hwmon/ |
| D | ntc_thermistor.txt | 2 ------------------------------- 5 - "compatible" value : one of 23 - "pullup-uv" Pull up voltage in micro volts 24 - "pullup-ohm" Pull up resistor value in ohms 25 - "pulldown-ohm" Pull down resistor value in ohms 26 - "connected-positive" Always ON, If not specified. 28 - "io-channels" Channel node of ADC to be used for 32 - "#thermal-sensor-cells" Used to expose itself to thermal fw. 35 Documentation/devicetree/bindings/iio/iio-bindings.txt 40 pullup-uv = <1800000>; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/afe/ |
| D | temperature-transducer.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/afe/temperature-transducer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Beguin <liambeguin@gmail.com> 19 When an io-channel measures the output voltage of a temperature analog front 35 ----- 37 +---+---+ 39 +---+---+ ----- 41 V proportional to T +----+----+ [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/ |
| D | dcn314_smu.h | 1 /* SPDX-License-Identifier: MIT */ 3 * Copyright 2022 Advanced Micro Devices, Inc. 48 //Voltage in milli volts with 2 fractional bits
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/ |
| D | smu13_driver_if_v13_0_5.h | 2 * Copyright 2020 Advanced Micro Devices, Inc. 100 uint16_t GfxTemperature; //[centi-Celsius] 102 uint16_t SocTemperature; //[centi-Celsius] 109 //Voltage in milli volts with 2 fractional bits
|
| D | smu13_driver_if_yellow_carp.h | 2 * Copyright 2020 Advanced Micro Devices, Inc. 120 //Voltage in milli volts with 2 fractional bits 176 uint16_t CoreTemperature[8]; //[centi-Celsius] 178 uint16_t L3Temperature; //[centi-Celsius] 180 uint16_t GfxTemperature; //[centi-Celsius] 181 uint16_t SocTemperature; //[centi-Celsius]
|
| D | smu11_driver_if_vangogh.h | 2 * Copyright 2020 Advanced Micro Devices, Inc. 125 //Voltage in milli volts with 2 fractional bits 186 uint16_t CoreTemperature[8]; //[centi-Celsius] 188 uint16_t L3Temperature[2]; //[centi-Celsius] 190 uint16_t GfxTemperature; //[centi-Celsius] 191 uint16_t SocTemperature; //[centi-Celsius] 216 uint16_t CoreTemperature[4]; //[centi-Celsius] 218 uint16_t L3Temperature[1]; //[centi-Celsius] 220 uint16_t GfxTemperature; //[centi-Celsius] 221 uint16_t SocTemperature; //[centi-Celsius]
|
| D | smu13_driver_if_v13_0_4.h | 2 * Copyright 2022 Advanced Micro Devices, Inc. 121 //Voltage in milli volts with 2 fractional bits 176 uint16_t CoreTemperature[8]; //[centi-Celsius] 178 uint16_t L3Temperature; //[centi-Celsius] 180 uint16_t GfxTemperature; //[centi-Celsius] 181 uint16_t SocTemperature; //[centi-Celsius] 200 uint16_t CurTemp; //[centi-Celsius]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/hwmon/ |
| D | ntc-thermistor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 --- 3 $id: http://devicetree.org/schemas/hwmon/ntc-thermistor.yaml# 4 $schema: http://devicetree.org/meta-schemas/core.yaml# 9 - Linus Walleij <linus.walleij@linaro.org> 13 vary in resistance in an often non-linear way in relation to temperature. 16 temperature is non-linear, software drivers most often need to use a look 20 pull-up resistor or/and a pull-down resistor and a fixed voltage like this: 22 + e.g. 5V = pull-up voltage (puv) 24 +-+ [all …]
|
| /kernel/linux/linux-6.6/Documentation/hwmon/ |
| D | aquacomputer_d5next.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 3 Kernel driver aquacomputer-d5next 23 ----------- 35 available through debugfs are the serial number, firmware version and power-on 37 temperature curves directly from the pump. If it's not connected, the fan-related 63 filled with coolant. Pump RPM and flow can be set to enhance on-device calculations, 80 ----------- 86 ------------- 89 temp[1-20]_input Physical/virtual temperature sensors (in millidegrees Celsius) 90 temp[1-8]_offset Temperature sensor correction offset (in millidegrees Celsius) [all …]
|
| /kernel/linux/linux-5.10/drivers/opp/ |
| D | ti-opp-supply.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2016-2017 Texas Instruments Incorporated - https://www.ti.com/ 5 * Dave Gerlach <d-gerlach@ti.com> 25 * struct ti_opp_supply_optimum_voltage_table - optimized voltage table 35 * struct ti_opp_supply_data - OMAP specific opp supply data 49 * struct ti_opp_supply_of_data - device tree match data 52 * @efuse_voltage_uv: Are the efuse entries in micro-volts? if not, assume 53 * milli-volts. 64 * _store_optimized_voltages() - store optimized voltages 89 ret = -ENODEV; in _store_optimized_voltages() [all …]
|
| /kernel/linux/linux-6.6/drivers/opp/ |
| D | ti-opp-supply.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2016-2017 Texas Instruments Incorporated - https://www.ti.com/ 5 * Dave Gerlach <d-gerlach@ti.com> 25 * struct ti_opp_supply_optimum_voltage_table - optimized voltage table 35 * struct ti_opp_supply_data - OMAP specific opp supply data 53 * struct ti_opp_supply_of_data - device tree match data 56 * @efuse_voltage_uv: Are the efuse entries in micro-volts? if not, assume 57 * milli-volts. 68 * _store_optimized_voltages() - store optimized voltages 93 ret = -ENODEV; in _store_optimized_voltages() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/ |
| D | dcn31_smu.h | 2 * Copyright 2018 Advanced Micro Devices, Inc. 129 //Voltage in milli volts with 2 fractional bits 185 uint16_t CoreTemperature[8]; //[centi-Celsius] 187 uint16_t L3Temperature; //[centi-Celsius] 189 uint16_t GfxTemperature; //[centi-Celsius] 190 uint16_t SocTemperature; //[centi-Celsius]
|
| /kernel/linux/linux-5.10/drivers/hwmon/ |
| D | lochnagar-hwmon.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2016-2019 Cirrus Logic, Inc. and 13 #include <linux/hwmon-sysfs.h> 59 * float_to_long - Convert ieee754 reading from hardware to an integer 62 * @precision: Units to multiply up to eg. 1000 = milli, 1000000 = micro 67 * floating point value in either volts, amps or celsius. This function 68 * will convert that into an integer in a smaller unit such as micro-amps 69 * or milli-celsius. The hardware does not return NaN, so consideration of 75 int exp = ((data & 0x7F800000) >> 23) - 127 - 23; in float_to_long() 81 if (fls64(man) + exp > (int)sizeof(long) * 8 - 1) in float_to_long() [all …]
|
| /kernel/linux/linux-6.6/drivers/hwmon/ |
| D | lochnagar-hwmon.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2016-2019 Cirrus Logic, Inc. and 13 #include <linux/hwmon-sysfs.h> 57 * float_to_long - Convert ieee754 reading from hardware to an integer 60 * @precision: Units to multiply up to eg. 1000 = milli, 1000000 = micro 65 * floating point value in either volts, amps or celsius. This function 66 * will convert that into an integer in a smaller unit such as micro-amps 67 * or milli-celsius. The hardware does not return NaN, so consideration of 73 int exp = ((data & 0x7F800000) >> 23) - 127 - 23; in float_to_long() 79 if (fls64(man) + exp > (int)sizeof(long) * 8 - 1) in float_to_long() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/opp/ |
| D | opp.txt | 2 ---------------------------------------------------- 4 Devices work at voltage-current-frequency combinations and some implementations 13 Binding 1: operating-points 16 This binding only supports voltage-frequency pairs. 19 - operating-points: An array of 2-tuples items, and each item consists 20 of frequency and voltage like <freq-kHz vol-uV>. 27 compatible = "arm,cortex-a9"; 29 next-level-cache = <&L2>; 30 operating-points = < 39 Binding 2: operating-points-v2 [all …]
|
| /kernel/linux/linux-6.6/drivers/power/supply/ |
| D | sc27xx_fuel_gauge.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/nvmem-consumer.h> 68 /* micro Ohms */ 139 return DIV_S64_ROUND_CLOSEST(adc * 1000, data->cur_1000ma_adc); in sc27xx_fgu_adc_to_current() 144 return DIV_S64_ROUND_CLOSEST(adc * 1000, data->vol_1000mv_adc); in sc27xx_fgu_adc_to_voltage() 149 return DIV_ROUND_CLOSEST(vol * data->vol_1000mv_adc, 1000); in sc27xx_fgu_voltage_to_adc() 156 ret = regmap_read(data->regmap, in sc27xx_fgu_is_first_poweron() 157 data->base + SC27XX_FGU_USER_AREA_STATUS, &status); in sc27xx_fgu_is_first_poweron() 184 ret = regmap_update_bits(data->regmap, in sc27xx_fgu_save_boot_mode() 185 data->base + SC27XX_FGU_USER_AREA_CLEAR, in sc27xx_fgu_save_boot_mode() [all …]
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | sc27xx_fuel_gauge.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/nvmem-consumer.h> 68 /* micro Ohms */ 139 return DIV_S64_ROUND_CLOSEST(adc * 1000, data->cur_1000ma_adc); in sc27xx_fgu_adc_to_current() 144 return DIV_S64_ROUND_CLOSEST(adc * 1000, data->vol_1000mv_adc); in sc27xx_fgu_adc_to_voltage() 149 return DIV_ROUND_CLOSEST(vol * data->vol_1000mv_adc, 1000); in sc27xx_fgu_voltage_to_adc() 156 ret = regmap_read(data->regmap, in sc27xx_fgu_is_first_poweron() 157 data->base + SC27XX_FGU_USER_AREA_STATUS, &status); in sc27xx_fgu_is_first_poweron() 184 ret = regmap_update_bits(data->regmap, in sc27xx_fgu_save_boot_mode() 185 data->base + SC27XX_FGU_USER_AREA_CLEAR, in sc27xx_fgu_save_boot_mode() [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | wcd-mbhc-v2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (c) 2015-2021, The Linux Foundation. All rights reserved. 14 #include "wcd-mbhc-v2.h" 72 /* Holds type of Headset - Mono/Stereo */ 74 /* Holds mbhc detection method - ADC/Legacy */ 81 if (!mbhc->fields[field].reg) in wcd_mbhc_write_field() 84 return snd_soc_component_write_field(mbhc->component, in wcd_mbhc_write_field() 85 mbhc->fields[field].reg, in wcd_mbhc_write_field() 86 mbhc->fields[field].mask, val); in wcd_mbhc_write_field() 91 if (!mbhc->fields[field].reg) in wcd_mbhc_read_field() [all …]
|