| /linux/arch/arm/boot/dts/intel/ixp/ |
| H A D | intel-ixp42x-goramo-multilink.dts | 1 // SPDX-License-Identifier: ISC 5 * - MultiLink Basic (a box) 6 * - MultiLink Max (19" rack mount) 9 * This is one of the few devices supporting the IXP4xx High-Speed Serial 14 /dts-v1/; 16 #include "intel-ixp42x.dtsi" 17 #include <dt-bindings/input/input.h> 21 compatible = "goramo,multilink-router", "intel,ixp42x"; 22 #address-cells = <1>; 23 #size-cells = <1>; [all …]
|
| H A D | intel-ixp42x-linksys-wrv54g.dts | 1 // SPDX-License-Identifier: ISC 9 /dts-v1/; 11 #include "intel-ixp42x.dtsi" 12 #include <dt-bindings/input/input.h> 17 #address-cells = <1>; 18 #size-cells = <1>; 28 stdout-path = "uart1:115200n8"; 39 compatible = "gpio-leds"; 40 led-power { 42 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; [all …]
|
| H A D | intel-ixp42x-freecom-fsg-3.dts | 1 // SPDX-License-Identifier: ISC 3 * Device Tree file for the Freecom FSG-3 router. 8 /dts-v1/; 10 #include "intel-ixp42x.dtsi" 11 #include <dt-bindings/input/input.h> 14 model = "Freecom FSG-3"; 15 compatible = "freecom,fsg-3", "intel,ixp42x"; 16 #address-cells = <1>; 17 #size-cells = <1>; 28 stdout-path = "uart0:115200n8"; [all …]
|
| H A D | intel-ixp42x-usrobotics-usr8200.dts | 1 // SPDX-License-Identifier: ISC 4 * VPN and NAS. Based on know-how from Peter Denison. 10 /dts-v1/; 12 #include "intel-ixp42x.dtsi" 13 #include <dt-bindings/input/input.h> 18 #address-cells = <1>; 19 #size-cells = <1>; 28 stdout-path = "uart1:115200n8"; 38 compatible = "gpio-leds"; 39 ieee1394_led: led-1394 { [all …]
|
| H A D | intel-ixp42x-iomega-nas100d.dts | 1 // SPDX-License-Identifier: ISC 6 /dts-v1/; 8 #include "intel-ixp42x.dtsi" 9 #include <dt-bindings/input/input.h> 13 compatible = "iom,nas-100d", "intel,ixp42x"; 14 #address-cells = <1>; 15 #size-cells = <1>; 25 stdout-path = "uart0:115200n8"; 33 compatible = "gpio-leds"; 34 led-wlan { [all …]
|
| H A D | intel-ixp42x-linksys-nslu2.dts | 1 // SPDX-License-Identifier: ISC 6 /dts-v1/; 8 #include "intel-ixp42x.dtsi" 9 #include <dt-bindings/input/input.h> 14 #address-cells = <1>; 15 #size-cells = <1>; 25 stdout-path = "uart0:115200n8"; 33 compatible = "gpio-leds"; 34 led-status { 36 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; [all …]
|
| H A D | intel-ixp42x-gateworks-gw2348.dts | 1 // SPDX-License-Identifier: ISC 7 /dts-v1/; 9 #include "intel-ixp42x.dtsi" 10 #include <dt-bindings/input/input.h> 15 #address-cells = <1>; 16 #size-cells = <1>; 25 stdout-path = "uart0:115200n8"; 33 compatible = "gpio-leds"; 34 led-user { 36 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; [all …]
|
| H A D | intel-ixp43x-gateworks-gw2358.dts | 1 // SPDX-License-Identifier: ISC 3 * Device Tree file for Gateworks IXP43x-based Cambria GW2358 6 /dts-v1/; 8 #include "intel-ixp43x.dtsi" 13 #address-cells = <1>; 14 #size-cells = <1>; 24 stdout-path = "uart0:115200n8"; 32 compatible = "gpio-leds"; 33 led-user { 35 gpios = <&pld1 0 GPIO_ACTIVE_LOW>; [all …]
|
| H A D | intel-ixp42x-netgear-wg302v1.dts | 1 // SPDX-License-Identifier: ISC 7 /dts-v1/; 9 #include "intel-ixp42x.dtsi" 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 16 #address-cells = <1>; 17 #size-cells = <1>; 28 stdout-path = "uart1:9600n8"; 37 compatible = "gpio-leds"; 38 test_led: led-test { [all …]
|
| /linux/Documentation/devicetree/bindings/net/can/ |
| H A D | microchip,mcp251xfd.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip MCP2517FD, MCP2518FD and MCP251863 stand-alone CAN controller 10 - Marc Kleine-Budde <mkl@pengutronix.de> 13 - $ref: can-controller.yaml# 18 - enum: 19 - microchip,mcp2517fd 20 - microchip,mcp2518fd 21 - microchip,mcp251xfd [all …]
|
| /linux/drivers/tty/serial/ |
| H A D | ar933x_uart.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Atheros AR933X SoC built-in UART driver 31 #include <asm/mach-ath79/ar933x_uart.h> 35 #define DRIVER_NAME "ar933x-uart" 49 unsigned int ier; /* shadow Interrupt Enable Register */ 50 unsigned int min_baud; 51 unsigned int max_baud; 53 struct mctrl_gpios *gpios; member 57 static inline unsigned int ar933x_uart_read(struct ar933x_uart_port *up, in ar933x_uart_read() 58 int offset) in ar933x_uart_read() [all …]
|
| 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> 50 static int cpm_uart_tx_pump(struct uart_port *port); 57 static void cpm_line_cr_cmd(struct uart_cpm_port *port, int cmd) in cpm_line_cr_cmd() 59 cpm_command(port->command, cmd); in cpm_line_cr_cmd() 65 static unsigned int cpm_uart_tx_empty(struct uart_port *port) in cpm_uart_tx_empty() 69 cbd_t __iomem *bdp = pinfo->tx_bd_base; in cpm_uart_tx_empty() 70 int ret = 0; in cpm_uart_tx_empty() 73 if (in_be16(&bdp->cbd_sc) & BD_SC_READY) in cpm_uart_tx_empty() [all …]
|
| H A D | stm32-usart.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #define DRIVER_NAME "stm32-usart" 192 #define RX_BUF_L 4096 /* dma rx buffer length */ 193 #define RX_BUF_P (RX_BUF_L / 2) /* dma rx buffer period */ 202 struct dma_chan *rx_ch; /* dma rx channel */ 203 dma_addr_t rx_dma_buf; /* dma rx buffer bus address */ 204 unsigned char *rx_buf; /* dma rx buffer cpu address */ 210 int last_res; 212 bool rx_dma_busy; /* dma rx transaction in progress */ 215 bool swap; /* swap RX & TX pins */ [all …]
|
| H A D | mxs-auart.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * Copyright 2014 Oleksij Rempel <linux@rempel-privat.de> 11 * Copyright 2008-2010 Freescale Semiconductor, Inc. 34 #include <linux/dma-mapping.h> 90 #define AUART_LINECTRL_WLEN(v) ((((v) - 5) & 0x3) << 5) 124 * RW. Tell the UART to execute the RX DMA Command. The 131 * RW. RX TIMEOUT Enable. Valid for FIFO and DMA. 132 * Warning: If this bit is set to 0, the RX timeout will not affect receive DMA 138 * RW. Receive Timeout Counter Value: number of 8-bit-time to wait before 139 * asserting timeout on the RX input. If the RXFIFO is not empty and the RX [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> 46 * These two offsets are substracted from the RX FIFO size to define the RTS 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 84 unsigned int dma_size; 85 unsigned int ofs; 116 int may_wakeup; /* cached value of device_may_wakeup for times we need to disable it */ 118 int break_active; /* break being received */ [all …]
|
| H A D | imx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 31 #include <linux/dma-mapping.h> 34 #include <linux/dma/imx-dma.h> 126 #define UFCR_RFDIV_REG(x) (((x) < 7 ? 6 - (x) : 6) << 7) 155 #define UTS_LOOP (1<<12) /* Loop tx and rx */ 162 /* We've been assigned a range on the "Low-density serial ports" major */ 175 #define DRIVER_NAME "IMX-uart" 201 unsigned int old_status; 202 unsigned int have_rtscts:1; 203 unsigned int have_rtsgpio:1; [all …]
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6qp-prtwd3.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 16 stdout-path = &uart4; 29 clock_ksz8081: clock-ksz8081 { 30 compatible = "fixed-clock"; 31 #clock-cells = <0>; 32 clock-frequency = <50000000>; 35 clock_ksz9031: clock-ksz9031 { 36 compatible = "fixed-clock"; [all …]
|
| H A D | imx7-mba7.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 3 * Device Tree Include file for TQ-Systems MBa7 carrier board. 5 * Copyright (C) 2016 TQ-Systems GmbH 6 * Author: Markus Niebel <Markus.Niebel@tq-group.com> 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/net/ti-dp83867.h> 20 /delete-property/ mmc2; 26 compatible = "gpio-beeper"; 27 gpios = <&pca9555 0 GPIO_ACTIVE_HIGH>; 31 stdout-path = &uart6; [all …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | apq8016-schneider-hmibsc.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 7 /dts-v1/; 9 #include "msm8916-pm8916.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 14 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 15 #include <dt-bindings/sound/apq8016-lpass.h> 19 compatible = "schneider,apq8016-hmibsc", "qcom,apq8016"; [all …]
|
| H A D | sc7280-qcard.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 14 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> 15 #include <dt-bindings/iio/qcom,spmi-adc7-pmr735a.h> 16 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 17 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 34 wcd9385: audio-codec-1 { 35 compatible = "qcom,wcd9385-codec"; 36 pinctrl-names = "default", "sleep"; 37 pinctrl-0 = <&wcd_reset_n>, <&us_euro_hs_sel>; 38 pinctrl-1 = <&wcd_reset_n_sleep>, <&us_euro_hs_sel>; [all …]
|
| /linux/drivers/iio/resolver/ |
| H A D | ad2s1210.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2010-2010 Analog Devices Inc. 11 * ----------------------------|------|------------------------------------------- 23 * Resolution | D1:0 | *device tree: assigned-resolution-bits* 34 * ----------------------------------------|----|--------------------------------- 152 int hysteresis_available[2]; 153 /* adi,fixed-mode property - only valid when mode_gpios == NULL. */ 171 u8 rx[2]; member 176 static int ad2s1210_set_mode(struct ad2s1210_state *st, enum ad2s1210_mode mode) in ad2s1210_set_mode() 178 struct gpio_descs *gpios = st->mode_gpios; in ad2s1210_set_mode() local [all …]
|
| /linux/arch/arm/boot/dts/allwinner/ |
| H A D | sun7i-a20-pcduino3.dts | 5 * This file is dual-licensed: you can use it either under the terms 44 /dts-v1/; 45 #include "sun7i-a20.dtsi" 46 #include "sunxi-common-regulators.dtsi" 48 #include <dt-bindings/gpio/gpio.h> 49 #include <dt-bindings/input/input.h> 50 #include <dt-bindings/interrupt-controller/irq.h> 54 compatible = "linksprite,pcduino3", "allwinner,sun7i-a20"; 61 stdout-path = "serial0:115200n8"; 65 compatible = "gpio-leds"; [all …]
|
| H A D | sun4i-a10-pcduino.dts | 5 * This file is dual-licensed: you can use it either under the terms 44 /dts-v1/; 45 #include "sun4i-a10.dtsi" 46 #include "sunxi-common-regulators.dtsi" 48 #include <dt-bindings/gpio/gpio.h> 49 #include <dt-bindings/input/input.h> 53 compatible = "linksprite,a10-pcduino", "allwinner,sun4i-a10"; 60 stdout-path = "serial0:115200n8"; 64 compatible = "gpio-leds"; 66 led-0 { [all …]
|
| /linux/arch/arm/boot/dts/rockchip/ |
| H A D | rv1109-relfor-saib.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/input/input.h> 16 gpio-keys { 17 compatible = "gpio-keys"; 20 gpios = <&gpio2 RK_PA7 GPIO_ACTIVE_HIGH>; 23 linux,input-type = <1>; 27 ir_receiver: ir-receiver { 28 compatible = "gpio-ir-receiver"; [all …]
|
| /linux/drivers/misc/mei/ |
| H A D | vsc-tp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 #include "vsc-tp.h" 40 (sizeof(struct vsc_tp_packet_hdr) + le16_to_cpu((pkt)->hdr.len) + VSC_TP_CRC_SIZE) 46 (len + sizeof(struct vsc_tp_packet_hdr) + VSC_TP_CRC_SIZE - offset + VSC_TP_PACKET_PADDING_SIZE) 57 __u8 buf[VSC_TP_MAX_XFER_SIZE - sizeof(struct vsc_tp_packet_hdr)]; 95 { "wakeuphost-gpios", &wakeuphost_gpio, 1 }, 96 { "wakeuphostint-gpios", &wakeuphostint_gpio, 1 }, 97 { "resetfw-gpios", &resetfw_gpio, 1 }, 98 { "wakeupfw-gpios", &wakeupfw, 1 }, 102 static irqreturn_t vsc_tp_isr(int irq, void *data) in vsc_tp_isr() [all …]
|