-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: cns3xxx: Add new and export the old power management functions
This patch adds cns3xxx_pwr_clk_dis, and exports these power management functions that may be used by many other device drivers on CNS3XXX. Signed-off-by: Mac Lin <mkl0301@gmail.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
- Loading branch information
Mac Lin
authored and
Anton Vorontsov
committed
Nov 26, 2010
1 parent
df8f4d2
commit 38e64ba
Showing
4 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* 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 | ||
|
||
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); | ||
|
||
#endif /* __CNS3XXX_PM_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters