The current HRTIM API is heavily dependent on the hardware, we need a more generic API to handle all types of board (twist, ownverter, custom). This commit introduce two modules :
- A PWM driver to initialize every timer of the HRTIM, and set parameters such as switching frequency, modulation type, adc triggers..etc.
- A power driver which is based on a device tree configuration to initialize all the timer with the parameters in the device tree, and control converter in buck or boost mode.
You can find more information on this wiki