Clock driver for PWMs used as clock outputs

modulename: clk-pwm.ko

configname: CONFIG_COMMON_CLK_PWM

Linux Kernel Configuration
└─>Device Drivers
└─>Common Clock Framework
└─>Clock driver for PWMs used as clock outputs
In linux kernel since version 4.1 (release Date: 2015-06-21)  
Adapter driver so that any PWM output can be (mis)used as clock signal
at 50% duty cycle.

source code: