/linux/drivers/tty/serial/ |
H A D | mux.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 ** mux.c: 4 ** serial driver for the Mux console found in some PA-RISC servers. 7 ** (c) Copyright 2002 Hewlett-Packard Company 9 ** This Driver currently only supports the console (port 0) on the MUX. 11 ** functionality of the MUX. 18 #include <linux/serial.h> 26 #include <asm/parisc-device.h> 63 #define UART_PUT_CHAR(p, c) __raw_writel((c), (p)->membase + IO_DATA_REG_OFFSET) 64 #define UART_GET_FIFO_CNT(p) __raw_readl((p)->membase + IO_DCOUNT_REG_OFFSET) [all …]
|
/linux/Documentation/driver-api/tty/ |
H A D | n_gsm.rst | 10 https://www.3gpp.org/ftp/Specs/archive/07_series/07.10/0710-720.zip 13 modems connected to a physical serial port. 19 ---------------- 21 #. Initialize the modem in 0710 mux mode (usually ``AT+CMUX=`` command) through 22 its serial port. Depending on the modem used, you can pass more or less 25 #. Switch the serial line to using the n_gsm line discipline by using 28 #. Configure the mux using ``GSMIOC_GETCONF_EXT``/``GSMIOC_SETCONF_EXT`` ioctl if needed. 30 #. Configure the mux using ``GSMIOC_GETCONF``/``GSMIOC_SETCONF`` ioctl. 32 #. Configure DLCs using ``GSMIOC_GETCONF_DLCI``/``GSMIOC_SETCONF_DLCI`` ioctl for non-defaults. 34 #. Obtain base gsmtty number for the used serial port. [all …]
|
/linux/drivers/net/usb/ |
H A D | hso.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * Copyright (C) 2008 Greg Kroah-Hartman <gregkh@suse.de> 22 * The multiplexed serial ports are using the interrupt and 31 * Interface 2: Standard modem interface - circuit switched interface, this 60 #include <linux/serial.h> 83 /* - use *_bit operations on it. (bit indices not values.) */ 203 on which serial port it is used on. */ 230 int (*write_data) (struct hso_serial *serial); 233 * working on the serial receive buffers 290 /* Serial driver functions */ [all …]
|
/linux/Documentation/devicetree/bindings/soc/qcom/ |
H A D | qcom,gsbi.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm General Serial Bus Interface (GSBI) 10 - Andy Gross <agross@kernel.org> 11 - Bjorn Andersson <bjorn.andersson@linaro.org> 12 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 16 representing a serial sub-node device that is mux'd as part of the GSBI 20 A GSBI controller node can contain 0 or more child nodes representing serial 21 devices. These serial devices can be a QCOM UART, I2C controller, spi [all …]
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt7622-rfb1.dts | 6 * SPDX-License-Identifier: (GPL-2.0 OR MIT) 9 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/gpio.h> 18 chassis-type = "embedded"; 19 compatible = "mediatek,mt7622-rfb1", "mediatek,mt7622"; 26 stdout-path = "serial0:115200n8"; 32 proc-supply = <&mt6380_vcpu_reg>; 33 sram-supply = <&mt6380_vm_reg>; 37 proc-supply = <&mt6380_vcpu_reg>; [all …]
|
H A D | mt7622-bananapi-bpi-r64.dts | 5 * SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 17 model = "Bananapi BPI-R64"; 18 chassis-type = "embedded"; 19 compatible = "bananapi,bpi-r64", "mediatek,mt7622"; 26 stdout-path = "serial0:115200n8"; 32 proc-supply = <&mt6380_vcpu_reg>; [all …]
|
/linux/drivers/net/mctp/ |
H A D | Kconfig | 7 tristate "MCTP serial transport" 11 This driver provides an MCTP-over-serial interface, through a 12 serial line-discipline, as defined by DMTF specification "DSP0253 - 13 MCTP Serial Transport Binding". By attaching the ldisc to a serial 17 serial as their transport. It can also be used as an easy way to 19 data between simple virtual serial devices. 21 Say y here if you need to connect to MCTP endpoints over serial. To 22 compile as a module, use m; the module will be called mctp-serial. 25 bool "MCTP serial tests" if !KUNIT_ALL_TESTS 31 # i2c-mux is optional, but we must build as a module if i2c-mux is a module [all …]
|
/linux/arch/arm/boot/dts/mediatek/ |
H A D | mt7629-rfb.dts | 1 // SPDX-License-Identifier: GPL-2.0 7 /dts-v1/; 8 #include <dt-bindings/input/input.h> 13 compatible = "mediatek,mt7629-rfb", "mediatek,mt7629"; 20 stdout-path = "serial0:115200n8"; 23 gpio-keys { 24 compatible = "gpio-keys"; 26 button-reset { 32 button-wps { 44 reg_3p3v: regulator-3p3v { [all …]
|
/linux/include/linux/ |
H A D | dio.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Maybe this should handle DIO-II later? 19 * range from 0-63 (DIO) and 132-255 (DIO-II). 22 * So DIO cards cover [0x600000-0x800000); the areas [0x200000-0x400000) and 23 * [0x800000-0x1000000) are for additional space required by things 24 * like framebuffers. [0x400000-0x600000) is for miscellaneous internal I/O. 27 * DIO-II boards are at 0x1000000 + (sc - 132) * 0x400000 28 * which is address range [0x1000000-0x20000000) -- too big to map completely, 29 * so currently we just don't handle DIO-II boards. It wouldn't be hard to 92 …void (*remove)(struct dio_dev *z); /* Device removed (NULL if not a hot-plug capable driver… [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | mmp2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <dt-bindings/clock/marvell,mmp2.h> 8 #include <dt-bindings/power/marvell,mmp2.h> 9 #include <dt-bindings/clock/marvell,mmp2-audio.h> 12 #address-cells = <1>; 13 #size-cells = <1>; 25 #address-cells = <1>; 26 #size-cells = <1>; 27 compatible = "simple-bus"; 28 interrupt-parent = <&intc>; [all …]
|
H A D | mmp3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 6 #include <dt-bindings/clock/marvell,mmp2.h> 7 #include <dt-bindings/power/marvell,mmp2.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #address-cells = <1>; 12 #size-cells = <1>; 15 #address-cells = <1>; 16 #size-cells = <0>; 17 enable-method = "marvell,mmp3-smp"; 22 next-level-cache = <&l2>; [all …]
|
/linux/arch/arm/boot/dts/intel/pxa/ |
H A D | pxa2xx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pxa2xx.dtsi - Device Tree Include file for Marvell PXA2xx family SoC 8 #include "dt-bindings/clock/pxa-clock.h" 12 mux- ## func { \ 17 mux- ## func { \ 20 low-power-disable; \ 23 mux- ## func { \ 26 low-power-enable; \ 30 #address-cells = <1>; 31 #size-cells = <1>; [all …]
|
/linux/arch/arm/boot/dts/nuvoton/ |
H A D | nuvoton-wpcm450.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 4 #include <dt-bindings/interrupt-controller/irq.h> 8 #address-cells = <1>; 9 #size-cells = <1>; 23 #address-cells = <1>; 24 #size-cells = <0>; 27 compatible = "arm,arm926ej-s"; 33 clk24m: clock-24mhz { 35 compatible = "fixed-clock"; 36 clock-frequency = <24000000>; [all …]
|
H A D | nuvoton-wpcm450-supermicro-x9sci-ln4f.dts | 1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 4 /dts-v1/; 9 #include "nuvoton-wpcm450.dtsi" 11 #include <dt-bindings/input/linux-event-codes.h> 12 #include <dt-bindings/gpio/gpio.h> 15 model = "Supermicro X9SCi-LN4F BMC"; 16 compatible = "supermicro,x9sci-ln4f-bmc", "nuvoton,wpcm450"; 24 stdout-path = "serial0:115200n8"; 32 gpio-keys { 33 compatible = "gpio-keys"; [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap-zoom-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include "omap-gpmc-smsc911x.dtsi" 13 * Four port TL16CP754C serial port on GPMC, 17 serial@3,0 { 20 bank-width = <2>; 21 reg-shift = <1>; 22 reg-io-width = <1>; 23 interrupt-parent = <&gpio4>; 25 clock-frequency = <1843200>; 26 current-speed = <115200>; [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | imx7.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 ------------ 14 - CMOS Sensor Interface (CSI) 15 - Video Multiplexer 16 - MIPI CSI-2 Receiver 18 .. code-block:: none 20 MIPI Camera Input ---> MIPI CSI-2 --- > |\ 24 | U | ------> CSI ---> Capture 27 Parallel Camera Input ----------------> | / 34 -------- [all …]
|
/linux/Documentation/devicetree/bindings/dma/ |
H A D | lpc1850-dmamux.txt | 1 NXP LPC18xx/43xx DMA MUX (DMA request router) 4 - compatible: "nxp,lpc1850-dmamux" 5 - reg: Memory map for accessing module 6 - #dma-cells: Should be set to <3>. 8 * 2nd cell contain the mux value (0-3) for the peripheral 11 - dma-requests: Number of DMA requests for the mux 12 - dma-masters: phandle pointing to the DMA controller 15 - dma-requests: Number of DMA requests the controller can handle 20 compatible = "nxp,lpc1850-gpdma", "arm,pl080", "arm,primecell"; 21 arm,primecell-periphid = <0x00041080>; [all …]
|
/linux/sound/soc/codecs/ |
H A D | adau1761.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2011-2013 Analog Devices Inc. 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 125 static const DECLARE_TLV_DB_SCALE(adau1761_sing_in_tlv, -1500, 300, 1); 126 static const DECLARE_TLV_DB_SCALE(adau1761_diff_in_tlv, -1200, 75, 0); 127 static const DECLARE_TLV_DB_SCALE(adau1761_out_tlv, -5700, 100, 0); 128 static const DECLARE_TLV_DB_SCALE(adau1761_sidetone_tlv, -1800, 300, 1); 129 static const DECLARE_TLV_DB_SCALE(adau1761_boost_tlv, -600, 600, 1); 130 static const DECLARE_TLV_DB_SCALE(adau1761_pga_boost_tlv, -2000, 2000, 1); 132 static const DECLARE_TLV_DB_SCALE(adau1761_alc_max_gain_tlv, -1200, 600, 0); [all …]
|
H A D | es8328.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * es8328.c -- ES8328 ALSA SoC Audio driver 5 * Copyright 2014 Sutajio Ko-Usagi PTE LTD 99 static const DECLARE_TLV_DB_SCALE(play_tlv, -3000, 100, 0); 100 static const DECLARE_TLV_DB_SCALE(dac_adc_tlv, -9600, 50, 0); 101 static const DECLARE_TLV_DB_SCALE(bypass_tlv, -1500, 300, 0); 123 if (es8328->deemph) { in es8328_set_deemph() 126 if (abs(deemph_settings[i].rate - es8328->playback_fs) < in es8328_set_deemph() 127 abs(deemph_settings[best].rate - es8328->playback_fs)) in es8328_set_deemph() 136 dev_dbg(component->dev, "Set deemphasis %d\n", val); in es8328_set_deemph() [all …]
|
/linux/drivers/media/dvb-frontends/ |
H A D | mxl5xx_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * Copyright (c) 2011-2013 MaxLinear, Inc. All rights reserved 29 /* Firmware-Host Command IDs */ 31 /* --Device command IDs-- */ 37 /* Host-used CMD, not used by firmware */ 44 /* --Tuner command IDs-- */ 48 /* --Demod command IDs-- */ 63 /* --- ABORT channel tune */ 66 /* --SWM/FSK command IDs-- */ 71 /* --DiSeqC command IDs-- */ [all …]
|
/linux/Documentation/networking/caif/ |
H A D | linux_caif.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 Copyright |copy| ST-Ericsson AB 2010 17 CAIF is a MUX protocol used by ST-Ericsson cellular modems for 22 ST-Ericsson modems support a number of transports between modem 39 ! +------+ +------+ 40 ! +------+! +------+! 42 +-------> !interf!+ ! API !+ <- CAIF Client APIs 43 ! +------+ +------! 45 ! +-----------+ 47 ! +------+ <- CAIF Core Protocol [all …]
|
/linux/include/uapi/linux/ |
H A D | tty.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 21 #define N_IRDA 11 /* Linux IrDa - http://irda.sourceforge.net/ */ 22 #define N_SMSBLOCK 12 /* SMS block mode - for talking to GSM data */ 27 #define N_GIGASET_M101 16 /* Siemens Gigaset M101 serial DECT adapter */ 28 #define N_SLCAN 17 /* Serial / USB serial CAN Adaptors */ 32 #define N_GSM0710 21 /* GSM 0710 Mux */ 39 #define N_MCTP 28 /* MCTP-over-serial */ 40 #define N_DEVELOPMENT 29 /* Manual out-of-tree testing */ 41 #define N_CAN327 30 /* ELM327 based OBD-II interfaces */
|
/linux/arch/arm/boot/dts/microchip/ |
H A D | lan966x-pcb8309.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * lan966x_pcb8309.dts - Device Tree file for PCB8309 5 /dts-v1/; 7 #include "dt-bindings/phy/phy-lan966x-serdes.h" 10 model = "Microchip EVB - LAN9662"; 11 compatible = "microchip,lan9662-pcb8309", "microchip,lan9662", "microchip,lan966"; 20 stdout-path = "serial0:115200n8"; 23 gpio-restart { 24 compatible = "gpio-restart"; 29 i2c-mux { [all …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-axg.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/axg-aoclkc.h> 7 #include <dt-bindings/clock/axg-audio-clkc.h> 8 #include <dt-bindings/clock/axg-clkc.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/meson-axg-gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> 14 #include <dt-bindings/reset/amlogic,meson-axg-reset.h> [all …]
|
/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | maxim,max9286.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Jacopo Mondi <jacopo+renesas@jmondi.org> 12 - Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> 13 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 14 - Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> 18 Serial Links (GMSL) and outputs them on a CSI-2 D-PHY port using up to 4 data 28 '#address-cells': 31 '#size-cells': [all …]
|