diff options
author | Ramalingam C <ramalingamc@nvidia.com> | 2012-07-11 12:30:44 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-07-23 14:41:16 -0700 |
commit | 1f2b0eaf5293329eaf35742921e1260552313a2d (patch) | |
tree | 014785983d012d328f174ba46e8729d0a3b38139 /include | |
parent | d7acce488a847262cb783b9caa77d37794f6daf1 (diff) |
tty: serial: tegra: IrDA support with tegra_hsuart
Adds the IrDA transceiver handling support to tegra_hsuart driver based on
the platform data.
Bug 999895
Change-Id: Ia475639d97c540d014c7128ef392fa394a5b26ad
Signed-off-by: Ramalingam C <ramalingamc@nvidia.com>
Reviewed-on: http://git-master/r/114927
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/tegra_uart.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/tegra_uart.h b/include/linux/tegra_uart.h index 38912ea97068..f51b373f8025 100644 --- a/include/linux/tegra_uart.h +++ b/include/linux/tegra_uart.h @@ -1,6 +1,6 @@ /* include/linux/tegra_uart.h * - * Copyright (C) 2011 NVIDIA Corporation + * Copyright (C) 2011-2012 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 @@ -33,6 +33,12 @@ struct tegra_uart_platform_data { struct uart_clk_parent *parent_clk_list; int parent_clk_count; bool is_loopback; + bool is_irda; + int (*irda_init)(void); + int (*irda_mode_switch)(int); + void (*irda_start)(void); + void (*irda_shutdown)(void); + void (*irda_remove)(void); }; int tegra_uart_is_tx_empty(struct uart_port *); |