diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-04-19 13:33:49 -0600 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-04-19 13:33:49 -0600 |
commit | 6ba5a69ee92c29c2ffc814dad6ac61c4cd49090c (patch) | |
tree | fac668ac66b82277034aefa5b6f756b4029d68ad /arch/arm/mach-omap2/clockdomains_common_data.c | |
parent | 3af35fbcd088e0b675fa423a879c596384894180 (diff) |
ARM: OMAP2+: clockdomains: make {prm,cm}_clkdm common
The PRM and CM implicit clockdomains will soon be used by OMAP44xx.
So, make them common to OMAP2+ and modify the OMAP4 clockdomains code
so use of these clockdomains doesn't crash the system.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/clockdomains_common_data.c')
-rw-r--r-- | arch/arm/mach-omap2/clockdomains_common_data.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clockdomains_common_data.c b/arch/arm/mach-omap2/clockdomains_common_data.c new file mode 100644 index 00000000000..615b1f04967 --- /dev/null +++ b/arch/arm/mach-omap2/clockdomains_common_data.c @@ -0,0 +1,24 @@ +/* + * OMAP2+-common clockdomain data + * + * Copyright (C) 2008-2012 Texas Instruments, Inc. + * Copyright (C) 2008-2010 Nokia Corporation + * + * Paul Walmsley, Jouni Högander + */ + +#include <linux/kernel.h> +#include <linux/io.h> + +#include "clockdomain.h" + +/* These are implicit clockdomains - they are never defined as such in TRM */ +struct clockdomain prm_common_clkdm = { + .name = "prm_clkdm", + .pwrdm = { .name = "wkup_pwrdm" }, +}; + +struct clockdomain cm_common_clkdm = { + .name = "cm_clkdm", + .pwrdm = { .name = "core_pwrdm" }, +}; |