Home
last modified time | relevance | path

Searched +full:shut +full:- +full:down +full:- +full:gpios (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v5.10/Documentation/devicetree/bindings/power/reset/
Dltc2952-poweroff.txt3 This chip is used to externally trigger a system shut down. Once the trigger has
4 been sent, the chip's watchdog has to be reset to gracefully shut down.
9 - compatible: Must contain: "lltc,ltc2952"
10 - watchdog-gpios: phandle + gpio-specifier for the GPIO connected to the
12 - kill-gpios: phandle + gpio-specifier for the GPIO connected to the
16 - trigger-gpios: phandle + gpio-specifier for the GPIO connected to the
26 trigger-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
27 watchdog-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
28 kill-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
/Linux-v5.10/Documentation/devicetree/bindings/sound/
Dti,tas6424.txt1 Texas Instruments TAS6424 Quad-Channel Audio amplifier
6 - compatible: "ti,tas6424" - TAS6424
7 - reg: I2C slave address
8 - sound-dai-cells: must be equal to 0
9 - standby-gpios: GPIO used to shut the TAS6424 down.
10 - mute-gpios: GPIO used to mute all the outputs
18 #sound-dai-cells = <0>;
22 https://www.ti.com/product/TAS6424-Q1
Drealtek,rt1015p.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Tzung-Bi Shih <tzungbi@google.com>
20 sdb-gpios:
23 0 means shut down; 1 means power on.
27 - compatible
32 - |
33 #include <dt-bindings/gpio/gpio.h>
37 sdb-gpios = <&pio 175 GPIO_ACTIVE_HIGH>;
Dtas2562.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Dan Murphy <dmurphy@ti.com>
14 The TAS2562 is a mono, digital input Class-D audio amplifier optimized for
28 - ti,tas2562
29 - ti,tas2563
30 - ti,tas2564
31 - ti,tas2110
38 shut-down-gpios:
[all …]
/Linux-v5.10/drivers/power/reset/
Dltc2952-poweroff.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Maintainer: René Moll <linux@r-moll.nl>
8 * ----------------------------------------
9 * - Description
10 * ----------------------------------------
13 * Its function is to determine when a external shut down is triggered
14 * and react by properly shutting down the system.
18 * ----------------------------------------
19 * - GPIO
20 * ----------------------------------------
[all …]
/Linux-v5.10/arch/arm/boot/dts/
Dgemini-dlink-dns-313.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree file for D-Link DNS-313 1-Bay Network Storage Enclosure
6 /dts-v1/;
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/thermal/thermal.h>
13 model = "D-Link DNS-313 1-Bay Network Storage Enclosure";
14 compatible = "dlink,dns-313", "cortina,gemini";
15 #address-cells = <1>;
16 #size-cells = <1>;
19 /* 64 MB SDRAM in a Nanya NT5DS32M16BS-6K package */
[all …]
Dgemini-dlink-dir-685.dts2 * Device Tree file for D-Link DIR-685 Xtreme N Storage Router
5 /dts-v1/;
8 #include <dt-bindings/input/input.h>
11 model = "D-Link DIR-685 Xtreme N Storage Router";
12 compatible = "dlink,dir-685", "cortina,gemini";
13 #address-cells = <1>;
14 #size-cells = <1>;
17 /* 128 MB SDRAM in 2 x Hynix HY5DU121622DTP-D43 */
24 stdout-path = "uart0:19200n8";
28 compatible = "gpio-keys";
[all …]
Domap3-pandora-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <dt-bindings/input/input.h>
14 cpu0-supply = <&vcc>;
29 #clock-cells = <0>;
30 compatible = "fixed-clock";
31 clock-frequency = <26000000>;
35 compatible = "connector-analog-tv";
40 remote-endpoint = <&venc_out>;
45 gpio-leds {
47 compatible = "gpio-leds";
[all …]
Dtegra30-asus-nexus7-grouper-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include <dt-bindings/input/gpio-keys.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/power/summit,smb347-charger.h>
6 #include <dt-bindings/thermal/thermal.h>
9 #include "tegra30-cpu-opp.dtsi"
10 #include "tegra30-cpu-opp-microvolt.dtsi"
26 * pre-existing /chosen node to be available to insert the
35 reserved-memory {
36 #address-cells = <1>;
[all …]
Dtegra20-acer-a500-picasso.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/gpio-keys.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/thermal/thermal.h>
9 #include "tegra20-cpu-opp.dtsi"
10 #include "tegra20-cpu-opp-microvolt.dtsi"
31 * pre-existing /chosen node to be available to insert the
40 reserved-memory {
41 #address-cells = <1>;
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/gpio/
Dgpio-eic-sprd.txt6 controller contains 4 sub-modules: EIC-debounce, EIC-latch, EIC-async and
7 EIC-sync. But the PMIC EIC controller contains only one EIC-debounce sub-
10 The EIC-debounce sub-module provides up to 8 source input signal
12 stable status (millisecond resolution) and a single-trigger mechanism
13 is introduced into this sub-module to enhance the input event detection
14 reliability. In addition, this sub-module's clock can be shut off
19 The EIC-latch sub-module is used to latch some special power down signals
20 and generate interrupts, since the EIC-latch does not depend on the APB
23 The EIC-async sub-module uses a 32kHz clock to capture the short signals
26 The EIC-sync is similar with GPIO's input function, which is a synchronized
[all …]
/Linux-v5.10/drivers/net/ethernet/sfc/falcon/
Dfalcon_boards.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2007-2012 Solarflare Communications Inc.
30 * above which we should shut down to avoid damage is 80°C. */
91 struct i2c_client *client = i2c_new_client_device(&board->i2c_adap, info); in ef4_init_lm87()
97 /* Read-to-clear alarm/interrupt status */ in ef4_init_lm87()
108 board->hwmon_client = client; in ef4_init_lm87()
118 i2c_unregister_device(falcon_board(efx)->hwmon_client); in ef4_fini_lm87()
123 struct i2c_client *client = falcon_board(efx)->hwmon_client; in ef4_check_lm87()
129 if (EF4_WORKAROUND_7884(efx) && efx->link_state.up) in ef4_check_lm87()
161 netif_err(efx, hw, efx->net_dev, in ef4_check_lm87()
[all …]
/Linux-v5.10/drivers/mfd/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
44 tristate "Active-semi ACT8945A"
49 Support for the ACT8945A PMIC from Active-semi. This device
50 features three step-down DC/DC converters and four low-dropout
66 sun4i-gpadc-iio and the hwmon driver iio_hwmon.
69 called sun4i-gpadc.
88 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down
90 over current monitoring, GPIOs, ADC and a watchdog.
99 individual components like LCD backlight, LEDs, GPIOs and Kepad
119 over at91-usart-serial driver and usart-spi-driver. Only one function
[all …]
Dtps65010.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * tps65010 - driver for tps6501x power management chips
6 * Copyright (C) 2004-2005 David Brownell
27 /*-------------------------------------------------------------------------*/
37 /*-------------------------------------------------------------------------*/
40 * voltage regulators, lithium ion/polymer battery charging, GPIOs, LEDs,
47 * battery-insert != device-on.
84 /*-------------------------------------------------------------------------*/
184 struct tps65010 *tps = s->private; in dbg_show()
190 switch (tps->model) { in dbg_show()
[all …]
/Linux-v5.10/drivers/media/platform/marvell-ccic/
Dcafe-driver.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * Copyright 2006-11 One Laptop Per Child Association, Inc.
11 * Copyright 2006-11 Jonathan Corbet <corbet@lwn.net>
28 #include <media/v4l2-device.h>
36 #include "mcam-core.h"
61 * Most of the camera controller registers are defined in mcam-core.h,
67 * "General purpose register" has a couple of GPIOs used for sensor
71 #define GPR_C1EN 0x00000020 /* Pad 1 (power down) enable */
86 #define TWSIC0_MODE 0x00000002 /* 1 = 16-bit, 0 = 8-bit */
134 dev_err(&(cam)->pdev->dev, fmt, ##arg);
[all …]
/Linux-v5.10/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c1 // SPDX-License-Identifier: GPL-2.0+
14 * (C) 2005-2006 MontaVista Software, Inc.
28 #include <linux/dma-mapping.h>
66 cbd_t __iomem *bdp = pinfo->tx_bd_base; in cpm_uart_tx_empty()
70 if (in_be16(&bdp->cbd_sc) & BD_SC_READY) in cpm_uart_tx_empty()
73 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) { in cpm_uart_tx_empty()
80 pr_debug("CPM uart[%d]:tx_empty: %d\n", port->line, ret); in cpm_uart_tx_empty()
90 if (pinfo->gpios[GPIO_RTS]) in cpm_uart_set_mctrl()
91 gpiod_set_value(pinfo->gpios[GPIO_RTS], !(mctrl & TIOCM_RTS)); in cpm_uart_set_mctrl()
93 if (pinfo->gpios[GPIO_DTR]) in cpm_uart_set_mctrl()
[all …]
/Linux-v5.10/drivers/tty/serial/
Datmel_serial.c1 // SPDX-License-Identifier: GPL-2.0+
23 #include <linux/dma-mapping.h>
61 /* Use device name ttyAT, major 204 and minor 154-169. This is necessary if we
70 /* Use device name ttyS, major 4, minor 64-68. This is the usual serial port
143 struct mctrl_gpios *gpios; member
162 bool hd_start_rx; /* can start RX during half-duplex operation */
194 { .compatible = "atmel,at91rm9200-usart-serial" },
207 return __raw_readl(port->membase + reg); in atmel_uart_readl()
212 __raw_writel(value, port->membase + reg); in atmel_uart_writel()
217 return __raw_readb(port->membase + ATMEL_US_RHR); in atmel_uart_read_char()
[all …]
Dserial_core.c1 // SPDX-License-Identifier: GPL-2.0+
8 * Copyright (C) 2000-2001 Deep Blue Solutions Ltd.
38 * lockdep: port->lock is initialized in two places, but we
39 * want only one lock-class:
43 #define HIGH_BITS_OFFSET ((sizeof(long)-sizeof(int))*8)
55 return !!(uport->status & UPSTAT_DCD_ENABLE); in uart_dcd_enabled()
60 if (atomic_add_unless(&state->refcount, 1, 0)) in uart_port_ref()
61 return state->uart_port; in uart_port_ref()
67 if (atomic_dec_and_test(&uport->state->refcount)) in uart_port_deref()
68 wake_up(&uport->state->remove_wait); in uart_port_deref()
[all …]
/Linux-v5.10/arch/powerpc/platforms/powermac/
Dfeature.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 1996-2001 Paul Mackerras (paulus@cs.anu.edu.au)
8 * - Replace mdelay with some schedule loop if possible
9 * - Shorten some obfuscated delays on some routines (like modem
11 * - Refcount some clocks (see darwin)
12 * - Split split split...
38 #include <asm/pci-bridge.h>
80 child = child->parent; in macio_find()
144 return -ENODEV; in simple_feature_tweak()
170 return -ENODEV; in ohare_htw_scc_enable()
[all …]
/Linux-v5.10/arch/arm/mach-davinci/
Dboard-da850-evm.c2 * TI DA850/OMAP-L138 EVM board
4 * Copyright (C) 2009 Texas Instruments Incorporated - https://www.ti.com/
6 * Derived from: arch/arm/mach-davinci/board-da830-evm.c
25 #include <linux/input/tps6507x-ts.h>
30 #include <linux/nvmem-provider.h>
33 #include <linux/platform_data/gpio-davinci.h>
34 #include <linux/platform_data/mtd-davinci.h>
35 #include <linux/platform_data/mtd-davinci-aemif.h>
36 #include <linux/platform_data/ti-aemif.h>
37 #include <linux/platform_data/spi-davinci.h>
[all …]
/Linux-v5.10/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c1 // SPDX-License-Identifier: GPL-2.0
3 // mcp251xfd - Microchip MCP251xFD Family CAN controller driver
6 // Marc Kleine-Budde <kernel@pengutronix.de>
91 return __mcp251xfd_get_model_str(priv->devtype_data.model); in mcp251xfd_get_model_str()
120 if (!priv->reg_vdd) in mcp251xfd_vdd_enable()
123 return regulator_enable(priv->reg_vdd); in mcp251xfd_vdd_enable()
128 if (!priv->reg_vdd) in mcp251xfd_vdd_disable()
131 return regulator_disable(priv->reg_vdd); in mcp251xfd_vdd_disable()
137 if (!priv->reg_xceiver) in mcp251xfd_transceiver_enable()
140 return regulator_enable(priv->reg_xceiver); in mcp251xfd_transceiver_enable()
[all …]
/Linux-v5.10/drivers/net/wireless/ath/ath9k/
Dreg.h2 * Copyright (c) 2008-2011 Atheros Communications Inc.
708 to POR (power-on-reset) */
711 #define AR_WA_RESET_EN (1 << 18) /* Enable PCI-Reset to
714 #define AR_WA_POR_SHORT (1 << 21) /* PCI-E Phy reset control */
830 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_5416_PCI) || \
831 ((_ah)->hw_version.macVersion == AR_SREV_VERSION_5416_PCIE))
834 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_5416_22)) || \
835 ((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9100))
838 ((ah->hw_version.macVersion) == AR_SREV_VERSION_9100)
840 (((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9100))
[all …]
/Linux-v5.10/drivers/scsi/isci/
Dhost.c7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
102 * NORMALIZE_PUT_POINTER() -
112 * NORMALIZE_EVENT_POINTER() -
124 * NORMALIZE_GET_POINTER() -
133 * NORMALIZE_GET_POINTER_CYCLE_BIT() -
139 ((SMU_CQGR_CYCLE_BIT & (x)) << (31 - SMU_COMPLETION_QUEUE_GET_CYCLE_BIT_SHIFT))
142 * COMPLETION_QUEUE_CYCLE_BIT() -
154 sm->initial_state_id = initial_state; in sci_init_sm()
[all …]
/Linux-v5.10/drivers/video/fbdev/aty/
Dradeon_pm.c1 // SPDX-License-Identifier: GPL-2.0
10 * some D2-state (APM-style) sleep/wakeup code for use on some PowerMacs,
11 * and the necessary bits to re-initialize from scratch a few chips found
33 * - enable D2 sleep in some IBM Thinkpads
34 * - special case for Samsung P35
103 for (id = radeon_workaround_list; id->ident != NULL; id++ ) in radeon_apply_workarounds()
104 if ((id->subsystem_vendor == rinfo->pdev->subsystem_vendor ) && in radeon_apply_workarounds()
105 (id->subsystem_device == rinfo->pdev->subsystem_device )) { in radeon_apply_workarounds()
109 ", enabling workaround\n", id->ident); in radeon_apply_workarounds()
111 rinfo->pm_mode |= id->pm_mode_modifier; in radeon_apply_workarounds()
[all …]
/Linux-v5.10/drivers/net/ethernet/broadcom/
Dtg3.c7 * Copyright (C) 2005-2016 Broadcom Corporation.
8 * Copyright (C) 2016-2017 Broadcom Limited.
14 * Copyright (C) 2000-2016 Broadcom Corporation.
15 * Copyright (C) 2016-2017 Broadcom Ltd.
52 #include <linux/dma-mapping.h>
56 #include <linux/hwmon-sysfs.h>
92 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags)
94 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags)
96 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags)
122 * and dev->tx_timeout() should be called to fix the problem
[all …]

12