forked from Minki/linux
cf36797f35
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>
24 lines
621 B
C
24 lines
621 B
C
/*
|
|
* Copyright 2000 Deep Blue Solutions Ltd
|
|
* Copyright 2004 ARM Limited
|
|
* Copyright 2008 Cavium Networks
|
|
*
|
|
* This file 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.
|
|
*/
|
|
|
|
#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 */
|