Kernel patch for beaglebone PWM period control