• Paul Walmsley's avatar
    OMAP hwmod: convert hwmod to use hardware clock names rather than clkdev dev+con · 50ebdac2
    Paul Walmsley authored
    The OMAP hwmod core code is intended to use SoC IP block description
    structures that are autogenerated from TI's OMAP hardware database.
    Currently the hwmod code uses clkdev device + connection addressing to
    identify clocks.  This causes problems in the hwmod autogeneration
    process, since the TI hardware database doesn't use platform_device or
    clkdev addressing; it uses a single clock signal name string, which
    tends to bear some resemblance to what is used in the OMAP TRMs.  This
    patch converts the hwmod code and existing data to use omap_clk_get_by_name(),
    introduced in the previous patch.
    Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
    Cc: Benoît Cousson <b-cousson@ti.com>
    Cc: Kevin Hilman <khilman@deeprootsystems.com>
    50ebdac2
omap_hwmod_2430.h 3.77 KB