/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | rohm,bd71847-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71847-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 14 single-core, dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is 18 …/www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applica… 19 …//www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applic… 24 - rohm,bd71847 25 - rohm,bd71850 [all …]
|
H A D | rohm,bd71837-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71837-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 13 BD71837MWV is programmable Power Management ICs for powering single-core, 14 dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is optimized for low 18 …/www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applica… 35 clock-names: 38 "#clock-cells": [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | azoteq,iqs7222.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 21 - azoteq,iqs7222a 22 - azoteq,iqs7222b 23 - azoteq,iqs7222c 24 - azoteq,iqs7222d 29 irq-gpios: 32 Specifies the GPIO connected to the device's active-low RDY output. [all …]
|
/openbmc/phosphor-buttons/ |
H A D | meson.options | 2 'id-led-group', 9 'long-press-time-ms', 12 description : 'Time to long press the button' 16 'lookup-gpio-base', 23 'power-button-profile', 31 'reset-button-do-warm-reboot', 38 'host-instances',
|
H A D | README.md | 1 # phosphor-buttons 3 Phosphor-buttons has a collection of IO event handler interfaces for physical 8 its associated IO for event changes and emits signals that the button-handler 19 If the power is on, it depends on how long the press was and which options are 22 - Short press: Do a host power off 23 - Long press, as determined by the 'long-press-time-ms' meson option: Do a 28 The 'power-button-profile' meson option can be used to select custom power 33 - host_then_chassis_poweroff: When power is on, short presses are ignored and a 34 long press issues a host power off first and then a chassis power off if held 38 ### Multi-Host Buttons [all …]
|
H A D | meson.build | 2 'phosphor-buttons', 'cpp', 12 host_instances = get_option('host-instances') 17 conf_data.set_quoted('ID_LED_GROUP', get_option('id-led-group')) 18 conf_data.set_quoted('POWER_BUTTON_PROFILE', get_option('power-button-profile')) 19 conf_data.set('LONG_PRESS_TIME_MS', get_option('long-press-time-ms')) 20 conf_data.set('LOOKUP_GPIO_BASE', get_option('lookup-gpio-base').allowed()) 21 conf_data.set('ENABLE_RESET_BUTTON_DO_WARM_REBOOT', get_option('reset-button-do-warm-reboot').allow… 31 phosphor_dbus_interfaces_dep = dependency('phosphor-dbus-interfaces') 32 phosphor_logging_dep = dependency('phosphor-logging') 74 'button-handler', [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | cirrus,cs42l42.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 13 The CS42L42 is a low-power audio codec designed for portable applications. 14 It provides a high-dynamic range, stereo DAC for audio playback and a mono 15 high-dynamic-range ADC for audio capture. There is an integrated headset 21 - cirrus,cs42l42 22 - cirrus,cs42l83 29 VP-supply: [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | rohm-bd718x7.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 // https://www.rohm.com/datasheet/BD71837MWV/bd71837mwv-e 14 #include <linux/mfd/rohm-bd718x7.h> 23 .gpio = -1, 30 .name = "bd718xx-pwrkey", 35 .name = "gpio-keys", 39 { .name = "bd71837-clk", }, 40 { .name = "bd71837-pmic", }, 45 .name = "gpio-keys", 49 { .name = "bd71847-clk", }, [all …]
|
/openbmc/linux/drivers/media/pci/saa7134/ |
H A D | saa7134-input.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 #include "saa7134-reg.h" 36 printk(KERN_DEBUG pr_fmt("ir %s: " fmt), ir->rc->device_name, \ 43 /* -------------------- GPIO generic keycode builder -------------------- */ 47 struct saa7134_card_ir *ir = dev->remote; in build_key() 51 switch (dev->board) { in build_key() 62 if (ir->polling) { in build_key() 63 if (ir->last_gpio == gpio) in build_key() 65 ir->last_gpio = gpio; in build_key() 68 data = ir_extract_bits(gpio, ir->mask_keycode); in build_key() [all …]
|
/openbmc/linux/drivers/input/mouse/ |
H A D | trackpoint.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 67 #define TP_REACH 0x57 /* Backup for Z-axis press */ 70 /* with Z-axis pressed) */ 75 #define TP_THRESH 0x5C /* Minimum value for a Z-axis press */ 76 #define TP_UP_THRESH 0x5A /* Used to generate a 'click' on Z-axis */ 77 #define TP_Z_TIME 0x5E /* How sharp of a press */ 79 #define TP_DRIFT_TIME 0x5F /* How long a 'hands off' condition */ 80 /* must last (x*107ms) for drift */ 96 #define TP_TOGGLE_PTSON 0x2C /* Press to Select */
|
H A D | hgpk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * OLPC HGPK (XO-1) touchpad PS/2 mouse driver 5 * Copyright (c) 2006-2008 One Laptop Per Child 13 * Copyright (c) 2003-2005 Peter Osterlund <petero2@telia.com> 56 "delay (ms) before recal after jumpiness detected"); 61 "delay (ms) before recal after packet spew detected"); 66 "interval (ms) during which recal will be restarted if packet received"); 71 "delay (ms) before recal after recal interrupt detected"); 126 struct hgpk_data *priv = psmouse->private; in hgpk_discard_decay_hack() 135 (avx > recalib_delta / 2 && ((avx / 4) > priv->xlast))) { in hgpk_discard_decay_hack() [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | wcd-mbhc-v2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (c) 2015-2021, The Linux Foundation. All rights reserved. 14 #include "wcd-mbhc-v2.h" 53 /* Delayed work to report long button press */ 68 unsigned long event_state; 69 unsigned long jiffies_atreport; 72 /* Holds type of Headset - Mono/Stereo */ 74 /* Holds mbhc detection method - ADC/Legacy */ 81 if (!mbhc->fields[field].reg) in wcd_mbhc_write_field() 84 return snd_soc_component_write_field(mbhc->component, in wcd_mbhc_write_field() [all …]
|
H A D | cs42l43-jack.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (C) 2022-2023 Cirrus Logic, Inc. and 14 #include <linux/mfd/cs42l43-regs.h> 21 #include <sound/soc-component.h> 44 struct cs42l43 *cs42l43 = priv->core; in cs42l43_find_index() 47 ret = device_property_read_u32(cs42l43->dev, prop, &defval); in cs42l43_find_index() 48 if (ret != -EINVAL && ret < 0) { in cs42l43_find_index() 49 dev_err(priv->dev, "Property %s malformed: %d\n", prop, ret); in cs42l43_find_index() 60 dev_err(priv->dev, "Invalid value for property %s: %d\n", prop, defval); in cs42l43_find_index() 61 return -EINVAL; in cs42l43_find_index() [all …]
|
/openbmc/u-boot/cmd/ |
H A D | load.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * (C) Copyright 2000-2004 8 * Serial up- and download support 25 static ulong load_serial(long offset); 35 /* -------------------------------------------------------------------- */ 41 long offset = 0; in do_load_serial() 49 load_baudrate = current_baudrate = gd->baudrate; in do_load_serial() 70 printf("## Switch baudrate to %d bps and press ENTER ...\n", in do_load_serial() 73 gd->baudrate = load_baudrate; in do_load_serial() 87 printf("## Ready for S-Record download ...\n"); in do_load_serial() [all …]
|
/openbmc/linux/drivers/input/misc/ |
H A D | iqs7222.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 116 [IQS7222_REG_GRP_CYCLE] = "cycle-%d", 117 [IQS7222_REG_GRP_CHAN] = "channel-%d", 118 [IQS7222_REG_GRP_SLDR] = "slider-%d", 120 [IQS7222_REG_GRP_GPIO] = "gpio-%d", 150 .name = "event-prox", 155 .name = "event-touch", 162 { .name = "event-press", }, 164 .name = "event-tap", 171 .name = "event-swipe-pos", [all …]
|
/openbmc/linux/drivers/iio/pressure/ |
H A D | mprls0025pa.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * MPRLS0025PA - Honeywell MicroPressure pressure sensor series driver 5 * Copyright (c) Andreas Klinger <ak@it-klinger.de> 8 * https://prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/ 9 * products/sensors/pressure-sensors/board-mount-pressure-sensors/ 10 * micropressure-mpr-series/documents/ 11 * sps-siot-mpr-series-datasheet-32332628-ciid-172626.pdf 13 * 7-bit I2C default slave address: 0x18 46 * pressure = (press_cnt - outputmin) * scale + pmin 48 * * pressure - measured pressure in Pascal [all …]
|
/openbmc/linux/tools/perf/ui/browsers/ |
H A D | hists.c | 1 // SPDX-License-Identifier: GPL-2.0 31 #include "../../util/block-info.h" 44 #include "time-utils.h" 58 return hists__has_filter(hb->hists) || hb->min_pcnt || symbol_conf.has_filter || hb->c2c_filter; in hist_browser__has_filter() 64 struct hists *hists = browser->hists; in hist_browser__get_folding() 67 for (nd = rb_first_cached(&hists->entries); in hist_browser__get_folding() 68 (nd = hists__filter_entries(nd, browser->min_pcnt)) != NULL; in hist_browser__get_folding() 73 if (he->leaf && he->unfolded) in hist_browser__get_folding() 74 unfolded_rows += he->nr_rows; in hist_browser__get_folding() 81 struct ui_browser *browser = &hb->b; in hist_browser__set_title_space() [all …]
|
/openbmc/u-boot/common/ |
H A D | autoboot.c | 1 // SPDX-License-Identifier: GPL-2.0+ 15 #include <u-boot/sha256.h> 35 * Use a "constant-length" time compare function for this 38 * https://crackstation.net/hashing-security.htm 78 * We don't know how long the stop-string is, so we need to in passwd_abort() 152 for (i = 0; i < presskey_max - 1; i++) in passwd_abort() 162 memcmp(presskey + presskey_len - in passwd_abort() 183 * returns: 0 - no key string, allow autoboot 1 - got key string, abort 214 unsigned long ts; in __abortboot() 225 if (tstc()) { /* we got a key press */ in __abortboot() [all …]
|
/openbmc/linux/Documentation/input/devices/ |
H A D | atarikbd.rst | 12 provides a convenient connection point for a mouse and switch-type joysticks. 13 The ikbd processor also maintains a time-of-day clock with one second 18 The ikbd communicates with the main processor over a high speed bi-directional 28 keyboard scan codes for each key press and release. The key scan make (key 41 0xF8-0xFB relative mouse position records (lsbs determined by 43 0xFC time-of-day 67 --------------------------- 92 +127...-128 range, the motion is broken into multiple packets. 97 --------------------------- 104 --------------------- [all …]
|
/openbmc/linux/kernel/ |
H A D | panic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * This function is used through-out the kernel (including mm and fs) 55 static unsigned long tainted_mask = 62 unsigned long panic_on_taint; 76 unsigned long panic_print; 132 static long no_blink(int state) in no_blink() 137 /* Returns how long it waited in ms */ 138 long (*panic_blink)(int state); 142 * Stop ourself in panic -- architecture code may override this 163 * per-CPU features such as virtualization extensions. [all …]
|
/openbmc/u-boot/drivers/fpga/ |
H A D | spartan2.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 #include <common.h> /* core U-Boot definitions */ 8 #include <spartan2.h> /* Spartan-II device family */ 30 #define CONFIG_SYS_FPGA_WAIT CONFIG_SYS_HZ/100 /* 10 ms */ 41 /* ------------------------------------------------------------------------- */ 42 /* Spartan-II Generic Implementation */ 48 switch (desc->iface) { in spartan2_load() 61 __FUNCTION__, desc->iface); in spartan2_load() 71 switch (desc->iface) { in spartan2_dump() 84 __FUNCTION__, desc->iface); in spartan2_dump() [all …]
|
H A D | spartan3.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <common.h> /* core U-Boot definitions */ 13 #include <spartan3.h> /* Spartan-II device family */ 34 #define CONFIG_SYS_FPGA_WAIT CONFIG_SYS_HZ/100 /* 10 ms */ 45 /* ------------------------------------------------------------------------- */ 46 /* Spartan-II Generic Implementation */ 52 switch (desc->iface) { in spartan3_load() 65 __FUNCTION__, desc->iface); in spartan3_load() 75 switch (desc->iface) { in spartan3_dump() 88 __FUNCTION__, desc->iface); in spartan3_dump() [all …]
|
/openbmc/linux/drivers/power/reset/ |
H A D | ltc2952-poweroff.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Maintainer: René Moll <linux@r-moll.nl> 8 * ---------------------------------------- 9 * - Description 10 * ---------------------------------------- 18 * ---------------------------------------- 19 * - GPIO 20 * ---------------------------------------- 23 * - trigger (input) 24 * A level change indicates the shut-down trigger. If it's state reverts [all …]
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | rtas.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 40 #include <asm/rtas-work-area.h> 47 /* Indexes into the args buffer, -1 if not used */ 60 * struct rtas_function - Descriptor for RTAS functions. 64 * @filter: If non-NULL, invoking this function via the rtas syscall is 83 .name = "check-exception", 86 .name = "display-character", 88 .buf_idx1 = -1, .size_idx1 = -1, 89 .buf_idx2 = -1, .size_idx2 = -1, 93 .name = "event-scan", [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | dra76-evm.dts | 2 * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ 8 /dts-v1/; 11 #include "dra7-evm-common.dtsi" 12 #include "dra76x-mmc-iodelay.dtsi" 13 #include <dt-bindings/net/ti-dp83867.h> 17 compatible = "ti,dra76-evm", "ti,dra762", "ti,dra7"; 24 vsys_12v0: fixedregulator-vsys12v0 { 26 compatible = "regulator-fixed"; 27 regulator-name = "vsys_12v0"; 28 regulator-min-microvolt = <12000000>; [all …]
|