• Sascha Hauer's avatar
    ARM i.MX timer: request correct clock · 821dc4df
    Sascha Hauer authored
    We used to pass the timer clock directly to mxc_timer_init. We
    should instead request the correct clock. This is an intermediate
    step: For now we request the clock in the timer code when NULL
    is passed as clock.
    Also, the gpt on some i.MX have an additional ipg clock which can
    be gated. Request and enable this.
    Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
    821dc4df
time.c 8.15 KB