diff options
author | Sanjeev Premi <premi@ti.com> | 2011-01-03 19:54:50 +0530 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-05 11:05:25 +0100 |
commit | 76fab3545a39c54c33555273249e73b52384ebf3 (patch) | |
tree | b3ce9c239dc4f7e757f276e5835600ef9c3abd8d | |
parent | 82884c2b315fe9d81acf3111ceac3cebf9c2aa10 (diff) | |
download | barebox-76fab3545a39c54c33555273249e73b52384ebf3.tar.gz barebox-76fab3545a39c54c33555273249e73b52384ebf3.tar.xz |
omap36x: Define structure for PER DPLL
The PER domain dpll significantly differs from 34x.
This patch defines struct to collate related info.
Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/mach-omap/include/mach/omap3-clock.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-omap/include/mach/omap3-clock.h b/arch/arm/mach-omap/include/mach/omap3-clock.h index 6613645771..aa420f89f0 100644 --- a/arch/arm/mach-omap/include/mach/omap3-clock.h +++ b/arch/arm/mach-omap/include/mach/omap3-clock.h @@ -124,6 +124,18 @@ struct dpll_param { unsigned int fsel; unsigned int m2; }; + +struct dpll_param_per_36x { + unsigned int m; + unsigned int n; + unsigned int m2; + unsigned int m3; + unsigned int m4; + unsigned int m5; + unsigned int m6; + unsigned int m2div; +}; + /* External functions see omap3_clock_core.S */ extern struct dpll_param *get_mpu_dpll_param_34x(u32); extern struct dpll_param *get_iva_dpll_param_34x(u32); |