I'm beginner in kernel module development.
I'm running Debian 8 in BeagleBone Black with cape-universaln loaded. The module pwm_tiehrpwm is loaded. I can configure pwm signal through the respective /sys/class/pwm/pwmchipN. I have checked the signal using a scope. Everything is working.
My question is how can I configure pwm channel, duty/period, enable and disable in kernel space, in the other words, inside of the kernel module?