Siva Durga Prasad Paladugu | d1f4e39 | 2018-04-19 12:37:09 +0530 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
| 3 | * Xilinx ZynqMP SoC Tap Delay Programming |
| 4 | * |
| 5 | * Copyright (C) 2018 Xilinx, Inc. |
| 6 | */ |
| 7 | |
| 8 | #ifndef __ZYNQMP_TAP_DELAY_H__ |
| 9 | #define __ZYNQMP_TAP_DELAY_H__ |
| 10 | |
| 11 | #ifdef CONFIG_ARCH_ZYNQMP |
| 12 | void zynqmp_dll_reset(u8 deviceid); |
Ashok Reddy Soma | 728d21b | 2020-10-23 04:59:04 -0600 | [diff] [blame] | 13 | void arasan_zynqmp_set_tapdelay(u8 device_id, u32 itap_delay, u32 otap_delay); |
Siva Durga Prasad Paladugu | d1f4e39 | 2018-04-19 12:37:09 +0530 | [diff] [blame] | 14 | #else |
| 15 | inline void zynqmp_dll_reset(u8 deviceid) {} |
Ashok Reddy Soma | 728d21b | 2020-10-23 04:59:04 -0600 | [diff] [blame] | 16 | inline void arasan_zynqmp_set_tapdelay(u8 device_id, u32 itap_delay, |
| 17 | u32 otap_delay) {} |
Siva Durga Prasad Paladugu | d1f4e39 | 2018-04-19 12:37:09 +0530 | [diff] [blame] | 18 | #endif |
| 19 | |
| 20 | #endif |