/linux/Documentation/devicetree/bindings/serial/ |
H A D | serial.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 11 - Greg Kroah-Hartman <gregkh@linuxfoundation.org> 18 Each enabled UART may have an optional "serialN" alias in the "aliases" node, 19 where N is the port number (non-negative decimal integer) as printed on the 28 cts-gpios: 32 the UART's CTS line. 34 dcd-gpios: [all …]
|
H A D | fsl-imx-uart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/serial/fsl-imx-uart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale i.MX Universal Asynchronous Receiver/Transmitter (UART) 10 - Fabio Estevam <festevam@gmail.com> 15 - const: fsl,imx1-uart 16 - const: fsl,imx21-uart 17 - items: 18 - enum: [all …]
|
H A D | serial-peripheral-props.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/serial/serial-peripheral-props.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Common Properties for Serial-attached Devices 10 - Rob Herring <robh@kernel.org> 11 - Greg Kroah-Hartman <gregkh@linuxfoundation.org> 14 Devices connected over serial/UART, expressed as children of a serial 19 max-speed: 28 current-speed: [all …]
|
/linux/tools/arch/x86/dell-uart-backlight-emulator/ |
H A D | README | 1 Emulator for DELL0501 UART attached backlight controller 2 -------------------------------------------------------- 5 board connected to an UART. 7 In DSDT this uart port will be defined as: 12 With the DELL0501 indicating that we are dealing with an UART with 13 the backlight controller board attached. 16 the drivers/platform/x86/dell/dell-uart-backlight.c driver without access 20 1. A (desktop) PC with a 16550 UART on the motherboard and a standard DB9 21 connector connected to this UART. 25 4. A DSDT overlay for the desktop PC replacing the _HID of the 16550 UART [all …]
|
/linux/drivers/extcon/ |
H A D | extcon-max8997.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // extcon-max8997.c - MAX8997 extcon driver to support MAX8997 MUIC 8 #include <linux/devm-helpers.h> 18 #include <linux/mfd/max8997-private.h> 19 #include <linux/extcon-provider.h> 22 #define DEV_NAME "max8997-muic" 39 { MAX8997_MUICIRQ_ADCError, "muic-ADCERROR" }, 40 { MAX8997_MUICIRQ_ADCLow, "muic-ADCLOW" }, 41 { MAX8997_MUICIRQ_ADC, "muic-ADC" }, 42 { MAX8997_MUICIRQ_VBVolt, "muic-VBVOLT" }, [all …]
|
H A D | extcon-max77693.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // extcon-max77693.c - MAX77693 extcon driver to support MAX77693 MUIC 8 #include <linux/devm-helpers.h> 18 #include <linux/mfd/max77693-common.h> 19 #include <linux/mfd/max77693-private.h> 20 #include <linux/extcon-provider.h> 24 #define DEV_NAME "max77693-muic" 30 * extcon-max77693 driver use 'default_init_data' to bring up base operation 35 /* STATUS2 - [3]ChgDetRun */ 39 /* INTMASK1 - Unmask [3]ADC1KM,[0]ADCM */ [all …]
|
H A D | extcon-max14577.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // extcon-max14577.c - MAX14577/77836 extcon driver to support MUIC 9 #include <linux/devm-helpers.h> 16 #include <linux/mfd/max14577-private.h> 17 #include <linux/extcon-provider.h> 47 { MAX14577_IRQ_INT1_ADC, "muic-ADC" }, 48 { MAX14577_IRQ_INT1_ADCLOW, "muic-ADCLOW" }, 49 { MAX14577_IRQ_INT1_ADCERR, "muic-ADCError" }, 50 { MAX14577_IRQ_INT2_CHGTYP, "muic-CHGTYP" }, 51 { MAX14577_IRQ_INT2_CHGDETRUN, "muic-CHGDETRUN" }, [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 cables attached. For example, an external connector of a device 11 host USB ports. Many of 30-pin connectors including PDMI are 25 tristate "X-Power AXP288 EXTCON support" 30 and USB MUX switching by X-Power AXP288 PMIC. 42 and UART data to use a common connector port. 87 microphone and UART data to use a common connector port. 105 enable a system with an integrated USB OTG dual-role transceiver to 106 function as an USB OTG dual-role device. 195 using Chrome OS EC based USB Type-C ports. [all …]
|
H A D | extcon-max77843.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // extcon-max77843.c - Maxim MAX77843 extcon driver to support 9 #include <linux/extcon-provider.h> 13 #include <linux/mfd/max77693-common.h> 14 #include <linux/mfd/max77843-private.h> 141 { MAX77843_MUIC_IRQ_INT1_ADC, "MUIC-ADC" }, 142 { MAX77843_MUIC_IRQ_INT1_ADCERROR, "MUIC-ADC_ERROR" }, 143 { MAX77843_MUIC_IRQ_INT1_ADC1K, "MUIC-ADC1K" }, 144 { MAX77843_MUIC_IRQ_INT2_CHGTYP, "MUIC-CHGTYP" }, 145 { MAX77843_MUIC_IRQ_INT2_CHGDETRUN, "MUIC-CHGDETRUN" }, [all …]
|
/linux/drivers/iio/imu/bno055/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 9 tristate "Bosch BNO055 attached via UART" 14 Enable this to support Bosch BNO055 IMUs attached via UART. 20 tristate "Bosch BNO055 attached via I2C bus" 25 Enable this to support Bosch BNO055 IMUs attached via I2C bus.
|
/linux/drivers/tty/serial/8250/ |
H A D | 8250_parisc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (c) Copyright Matthew Wilcox <willy@debian.org> 2001-2002 18 #include <asm/parisc-device.h> 25 struct uart_8250_port uart; in serial_init_chip() local 30 if (!dev->irq && (dev->id.sversion == 0xad)) in serial_init_chip() 31 dev->irq = iosapic_serial_irq(dev); in serial_init_chip() 34 if (!dev->irq) { in serial_init_chip() 40 if (parisc_parent(dev)->id.hw_type != HPHW_IOA) in serial_init_chip() 41 dev_info(&dev->dev, in serial_init_chip() 44 (unsigned long long)dev->hpa.start); in serial_init_chip() [all …]
|
H A D | 8250_platform.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Universal/legacy platform driver for 8250/16550-type serial ports 6 * ISA-compatible 8250/16550 ports 30 * This option is unsafe when used on edge-triggered interrupts. 41 * SERIAL_PORT_DFNS tells us about built-in ports that have no 84 struct uart_port *port = &up->port; in __serial8250_isa_init_ports() 86 port->iobase = old_serial_port[i].port; in __serial8250_isa_init_ports() 87 port->irq = irq_canonicalize(old_serial_port[i].irq); in __serial8250_isa_init_ports() 88 port->irqflags = 0; in __serial8250_isa_init_ports() 89 port->uartclk = old_serial_port[i].baud_base * 16; in __serial8250_isa_init_ports() [all …]
|
/linux/Documentation/devicetree/bindings/net/bluetooth/ |
H A D | mediatek,bluetooth.txt | 1 MediaTek UART based Bluetooth Devices 4 This device is a serial attached device to UART device and thus it must be a 5 child node of the serial node with UART. 13 - compatible: Must be 14 "mediatek,mt7663u-bluetooth": for MT7663U device 15 "mediatek,mt7668u-bluetooth": for MT7668U device 16 - vcc-supply: Main voltage regulator 21 - pinctrl-names: Should be "default", "runtime" 22 - pinctrl-0: Should contain UART RXD low when the device is powered up to 24 - pinctrl-1: Should contain UART mode pin ctrl [all …]
|
H A D | nxp,88w8987-bt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/bluetooth/nxp,88w8987-bt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 This binding describes UART-attached NXP bluetooth chips. These chips 11 are dual-radio chips supporting WiFi and Bluetooth. The bluetooth 12 works on standard H4 protocol over 4-wire UART. The RTS and CTS lines 14 asserts break signal over UART-TX line to put the chip into power save 15 state. De-asserting break wakes up the BT chip. 18 - Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com> [all …]
|
H A D | ti,bluetooth.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Lechner <david@lechnology.com> 14 attached TI Bluetooth devices. The following chips are included in this 20 TI WiLink devices have a UART interface for providing Bluetooth, FM radio, 27 This bindings follows the UART slave device binding in ../serial/serial.yaml. 32 - ti,cc2560 33 - ti,wl1271-st 34 - ti,wl1273-st [all …]
|
H A D | brcm,bluetooth.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 13 This binding describes Broadcom UART-attached bluetooth chips. 18 - items: 19 - enum: 20 - infineon,cyw43439-bt 21 - const: brcm,bcm4329-bt 22 - enum: [all …]
|
/linux/Documentation/networking/device_drivers/can/ |
H A D | can327.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 7 -------- 14 ----------- 26 ------------- 33 order to fake full-duplex operation. 36 enough to implement simple request-response protocols (such as OBD II), 39 Most ELM327s come as nondescript serial devices, attached via USB or 50 ----------- 59 ---------------------------------- 65 be attached on a command prompt as follows:: [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-exar.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 * The Device Configuration and UART Configuration Registers 26 * for each UART channel take 1KB of memory address space. 50 unsigned int pin = exar_gpio->first_pin + (offset % 16); in exar_offset_to_sel_addr() 54 return addr + (cascaded ? exar_gpio->cascaded_offset : 0); in exar_offset_to_sel_addr() 60 unsigned int pin = exar_gpio->first_pin + (offset % 16); in exar_offset_to_lvl_addr() 64 return addr + (cascaded ? exar_gpio->cascaded_offset : 0); in exar_offset_to_lvl_addr() 70 unsigned int pin = exar_gpio->first_pin + (offset % 16); in exar_offset_to_bit() 81 if (regmap_test_bits(exar_gpio->regmap, addr, BIT(bit))) in exar_get_direction() 93 return !!(regmap_test_bits(exar_gpio->regmap, addr, BIT(bit))); in exar_get_value() [all …]
|
/linux/Documentation/devicetree/bindings/ptp/ |
H A D | timestamper.txt | 3 This binding supports non-PHY devices that snoop the MII bus and 9 Non-PHY MII time stamping drivers typically talk to the control 10 interface over another bus like I2C, SPI, UART, or via a memory mapped 20 compatible = "ines,ptp-ctrl"; 26 ethernet-phy@1 { 34 ethernet-phy@2 { 40 In this example, time stamps from the MII bus attached to phy@1 will
|
/linux/Documentation/trace/coresight/ |
H A D | coresight-ect.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 -------------------- 21 0 C 0----------->: : +======>(other CTI channel IO) 22 0 P 0<-----------: : v 24 0000000 : CTI :<=========>*CTM*<====>: CTI :---+ 25 ####### in_trigs : : (id 0-3) ***** ::::::: v 26 # ETM #----------->: : ^ ####### 27 # #<-----------: : +---# ETR # 31 channels. When an input trigger becomes active, the attached channel will 32 become active. Any output trigger attached to that channel will also [all …]
|
/linux/drivers/bus/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 37 Driver for the Broadcom Set Top Box System-on-a-chip internal bus 42 bool "Baikal-T1 APB-bus driver" 46 Baikal-T1 AXI-APB bridge is used to access the SoC subsystem CSRs. 53 errors counter. The counter and the APB-bus operations timeout can be 57 bool "Baikal-T1 AXI-bus driver" 61 AXI3-bus is the main communication bus connecting all high-speed 62 peripheral IP-cores with RAM controller and with MIPS P5600 cores on 63 Baikal-T1 SoC. Traffic arbitration is done by means of DW AMBA 3 AXI 87 Driver to enable I/O access to devices attached to the Low Pin [all …]
|
/linux/Documentation/devicetree/bindings/bus/ |
H A D | socionext,uniphier-system-bus.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/bus/socionext,uniphier-system-bus.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The UniPhier System Bus is an external bus that connects on-board devices to 11 the UniPhier SoC. It is a simple (semi-)parallel bus with address, data, and 16 within each bank to the CPU-viewed address. The needed setup includes the 21 - Masahiro Yamada <yamada.masahiro@socionext.com> 25 const: socionext,uniphier-system-bus 30 "#address-cells": [all …]
|
/linux/net/nfc/nci/ |
H A D | uart.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (C) 2000-2001 Qualcomm Incorporated 8 * Copyright (C) 2002-2003 Maxim Krasnyansky <maxk@qualcomm.com> 9 * Copyright (C) 2004-2005 Marcel Holtmann <marcel@holtmann.org> 41 struct sk_buff *skb = nu->tx_skb; in nci_uart_dequeue() 44 skb = skb_dequeue(&nu->tx_q); in nci_uart_dequeue() 46 nu->tx_skb = NULL; in nci_uart_dequeue() 53 if (nu->tx_skb) in nci_uart_queue_empty() 56 return skb_queue_empty(&nu->tx_q); in nci_uart_queue_empty() 61 if (test_and_set_bit(NCI_UART_SENDING, &nu->tx_state)) { in nci_uart_tx_wakeup() [all …]
|
/linux/drivers/tty/serial/ |
H A D | serial_txx9.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * Copyright (C) 2000-2002 Toshiba Corporation 161 switch (up->iotype) { in sio_in() 163 return __raw_readl(up->membase + offset); in sio_in() 165 return inl(up->iobase + offset); in sio_in() 172 switch (up->iotype) { in sio_out() 174 __raw_writel(value, up->membase + offset); in sio_out() 177 outl(value, up->iobase + offset); in sio_out() 221 up->read_status_mask &= ~TXX9_SIDISR_RDIS; in serial_txx9_stop_rx() 232 while ((sio_in(up, TXX9_SIFCR) & TXX9_SIFCR_SWRST) && --tmout) in serial_txx9_initialize() [all …]
|
/linux/drivers/platform/chrome/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 26 If you have an ACPI-compatible Chromebook, say Y or M here. 47 The range of memory used is 0xf00000-0x1000000, traditionally 73 devices that have multiple drop-in options for one component. 94 EC through an I2C bus. This uses a simple byte-level protocol with 103 through rpmsg. This uses a simple byte-level protocol with a 104 checksum. Also since there's no addition EC-to-host interrupt, this 117 ISH Transport protocol (ISH-TP). This uses a simple byte-level 129 through a SPI bus, using a byte-level protocol. Since the EC's 131 'pre-amble' bytes before the response actually starts. [all …]
|