Bin Meng | a2927e0 | 2014-12-12 21:05:25 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com> |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | #ifndef _SMSC_LPC47M_H_ |
| 8 | #define _SMSC_LPC47M_H_ |
| 9 | |
| 10 | /** |
| 11 | * Configure the base I/O port of the specified serial device and enable the |
| 12 | * serial device. |
| 13 | * |
| 14 | * @dev: High 8 bits = Super I/O port, low 8 bits = logical device number. |
| 15 | * @iobase: Processor I/O port address to assign to this serial device. |
Bin Meng | 1926883 | 2015-03-31 11:25:03 +0800 | [diff] [blame] | 16 | * @irq: Processor IRQ number to assign to this serial device. |
Bin Meng | a2927e0 | 2014-12-12 21:05:25 +0800 | [diff] [blame] | 17 | */ |
Bin Meng | 1926883 | 2015-03-31 11:25:03 +0800 | [diff] [blame] | 18 | void lpc47m_enable_serial(u16 dev, u16 iobase, u8 irq); |
Bin Meng | a2927e0 | 2014-12-12 21:05:25 +0800 | [diff] [blame] | 19 | |
| 20 | #endif /* _SMSC_LPC47M_H_ */ |