serial: sirf: fix the hardware-flow-ctrl for USP-based UART
for USP-based UART, we use two gpios as RTS and CST pins. Signed-off-by: Qipan Li <Qipan.Li@csr.com> Signed-off-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
a343756e07
commit
2eb5618de8
@@ -363,14 +363,16 @@ struct sirfsoc_baudrate_to_regv {
|
||||
};
|
||||
|
||||
struct sirfsoc_uart_port {
|
||||
unsigned char hw_flow_ctrl;
|
||||
unsigned char ms_enabled;
|
||||
bool hw_flow_ctrl;
|
||||
bool ms_enabled;
|
||||
|
||||
struct uart_port port;
|
||||
struct clk *clk;
|
||||
/* for SiRFmarco, there are SET/CLR for UART_INT_EN */
|
||||
bool is_marco;
|
||||
struct sirfsoc_uart_register *uart_reg;
|
||||
unsigned int cts_gpio;
|
||||
unsigned int rts_gpio;
|
||||
};
|
||||
|
||||
/* Hardware Flow Control */
|
||||
|
Reference in New Issue
Block a user