08 Mar, 2011

1 commit


22 Dec, 2010

1 commit

  • In preparation for adding OMAP4-specific PRCM accessor/mutator
    functions, split the existing OMAP2/3 PRCM code into OMAP2/3-specific
    files. Most of what was in mach-omap2/{cm,prm}.{c,h} has now been
    moved into mach-omap2/{cm,prm}2xxx_3xxx.{c,h}, since it was
    OMAP2xxx/3xxx-specific.

    This process also requires the #includes in each of these files to be
    changed to reference the new file name. As part of doing so, add some
    comments into plat-omap/sram.c and plat-omap/mcbsp.c, which use
    "sideways includes", to indicate that these users of the PRM/CM includes
    should not be doing so.

    Thanks to Felipe Contreras for comments on this
    patch.

    Signed-off-by: Paul Walmsley
    Cc: Jarkko Nikula
    Cc: Peter Ujfalusi
    Cc: Liam Girdwood
    Cc: Omar Ramirez Luna
    Acked-by: Omar Ramirez Luna
    Cc: Felipe Contreras
    Acked-by: Felipe Contreras
    Cc: Greg Kroah-Hartman
    Acked-by: Mark Brown
    Reviewed-by: Kevin Hilman
    Tested-by: Kevin Hilman
    Tested-by: Rajendra Nayak
    Tested-by: Santosh Shilimkar

    Paul Walmsley
     

29 Jan, 2010

1 commit

  • Move the osc_clk clock functions from clock2xxx.c to
    mach-omap2/clkt2xxx_osc. This is intended to make the clock code
    easier to understand, since all of the functions needed to manage the
    osc_clk are now located in their own file, rather than being mixed
    with other, unrelated functions.

    Clock debugging is also now more finely-grained, since the DEBUG
    macro can now be defined for osc_clk clocks alone. This
    should reduce unnecessary console noise when debugging.

    Also, if at some future point the mach-omap2/ directory is split
    into OMAP2/3/4 variants, this clkt file can be placed in the mach-omap2xxx/
    directory, rather than shared with other chip types that don't use this
    clock type.

    Thanks to Alexander Shishkin for his comments to
    improve the patch description.

    Signed-off-by: Paul Walmsley
    Cc: Alexander Shishkin

    Paul Walmsley