blob: f4e98c0bb0250b4a9ce5573c01c5d8d1a66c5da0 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Masahiro Yamada52f0c512016-03-18 16:41:52 +09002/*
3 * Copyright (C) 2016 Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamada52f0c512016-03-18 16:41:52 +09004 */
5
6#ifndef _MACH_DEBUG_UART_H
7#define _MACH_DEBUG_UART_H
8
Masahiro Yamada52f0c512016-03-18 16:41:52 +09009unsigned int uniphier_ld4_debug_uart_init(void);
10unsigned int uniphier_pro4_debug_uart_init(void);
11unsigned int uniphier_sld8_debug_uart_init(void);
12unsigned int uniphier_pro5_debug_uart_init(void);
13unsigned int uniphier_pxs2_debug_uart_init(void);
14unsigned int uniphier_ld6b_debug_uart_init(void);
Masahiro Yamada52f0c512016-03-18 16:41:52 +090015
Masahiro Yamada3cac7f72019-06-29 02:38:06 +090016void sg_set_pinsel(unsigned int pin, unsigned int muxval,
17 unsigned int mux_bits, unsigned int reg_stride);
18void sg_set_iectrl(unsigned int pin);
19
Masahiro Yamada52f0c512016-03-18 16:41:52 +090020#endif /* _MACH_DEBUG_UART_H */