blob: c2588cc991d1282ef3095884162de9b0d6035986 [file] [log] [blame]
Mac Lin38e64ba2010-11-23 00:32:43 +08001/*
2 * Copyright 2000 Deep Blue Solutions Ltd
3 * Copyright 2004 ARM Limited
4 * Copyright 2008 Cavium Networks
5 *
6 * This file is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License, Version 2, as
8 * published by the Free Software Foundation.
9 */
10
11#ifndef __CNS3XXX_PM_H
12#define __CNS3XXX_PM_H
13
Arun Sharma600634972011-07-26 16:09:06 -070014#include <linux/atomic.h>
Mac Lincf367972010-11-23 00:32:44 +080015
Mac Lin38e64ba2010-11-23 00:32:43 +080016void cns3xxx_pwr_clk_en(unsigned int block);
17void cns3xxx_pwr_clk_dis(unsigned int block);
18void cns3xxx_pwr_power_up(unsigned int block);
19void cns3xxx_pwr_power_down(unsigned int block);
20
Mac Lincf367972010-11-23 00:32:44 +080021extern atomic_t usb_pwr_ref;
22
Mac Lin38e64ba2010-11-23 00:32:43 +080023#endif /* __CNS3XXX_PM_H */