diff options
author | Pradeep Goudagunta <pgoudagunta@nvidia.com> | 2011-02-15 16:39:08 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:43:16 -0800 |
commit | c7f42a8b491370aba3f0e4019fe16552f15c02c8 (patch) | |
tree | b79502b5fe1f7bc68d5529b58971f060a32d2909 /include/linux/tegra_uart.h | |
parent | 3408a11e5b01b6ca1963a6b5e213336b5f5394e0 (diff) |
arm: tegra: hsuart: Support for Bluetooth wakeup
Added support to tegra_hsuart driver for bluetooth wakeup.
Bug 773186
Original-Change-Id: Id8f1face1b99942fd13949d0815a1dedd1a5a5d0
Reviewed-on: http://git-master/r/19586
Reviewed-by: Anantha Idapalapati <aidapalapati@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Anantha Idapalapati <aidapalapati@nvidia.com>
Rebase-Id: R50674612ae84881e01f7ef632188cfd1806dacab
Diffstat (limited to 'include/linux/tegra_uart.h')
-rw-r--r-- | include/linux/tegra_uart.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/linux/tegra_uart.h b/include/linux/tegra_uart.h new file mode 100644 index 000000000000..fe6167de3676 --- /dev/null +++ b/include/linux/tegra_uart.h @@ -0,0 +1,29 @@ +/* include/linux/tegra_uart.h + * + * Copyright (C) 2011 NVIDIA Corporation + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +#ifndef _TEGRA_UART_H_ +#define _TEGRA_UART_H_ + +int tegra_uart_is_tx_empty(struct uart_port *); +void tegra_uart_request_clock_on(struct uart_port *); +void tegra_uart_set_mctrl(struct uart_port *, unsigned int); +void tegra_uart_request_clock_off(struct uart_port *uport); + +#endif /* _TEGRA_UART_H_ */ + |