• Tero Kristo's avatar
    clk: ti: convert to use proper register definition for all accesses · 6c0afb50
    Tero Kristo authored
    Currently, TI clock driver uses an encapsulated struct that is cast into
    a void pointer to store all register addresses. This can be considered
    as rather nasty hackery, and prevents from expanding the register
    address field also. Instead, replace all the code to use proper struct
    in place for this, which contains all the previously used data.
    
    This patch is rather large as it is touching multiple files, but this
    can't be split up as we need to avoid any boot breakage.
    Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
    Acked-by: default avatarTony Lindgren <tony@atomide.com>
    6c0afb50
clkt2xxx_dpllcore.c 5.21 KB