Add input-pwm support along with platform tweaks for Gumstix AeroCore

At this level in the tree, a driver should ideally not be including anything STM32-specific; all the specific code should be in the hardware-specific API piece.