/openbmc/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 …]
|
H A 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 …]
|
H A D | maxim,max8903.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 19 dok-gpios: 21 description: Valid DC power has been detected (active low, input) 23 uok-gpios: 27 cen-gpios: 31 chg-gpios: [all …]
|
/openbmc/linux/Documentation/hwmon/ |
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. 48 The driver also implements up to seven fan control outputs: pwm1-7. Pwm1-7 49 can be configured to PWM output or Analogue DC output via their associated 53 Automatic fan control mode is possible only for fan1-fan3. 64 triggered if the rotation speed has dropped below a programmable limit. Fan 70 or maximum limit. 116 ---------------- [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 ---------------- 40 curr1_input Measured input current 41 curr1_max Maximum current 42 curr1_max_alarm Current high alarm [all …]
|
H A D | nct6775.rst | 19 * Nuvoton NCT5572D/NCT6771F/NCT6772F/NCT6775F/W83677HG-I 83 * Nuvoton NCT6796D-S/NCT6799D-R 93 Guenter Roeck <linux@roeck-us.net> 96 ----------- 116 the high limit; it stays on until the temperature falls below the hysteresis 120 triggered if the rotation speed has dropped below a programmable limit. On 131 or maximum limit. 138 The mode works for fan1-fan5. 141 ---------------- 143 pwm[1-7] [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 …]
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_diag.c | 3 * Copyright (c) 2006 - 2012 QLogic Corporation. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 80 struct qib_diag_client *dc; in get_client() local 82 dc = client_pool; in get_client() 83 if (dc) in get_client() 85 client_pool = dc->next; in get_client() 88 dc = kmalloc(sizeof(*dc), GFP_KERNEL); in get_client() 90 if (dc) { in get_client() 91 dc->next = NULL; in get_client() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/dac/ |
H A D | adi,ad5758.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <Michael.Hennerich@analog.com> 19 spi-cpha: true 21 adi,dc-dc-mode: 25 Mode of operation of the dc-to-dc converter 32 In this mode, the VDPC+ voltage is user-programmable to a fixed level 35 The output of the DAC core is either converted to a current or 40 * 1: DPC current mode [all …]
|
/openbmc/linux/include/linux/mfd/wm831x/ |
H A D | pdata.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * include/linux/mfd/wm831x/pdata.h -- Platform data for WM831x 18 int max_uA; /** Maximum current to allow */ 24 int vlim; /** Voltage limit in millivolts */ 25 int ilim; /** Current limit in microamps */ 32 int trickle_ilim; /** Trickle charge current limit, in mA */ 34 int eoc_iterm; /** End of trickle charge current, in mA */ 35 int fast_ilim; /** Fast charge current limit, in mA */ 40 * Configuration for the WM831x DC-DC BuckWise convertors. This 59 WM831X_STATUS_PRESERVE = 0, /* Keep the current hardware setting */ [all …]
|
/openbmc/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-msm8974-sony-xperia-rhine-amami.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974-sony-xperia-rhine.dtsi" 6 compatible = "sony,xperia-amami", "qcom,msm8974"; 7 chassis-type = "handset"; 11 qcom,fast-charge-safe-current = <1300000>; 12 qcom,fast-charge-current-limit = <1300000>; 13 qcom,dc-current-limit = <1300000>;
|
/openbmc/linux/drivers/power/supply/ |
H A D | smb347-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 #include <dt-bindings/power/summit,smb347-charger.h> 26 #define SMB3XX_SOFT_TEMP_COMPENSATE_DEFAULT -1 28 /* Use default factory programmed value for hard/soft temperature limit */ 29 #define SMB3XX_TEMP_USE_DEFAULT -273 34 * reloaded from non-volatile registers after POR. 136 * struct smb347_charger - smb347 charger instance 139 * @mains: power_supply instance for AC/DC power 143 * @mains_online: is AC/DC input connected 147 * @max_charge_current: maximum current (in uA) the battery can be charged [all …]
|
H A D | max8903_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * max8903_charger.c - Maxim 8903 USB/Adapter Charger Driver 28 struct gpio_desc *dok; /* DC (Adapter) Power OK output */ 32 struct gpio_desc *dcm; /* Current-Limit Mode input (1: DC, 2: USB) */ 53 val->intval = POWER_SUPPLY_STATUS_UNKNOWN; in max8903_get_property() 54 if (data->chg) { in max8903_get_property() 55 if (gpiod_get_value(data->chg)) in max8903_get_property() 57 val->intval = POWER_SUPPLY_STATUS_CHARGING; in max8903_get_property() 58 else if (data->usb_in || data->ta_in) in max8903_get_property() 59 val->intval = POWER_SUPPLY_STATUS_NOT_CHARGING; in max8903_get_property() [all …]
|
H A D | bd99954-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 * Curve (1) represents charging current. 20 * a) Trickle-charge with constant current (8). 21 * b) pre-charge with constant current (6) 22 * c) fast-charge, first with constant current (5) phase. After 24 * voltage phase until charging current has dropped to termination 30 *(4)` `.` ` ` ` ` ` ` ` ` ` ` ` ` ` ----------------------------. 32 * . o----+/:/ ` ` ` ` ` ` ` ` ` ` ` ` `.` ` (5) 34 * . + /- -- . 35 * . +`/- + . [all …]
|
/openbmc/qemu/hw/pci-host/ |
H A D | designware.c | 29 #include "hw/qdev-properties.h" 32 #include "hw/pci-host/designware.h" 64 return DESIGNWARE_PCIE_HOST(bus->parent); in designware_pcie_root_to_host() 75 * AHB/AXI bus like any other PCI-device-initiated DMA read. in designware_pcie_root_msi_read() 77 * well-behaved guests won't ever ask a PCI device to DMA from in designware_pcie_root_msi_read() 90 root->msi.intr[0].status |= BIT(val) & root->msi.intr[0].enable; in designware_pcie_root_msi_write() 92 if (root->msi.intr[0].status & ~root->msi.intr[0].mask) { in designware_pcie_root_msi_write() 93 qemu_set_irq(host->pci.irqs[DESIGNWARE_PCIE_IRQ_MSI], 1); in designware_pcie_root_msi_write() 110 MemoryRegion *mem = &root->msi.iomem; in designware_pcie_root_update_msi_mapping() 111 const uint64_t base = root->msi.base; in designware_pcie_root_update_msi_mapping() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/include/ |
H A D | kgd_pp_interface.h | 86 AMD_VCE_LEVEL_DC_EE = 1, /* DC, entropy encoding */ 87 AMD_VCE_LEVEL_DC_LL_LOW = 2, /* DC, low latency queue, res <= 720 */ 88 AMD_VCE_LEVEL_DC_LL_HIGH = 3, /* DC, low latency queue, 1080 >= res > 720 */ 89 AMD_VCE_LEVEL_DC_GP_LOW = 4, /* DC, general purpose queue, res <= 720 */ 90 AMD_VCE_LEVEL_DC_GP_HIGH = 5, /* DC, general purpose queue, 1080 >= res > 720 */ 219 * APU power is managed to system-level requirements through the PPT 220 * (package power tracking) feature. PPT is intended to limit power to the 229 * enum pp_power_limit_level - Used to query the power limits 231 * @PP_PWR_LIMIT_MIN: Minimum Power Limit 232 * @PP_PWR_LIMIT_CURRENT: Current Power Limit [all …]
|
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/ |
H A D | spl_power_init.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <asm/arch/imx-regs.h> 24 * mxs_power_clock2xtal() - Switch CPU core clock source to 24MHz XTAL 39 &clkctrl_regs->hw_clkctrl_clkseq_set); in mxs_power_clock2xtal() 43 * mxs_power_clock2pll() - Switch CPU core clock source to PLL 46 * to PLL. This can only be called once the PLL has re-locked and once 63 setbits_le32(&clkctrl_regs->hw_clkctrl_pll0ctrl0, in mxs_power_clock2pll() 71 setbits_le32(&clkctrl_regs->hw_clkctrl_clkseq, in mxs_power_clock2pll() 76 * mxs_power_set_auto_restart() - Set the auto-restart bit 87 debug("SPL: Setting auto-restart bit\n"); in mxs_power_set_auto_restart() [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | Power.v1_7_3.json | 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 31 "description": "The available OEM-specific actions for this resource.", 32 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 43 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 66 "description": "The Input type (AC or DC).", 67 …"longDescription": "This property shall contain the input type (AC or DC) of the associated range.… 120 …operties contained in this object shall conform to the Redfish Specification-described requirement… 141 "DC" [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | Power.v1_7_3.json | 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 31 "description": "The available OEM-specific actions for this resource.", 32 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 43 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 66 "description": "The Input type (AC or DC).", 67 …"longDescription": "This property shall contain the input type (AC or DC) of the associated range.… 120 …operties contained in this object shall conform to the Redfish Specification-described requirement… 141 "DC" [all …]
|
/openbmc/qemu/hw/timer/ |
H A D | imx_epit.c | 8 * Updated by Jean-Christophe Dubois <jcd@tribudubois.net> 12 * the COPYING file in the top-level directory. 62 CLK_32k, /* 11 ipg_clk_32k -- ~32kHz */ 70 if ((s->sr & SR_OCIF) && (s->cr & CR_OCIEN) && (s->cr & CR_EN)) { in imx_epit_update_int() 71 qemu_irq_raise(s->irq); in imx_epit_update_int() 73 qemu_irq_lower(s->irq); in imx_epit_update_int() 79 uint32_t clksrc = extract32(s->cr, CR_CLKSRC_SHIFT, CR_CLKSRC_BITS); in imx_epit_get_freq() 80 uint32_t prescaler = 1 + extract32(s->cr, CR_PRESCALE_SHIFT, CR_PRESCALE_BITS); in imx_epit_get_freq() 81 uint32_t f_in = imx_ccm_get_clock_frequency(s->ccm, imx_epit_clocks[clksrc]); in imx_epit_get_freq() 94 s->cr = 0; in imx_epit_reset() [all …]
|
H A D | cmsdk-apb-dualtimer.c | 2 * ARM CMSDK APB dual-timer emulation 13 * This is a model of the "APB dual-input timer" which is part of the Cortex-M 14 * System Design Kit (CMSDK) and documented in the Cortex-M System 16 * https://developer.arm.com/products/system-design/system-design-kits/cortex-m-system-design-kit 26 #include "hw/qdev-properties.h" 28 #include "hw/qdev-clock.h" 29 #include "hw/timer/cmsdk-apb-dualtimer.h" 86 return m->intstatus && (m->control & R_CONTROL_INTEN_MASK); in cmsdk_dualtimermod_intstatus() 93 if (s->timeritcr) { in cmsdk_apb_dualtimer_update() 95 timint1 = s->timeritop & R_TIMERITOP_TIMINT1_MASK; in cmsdk_apb_dualtimer_update() [all …]
|
/openbmc/linux/drivers/iio/dac/ |
H A D | ad5758.c | 1 // SPDX-License-Identifier: GPL-2.0 101 * struct ad5758_state - driver instance specific data 107 * @dc_dc_ilim: variable which stores the dc-to-dc converter current limit 130 * 1000: 0 mA to 20 mA current range 131 * 1001: 0 mA to 24 mA current range 132 * 1010: 4 mA to 20 mA current range 133 * 1011: ±20 mA current range 134 * 1100: ±24 mA current range 135 * 1101: -1 mA to +22 mA current range 160 { AD5758_RANGE_PLUSMINUS_5V, -5000000, 5000000 }, [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | os_utilities.robot | 26 # Inventory - List of I/O devices to collect for Inventory 95 ... htxcmdline -getstats ignore_err=1 120 # Create logs directory and get current datetime. 122 ${cur_datetime}= Get Current Date result_format=%Y%m%d%H%M%S%f 151 ${headers}= Create Dictionary Content-Type=application/octet-stream 152 ... Accept=application/octet-stream 171 Get CPU Min Frequency Limit 177 ${cmd}= Catenate lscpu | grep min | tr -dc '0-9.\n' 185 # ppc64_cpu --frequency -t 10 returns 190 ${cmd}= Catenate ppc64_cpu --frequency -t 10 | grep min [all …]
|
/openbmc/linux/Documentation/power/ |
H A D | power_supply_class.rst | 7 Power supply class used to represent battery, UPS, AC or DC power supply 8 properties to user-space. 60 +--------------------------------------------------------------------------+ 61 | **Charge/Energy/Capacity - how to not confuse** | 62 +--------------------------------------------------------------------------+ 66 | - `CHARGE_*` | 68 | - `ENERGY_*` | 70 | - `CAPACITY` | 72 +--------------------------------------------------------------------------+ 122 Reports the current measured during boot [all …]
|
/openbmc/qemu/hw/watchdog/ |
H A D | cmsdk-apb-watchdog.c | 13 * This is a model of the "APB watchdog" which is part of the Cortex-M 14 * System Design Kit (CMSDK) and documented in the Cortex-M System 31 #include "hw/qdev-properties.h" 33 #include "hw/qdev-clock.h" 34 #include "hw/watchdog/cmsdk-apb-watchdog.h" 88 return s->intstatus && (s->control & R_WDOGCONTROL_INTEN_MASK); in cmsdk_apb_watchdog_intstatus() 94 return s->resetstatus && (s->control & R_WDOGCONTROL_RESEN_MASK); in cmsdk_apb_watchdog_resetstatus() 102 if (s->itcr) { in cmsdk_apb_watchdog_update() 104 * Not checking that !s->is_luminary since s->itcr can't be written in cmsdk_apb_watchdog_update() 105 * when s->is_luminary in the first place. in cmsdk_apb_watchdog_update() [all …]
|