Thomas Gleixner | 1a59d1b8 | 2019-05-27 08:55:05 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Josh Cartwright | 45aa2c2 | 2012-11-13 17:26:48 -0600 | [diff] [blame] | 2 | /* |
Soren Brinkmann | 30e1e28 | 2013-05-13 10:46:38 -0700 | [diff] [blame] | 3 | * Copyright (C) 2013 Xilinx Inc. |
Josh Cartwright | 45aa2c2 | 2012-11-13 17:26:48 -0600 | [diff] [blame] | 4 | * Copyright (C) 2012 National Instruments |
Josh Cartwright | 45aa2c2 | 2012-11-13 17:26:48 -0600 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef __LINUX_CLK_ZYNQ_H_ |
| 8 | #define __LINUX_CLK_ZYNQ_H_ |
| 9 | |
Soren Brinkmann | 30e1e28 | 2013-05-13 10:46:38 -0700 | [diff] [blame] | 10 | #include <linux/spinlock.h> |
Josh Cartwright | 45aa2c2 | 2012-11-13 17:26:48 -0600 | [diff] [blame] | 11 | |
Michal Simek | b0504e3 | 2013-11-18 16:48:19 +0100 | [diff] [blame] | 12 | void zynq_clock_init(void); |
Soren Brinkmann | 30e1e28 | 2013-05-13 10:46:38 -0700 | [diff] [blame] | 13 | |
| 14 | struct clk *clk_register_zynq_pll(const char *name, const char *parent, |
| 15 | void __iomem *pll_ctrl, void __iomem *pll_status, u8 lock_index, |
| 16 | spinlock_t *lock); |
Josh Cartwright | 45aa2c2 | 2012-11-13 17:26:48 -0600 | [diff] [blame] | 17 | #endif |