Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Masahiro Yamada | 52f0c51 | 2016-03-18 16:41:52 +0900 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2016 Masahiro Yamada <yamada.masahiro@socionext.com> |
Masahiro Yamada | 52f0c51 | 2016-03-18 16:41:52 +0900 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef _MACH_DEBUG_UART_H |
| 7 | #define _MACH_DEBUG_UART_H |
| 8 | |
Masahiro Yamada | 52f0c51 | 2016-03-18 16:41:52 +0900 | [diff] [blame] | 9 | unsigned int uniphier_ld4_debug_uart_init(void); |
| 10 | unsigned int uniphier_pro4_debug_uart_init(void); |
| 11 | unsigned int uniphier_sld8_debug_uart_init(void); |
| 12 | unsigned int uniphier_pro5_debug_uart_init(void); |
| 13 | unsigned int uniphier_pxs2_debug_uart_init(void); |
| 14 | unsigned int uniphier_ld6b_debug_uart_init(void); |
Masahiro Yamada | 52f0c51 | 2016-03-18 16:41:52 +0900 | [diff] [blame] | 15 | |
Masahiro Yamada | 3cac7f7 | 2019-06-29 02:38:06 +0900 | [diff] [blame] | 16 | void sg_set_pinsel(unsigned int pin, unsigned int muxval, |
| 17 | unsigned int mux_bits, unsigned int reg_stride); |
| 18 | void sg_set_iectrl(unsigned int pin); |
| 19 | |
Masahiro Yamada | 52f0c51 | 2016-03-18 16:41:52 +0900 | [diff] [blame] | 20 | #endif /* _MACH_DEBUG_UART_H */ |