serial: msm_geni_serial:Add snapshot of serial UART driver
This snapshot is taken as of msm-4.14 'commit <82c5fa13d10>
("Merge "tty: serial: msm_geni_serial : Change AB voting for
console used SE"").
Change-Id: Id797156864faee0ba37a1ade73404a072023a8eb
Signed-off-by: Vipin Deep Kaur <vkaur@codeaurora.org>
This commit is contained in:
@@ -989,20 +989,20 @@ config SERIAL_MSM_CONSOLE
|
||||
select SERIAL_CORE_CONSOLE
|
||||
select SERIAL_EARLYCON
|
||||
|
||||
config SERIAL_QCOM_GENI
|
||||
tristate "QCOM on-chip GENI based serial port support"
|
||||
depends on ARCH_QCOM || COMPILE_TEST
|
||||
depends on QCOM_GENI_SE
|
||||
config SERIAL_MSM_GENI
|
||||
tristate "MSM on-chip GENI HW based serial port support"
|
||||
depends on ARCH_QCOM
|
||||
select SERIAL_CORE
|
||||
help
|
||||
Serial driver for Qualcomm Technologies Inc's GENI based QUPv3
|
||||
hardware.
|
||||
The driver supports console and High speed UART functions.
|
||||
|
||||
config SERIAL_QCOM_GENI_CONSOLE
|
||||
bool "QCOM GENI Serial Console support"
|
||||
depends on SERIAL_QCOM_GENI=y
|
||||
config SERIAL_MSM_GENI_CONSOLE
|
||||
tristate "MSM on-chip GENI HW based console support"
|
||||
depends on SERIAL_MSM_GENI=y
|
||||
select SERIAL_CORE_CONSOLE
|
||||
select SERIAL_EARLYCON
|
||||
help
|
||||
Serial console driver for Qualcomm Technologies Inc's GENI based
|
||||
QUP hardware.
|
||||
|
||||
config SERIAL_VT8500
|
||||
bool "VIA VT8500 on-chip serial port support"
|
||||
|
||||
@@ -58,7 +58,7 @@ obj-$(CONFIG_SERIAL_SGI_IOC3) += ioc3_serial.o
|
||||
obj-$(CONFIG_SERIAL_ATMEL) += atmel_serial.o
|
||||
obj-$(CONFIG_SERIAL_UARTLITE) += uartlite.o
|
||||
obj-$(CONFIG_SERIAL_MSM) += msm_serial.o
|
||||
obj-$(CONFIG_SERIAL_QCOM_GENI) += qcom_geni_serial.o
|
||||
obj-$(CONFIG_SERIAL_MSM_GENI) += msm_geni_serial.o
|
||||
obj-$(CONFIG_SERIAL_NETX) += netx-serial.o
|
||||
obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o
|
||||
obj-$(CONFIG_SERIAL_OMAP) += omap-serial.o
|
||||
|
||||
2745
drivers/tty/serial/msm_geni_serial.c
Normal file
2745
drivers/tty/serial/msm_geni_serial.c
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,8 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
||||
/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
|
||||
#ifndef __ASM_GENERIC_IOCTLS_H
|
||||
#define __ASM_GENERIC_IOCTLS_H
|
||||
|
||||
#include <asm/termbits.h>
|
||||
#include <linux/ioctl.h>
|
||||
|
||||
/*
|
||||
@@ -79,6 +80,9 @@
|
||||
#define TIOCGPTLCK _IOR('T', 0x39, int) /* Get Pty lock state */
|
||||
#define TIOCGEXCL _IOR('T', 0x40, int) /* Get exclusive mode state */
|
||||
#define TIOCGPTPEER _IO('T', 0x41) /* Safely open the slave */
|
||||
#define TIOCPMGET 0x544D /* PM get */
|
||||
#define TIOCPMPUT 0x544E /* PM put */
|
||||
#define TIOCPMACT 0x544F /* PM is active */
|
||||
|
||||
#define FIONCLEX 0x5450
|
||||
#define FIOCLEX 0x5451
|
||||
|
||||
Reference in New Issue
Block a user