/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | ltc2952-poweroff.txt | 3 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 20 - trigger-delay-ms The number of milliseconds to wait after trigger line 21 assertion before executing shut down procedure. 29 trigger-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; 30 trigger-delay-ms = <2000>; [all …]
|
/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 * ---------------------------------------- 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/Documentation/devicetree/bindings/sound/ |
H A D | ti,tas6424.txt | 1 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
|
H A D | realtek,rt1015p.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Tzung-Bi Shih <tzungbi@kernel.org> 19 - realtek,rt1015p 20 - realtek,rt1019p 22 sdb-gpios: 25 0 means shut down; 1 means power on. 28 "#sound-dai-cells": 32 - compatible [all …]
|
H A D | ti,tas2562.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Andrew Davis <afd@ti.com> 14 The TAS2562 is a mono, digital input Class-D audio amplifier optimized for 25 - $ref: dai-common.yaml# 30 - ti,tas2562 31 - ti,tas2564 32 - ti,tas2110 39 shut-down-gpios: [all …]
|
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | maxim,max34408.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ivan Mikhaylov <fr0st61te@gmail.com> 13 The MAX34408/MAX34409 are two- and four-channel current monitors that are 15 unidirectional current sensor offers precision high-side operation with a 16 low full-scale sense voltage. The devices automatically sequence through 17 two or four channels and collect the current-sense samples and average them 19 user-programmable digital thresholds to indicate overcurrent conditions. 21 indication to shut down any necessary external circuitry. [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A D | ste-hrefv60plus.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2012 ST-Ericsson AB 6 #include "ste-href.dtsi" 9 model = "ST-Ericsson HREF (v60+) platform with Device Tree"; 10 compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500"; 12 thermal-zones { 13 chassis-thermal { 15 polling-delay = <20000>; 17 polling-delay-passive = <2000>; 19 thermal-sensors = <&therm1>, <&therm2>; [all …]
|
/linux/arch/arm/boot/dts/gemini/ |
H A D | gemini-dlink-dns-313.dts | 1 // 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 …]
|
H A D | gemini-dlink-dir-685.dts | 2 * 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 …]
|
/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra20-asus-tf101.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/atmel-maxtouch.h> 5 #include <dt-bindings/input/gpio-keys.h> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/thermal/thermal.h> 10 #include "tegra20-cpu-opp.dtsi" 11 #include "tegra20-cpu-opp-microvolt.dtsi" 16 chassis-type = "convertible"; 33 * pre-existing /chosen node to be available to insert the [all …]
|
H A D | tegra30-asus-nexus7-grouper-common.dtsi | 1 // 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" 11 #include "tegra30-asus-lvds-display.dtsi" 27 * pre-existing /chosen node to be available to insert the 33 trusted-foundations { [all …]
|
H A D | tegra30-cardhu.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/input/input.h> 3 #include <dt-bindings/thermal/thermal.h> 5 #include "tegra30-cpu-opp.dtsi" 6 #include "tegra30-cpu-opp-microvolt.dtsi" 12 * A02 will have different sets of GPIOs for fixed regulator compare to 16 * use tegra30-cardhu-a02.dts, Cardhu fab version A04 and later, use 17 * tegra30-cardhu-a04.dts. 20 * The sticker will have number like 600-81291-1000-002 C.3. In this 4th 22 * The (downstream internal) U-Boot of Cardhu display the board-id as [all …]
|
H A D | tegra20-acer-a500-picasso.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/atmel-maxtouch.h> 5 #include <dt-bindings/input/gpio-keys.h> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/thermal/thermal.h> 10 #include "tegra20-cpu-opp.dtsi" 11 #include "tegra20-cpu-opp-microvolt.dtsi" 32 * pre-existing /chosen node to be available to insert the 41 reserved-memory { [all …]
|
H A D | tegra30-asus-transformer-common.dtsi | 1 // 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/thermal/thermal.h> 8 #include "tegra30-cpu-opp.dtsi" 9 #include "tegra30-cpu-opp-microvolt.dtsi" 12 chassis-type = "convertible"; 31 * pre-existing /chosen node to be available to insert the 37 trusted-foundations { 38 compatible = "tlm,trusted-foundations"; [all …]
|
H A D | tegra30-lg-x3.dtsi | 1 // 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/leds/common.h> 6 #include <dt-bindings/mfd/max77620.h> 7 #include <dt-bindings/thermal/thermal.h> 10 #include "tegra30-cpu-opp.dtsi" 11 #include "tegra30-cpu-opp-microvolt.dtsi" 14 chassis-type = "handset"; 30 * pre-existing /chosen node to be available to insert the [all …]
|
H A D | tegra20-ventana.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/thermal/thermal.h> 7 #include "tegra20-cpu-opp.dtsi" 8 #include "tegra20-cpu-opp-microvolt.dtsi" 21 stdout-path = "serial0:115200n8"; 40 vdd-supply = <&hdmi_vdd_reg>; 41 pll-supply = <&hdmi_pll_reg>; 43 nvidia,ddc-i2c-bus = <&hdmi_ddc>; [all …]
|
H A D | tegra20-paz00.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/thermal/thermal.h> 8 #include "tegra20-cpu-opp.dtsi" 9 #include "tegra20-cpu-opp-microvolt.dtsi" 25 stdout-path = "serial0:115200n8"; 44 vdd-supply = <&hdmi_vdd_reg>; 45 pll-supply = <&hdmi_pll_reg>; 47 nvidia,ddc-i2c-bus = <&hdmi_ddc>; [all …]
|
H A D | tegra30-pegatron-chagall.dts | 1 // 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 "tegra30-cpu-opp.dtsi" 10 #include "tegra30-cpu-opp-microvolt.dtsi" 11 #include "tegra30-asus-lvds-display.dtsi" 16 chassis-type = "tablet"; 35 * pre-existing /chosen node to be available to insert the [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-pandora-common.dtsi | 1 // 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 …]
|
/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | falcon_boards.c | 1 // 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/drivers/media/platform/marvell/ |
H A D | cafe-driver.c | 1 // 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" 57 * Most of the camera controller registers are defined in mcam-core.h, 63 * "General purpose register" has a couple of GPIOs used for sensor 67 #define GPR_C1EN 0x00000020 /* Pad 1 (power down) enable */ 82 #define TWSIC0_MODE 0x00000002 /* 1 = 16-bit, 0 = 8-bit */ 130 dev_err(&(cam)->pdev->dev, fmt, ##arg); [all …]
|
/linux/drivers/mfd/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 57 tristate "Active-semi ACT8945A" 62 Support for the ACT8945A PMIC from Active-semi. This device 63 features three step-down DC/DC converters and four low-dropout 79 sun4i-gpadc-iio and the hwmon driver iio_hwmon. 82 called sun4i-gpadc. 113 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down 115 over current monitoring, GPIOs, ADC and a watchdog. 124 individual components like LCD backlight, LEDs, GPIOs and Kepad 144 over at91-usart-serial driver and usart-spi-driver. Only one function [all …]
|
H A D | tps65010.c | 1 // 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/drivers/tty/serial/ |
H A D | cpm_uart.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 * (C) 2005-2006 MontaVista Software, Inc. 28 #include <linux/dma-mapping.h> 59 cpm_command(port->command, cmd); in cpm_line_cr_cmd() 69 cbd_t __iomem *bdp = pinfo->tx_bd_base; in cpm_uart_tx_empty() 73 if (in_be16(&bdp->cbd_sc) & BD_SC_READY) in cpm_uart_tx_empty() 76 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) { in cpm_uart_tx_empty() 83 pr_debug("CPM uart[%d]:tx_empty: %d\n", port->line, ret); in cpm_uart_tx_empty() 93 if (pinfo->gpios[GPIO_RTS]) in cpm_uart_set_mctrl() 94 gpiod_set_value(pinfo->gpios[GPIO_RTS], !(mctrl & TIOCM_RTS)); in cpm_uart_set_mctrl() [all …]
|
H A D | atmel_serial.c | 1 // SPDX-License-Identifier: GPL-2.0+ 18 #include <linux/clk-provider.h> 24 #include <linux/dma-mapping.h> 62 /* Use device name ttyAT, major 204 and minor 154-169. This is necessary if we 71 /* Use device name ttyS, major 4, minor 64-68. This is the usual serial port 147 struct mctrl_gpios *gpios; member 167 bool hd_start_rx; /* can start RX during half-duplex operation */ 197 { .compatible = "atmel,at91rm9200-usart-serial" }, 210 return __raw_readl(port->membase + reg); in atmel_uart_readl() 215 __raw_writel(value, port->membase + reg); in atmel_uart_writel() [all …]
|