Port Missing parts of the Robust Clock patches for VSTAB.

Introduce ioctl to get 32KHz clock

Expose ioctl to userspace from the RPMSG driver
(probably not the wisest thing)

Signed-off-by: Milen Mitkov <mmitkov@mm-sol.com>

IO:Take gyro timestamp from the 32KHz timer

    This is done so that we are in sync with ducati for
    vstab algorithm usage.

    Signed-off-by: Milen Mitkov <mmitkov@mm-sol.com>

Change-Id: Idc87c750ad4910a00c57b86c8b05f12698878d8a
3 files changed