/openbmc/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 <bjorn.andersson@linaro.org> 11 - Kiran Gunda <kgunda@codeaurora.org> 21 - qcom,pm8941-wled 22 - qcom,pmi8950-wled 23 - qcom,pmi8994-wled 24 - qcom,pmi8998-wled [all …]
|
/openbmc/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 | 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 …]
|
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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/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 …]
|
/openbmc/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 …]
|
/openbmc/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) */
|
/openbmc/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() 37 return rcu_segcblist_is_offloaded(&rdp->cblist); in rcu_rdp_is_offloaded() 50 pr_info("\tCONFIG_RCU_FANOUT set to non-default value of %d.\n", in rcu_bootup_announce_oddness() 57 pr_info("\tRCU strict (and thus non-scalable) grace periods are enabled.\n"); in rcu_bootup_announce_oddness() 59 pr_info("\tFour(or more)-level hierarchy is enabled.\n"); in rcu_bootup_announce_oddness() 61 pr_info("\tBuild-time adjustment of leaf fanout to %d.\n", in rcu_bootup_announce_oddness() 64 pr_info("\tBoot-time adjustment of leaf fanout to %d.\n", in rcu_bootup_announce_oddness() [all …]
|
/openbmc/fb-ipmi-oem/include/ |
H A D | sensorutils.hpp | 3 * Copyright (c) 2018-present Facebook. 9 * http://www.apache.org/licenses/LICENSE-2.0 21 #include <phosphor-logging/log.hpp> 30 static constexpr int16_t minInt10 = -0x200; 32 static constexpr int8_t minInt4 = -8; 49 current = 0x3, enumerator 62 using SensorSubTree = boost::container::flat_map< 64 boost::container::flat_map<std::string, std::vector<std::string>>, 75 phosphor::logging::entry("ERRNO=0x%X", -ret)); in getSensorSubtree() 114 const static boost::container::flat_map<const char*, SensorUnits, CmpStr> [all …]
|
/openbmc/bmcweb/redfish-core/include/ |
H A D | error_messages.hpp | 4 * This is an auto-generated header which contains definitions 15 #include <boost/url/url_view_base.hpp> 167 * Message body: "The property <arg1> is a read-only property and cannot be 391 * Message body: "The array provided for property <arg1> exceeds the size limit 406 * size limit <arg2>." 529 * simultaneous sessions exceeding the limit of the implementation." 540 * simultaneous subscriptions exceeding the limit of the implementation." 660 * the limit of possible resources." 704 * credentials associated with the current session to perform the requested 745 * Message body: "The account for the current session was removed, and so the [all …]
|
/openbmc/phosphor-host-ipmid/ |
H A D | dcmihandler.cpp | 10 #include <phosphor-logging/elog-errors.hpp> 11 #include <phosphor-logging/lg2.hpp> 69 // Refer Table 6-14, DCMI Entity ID Extension, DCMI v1.5 spec 110 boost::system::error_code ec = in getPcap() 131 boost::system::error_code ec = in getPcapEnabled() 152 boost::system::error_code ec = in setPcap() 173 boost::system::error_code ec = in setPcapEnable() 197 boost::system::error_code ec = getDbusObject( in readAssetTag() 224 boost::system::error_code ec = getDbusObject( in writeAssetTag() 247 boost::system::error_code ec = in getHostName() [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/docs/ |
H A D | cpp-style-and-conventions.md | 41 We also strive to keep the codebase up-to-date with the latest recommended 48 of this document enforced by tools as possible by, for example, clang-format and 49 clang-tidy. 51 For those coming to the project from pre-C++11 environments we strongly 57 OpenBMC targets embedded processors that typically have 32-64MB of flash and 58 similar processing power of a typical smart-watch available in 2016. This means 59 that there are times where we must limit library selection and/or coding 60 techniques to compensate for this constraint. Due to the current technology, 64 From a macro-optimization perspective, we expect all solutions to have an 89 - NL.10 Avoid CamelCase [all …]
|
/openbmc/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 …]
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | managers.hpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 3 // SPDX-FileCopyrightText: Copyright 2018 Intel Corporation 22 #include <boost/system/error_code.hpp> 23 #include <boost/url/format.hpp> 62 * @param[in] asyncResp - Shared pointer for completing asynchronous calls 74 // Create the D-Bus variant for D-Bus call. in doBMCGracefulRestart() 78 [asyncResp](const boost::system::error_code& ec) { in doBMCGracefulRestart() 82 BMCWEB_LOG_DEBUG("[Set] Bad D-Bus request error: {}", ec); in doBMCGracefulRestart() 83 messages::internalError(asyncResp->res); in doBMCGracefulRestart() [all …]
|
/openbmc/linux/include/linux/mfd/ |
H A D | rt5033-private.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 116 /* RT5033 charger property - model, manufacturer */ 121 * While RT5033 charger can limit the fast-charge current (as in CHGCTRL1 122 * register), AICR mode limits the input current. For example, the AIRC 100 123 * mode limits the input current to 100 mA. 158 * and boost mode. 177 /* RT5033 charger pre-charge current limits (as in CHGCTRL4 register), uA */ 183 /* RT5033 charger fast-charge current (as in CHGCTRL5 register), uA */ 190 * RT5033 charger const-charge end of charger current ( 200 * RT5033 charger pre-charge threshold volt limits
|
/openbmc/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 …]
|