/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 …]
|
H A D | extcon-fsa9480.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * extcon-fsa9480.c - Fairchild Semiconductor FSA9480 extcon driver 7 * Loosely based on old fsa9480 misc-device driver. 20 #include <linux/extcon-provider.h> 86 * D- [7:5] / D+ [4:2] 87 * 000: Open all / 001: USB / 010: AUDIO / 011: UART / 100: V_AUDIO 169 ret = regmap_write(usbsw->regma in fsa9480_write_reg() 203 fsa9480_handle_change(struct fsa9480_usbsw * usbsw,u16 mask,bool attached) fsa9480_handle_change() argument [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 …]
|
/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 | 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/bluetooth/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 117 tristate "HCI UART driver" 123 Bluetooth HCI UART driver. 126 UART based Bluetooth PCMCIA and CF devices like Xircom Credit Card 129 Say Y here to compile support for Bluetooth UART devices into the 138 bool "UART (H4) protocol support" 141 UART (H4) is serial protocol for communication between Bluetooth 143 with UART interface, including PCMCIA and CF cards. 145 Say Y here to compile support for HCI UART (H4) protocol. 148 tristate "UART Nokia H4+ protocol support" [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/devicetree/bindings/gnss/ |
H A D | u-blox,neo-6m.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/gnss/u-blox,neo-6m.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: U-blox GNSS Receiver 10 - $ref: gnss-common.yaml# 11 - $ref: /schemas/serial/serial-peripheral-props.yaml# 14 - Johan Hovold <johan@kernel.org> 17 The U-blox GNSS receivers can use UART, DDC (I2C), SPI and USB interfaces. 22 - u-blox,neo-6m [all …]
|
/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/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/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/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 …]
|
H A D | ma35d1_serial.c | 1 // SPDX-License-Identifier: GPL-2.0+ 36 /* MA35_IER_REG - Interrupt Enable Register */ 40 #define MA35_IER_RTO_IEN BIT(4) /* RX Time-out Interrupt Enable */ 42 #define MA35_IER_TIME_OUT_EN BIT(11) /* RX Buffer Time-out Counter Enable */ 43 #define MA35_IER_AUTO_RTS BIT(12) /* nRTS Auto-flow Control Enable */ 44 #define MA35_IER_AUTO_CTS BIT(13) /* nCTS Auto-flow Control Enable */ 46 /* MA35_FCR_REG - FIFO Control Register */ 62 /* MA35_LCR_REG - Line Control Register */ 74 /* MA35_MCR_REG - Modem Control Register */ 79 /* MA35_MSR_REG - Modem Status Register */ [all …]
|