/openbmc/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | gpio-restart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/gpio-restart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 17 'open-source' is not found, the GPIO line will be driven in the inactive state. Otherwise its 22 This will also cause an inactive->active edge condition, triggering positive edge triggered 23 reset. After a delay specified by active-delay, the GPIO is set to inactive, thus causing an 24 active->inactive edge, triggering negative edge triggered reset. After a delay specified by 25 inactive-delay, the GPIO is driven active again. After a delay specified by wait-delay, the [all …]
|
H A D | gpio-poweroff.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/gpio-poweroff.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 15 from inactive to active. After a delay (active-delay-ms) it 16 is expected to be switched back to inactive. After another 17 delay (inactive-delay-ms) it is configured as active again. 19 the system is still running after waiting some time (timeout-ms). 23 const: gpio-poweroff [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | gpio-matrix-keypad.txt | 6 keypad can sense a key-press and key-release by means of GPIO lines and 10 - compatible: Should be "gpio-matrix-keypad" 11 - row-gpios: List of gpios used as row lines. The gpio specifier 14 - col-gpios: List of gpios used as column lines. The gpio specifier 17 - linux,keymap: The definition can be found at 18 bindings/input/matrix-keymap.txt 21 - linux,no-autorepeat: do no enable autorepeat feature. 22 - wakeup-source: use any event on keypad as wakeup event. 24 - debounce-delay-ms: debounce interval in milliseconds 25 - col-scan-delay-us: delay, measured in microseconds, that is needed [all …]
|
/openbmc/linux/drivers/power/reset/ |
H A D | gpio-restart.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Based on the gpio-poweroff driver. 12 #include <linux/delay.h> 32 /* drive it active, also inactive->active edge */ in gpio_restart_notify() 33 gpiod_direction_output(gpio_restart->reset_gpio, 1); in gpio_restart_notify() 34 mdelay(gpio_restart->active_delay_ms); in gpio_restart_notify() 36 /* drive inactive, also active->inactive edge */ in gpio_restart_notify() 37 gpiod_set_value(gpio_restart->reset_gpio, 0); in gpio_restart_notify() 38 mdelay(gpio_restart->inactive_delay_ms); in gpio_restart_notify() 40 /* drive it active, also inactive->active edge */ in gpio_restart_notify() [all …]
|
H A D | gpio-poweroff.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/delay.h> 33 /* drive it active, also inactive->active edge */ in gpio_poweroff_do_poweroff() 37 /* drive inactive, also active->inactive edge */ in gpio_poweroff_do_poweroff() 41 /* drive it active, also inactive->active edge */ in gpio_poweroff_do_poweroff() 57 dev_err(&pdev->dev, in gpio_poweroff_probe() 60 return -EBUSY; in gpio_poweroff_probe() 63 input = device_property_read_bool(&pdev->dev, "input"); in gpio_poweroff_probe() 69 device_property_read_u32(&pdev->dev, "active-delay-ms", &active_delay); in gpio_poweroff_probe() 70 device_property_read_u32(&pdev->dev, "inactive-delay-ms", in gpio_poweroff_probe() [all …]
|
/openbmc/linux/include/linux/amba/ |
H A D | pl022.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright (C) 2008-2009 ST-Ericsson AB 11 * linux-2.6.17-rc3-mm1/drivers/spi/pxa2xx_spi.c 30 * enum ssp_interface - interfaces allowed for this SSP Controller 47 * enum ssp_hierarchy - whether SSP is configured as Master or Slave 55 * enum ssp_clock_params - clock parameters, to set SSP clock at a 64 * enum ssp_rx_endian - endianess of Rx FIFO Data 73 * enum ssp_tx_endian - endianess of Tx FIFO Data 81 * enum ssp_data_size - number of bits in one data element 97 * enum ssp_mode - SSP mode of operation (Communication modes) [all …]
|
/openbmc/u-boot/drivers/spi/ |
H A D | rk_spi.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 7 * (C) Copyright 2008-2013 Rockchip Electronics 57 SCOL_LOW = 0, /* Inactive state of serial clock is low */ 58 SCOL_HIGH, /* Inactive state of serial clock is high */ 67 SSN_DELAY_SHIFT = 10, /* SSN to Sclk_out delay */ 87 RXDSD_SHIFT = 14, /* Rxd Sample Delay, in cycles */
|
/openbmc/linux/arch/arm/boot/dts/synaptics/ |
H A D | berlin2cd-valve-steamlink.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 19 gpio-restart { 20 compatible = "gpio-restart"; 22 active-delay = <100>; 23 inactive-delay = <10>; 24 wait-delay = <100>; 30 cpu-supply = <&vcpu>; 31 operating-points = < [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-bitbang-txrx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * simple SPI master driver. Two do polled word-at-a-time I/O: 6 * - GPIO/parport bitbangers. Provide chipselect() and txrx_word[](), 7 * expanding the per-word routines from the inline templates below. 9 * - Drivers for controllers resembling bare shift registers. Provide 15 * - Drivers leveraging smarter hardware, with fifos or DMA; or for half 36 * A non-inlined routine would call bitbang_txrx_*() routines. The 38 * especially if the delay is a NOP (to run at peak speed). 55 u32 oldbit = (!(word & (1<<(bits-1)))) << 31; in bitbang_txrx_be_cpha0() 56 /* clock starts at inactive polarity */ in bitbang_txrx_be_cpha0() [all …]
|
H A D | spi-mt65xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include <linux/platform_data/spi-mt65xx.h> 20 #include <linux/spi/spi-mem.h> 21 #include <linux/dma-mapping.h> 114 * struct mtk_spi_compatible - device data structure 132 * struct mtk_spi - SPI driver instance 150 * @spimem_done: SPI-MEM operation completion 151 * @use_spimem: Enables SPI-MEM 153 * @tx_dma: DMA start for SPI-MEM TX 154 * @rx_dma: DMA start for SPI-MEM RX [all …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx93-tqma9352-mba93xxla.dts | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Copyright (c) 2022-2023 TQ-Systems GmbH <linux@ew.tq-group.com>, 4 * D-82229 Seefeld, Germany. 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/net/ti-dp83867.h> 13 #include <dt-bindings/pwm/pwm.h> 14 #include <dt-bindings/usb/pd.h> 15 #include "imx93-tqma9352.dtsi" [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/spi/ |
H A D | spi-peripheral-props.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-peripheral-props.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Peripheral-specific properties for a SPI bus. 11 be common properties like spi-max-frequency, spi-cpha, etc. or they could be 12 controller specific like delay in clock or data lines, etc. These properties 13 need to be defined in the peripheral node because they are per-peripheral and 19 - Mark Brown <broonie@kernel.org> 27 - minimum: 0 [all …]
|
/openbmc/linux/Documentation/maintainer/ |
H A D | feature-and-driver-maintainers.rst | 1 .. SPDX-License-Identifier: GPL-2.0 35 review delay of the subsystem maintainer. The resulting expectations 36 may range from two working days for fast-paced subsystems (e.g. networking) 40 -------------------------- 43 Maintainers must be subscribed and follow the appropriate subsystem-wide 46 `lei <https://people.kernel.org/monsieuricon/lore-lei-part-1-getting-started>`_. 52 ------- 56 multiple drivers - whether to provide a review is left to the maintainer. 58 When there are multiple maintainers for a piece of code an ``Acked-by`` 59 or ``Reviewed-by`` tag (or review comments) from a single maintainer is [all …]
|
/openbmc/phosphor-fan-presence/monitor/test/ |
H A D | power_off_rule_test.cpp | 26 "delay": 0, in TEST() 33 "delay": 0, in TEST() 40 "delay": 1, in TEST() 47 "delay": 1, in TEST() 73 rules[0]->check(PowerRuleState::runtime, health); in TEST() 74 EXPECT_FALSE(rules[0]->active()); in TEST() 76 rules[0]->check(PowerRuleState::atPgood, health); in TEST() 77 EXPECT_TRUE(rules[0]->active()); in TEST() 85 rules[0]->cancel(); in TEST() 86 EXPECT_FALSE(rules[0]->active()); in TEST() [all …]
|
/openbmc/linux/include/linux/platform_data/ |
H A D | spi-davinci.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 19 * davinci_spi_platform_data - Platform data for SPI master device on DaVinci 41 * davinci_spi_config - Per-chip-select configuration for SPI slave devices 43 * @wdelay: amount of delay between transmissions. Measured in number of 46 * 0 - odd parity, 1 - even parity. 50 * @timer_disable: disable chip-select timers (setup and hold) 51 * @c2tdelay: chip-select setup time. Measured in number of SPI module clocks. 52 * @t2cdelay: chip-select hold time. Measured in number of SPI module clocks. 53 * @t2edelay: transmit data finished to SPI ENAn pin inactive time. Measured 55 * @c2edelay: chip-select active to SPI ENAn signal active time. Measured in
|
/openbmc/qemu/include/hw/vfio/ |
H A D | vfio-platform.h | 2 * vfio based device assignment support - platform devices 10 * the COPYING file in the top-level directory. 20 #include "hw/vfio/vfio-common.h" 25 #define TYPE_VFIO_PLATFORM "vfio-platform" 41 int state; /* inactive, pending, active */ 59 uint32_t mmap_timeout; /* delay to re-enable mmaps after interrupt */ 60 QEMUTimer *mmap_timer; /* allows fast-path resume after IRQ hit */
|
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | mvebu-devbus.txt | 9 - compatible: Armada 370/XP SoC are supported using the 10 "marvell,mvebu-devbus" compatible string. 13 "marvell,orion-devbus" compatible string. 15 - reg: A resource specifier for the register space. 20 - #address-cells: Must be set to 1 21 - #size-cells: Must be set to 1 22 - ranges: Must be set up to reflect the memory layout with four 23 integer values for each chip-select line in use: 28 - devbus,keep-config This property can optionally be used to keep 37 - devbus,turn-off-ps: Defines the time during which the controller does not [all …]
|
/openbmc/openpower-occ-control/ |
H A D | occ_status.cpp | 8 #include <phosphor-logging/lg2.hpp> 25 if (value != this->occActive()) in occActive() 66 if (this->managerCallBack) in occActive() 68 this->managerCallBack(instance, value); in occActive() 77 pmode->setMasterActive(false); in occActive() 81 // stop safe delay timer in occActive() 86 if (this->managerCallBack) in occActive() 88 this->managerCallBack(instance, value); in occActive() 94 // Set the device inactive in occActive() 109 * Device::bound() checks for occX-dev0 directory. in occActive() [all …]
|
/openbmc/linux/include/linux/input/ |
H A D | matrix_keypad.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #define KEY(row, col, val) ((((row) & (MATRIX_MAX_ROWS - 1)) << 24) |\ 14 (((col) & (MATRIX_MAX_COLS - 1)) << 16) |\ 24 * struct matrix_keymap_data - keymap for matrix keyboards 30 * keymaps to drivers that implement matrix-like keypads/keyboards. 38 * struct matrix_keypad_platform_data - platform-dependent keypad data 44 * @col_scan_delay_us: delay, measured in microseconds, that is 54 * @drive_inactive_cols: drive inactive columns during scan, rather than 57 * This structure represents platform-specific data that use used by 71 /* key debounce interval in milli-second */
|
/openbmc/linux/drivers/gpu/vga/ |
H A D | vga_switcheroo.c | 2 * vga_switcheroo.c - Support for laptop with dual GPU using one set of outputs 33 #include <linux/apple-gmux.h> 66 * for the inactive GPU.) Also, muxes are often used to cut power to the 71 * handler to control the power state of the discrete GPU, its ->switchto 72 * callback is a no-op for obvious reasons. The discrete GPU is often equipped 82 * inactive client. When the inactive client's DRM driver is loaded, 93 * struct vga_switcheroo_client - registered client 105 * interface is a no-op so as not to interfere with runtime pm 131 * struct vgasr_priv - vga_switcheroo private data 166 #define client_is_audio(c) ((c)->id & ID_BIT_AUDIO) [all …]
|
/openbmc/linux/include/net/ |
H A D | bonding.h | 1 /* SPDX-License-Identifier: GPL-1.0+ */ 5 * Portions are (c) Copyright 1995 Simon "Guru Aleph-Null" Janes 43 netdev_info(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 45 netdev_warn(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 47 netdev_dbg(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 49 netdev_err(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 51 #define BOND_MODE(bond) ((bond)->params.mode) 54 #define bond_slave_list(bond) (&(bond)->dev->adj_list.lower) 61 netdev_adjacent_get_private(bond_slave_list(bond)->next) : \ 65 netdev_adjacent_get_private(bond_slave_list(bond)->prev) : \ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | axentia,tse850-pcm5142.txt | 1 Devicetree bindings for the Axentia TSE-850 audio complex 4 - compatible: "axentia,tse850-pcm5142" 5 - axentia,cpu-dai: The phandle of the cpu dai. 6 - axentia,audio-codec: The phandle of the PCM5142 codec. 7 - axentia,add-gpios: gpio specifier that controls the mixer. 8 - axentia,loop1-gpios: gpio specifier that controls loop relays on channel 1. 9 - axentia,loop2-gpios: gpio specifier that controls loop relays on channel 2. 10 - axentia,ana-supply: Regulator that supplies the output amplifier. Must 11 support voltages in the 2V - 20V range, in 1V steps. 16 IN1 +---o +------------+ o---+ OUT1 [all …]
|
/openbmc/linux/include/linux/ |
H A D | lp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * usr/include/linux/lp.h c.1991-1992 James Wiegand 16 /* Magic numbers for defining port-device mappings */ 17 #define LP_PARPORT_UNSPEC -4 18 #define LP_PARPORT_AUTO -3 19 #define LP_PARPORT_OFF -2 20 #define LP_PARPORT_NONE -1 26 #define LP_IRQ(minor) lp_table[(minor)].dev->port->irq /* interrupt # */ 33 #define LP_BASE(x) lp_table[(x)].dev->port->base 72 * with 1 for being active and 0 for being inactive, because the strobe signal [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | mac-cfg.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2019, 2021-2022 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 13 * enum iwl_mac_conf_subcmd_ids - mac configuration command IDs 84 * struct iwl_p2p_noa_attr - NOA attr contained in probe resp FW notification 107 * struct iwl_probe_resp_data_notif - notification with NOA and CSA counter 124 * struct iwl_missed_vap_notif - notification of missing vap detection 139 * struct iwl_channel_switch_start_notif - Channel switch start notification 148 * struct iwl_channel_switch_start_notif - Channel switch start notification [all …]
|
/openbmc/u-boot/arch/arm/mach-socfpga/ |
H A D | scan_manager.c | 1 // SPDX-License-Identifier: GPL-2.0+ 16 * to delay using timer functions, since at the time this function is 23 * represented by (length - 1) in TDI_TDO header. 38 * scan_chain_engine_is_idle() - Check if the JTAG scan chain is idle 49 /* Poll the engine until the scan engine is inactive. */ in scan_chain_engine_is_idle() 51 status = readl(&scan_manager_base->stat); in scan_chain_engine_is_idle() 54 } while (max_iter--); in scan_chain_engine_is_idle() 56 return -ETIMEDOUT; in scan_chain_engine_is_idle() 66 * scan_mgr_jtag_io() - Access the JTAG chain 97 writel(data, &scan_manager_base->fifo_quad_byte); in scan_mgr_jtag_io() [all …]
|