max77693_haptic: refactoring to handle both versions (AOSP & SAMMY)