| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/reset/ |
| D | gpio-restart.txt | 6 handler. If the optional properties 'open-source' is not found, the GPIO line 7 will be driven in the inactive state. Otherwise its not driven until 13 inactive->active edge condition, triggering positive edge triggered 14 reset. After a delay specified by active-delay, the GPIO is set to 15 inactive, thus causing an active->inactive edge, triggering negative edge 16 triggered reset. After a delay specified by inactive-delay, the GPIO 17 is driven active again. After a delay specified by wait-delay, the 21 - compatible : should be "gpio-restart". 22 - gpios : The GPIO to set high/low, see "gpios property" in 28 - open-source : Treat the GPIO as being open source and defer driving [all …]
|
| D | gpio-poweroff.txt | 6 'input' is not found, the GPIO line will be driven in the inactive 9 When the power-off handler is called, the gpio is configured as an 11 condition. This will also cause an inactive->active edge condition, so 12 triggering positive edge triggered power off. After a delay of 100ms, 13 the GPIO is set to inactive, thus causing an active->inactive edge, 15 delay the GPIO is driver active again. If the power is still on and 16 the CPU still running after a 3000ms delay, a WARN_ON(1) is emitted. 19 - compatible : should be "gpio-poweroff". 20 - gpios : The GPIO to set high/low, see "gpios property" in 26 - input : Initially configure the GPIO line as an input. Only reconfigure [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/reset/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/power/reset/ |
| D | gpio-poweroff.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/delay.h> 32 /* drive it active, also inactive->active edge */ in gpio_poweroff_do_poweroff() 36 /* drive inactive, also active->inactive edge */ in gpio_poweroff_do_poweroff() 40 /* drive it active, also inactive->active edge */ in gpio_poweroff_do_poweroff() 56 dev_err(&pdev->dev, in gpio_poweroff_probe() 59 return -EBUSY; in gpio_poweroff_probe() 62 input = device_property_read_bool(&pdev->dev, "input"); in gpio_poweroff_probe() 68 device_property_read_u32(&pdev->dev, "active-delay-ms", &active_delay); in gpio_poweroff_probe() 69 device_property_read_u32(&pdev->dev, "inactive-delay-ms", in gpio_poweroff_probe() [all …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/power/reset/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/ |
| 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 …]
|
| /kernel/linux/linux-6.6/include/linux/amba/ |
| 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 …]
|
| /kernel/linux/linux-5.10/include/linux/amba/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/spi/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/synaptics/ |
| 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 …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| 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 …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/spi/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/maintainer/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/spi/ |
| 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). 53 u32 oldbit = (!(word & (1<<(bits-1)))) << 31; in bitbang_txrx_be_cpha0() 54 /* clock starts at inactive polarity */ in bitbang_txrx_be_cpha0() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/fsl/ |
| D | imx-ssi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // imx-ssi.c -- ALSA Soc Audio Layer 15 // we receive in our (PCM-) data stream. The only chance we have is to 25 // around this by not polling these bits but only wait a fixed delay. 28 #include <linux/delay.h> 30 #include <linux/dma-mapping.h> 43 #include <linux/platform_data/asoc-imx-ssi.h> 45 #include "imx-ssi.h" 52 * Should only be called when port is inactive (i.e. SSIEN = 0). 60 sccr = readl(ssi->base + SSI_STCCR); in imx_ssi_set_dai_tdm_slot() [all …]
|
| /kernel/linux/linux-5.10/include/net/ |
| D | bonding.h | 4 * Portions are (c) Copyright 1995 Simon "Guru Aleph-Null" Janes 42 netdev_info(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 44 netdev_warn(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 46 netdev_dbg(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 48 netdev_err(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 50 #define BOND_MODE(bond) ((bond)->params.mode) 53 #define bond_slave_list(bond) (&(bond)->dev->adj_list.lower) 60 netdev_adjacent_get_private(bond_slave_list(bond)->next) : \ 64 netdev_adjacent_get_private(bond_slave_list(bond)->prev) : \ 69 netdev_lower_get_first_private_rcu(bond->dev) [all …]
|
| /kernel/linux/linux-6.6/include/linux/platform_data/ |
| 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
|
| /kernel/linux/linux-5.10/include/linux/platform_data/ |
| 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
|
| /kernel/linux/linux-6.6/include/net/ |
| 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 …]
|