• Boris BREZILLON's avatar
    clk: at91: add PMC programmable clocks · 1f22f8bb
    Boris BREZILLON authored
    This patch adds new at91 programmable clocks implementation using common clk
    framework.
    A programmable clock is a clock which can be exported on a given pin to clock
    external devices.
    Each programmable clock is given an id (from 0 to 8).
    The number of available programmable clocks depends on the SoC you're using.
    Programmable clock driver only implements the clock setting (clock rate and
    parent setting). It must be chained to a system clock in order to
    enable/disable the generated clock.
    The PCKX pins used to output the clock signals must be assigned to the
    appropriate peripheral (see atmel's datasheets).
    Signed-off-by: default avatarBoris BREZILLON <b.brezillon@overkiz.com>
    Acked-by: default avatarMike Turquette <mturquette@linaro.org>
    Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
    1f22f8bb
clk-programmable.c 8.39 KB