diff options
author | Josh Cartwright <josh.cartwright@ni.com> | 2012-11-13 17:26:48 -0600 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2012-11-14 16:07:55 +0100 |
commit | 45aa2c27ada4829bc91bd80455bc67059ac06bc5 (patch) | |
tree | 988c0d412a6a59414b80eeb02813923032841476 /include/linux/clk | |
parent | e06f1a9ed7ebff170ba05d2606d079fb36c6a52d (diff) | |
download | op-kernel-dev-45aa2c27ada4829bc91bd80455bc67059ac06bc5.zip op-kernel-dev-45aa2c27ada4829bc91bd80455bc67059ac06bc5.tar.gz |
clk: Add support for fundamental zynq clks
Provide simplified models for the necessary clocks on the zynq-7000
platform. Currently, the PLLs, the CPU clock network, and the basic
peripheral clock networks (for SDIO, SMC, SPI, QSPI, UART) are modelled.
OF bindings are also provided and documented.
Signed-off-by: Josh Cartwright <josh.cartwright@ni.com>
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Acked-by: Mike Turquette <mturquette@linaro.org>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/linux/clk')
-rw-r--r-- | include/linux/clk/zynq.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/linux/clk/zynq.h b/include/linux/clk/zynq.h new file mode 100644 index 0000000..56be7cd --- /dev/null +++ b/include/linux/clk/zynq.h @@ -0,0 +1,24 @@ +/* + * Copyright (C) 2012 National Instruments + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef __LINUX_CLK_ZYNQ_H_ +#define __LINUX_CLK_ZYNQ_H_ + +void __init xilinx_zynq_clocks_init(void __iomem *slcr); + +#endif |