aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-cns3xxx/include/mach/pm.h
diff options
context:
space:
mode:
authorMac Lin <mkl0301@gmail.com>2010-11-23 00:32:44 +0800
committerAnton Vorontsov <cbouatmailru@gmail.com>2010-11-26 21:10:51 +0300
commitcf36797f35676dafae9d44484391ac7f56b2485a (patch)
treecd2b6a20e50a0ffb96411ceb0d9b0906e2faf674 /arch/arm/mach-cns3xxx/include/mach/pm.h
parent38e64ba0f13918d11e50bbd5bb775781ccd6439d (diff)
downloadkernel_samsung_smdk4412-cf36797f35676dafae9d44484391ac7f56b2485a.zip
kernel_samsung_smdk4412-cf36797f35676dafae9d44484391ac7f56b2485a.tar.gz
kernel_samsung_smdk4412-cf36797f35676dafae9d44484391ac7f56b2485a.tar.bz2
ARM: cns3xxx: Add architecture definition for EHCI/OHCI controller
This patch add plateform_device for EHCI and OHCI controller on CNS3XXX. Power reference count (usb_pwr_ref) is used to control enabling and disabling the single clock control for both EHCI and OHCI controller. It also removes EHCI/OHCI unused virtual address definitions. Signed-off-by: Mac Lin <mkl0301@gmail.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'arch/arm/mach-cns3xxx/include/mach/pm.h')
-rw-r--r--arch/arm/mach-cns3xxx/include/mach/pm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-cns3xxx/include/mach/pm.h b/arch/arm/mach-cns3xxx/include/mach/pm.h
index 102617b..6eae7f7 100644
--- a/arch/arm/mach-cns3xxx/include/mach/pm.h
+++ b/arch/arm/mach-cns3xxx/include/mach/pm.h
@@ -11,9 +11,13 @@
#ifndef __CNS3XXX_PM_H
#define __CNS3XXX_PM_H
+#include <asm/atomic.h>
+
void cns3xxx_pwr_clk_en(unsigned int block);
void cns3xxx_pwr_clk_dis(unsigned int block);
void cns3xxx_pwr_power_up(unsigned int block);
void cns3xxx_pwr_power_down(unsigned int block);
+extern atomic_t usb_pwr_ref;
+
#endif /* __CNS3XXX_PM_H */