-Initial support for TPS65950 -Support for changing CPU frequency in prcm driver -Preparations for context switching
23 lines
304 B
C++
23 lines
304 B
C++
#ifndef _DRV_TPS65950_HH_
|
|
#define _DRV_TPS65950_HH_
|
|
|
|
#include <memory>
|
|
|
|
class TPS65950_impl;
|
|
|
|
#include "interfaces.hh"
|
|
|
|
class TPS65950 {
|
|
public:
|
|
TPS65950(II2C& i2c);
|
|
~TPS65950();
|
|
|
|
void set_cpu_opp(int opp);
|
|
void set_core_opp(int opp);
|
|
|
|
private:
|
|
std::unique_ptr<TPS65950_impl> impl_;
|
|
};
|
|
|
|
#endif
|