/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-hwmon | 1 What: /sys/class/hwmon/hwmonX/name 12 What: /sys/class/hwmon/hwmonX/label 16 The contents of the label are free-form. 20 What: /sys/class/hwmon/hwmonX/update_interval 30 What: /sys/class/hwmon/hwmonX/inY_min 32 Voltage min value. 38 What: /sys/class/hwmon/hwmonX/inY_lcrit 40 Voltage critical min value. 46 If voltage drops to or below this limit, the system may 50 What: /sys/class/hwmon/hwmonX/inY_max [all …]
|
H A D | sysfs-class-power | 3 What: /sys/class/power_supply/<supply_name>/manufacturer 5 Contact: linux-pm@vger.kernel.org 12 What: /sys/class/power_supply/<supply_name>/model_name 14 Contact: linux-pm@vger.kernel.org 21 What: /sys/class/power_supply/<supply_name>/serial_number 23 Contact: linux-pm@vger.kernel.org 30 What: /sys/class/power_supply/<supply_name>/type 32 Contact: linux-pm@vger.kernel.org 41 What: /sys/class/power_supply/<supply_name>/current_avg 43 Contact: linux-pm@vger.kernel.org [all …]
|
H A D | sysfs-class-usb_power_delivery | 1 What: /sys/class/usb_power_delivery 7 What: /sys/class/usb_power_delivery/.../revision 14 What: /sys/class/usb_power_delivery/.../version 23 What: /sys/class/usb_power_delivery/.../source-capabilities 30 Power Delivery Specification. Each PDO - power supply - will 35 /sys/class/usb_power_delivery/.../source_capabilities/<position>:<type> 37 What: /sys/class/usb_power_delivery/.../sink-capabilities 51 What: /sys/class/usb_power_delivery/.../<capability>/<position>:fixed_supply 65 What: /sys/class/usb_power_delivery/.../<capability>/1:fixed_supply/dual_role_power 72 What: /sys/class/usb_power_delivery/.../source-capabilities/1:fixed_supply/usb_suspend_supported [all …]
|
H A D | sysfs-class-led-flash | 1 What: /sys/class/leds/<led>/flash_brightness 11 /sys/class/leds/<led>/max_flash_brightness. 13 What: /sys/class/leds/<led>/max_flash_brightness 21 What: /sys/class/leds/<led>/flash_timeout 31 What: /sys/class/leds/<led>/max_flash_timeout 38 What: /sys/class/leds/<led>/flash_strobe 49 What: /sys/class/leds/<led>/flash_fault 55 Flash faults are re-read after strobing the flash. Possible 58 * led-over-voltage 59 flash controller voltage to the flash LED [all …]
|
H A D | sysfs-class-regulator | 1 What: /sys/class/regulator/.../state 20 supplying power to the system (unless some non-Linux 30 What: /sys/class/regulator/.../status 38 - off 39 - on 40 - error 41 - fast 42 - normal 43 - idle 44 - standby [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | bq25890.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Bq25890, bq25892, bq25895 and bq25896 Li-Ion Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 19 - enum: 20 - ti,bq25890 21 - items: 22 - enum: [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | lt7182s.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 Addresses scanned: - 16 Author: Guenter Roeck <linux@roeck-us.net> 20 ----------- 22 LT7182S is a Dual Channel 6A, 20V PolyPhase Step-Down Silent Switcher with 27 ----------- 36 # echo lt7182s 0x4f > /sys/bus/i2c/devices/i2c-4/new_device 42 ---------------- 45 curr[1-2]_label "iin[12]" 46 curr[1-2]_input Measured input current [all …]
|
H A D | ir35221.rst | 9 Addresses scanned: - 13 Author: Samuel Mendoza-Jonas <sam@mendozajonas.com> 17 ----------- 19 IR35221 is a Digital DC-DC Multiphase Converter 23 ----------- 32 # echo ir35221 0x70 > /sys/bus/i2c/devices/i2c-4/new_device 36 ---------------- 44 curr[2-3]_label "iout[1-2]" 45 curr[2-3]_input Measured output current 46 curr[2-3]_crit Critical maximum current [all …]
|
H A D | tps53679.rst | 10 Addresses scanned: - 18 Addresses scanned: - 26 Addresses scanned: - 34 Addresses scanned: - 42 Addresses scanned: - 50 Addresses scanned: - 57 Guenter Roeck <linux@roeck-us.net> 61 ----------- 63 Chips in this series are multi-phase step-down converters with one or two 68 ----------- [all …]
|
H A D | pmbus.rst | 12 Addresses scanned: - 23 Addresses scanned: - 27 https://www.onsemi.com/pub_link/Collateral/ADP4000-D.PDF 29 https://www.onsemi.com/pub_link/Collateral/NCP4200-D.PDF 31 https://www.onsemi.com/pub_link/Collateral/JUNE%202009-%20REV.%200.PDF 37 Addresses scanned: - 55 Addresses scanned: - 73 Addresses scanned: - 83 Addresses scanned: - 88 Author: Guenter Roeck <linux@roeck-us.net> [all …]
|
H A D | sysfs-interface.rst | 5 through the sysfs interface. Since lm-sensors 3.0.0, libsensors is 6 completely chip-independent. It assumes that all the kernel drivers 10 This is a major improvement compared to lm-sensors 2. 22 For this reason, even if we aim at a chip-independent libsensors, it will 33 Each chip gets its own directory in the sysfs /sys/devices tree. To 35 `/sys/class/hwmon/hwmon*`. 37 Up to lm-sensors 3.0.0, libsensors looks for hardware monitoring attributes 38 in the "physical" device directory. Since lm-sensors 3.0.1, attributes found 48 types for sensor chips are "in" (voltage), "temp" (temperature) and 61 to cause an alarm) is chip-dependent. [all …]
|
H A D | ltc2978.rst | 10 Addresses scanned: - 18 Addresses scanned: - 26 Addresses scanned: - 34 Addresses scanned: - 42 Addresses scanned: - 52 Addresses scanned: - 60 Addresses scanned: - 68 Addresses scanned: - 76 Addresses scanned: - 84 Addresses scanned: - [all …]
|
H A D | ltc2945.rst | 10 Addresses scanned: - 14 https://www.analog.com/media/en/technical-documentation/data-sheets/2945fb.pdf 16 Author: Guenter Roeck <linux@roeck-us.net> 20 ----------- 22 The LTC2945 is a rail-to-rail system monitor that measures current, voltage, 27 ----------- 37 $ echo ltc2945 0x10 > /sys/bus/i2c/devices/i2c-1/new_device 41 ------------- 43 Voltage readings provided by this driver are reported as obtained from the ADC 44 registers. If a set of voltage divider resistors is installed, calculate the [all …]
|
H A D | pxe1610.rst | 10 Addresses scanned: - 18 Addresses scanned: - 26 Addresses scanned: - 34 ----------- 36 PXE1610/PXE1110 are Multi-rail/Multiphase Digital Controllers 39 - Intel VR13 DC-DC converter specifications. 40 - Intel SVID protocol. 44 - Servers, Workstations, and High-end desktops 46 PXM1310 is a Multi-rail Controller and it is compliant to 48 - Intel VR13 DC-DC converter specifications. [all …]
|
H A D | w83l786ng.rst | 10 Addresses scanned: I2C 0x2e - 0x2f 12 Datasheet: http://www.winbond-usa.com/products/winbond_products/pdfs/PCIC/W83L786NRNG09.pdf 18 ----------------- 28 ----------- 33 sensors, and three voltage sensors. 42 Voltage sensors (also known as IN sensors) report their values in millivolts. 43 An alarm is triggered if the voltage has crossed a programmable minimum 46 /sys files 47 ---------- 49 pwm[1-2] [all …]
|
H A D | w83627ehf.rst | 22 * Winbond W83627DHG-P 46 * Winbond W83667HG-B 54 * Nuvoton NCT6775F/W83667HG-I 73 - Jean Delvare <jdelvare@suse.de> 74 - Yuan Mu (Winbond) 75 - Rudolf Marek <r.marek@assembler.cz> 76 - David Hubbard <david.c.hubbard@gmail.com> 77 - Gong Jun <JGong@nuvoton.com> 80 ----------- 83 W83627DHG, W83627DHG-P, W83627UHG, W83667HG, W83667HG-B, W83667HG-I [all …]
|
H A D | w83792d.rst | 10 Addresses scanned: I2C 0x2c - 0x2f 19 ----------------- 35 ----------- 42 parameter; this will put it into a more well-behaved state first. 45 sensors, nine voltage sensors, and two automatic fan regulation 48 The driver also implements up to seven fan control outputs: pwm1-7. Pwm1-7 53 Automatic fan control mode is possible only for fan1-fan3. 55 For all pwmX outputs, a value of 0 means minimum fan speed and a value of 68 Voltage sensors (also known as IN sensors) report their values in millivolts. 69 An alarm is triggered if the voltage has crossed a programmable minimum [all …]
|
H A D | w83791d.rst | 10 Addresses scanned: I2C 0x2c - 0x2f 12 Datasheet: http://www.winbond-usa.com/products/winbond_products/pdfs/PCIC/W83791D_W83791Gb.pdf 22 - Frodo Looijaard <frodol@dds.nl>, 23 - Philip Edelbrock <phil@netroedge.com>, 24 - Mark Studebaker <mdsxyz123@yahoo.com> 28 - Shane Huang (Winbond), 29 - Rudolf Marek <r.marek@assembler.cz> 33 - Sven Anders <anders@anduras.de> 34 - Marc Hulsman <m.hulsman@tudelft.nl> 37 ----------------- [all …]
|
/openbmc/linux/Documentation/driver-api/thermal/ |
H A D | intel_dptf.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 ------------ 31 ---------------------------- 33 :file:`/sys/bus/platform/devices/<N>/uuids`, where <N> 43 "42A441D6-AE6A-462b-A84B-4A8CE79027D3" : Passive 1 45 "3A95C389-E4B8-4629-A526-C52C88626BAE" : Active 47 "97C68AE7-15FA-499c-B8C9-5DA81D606E0A" : Critical 49 "63BE270F-1C11-48FD-A6F7-3AF253FF3E2D" : Adaptive performance 51 "5349962F-71E6-431D-9AE8-0A635B710AEE" : Emergency call 53 "9E04115A-AE87-4D1C-9500-0F3E340BFE75" : Passive 2 [all …]
|
/openbmc/linux/Documentation/admin-guide/pm/ |
H A D | cpufreq.rst | 1 .. SPDX-License-Identifier: GPL-2.0 19 different clock frequency and voltage configurations, often referred to as 20 Operating Performance Points or P-states (in ACPI terminology). As a rule, 21 the higher the clock frequency and the higher the voltage, the more instructions 23 frequency and the higher the voltage, the more energy is consumed over a unit of 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 37 different frequency/voltage configurations or (in the ACPI terminology) to be 38 put into different P-states. [all …]
|
H A D | cpufreq_drivers.rst | 1 .. SPDX-License-Identifier: GPL-2.0 21 there is a different cpu-freq driver for each generation. 27 Note that the functionality to change frequency (and voltage) 33 voltage information appropriate for a particular platform. 37 6th Generation: powernow-k6 39 7th Generation: powernow-k7: Athlon, Duron, Geode. 41 8th Generation: powernow-k8: Athlon, Athlon 64, Opteron, Sempron. 46 BIOS supplied data, for powernow-k7 and for powernow-k8, may be 49 The powernow-k8 driver will attempt to use ACPI if so configured, 51 The powernow-k7 driver will try to use the PSB support first, and [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/devfreq/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 bool "Generic Dynamic Voltage and Frequency Scaling (DVFS) support" 20 to a device by 1-to-1. The device registering devfreq takes the 39 Simple-Ondemand should be able to provide busy/total counter 54 Sets the frequency at the minimum available frequency. 64 has been an input to /sys/devices/.../userspace/set_freq. 74 devfreq device uses the OPP table to get the frequency/voltage. 89 PPMU counters of memory controllers by using DEVFREQ-event device
|
/openbmc/linux/drivers/power/supply/ |
H A D | rk817_charger.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <linux/devm-helpers.h> 59 * voltage readings. While they are documented in the BSP kernel and 68 * soc - state of charge - like the BSP this is stored as a percentage, 143 return -EINVAL; in rk817_chg_cur_to_reg() 166 return -EINVAL; in rk817_chg_cur_from_reg() 176 /* calibrate voltage */ in rk817_bat_calib_vol() 177 regmap_bulk_read(charger->rk808->regmap, RK817_GAS_GAUGE_VCALIB0_H, in rk817_bat_calib_vol() 181 regmap_bulk_read(charger->rk808->regmap, RK817_GAS_GAUGE_VCALIB1_H, in rk817_bat_calib_vol() 186 charger->voltage_k = (4025 - 2300) * 1000 / in rk817_bat_calib_vol() [all …]
|
H A D | bq25890_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 83 u8 vreg; /* regulation voltage */ 86 u8 sysvmin; /* minimum system voltage limit */ 87 u8 boostv; /* boost regulation voltage */ 93 u8 vclamp; /* IBAT compensation voltage limit */ 113 char name[28]; /* "bq25890-charger-%d" */ 272 * Most of the val -> idx conversions can be computed, given the minimum, 322 0, -10, -20, -30, -40, -60, -70, -80, 323 -90, -10, -120, -140, -150, -170, -190, -210, 367 ret = regmap_field_read(bq->rmap_fields[field_id], &val); in bq25890_field_read() [all …]
|