summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-rockchip/include/mach/rockchip-pll.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-rockchip/include/mach/rockchip-pll.h')
-rw-r--r--arch/arm/mach-rockchip/include/mach/rockchip-pll.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/mach-rockchip/include/mach/rockchip-pll.h b/arch/arm/mach-rockchip/include/mach/rockchip-pll.h
new file mode 100644
index 0000000000..c2cd888b00
--- /dev/null
+++ b/arch/arm/mach-rockchip/include/mach/rockchip-pll.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2014 Beniamino Galvani <b.galvani@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
+#ifndef __MACH_ROCKCHIP_PLL_H
+#define __MACH_ROCKCHIP_PLL_H
+
+enum rk3188_plls {
+ RK3188_APLL = 0, /* ARM */
+ RK3188_DPLL, /* DDR */
+ RK3188_CPLL, /* Codec */
+ RK3188_GPLL, /* General */
+};
+
+int rk3188_pll_set_parameters(int pll, int nr, int nf, int no);
+
+#endif /* __MACH_ROCKCHIP_PLL_H */