| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
| D | battery.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 14 In smart batteries, these are typically stored in non-volatile memory 16 no appropriate non-volatile memory, or it is unprogrammed/incorrect. 27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle. 28 The phandle's property should be named "monitored-battery". 32 const: simple-battery 34 over-voltage-threshold-microvolt: [all …]
|
| D | summit,smb347-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: "http://devicetree.org/schemas/power/supply/summit,smb347-charger.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 10 - David Heidelberg <david@ixit.cz> 11 - Dmitry Osipenko <digetx@gmail.com> 16 - summit,smb345 17 - summit,smb347 18 - summit,smb358 26 monitored-battery: [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/ |
| D | battery.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 14 In smart batteries, these are typically stored in non-volatile memory 16 no appropriate non-volatile memory, or it is unprogrammed/incorrect. 27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle. 28 The phandle's property should be named "monitored-battery". 32 const: simple-battery 34 device-chemistry: [all …]
|
| D | summit,smb347-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/summit,smb347-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Heidelberg <david@ixit.cz> 11 - Dmitry Osipenko <digetx@gmail.com> 16 - summit,smb345 17 - summit,smb347 18 - summit,smb358 26 monitored-battery: [all …]
|
| /kernel/linux/linux-6.6/Documentation/hwmon/ |
| D | sht3x.rst | 6 * Sensirion SHT3x-DIS 16 - David Frey <david.frey@sensirion.com> 17 - Pascal Sachs <pascal.sachs@sensirion.com> 20 ----------- 22 This driver implements support for the Sensirion SHT3x-DIS chip, a humidity 23 and temperature sensor. Temperature is measured in degrees celsius, relative 25 scaled by 1000, i.e. the value for 31.5 degrees celsius is 31500. 29 Documentation/i2c/instantiating-devices.rst for methods to instantiate the device. 31 Even if sht3x sensor supports clock-strech(blocking mode) and non-strench 32 (non-blocking mode) in single-shot mode, this driver only supports the latter. [all …]
|
| D | lm63.rst | 45 ----------- 53 - No low limit for local temperature. 54 - No critical limit for local temperature. 55 - Critical limit for remote temperature can be changed only once. We 56 will consider that the critical limit is read-only. 63 All temperature values are given in degrees Celsius. Resolution is 1.0 67 store the value in an 8-bit register and have a selectable clock divider 68 to make sure that the result will fit in the register, the LM63 uses 16-bit 72 Note that the pin used for fan monitoring is shared with an alert out 77 for fan monitoring and alert out. On the LM64, monitoring is always enabled;
|
| D | max31760.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 19 ----------- 23 temperature of a discrete diode-connected transistor, such as a 2N3906, 27 I2C-compatible interface. Fan speed is controlled based on the temperature 28 reading as an index to a 48-byte lookup table (LUT) containing 29 user-programmed PWM values. The flexible LUT-based architecture enables 34 shut down the system. A dedicated ALERT pin reports that either a local or 35 remote high-temperature threshold has been exceeded. 37 Temperature measurement range: from -55°C to 125°C 41 Please refer how to instantiate this driver: Documentation/i2c/instantiating-devices.rst [all …]
|
| D | lm90.rst | 10 Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e 26 Prefix: 'lm89' (no auto-detection) 58 Addresses scanned: I2C 0x4c - 0x4e 66 Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e 74 Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e 152 Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e 162 Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e 172 Addresses scanned: I2C 0x4c - 0x4d 182 Addresses scanned: I2C 0x4c - 0x4d 192 Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e [all …]
|
| /kernel/linux/linux-5.10/Documentation/hwmon/ |
| D | sht3x.rst | 6 * Sensirion SHT3x-DIS 16 - David Frey <david.frey@sensirion.com> 17 - Pascal Sachs <pascal.sachs@sensirion.com> 20 ----------- 22 This driver implements support for the Sensirion SHT3x-DIS chip, a humidity 23 and temperature sensor. Temperature is measured in degrees celsius, relative 25 scaled by 1000, i.e. the value for 31.5 degrees celsius is 31500. 29 Documentation/i2c/instantiating-devices.rst for methods to instantiate the device. 34 non-blocking mode. Blocking mode will guarantee the fastest result but 35 the I2C bus will be busy during that time. By default, non-blocking mode [all …]
|
| D | lm63.rst | 45 ----------- 53 - No low limit for local temperature. 54 - No critical limit for local temperature. 55 - Critical limit for remote temperature can be changed only once. We 56 will consider that the critical limit is read-only. 63 All temperature values are given in degrees Celsius. Resolution is 1.0 67 store the value in an 8-bit register and have a selectable clock divider 68 to make sure that the result will fit in the register, the LM63 uses 16-bit 72 Note that the pin used for fan monitoring is shared with an alert out 77 for fan monitoring and alert out. On the LM64, monitoring is always enabled;
|
| D | lm90.rst | 18 Prefix: 'lm89' (no auto-detection) 94 http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3497 104 http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3497 114 http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3500 124 http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3497 146 http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2578 156 http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2578 166 http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2578 178 http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3370 190 http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3370 [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | power_supply.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 23 * µA, µAh, µWh, seconds and tenths of degree Celsius unless otherwise 226 /* Run-time specific power supply configuration */ 349 int temp; /* celsius */ 359 * struct power_supply_maintenance_charge_table - setting for maintenace charging 392 * +-------------------------------------------------------------------> t 394 * Practically this means that the Li-ions are wandering back and forth in the 405 * +-------------------------------------------------------------------> t 416 * As an example, a Samsung EB425161LA Lithium-Ion battery is CC/CV charged 431 * the expected stand-by current. Also overvoltage protection will be applied [all …]
|
| /kernel/linux/linux-6.6/Documentation/power/ |
| D | power_supply_class.rst | 8 properties to user-space. 52 µA, µAh, µWh, seconds and tenths of degree Celsius unless otherwise 60 +--------------------------------------------------------------------------+ 61 | **Charge/Energy/Capacity - how to not confuse** | 62 +--------------------------------------------------------------------------+ 66 | - `CHARGE_*` | 68 | - `ENERGY_*` | 70 | - `CAPACITY` | 72 +--------------------------------------------------------------------------+ 142 relative, time-based measurements. [all …]
|
| /kernel/linux/linux-5.10/Documentation/power/ |
| D | power_supply_class.rst | 8 properties to user-space. 52 µA, µAh, µWh, seconds and tenths of degree Celsius unless otherwise 60 +--------------------------------------------------------------------------+ 61 | **Charge/Energy/Capacity - how to not confuse** | 62 +--------------------------------------------------------------------------+ 66 | - `CHARGE_*` | 68 | - `ENERGY_*` | 70 | - `CAPACITY` | 72 +--------------------------------------------------------------------------+ 142 relative, time-based measurements. [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/temperature/ |
| D | tmp007.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * tmp007.c - Support for TI TMP007 IR thermopile sensor with integrated math engine 7 * Driver for the Texas Instruments I2C 16-bit IR thermopile sensor 9 * (7-bit I2C slave address (0x40 - 0x47), changeable via ADR pins) 78 while (tries-- > 0) { in tmp007_read_temperature() 79 ret = i2c_smbus_read_word_swapped(data->client, in tmp007_read_temperature() 90 return -EIO; in tmp007_read_temperature() 92 return i2c_smbus_read_word_swapped(data->client, reg); in tmp007_read_temperature() 97 return i2c_smbus_write_word_swapped(data->client, TMP007_CONFIG, in tmp007_powerdown() 98 data->config & ~TMP007_CONFIG_CONV_EN); in tmp007_powerdown() [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/temperature/ |
| D | tmp007.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * tmp007.c - Support for TI TMP007 IR thermopile sensor with integrated math engine 7 * Driver for the Texas Instruments I2C 16-bit IR thermopile sensor 9 * (7-bit I2C slave address (0x40 - 0x47), changeable via ADR pins) 78 while (tries-- > 0) { in tmp007_read_temperature() 79 ret = i2c_smbus_read_word_swapped(data->client, in tmp007_read_temperature() 90 return -EIO; in tmp007_read_temperature() 92 return i2c_smbus_read_word_swapped(data->client, reg); in tmp007_read_temperature() 97 return i2c_smbus_write_word_swapped(data->client, TMP007_CONFIG, in tmp007_powerdown() 98 data->config & ~TMP007_CONFIG_CONV_EN); in tmp007_powerdown() [all …]
|
| /kernel/linux/linux-5.10/include/linux/power/ |
| D | max17042_battery.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 189 /* External current sense resistor value in milli-ohms */ 198 /* Alert / Status */ 253 * R_sns in micro-ohms. 260 int temp_min; /* in tenths of degree Celsius */ 261 int temp_max; /* in tenths of degree Celsius */
|
| /kernel/linux/linux-6.6/include/linux/power/ |
| D | max17042_battery.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 191 /* External current sense resistor value in milli-ohms */ 200 /* Alert / Status */ 255 * R_sns in micro-ohms. 262 int temp_min; /* in tenths of degree Celsius */ 263 int temp_max; /* in tenths of degree Celsius */
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| D | vega12_thermal.c | 38 return -EINVAL); in vega12_get_current_rpm() 47 fan_speed_info->supports_percent_read = false; in vega12_fan_ctrl_get_fan_speed_info() 48 fan_speed_info->supports_percent_write = false; in vega12_fan_ctrl_get_fan_speed_info() 49 fan_speed_info->supports_rpm_read = true; in vega12_fan_ctrl_get_fan_speed_info() 50 fan_speed_info->supports_rpm_write = true; in vega12_fan_ctrl_get_fan_speed_info() 63 * vega12_enable_fan_control_feature -Enables the SMC Fan Control Feature. 66 * Return: 0 on success. -1 otherwise. 71 struct vega12_hwmgr *data = (struct vega12_hwmgr *)(hwmgr->backend); in vega12_enable_fan_control_feature() 73 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega12_enable_fan_control_feature() 76 data->smu_features[GNLD_FAN_CONTROL]. in vega12_enable_fan_control_feature() [all …]
|
| D | vega20_thermal.c | 34 struct vega20_hwmgr *data = hwmgr->backend; in vega20_disable_fan_control_feature() 37 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega20_disable_fan_control_feature() 40 data->smu_features[GNLD_FAN_CONTROL]. in vega20_disable_fan_control_feature() 45 data->smu_features[GNLD_FAN_CONTROL].enabled = false; in vega20_disable_fan_control_feature() 53 struct vega20_hwmgr *data = hwmgr->backend; in vega20_fan_ctrl_stop_smc_fan_control() 55 if (data->smu_features[GNLD_FAN_CONTROL].supported) in vega20_fan_ctrl_stop_smc_fan_control() 63 struct vega20_hwmgr *data = hwmgr->backend; in vega20_enable_fan_control_feature() 66 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega20_enable_fan_control_feature() 69 data->smu_features[GNLD_FAN_CONTROL]. in vega20_enable_fan_control_feature() 74 data->smu_features[GNLD_FAN_CONTROL].enabled = true; in vega20_enable_fan_control_feature() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| D | vega12_thermal.c | 38 return -EINVAL); in vega12_get_current_rpm() 47 fan_speed_info->supports_percent_read = false; in vega12_fan_ctrl_get_fan_speed_info() 48 fan_speed_info->supports_percent_write = false; in vega12_fan_ctrl_get_fan_speed_info() 49 fan_speed_info->supports_rpm_read = true; in vega12_fan_ctrl_get_fan_speed_info() 50 fan_speed_info->supports_rpm_write = true; in vega12_fan_ctrl_get_fan_speed_info() 66 * @param hwmgr - the address of the powerplay hardware manager. 67 * @return 0 on success. -1 otherwise. 72 struct vega12_hwmgr *data = (struct vega12_hwmgr *)(hwmgr->backend); in vega12_enable_fan_control_feature() 74 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega12_enable_fan_control_feature() 77 data->smu_features[GNLD_FAN_CONTROL]. in vega12_enable_fan_control_feature() [all …]
|
| D | vega20_thermal.c | 34 struct vega20_hwmgr *data = hwmgr->backend; in vega20_disable_fan_control_feature() 37 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega20_disable_fan_control_feature() 40 data->smu_features[GNLD_FAN_CONTROL]. in vega20_disable_fan_control_feature() 45 data->smu_features[GNLD_FAN_CONTROL].enabled = false; in vega20_disable_fan_control_feature() 53 struct vega20_hwmgr *data = hwmgr->backend; in vega20_fan_ctrl_stop_smc_fan_control() 55 if (data->smu_features[GNLD_FAN_CONTROL].supported) in vega20_fan_ctrl_stop_smc_fan_control() 63 struct vega20_hwmgr *data = hwmgr->backend; in vega20_enable_fan_control_feature() 66 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega20_enable_fan_control_feature() 69 data->smu_features[GNLD_FAN_CONTROL]. in vega20_enable_fan_control_feature() 74 data->smu_features[GNLD_FAN_CONTROL].enabled = true; in vega20_enable_fan_control_feature() [all …]
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | power_supply_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 42 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by() 46 if (supply->supplied_from) { in __power_supply_is_supplied_by() 47 if (!supplier->desc->name) in __power_supply_is_supplied_by() 49 for (i = 0; i < supply->num_supplies; i++) in __power_supply_is_supplied_by() 50 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by() 53 if (!supply->desc->name) in __power_supply_is_supplied_by() 55 for (i = 0; i < supplier->num_supplicants; i++) in __power_supply_is_supplied_by() 56 if (!strcmp(supplier->supplied_to[i], supply->desc->name)) in __power_supply_is_supplied_by() 69 if (pst->desc->external_power_changed) in __power_supply_changed_work() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/gemini/ |
| D | gemini-dlink-dir-685.dts | 2 * Device Tree file for D-Link DIR-685 Xtreme N Storage Router 5 /dts-v1/; 8 #include <dt-bindings/input/input.h> 11 model = "D-Link DIR-685 Xtreme N Storage Router"; 12 compatible = "dlink,dir-685", "cortina,gemini"; 13 #address-cells = <1>; 14 #size-cells = <1>; 17 /* 128 MB SDRAM in 2 x Hynix HY5DU121622DTP-D43 */ 24 stdout-path = "uart0:19200n8"; 28 compatible = "gpio-keys"; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | gemini-dlink-dir-685.dts | 2 * Device Tree file for D-Link DIR-685 Xtreme N Storage Router 5 /dts-v1/; 8 #include <dt-bindings/input/input.h> 11 model = "D-Link DIR-685 Xtreme N Storage Router"; 12 compatible = "dlink,dir-685", "cortina,gemini"; 13 #address-cells = <1>; 14 #size-cells = <1>; 17 /* 128 MB SDRAM in 2 x Hynix HY5DU121622DTP-D43 */ 24 stdout-path = "uart0:19200n8"; 28 compatible = "gpio-keys"; [all …]
|