check key map before initializing pwm driver