blob: 1c1e3e7deedd4abb6feab31fa972fc09c96d638c [file] [log] [blame]
Siva Durga Prasad Paladugucad14a82018-04-19 12:37:09 +05301/* 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
12void zynqmp_dll_reset(u8 deviceid);
Ashok Reddy Soma39a177a2021-07-09 05:53:42 -060013void arasan_zynqmp_set_in_tapdelay(u8 device_id, u32 itap_delay);
14void arasan_zynqmp_set_out_tapdelay(u8 device_id, u32 otap_delay);
Siva Durga Prasad Paladugucad14a82018-04-19 12:37:09 +053015#else
16inline void zynqmp_dll_reset(u8 deviceid) {}
Ashok Reddy Soma39a177a2021-07-09 05:53:42 -060017inline void arasan_zynqmp_set_in_tapdelay(u8 device_id, u32 itap_delay) {}
18inline void arasan_zynqmp_set_out_tapdelay(u8 device_id, u32 otap_delay) {}
Siva Durga Prasad Paladugucad14a82018-04-19 12:37:09 +053019#endif
20
21#endif