Siva Durga Prasad Paladugu | cad14a8 | 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 | 39a177a | 2021-07-09 05:53:42 -0600 | [diff] [blame] | 13 | void arasan_zynqmp_set_in_tapdelay(u8 device_id, u32 itap_delay); |
| 14 | void arasan_zynqmp_set_out_tapdelay(u8 device_id, u32 otap_delay); |
Siva Durga Prasad Paladugu | cad14a8 | 2018-04-19 12:37:09 +0530 | [diff] [blame] | 15 | #else |
| 16 | inline void zynqmp_dll_reset(u8 deviceid) {} |
Ashok Reddy Soma | 39a177a | 2021-07-09 05:53:42 -0600 | [diff] [blame] | 17 | inline void arasan_zynqmp_set_in_tapdelay(u8 device_id, u32 itap_delay) {} |
| 18 | inline void arasan_zynqmp_set_out_tapdelay(u8 device_id, u32 otap_delay) {} |
Siva Durga Prasad Paladugu | cad14a8 | 2018-04-19 12:37:09 +0530 | [diff] [blame] | 19 | #endif |
| 20 | |
| 21 | #endif |