08 Mar, 2011

2 commits


22 Dec, 2010

2 commits

  • Reverse some of the effects of commit
    84c0c39aec31a09571fc08a752a2f4da0fe9fcf2 ("ARM: OMAP4: PM: Make OMAP3
    Clock-domain framework compatible for OMAP4"). On OMAP2/3, the
    CM_CLKSTCTRL register is at a constant offset from the powerdomain's
    CM instance.

    Also, remove some of the direct CM register access from the
    clockdomain code, moving it to the OMAP2/3 CM code instead. The
    intention here is to simplify the clockdomain code. (The long-term
    goal is to move all direct CM register access across the OMAP core
    code to the appropriate cm*.c file.)

    Signed-off-by: Paul Walmsley
    Tested-by: Rajendra Nayak
    Tested-by: Santosh Shilimkar

    Paul Walmsley
     
  • 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
     

10 Nov, 2010

1 commit

  • Add hwmod structures for I2C controllers on OMAP2420/2430.

    NOTE: I2C module on OMAP2420 has 16bit registers and causes imprecise
    aborts if 32bits are read/written to it. Use the HWMOD_16BIT_REG flag
    to notify the hmwod framework of this hard requirement so that
    __raw_writew/readw is used to read /write the mdoule registers.

    Signed-off-by: Paul Walmsley
    Signed-off-by: Rajendra Nayak
    Signed-off-by: Kevin Hilman

    Paul Walmsley
     

21 May, 2010

1 commit

  • Fix all of the remaining OMAP2 PRCM register shift/bitmask macros that
    did not use the _SHIFT/_MASK suffixes to use them. This makes the use
    of these macros consistent. It is intended to reduce error, as code
    can be inspected visually by reviewers to ensure that bitshifts and
    bitmasks are used in the appropriate places.

    Signed-off-by: Paul Walmsley
    Cc: Kevin Hilman

    Paul Walmsley
     

09 Feb, 2009

1 commit

  • This patch fixes a few OMAP2xxx CM_IDLEST bits that were incorrectly
    marked as being OMAP2xxx-wide, when they were actually 2420-specific.

    Also, originally when the PRCM register macros were defined, bit shift
    macros used a "_SHIFT" suffix, and mask macros used none. This became
    a source of bugs and confusion, as the mask macros were mistakenly
    used for shift values. Gradually, the mask macros have been updated,
    piece by piece, to add a "_MASK" suffix on the end to clarify. This
    patch applies this change to the CM_IDLEST_* register bits.

    The patch also adds a few bits that were missing, mostly from the 3430ES1
    to ES2 revisions.

    linux-omap source commits are d18eff5b5fa15e170794397a6a94486d1f774f77,
    e1f1a5cc24615fb790cc763c96d1c5cfe6296f5b, and part of
    9fe6b6cf8d9e0cbb429fd64553a4b3160a9e99e1

    Signed-off-by: Paul Walmsley
    Signed-off-by: Tony Lindgren
    Signed-off-by: Russell King

    Paul Walmsley
     

19 Aug, 2008

1 commit


15 Apr, 2008

1 commit