| /OK3568_Linux_fs/kernel/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 26 trigger-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; 27 watchdog-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; 28 kill-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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@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>;
|
| H A D | 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 - 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 …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| 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 …]
|
| 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 …]
|
| 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" 26 * pre-existing /chosen node to be available to insert the 35 reserved-memory { 36 #address-cells = <1>; [all …]
|
| H A D | tegra20-acer-a500-picasso.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 "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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/gpio/ |
| H A D | gpio-eic-sprd.txt | 6 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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/spi/ |
| H A D | mxc_spi.c | 4 * SPDX-License-Identifier: GPL-2.0+ 14 #include <asm/arch/imx-regs.h> 16 #include <asm/mach-imx/spi.h> 30 return -1; in board_spi_cs_gpio() 64 dm_gpio_set_value(&mxcs->ss, mxcs->ss_pol); in mxc_spi_cs_activate() 66 if (mxcs->gpio > 0) in mxc_spi_cs_activate() 67 gpio_set_value(mxcs->gpio, mxcs->ss_pol); in mxc_spi_cs_activate() 74 dm_gpio_set_value(&mxcs->ss, !(mxcs->ss_pol)); in mxc_spi_cs_deactivate() 76 if (mxcs->gpio > 0) in mxc_spi_cs_deactivate() 77 gpio_set_value(mxcs->gpio, !(mxcs->ss_pol)); in mxc_spi_cs_deactivate() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/net/ |
| H A D | pic32_eth.c | 4 * SPDX-License-Identifier: GPL-2.0+ 42 if (!dm_gpio_is_valid(&priv->rst_gpio)) in board_netphy_reset() 46 dm_gpio_set_value(&priv->rst_gpio, 0); in board_netphy_reset() 48 dm_gpio_set_value(&priv->rst_gpio, 1); in board_netphy_reset() 57 struct pic32_ectl_regs *ectl_p = priv->ectl_regs; in pic32_mii_init() 58 struct pic32_emac_regs *emac_p = priv->emac_regs; in pic32_mii_init() 64 writel(ETHCON_ON | ETHCON_TXRTS | ETHCON_RXEN, &ectl_p->con1.clr); in pic32_mii_init() 67 wait_for_bit_le32(&ectl_p->stat.raw, ETHSTAT_BUSY, false, in pic32_mii_init() 71 writel(ETHCON_ON, &ectl_p->con1.set); in pic32_mii_init() 76 writel(EMAC_SOFTRESET, &emac_p->cfg1.set); /* reset assert */ in pic32_mii_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/marvell-ccic/ |
| 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" 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | Kconfig | 1 # 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 …]
|
| 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/cpm_uart/ |
| H A D | cpm_uart_core.c | 1 // 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/ |
| H A D | atmel_serial.c | 1 // 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 …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | .rk3288-veyron-minnie.dtb.dts.tmp | |
| H A D | .rk3288-veyron-mickey.dtb.dts.tmp | |
| H A D | .rk3288-veyron-jerry.dtb.dts.tmp | |
| H A D | .rk3288-firefly.dtb.dts.tmp | |
| H A D | .rk3288-tinker.dtb.dts.tmp | |
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/powermac/ |
| H A D | feature.c | 1 // 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 …]
|