Files
beaglefw/omap35x_prcm.hh
Matthias Blankertz 76cc09a168 - WIP: OMAP35x SD/MMC controller driver
- WIP: Pagecache
- Added sleep() and usleep() functions
2013-07-19 19:51:40 +02:00

27 lines
480 B
C++

#ifndef _OMAP35X_PRCM_HH_
#define _OMAP35x_PRCM_HH_
#include <memory>
class OMAP35x_prcm_impl;
class OMAP35x_prcm {
public:
OMAP35x_prcm(uintptr_t cm_base, uintptr_t pm_base);
~OMAP35x_prcm();
// Enable clock&power for all used peripherals
void enable_peripherals();
void clear_wake_per(int n);
void clear_wake_core(int n);
void set_cpu_opp(int opp);
void set_core_opp(int opp, int config);
private:
std::unique_ptr<OMAP35x_prcm_impl> impl_;
};
#endif