include: uapi: Add snapshot of serial header

This snapshot is taken from msm-5.15 commit
cd3cf7328ad866a ("serial: msm_geni_serial:
Add snapshot of serial UART driver").

Change-Id: Ica622ba2ee0fdda2f868fec0f127d524db60b997
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
Signed-off-by: Bruce Levy <quic_blevy@quicinc.com>
This commit is contained in:
Guru Das Srinagesh 2022-05-20 12:58:30 -07:00 committed by Bruce Levy
parent fccc41b1ec
commit 40bdf0cee4

View File

@ -0,0 +1,17 @@
/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
/*
* Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#ifndef __UAPI_LINUX_MSM_GENI_SERIAL_H
#define __UAPI_LINUX_MSM_GENI_SERIAL_H
/* IOCTLS used by BT clients to control UART power state */
#define MSM_GENI_SERIAL_TIOCFAULT 0x54EC /* Uart fault */
#define MSM_GENI_SERIAL_TIOCPMGET 0x54ED /* PM get */
#define MSM_GENI_SERIAL_TIOCPMPUT 0x54EE /* PM put */
#define MSM_GENI_SERIAL_TIOCPMACT 0x54EF /* PM is active */
#endif /* __UAPI_LINUX_MSM_GENI_SERIAL_H */