• Thomas Abraham's avatar
    ARM: S5PV210: Remove usage of clk_p100 and add clk_pclk_msys clock · 6ed91a20
    Thomas Abraham authored
    The clk_p100 clock, which is the PCLK clock for MSYS domain, is of
    type 'struct clk' whereas on S5PV210, this clock is suitable to be
    of type clksrc_clk clock (since it has a choice of clock source
    and a pre-divider). So this patch replaces the 'struct clk' type
    clock to 'struct clksrc_clk' type clock for the PCLK MSYS clock.
    
    This patch modifies the following.
    
    1. Remove definitions and usage of 'clk_p100' clock.
    2. Adds 'clk_pclk_msys' clock which is of type 'struct clksrc_clk'.
    3. Replace all usage of clk_p100 with clk_pclk_msys clock.
    4. Adds clk_pclk_msys into list of clocks to be registered.
    Signed-off-by: default avatarThomas Abraham <thomas.ab@samsung.com>
    Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
    Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
    6ed91a20
clock.c 10.8 KB