/openbmc/openbmc-test-automation/extended/ |
H A D | test_bios_update.robot | 33 [Tags] Host_BIOS_Update open-power 40 Host BIOS Power On 41 [Documentation] Power On the system and wait for OS 42 [Tags] Host_BIOS_Power_On open-power 44 Run Keyword If '${PREV_TEST_STATUS}' == 'PASS' Validate Power On 51 # Call 'OBMC Boot Test' to do a 'REST Power Off', if needed. 52 Run Key U OBMC Boot Test \ REST Power Off 53 Run Key Delete Error logs 58 Run Key Copy PNOR to BMC 60 Run Key Flash PNOR \ /tmp/${pnor_basename} [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | da9062-onkey.txt | 11 - compatible: should be one of the following valid compatible string lines: 12 "dlg,da9061-onkey", "dlg,da9062-onkey" 13 "dlg,da9062-onkey" 14 "dlg,da9063-onkey" 18 - dlg,disable-key-power : Disable power-down using a long key-press. If this 19 entry exists the OnKey driver will remove support for the KEY_POWER key 26 compatible = "dlg,da9063-onkey"; 27 dlg,disable-key-power; 35 compatible = "dlg,da9062-onkey"; 36 dlg,disable-key-power; [all …]
|
H A D | mediatek,pmic-keys.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/mediatek,pmic-keys.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen Zhong <chen.zhong@mediatek.com> 13 - $ref: input.yaml# 16 There are two key functions provided by MT6397, MT6323 and other MediaTek 18 The key functions are defined as the subnode of the function node provided 19 by the PMIC that is defined as a Multi-Function Device (MFD). 27 - mediatek,mt6323-keys [all …]
|
H A D | input.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dmitry Torokhov <dmitry.torokhov@gmail.com> 14 description: Enable autorepeat when key is pressed and held down. 21 $ref: /schemas/types.yaml#/definitions/uint32-array 34 linux,input-type: 37 - 1 # EV_KEY 38 - 2 # EV_REL 39 - 3 # EV_ABS [all …]
|
H A D | qcom,pm8941-pwrkey.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/qcom,pm8941-pwrkey.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm PM8941 PMIC Power Key 10 - Courtney Cavin <courtney.cavin@sonymobile.com> 11 - Vinod Koul <vkoul@kernel.org> 14 - $ref: input.yaml# 19 - qcom,pm8941-pwrkey 20 - qcom,pm8941-resin [all …]
|
/openbmc/linux/drivers/input/misc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 21 reporting power button status. 31 reporting power button status. 37 tristate "AB8500 Pon (PowerOn) Key" 40 Say Y here to use the PowerOn Key for ST-Ericsson's AB8500 41 Mix-Sig PMIC. 44 will be called ab8500-ponkey. 64 module will be called ad714x-i2c. 74 module will be called ad714x-spi. 77 tristate "Dell Wyse 3020 Power Button Driver" [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | var_funcs.py | 40 The print-out of the resulting var dictionary is: 94 [format_str % (key, value) for (key, value) in dict.items()] 202 Parse a key/value string and return as a key/value tuple. 205 <key or variable name><delimiter><value> 207 An example of a key/value string would be as follows: 209 Current Limit State: No Active Power Limit 211 In the example shown, the delimiter is ":". The resulting key would be as follows: 214 …Note: If one were to take the default values of to_lower=1 and underscores=1, the resulting key wo… 218 …The to_lower and underscores arguments are provided for those who wish to have their key names hav… 222 No Active Power Limit [all …]
|
H A D | tally_sheet.py | 24 row has a unique key field. 43 boot_test_results.add_row('BMC Power On') 44 boot_test_results.add_row('BMC Power Off') 47 boot_test_results.inc_row_field('BMC Power On', 'pass') 48 boot_test_results.inc_row_field('BMC Power Off', 'pass') 49 boot_test_results.inc_row_field('BMC Power On', 'fail') 58 ----------------------------------- ----- ---- ---- 59 BMC Power On 2 1 1 60 BMC Power Off 1 1 0 76 row_key_field_name The name of the row key field (e.g. boot_type, team_name, etc.) [all …]
|
H A D | bmc_redfish_utils.py | 51 'key': 'yLXotJnrh5nDhXj5lLiH' , 56 "key": self._redfish_.get_session_key(), 74 "get_attribute: JSONDecodeError, re-trying" 122 # ['/redfish/v1/Chassis/foo/Power','/redfish/v1/Chassis/bar/Power'] 145 end_point_prefix Name of the endpoint (e.g. 'Power'). 148 /redfish/v1/Chassis/<foo>/Power 149 /redfish/v1/Chassis/<bar>/Power 155 regex = ".*/" + end_point_prefix + "[_]?[0-9]*$" 188 # Recursively search the "target" key in the nested dictionary. 194 attribute_in_uri = target.rsplit("/", 1)[-1] [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | cpustat_kern.c | 1 // SPDX-License-Identifier: GPL-2.0 33 * interval for the previous state: Duration(Idx) = Ts` - Ts. 38 * +--------------------------+ 40 * +--------------------------+ 42 * +--------------------------+ 44 * +--------------------------+ 46 * +--------------------------+ 56 __type(key, u32); 64 __type(key, u32); 72 __type(key, u32); [all …]
|
/openbmc/linux/drivers/net/wireless/ath/carl9170/ |
H A D | mac.c | 24 * Copyright (c) 2007-2008 Atheros Communications, Inc. 48 if (conf_is_ht40(&ar->hw->conf)) in carl9170_set_dyn_sifs_ack() 51 if (ar->hw->conf.chandef.chan->band == NL80211_BAND_2GHZ) in carl9170_set_dyn_sifs_ack() 64 if (conf_is_ht(&ar->hw->conf)) { in carl9170_set_rts_cts_rate() 69 if (ar->hw->conf.chandef.chan->band == NL80211_BAND_2GHZ) { in carl9170_set_rts_cts_rate() 96 if ((ar->hw->conf.chandef.chan->band == NL80211_BAND_5GHZ) || in carl9170_set_slot_time() 97 vif->bss_conf.use_short_slot) in carl9170_set_slot_time() 119 basic = (vif->bss_conf.basic_rates & 0xf); in carl9170_set_mac_rates() 120 basic |= (vif->bss_conf.basic_rates & 0xff0) << 4; in carl9170_set_mac_rates() 123 if (ar->hw->conf.chandef.chan->band == NL80211_BAND_5GHZ) in carl9170_set_mac_rates() [all …]
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | thunderbolt.rst | 1 .. SPDX-License-Identifier: GPL-2.0 25 ----------------------------------- 27 should be a userspace tool that handles all the low-level details, keeps 31 found in ``Documentation/ABI/testing/sysfs-bus-thunderbolt``. 35 ``/etc/udev/rules.d/99-local.rules``:: 69 a challenge that should match the expected one based on a random key 70 written to the ``key`` sysfs attribute. In BIOS settings this is 71 typically called *One time saved key*. 102 ----------------------------------------------------------------- 105 /sys/bus/thunderbolt/devices/0-1/authorized - 0 [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | st,stmfts.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ST-Microelectronics FingerTip touchscreen controller 10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 13 The ST-Microelectronics FingerTip device provides a basic touchscreen 15 as a basic HOME and BACK key for phones. 18 - $ref: touchscreen.yaml# 27 avdd-supply: 28 description: Analogic power supply [all …]
|
H A D | cypress,cy8ctma340.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - Javier Martinez Canillas <javier@dowhile0.org> 15 - Linus Walleij <linus.walleij@linaro.org> 18 - $ref: touchscreen.yaml# 26 - const: cypress,cy8ctma340 27 - const: cypress,cy8ctst341 28 - const: cypress,cyttsp-spi 31 - const: cypress,cyttsp-i2c [all …]
|
/openbmc/linux/arch/arm64/boot/dts/exynos/ |
H A D | exynos7885-jackpotlte.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Samsung Galaxy A8 2018 (jackpotlte/SM-A530F) device tree source 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 18 chassis-type = "handset"; 28 stdout-path = &serial_2; 38 gpio-keys { 39 compatible = "gpio-keys"; [all …]
|
/openbmc/openbmc-test-automation/redfish/telemetry_service/ |
H A D | test_telemetry_report.robot | 21 ... battery voltage=Battery_Voltage total power=total_power 36 total power OnRequest LogToMetricReportsCollection 51 Create Basic Telemetry Report total power Periodic LogToMetricReportsCollection 56 ... total power Periodic LogToMetricReportsCollection expected_result=fail 76 Redfish Power On stack_mode=skip 90 FOR ${key} IN @{user_tele_def.keys()} 91 Add To Telemetry definition Record ${key} ${user_tele_def['${key}']} 97 ... Definitions are stored in a dictionary as key and value 99 [Arguments] ${key} ${value} 102 # key Name of metric definition in plain english. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | dlg,da9063.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Dialog DA9063/DA9063L Power Management Integrated Circuit (PMIC) 10 - Steve Twiss <stwiss.opensource@diasemi.com> 13 For device-tree bindings of other sub-modules refer to the binding documents 14 under the respective sub-system directories. 15 Using regulator-{uv,ov}-{warn,error,protection}-microvolt requires special 24 - dlg,da9063 25 - dlg,da9063l [all …]
|
H A D | stericsson,ab8500.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ST-Ericsson Analog Baseband AB8500 and AB8505 10 - Linus Walleij <linus.walleij@linaro.org> 13 the AB8500 "Analog Baseband" is the mixed-signals integrated circuit 14 handling power management (regulators), analog-to-digital conversion 15 (ADC), battery charging, fuel gauging of the battery, battery-backed 16 RTC, PWM, USB PHY and some GPIO lines in the ST-Ericsson U8500 platforms 21 USB charging handling has changed, and it has an embedded USB-to-serial [all …]
|
/openbmc/phosphor-fan-presence/sensor-monitor/ |
H A D | shutdown_alarm_monitor.hpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 36 * This class finds all instances of the D-Bus interfaces 69 * @param[in] bus - The sdbusplus bus object 70 * @param[in] event - The sdeventplus event object 71 * @param[in] powerState - The PowerState object 80 * If the power is on, the new alarm values will be checked to see 92 * @param[in] value - The alarm property value 93 * @param[in] alarmKey - The alarm key 98 * @brief Checks all currently known alarm properties on D-Bus. 106 * D-Bus and adds them to the alarms map. [all …]
|
/openbmc/u-boot/board/samsung/common/ |
H A D | misc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 25 #include <power/max77686_pmic.h> 28 #include <power/max8998_pmic.h> 31 #include <power/max8997_pmic.h> 33 #include <power/pmic.h> 64 offset += snprintf(buf + offset, buf_size - offset, in set_dfu_alt_info() 106 snprintf(info, ARRAY_SIZE(info), "%s%x-%s%s.dtb", in set_board_info() 144 static int key_pressed(int key) in key_pressed() argument 148 switch (key) { in key_pressed() 217 "env default -a; saveenv", [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 206.out | 3 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 5 {"execute": "job-dismiss", "arguments": {"id": "job0"}} 8 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.qcow2", "no… 10 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "qcow2", "file… 12 {"execute": "job-dismiss", "arguments": {"id": "job0"}} 27 === Successful image creation (inline blockdev-add, explicit defaults) === 29 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 31 {"execute": "job-dismiss", "arguments": {"id": "job0"}} 34 …-create", "arguments": {"job-id": "job0", "options": {"cluster-size": 65536, "driver": "qcow2", "f… 36 {"execute": "job-dismiss", "arguments": {"id": "job0"}} [all …]
|
/openbmc/phosphor-power/phosphor-regulators/src/actions/ |
H A D | i2c_capture_bytes_action.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 26 namespace phosphor::power::regulators namespace 40 // Store error data in action environment as a string key/value pair in execute() 41 std::string key = getErrorDataKey(environment); in execute() local 43 environment.addAdditionalErrorData(key, value); in execute() 66 // Additional error data key format: <deviceID>_register_<register> in getErrorDataKey() 70 std::string key = ss.str(); in getErrorDataKey() local 72 // Verify key does not already exist in the action environment. This occurs in getErrorDataKey() 74 if (environment.getAdditionalErrorData().contains(key)) in getErrorDataKey() 76 // Add counter suffix to key and loop until unused key is found in getErrorDataKey() [all …]
|
/openbmc/linux/Documentation/userspace-api/media/rc/ |
H A D | rc-tables.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 20 layer. This means that the IR key strokes will look like normal keyboard 21 key strokes (if CONFIG_INPUT_KEYBOARD is enabled). Using the event 30 .. flat-table:: IR default keymapping 31 :header-rows: 0 32 :stub-columns: 0 36 - .. row 1 38 - Key code 40 - Meaning 42 - Key examples on IR [all …]
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3399-nanopi-r4s.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * FriendlyElec NanoPC-T4 board device tree source 15 /dts-v1/; 16 #include "rk3399-nanopi4.dtsi" 20 compatible = "friendlyarm,nanopi-r4s", "rockchip,rk3399"; 22 /delete-node/ display-subsystem; 24 gpio-leds { 25 pinctrl-0 = <&lan_led_pin>, <&sys_led_pin>, <&wan_led_pin>; 27 /delete-node/ led-0; 29 lan_led: led-lan { [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/crypto/ |
H A D | fsl,sec-v4.0-mon.yaml | 1 # SPDX-License-Identifier: GPL-2.0 2 # Copyright (C) 2008-2011 Freescale Semiconductor Inc. 4 --- 5 $id: http://devicetree.org/schemas/crypto/fsl,sec-v4.0-mon.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Freescale Secure Non-Volatile Storage (SNVS) 11 - '"Horia Geantă" <horia.geanta@nxp.com>' 12 - Pankaj Gupta <pankaj.gupta@nxp.com> 13 - Gaurav Jain <gaurav.jain@nxp.com> 18 violations. This also included rtc, system power off and ON/OFF key. [all …]
|