12 Mar, 2011

2 commits


11 Mar, 2011

5 commits

  • This Patch adds OPP enteries for IVA in OMAP4 OPP Table

    Tested on OMAP4430 SDP Board.

    Signed-off-by: Shweta Gulati
    Acked-by: Nishanth Menon
    Signed-off-by: Kevin Hilman

    Shweta Gulati
     
  • Update MPU, IVA and CORE voltage Rail values obtained from
    OMAP4430 Data Manual Operating Condition Addendum_v0.4.

    Tested on OMAP4430 SDP Board.

    Signed-off-by: Shweta Gulati
    Acked-by: Nishanth Menon
    Signed-off-by: Kevin Hilman

    Shweta Gulati
     
  • Almost all OMAP4 boards support OPP 800 MHz and OPP 1 GHz.
    Enable them in OPP Table. For small minority of boards which use
    OMAP4430-800 MHz device OPP 1GHz is not supported,
    OPP 1GHz should be disabled from board file.

    Signed-off-by: Shweta Gulati
    Acked-by: Nishanth Menon
    Signed-off-by: Kevin Hilman

    Shweta Gulati
     
  • Since all voltage data is now centralized in oppxxx_data.c, we can replace
    the values in the opp table with the macros used for voltage values.

    This will avoid opp table and voltage layer having conflicting values.

    Signed-off-by: Vishwanath BS
    Signed-off-by: Nishanth Menon
    Signed-off-by: Kevin Hilman

    Vishwanath BS
     
  • This is a first pass at reorganizing mach-omap2/voltage.c:

    - Separate almost all of the data from the code of mach-omap2/voltage.c.
    The code remains in mach-omap2/voltage.c. The data goes into one
    of several places, depending on what type of data it is:

    - Silicon process/validation data: mach-omap2/opp*_data.c
    - VC (Voltage Controller) data: mach-omap2/vc*_data.c
    - VP (Voltage Processor) data: mach-omap2/vp*_data.c
    - Voltage domain data: mach-omap2/voltagedomains*_data.c

    The ultimate goal is for all this data to be autogenerated, the same
    way we autogenerate the rest of our data.

    - Separate VC and VP common data from VDD-specific VC and VP data.

    - Separate common voltage.c code from SoC-specific code; reuse common code.

    - Reorganize structures to avoid unnecessary memory loss due to unpacked
    fields.

    There is much left to be done. VC code and VP code should be separated out
    into vc*.c and vp*.c files. Many fields in the existing structures are
    superfluous, and should be removed. Some code in voltage.c seems to be
    duplicated; that code should be moved into functions of its own. Proper
    voltage domain code should be created, as was done with the powerdomain
    and clockdomains, and powerdomains should reference voltagedomains.

    Thanks to Shweta Gulati for comments. Thanks
    to Rajendra Nayak for finding and fixing some bugs
    that prevented OMAP4 from booting:

    https://patchwork.kernel.org/patch/587311/

    His patch has been folded into this one to avoid breaking OMAP4
    between patches. Thanks also to Kevin Hilman for
    finding and fixing a compile problem when !CONFIG_PM:

    http://www.spinics.net/lists/arm-kernel/msg118067.html

    His patch has also been folded into this one to avoid breaking
    !CONFIG_PM builds.

    Signed-off-by: Paul Walmsley
    Cc: Shweta Gulati
    Cc: Rajendra Nayak
    Cc: Kevin Hilman

    Paul Walmsley
     

10 Mar, 2011

1 commit

  • omap3 and omap4 opp_init should be made non-static to allow
    for platform specific opp table tweaking. making these static
    conflicts with the definition in pm.h(global) as well.
    we include pm.h as well to ensure that there are no such prototype
    conflicts with actual implementation in the future.

    Signed-off-by: Nishanth Menon
    Signed-off-by: Kevin Hilman

    Menon, Nishanth
     

22 Dec, 2010

1 commit

  • This patch adds OPP tables for OMAP4. New file has been added to keep
    the OMAP4 opp tables and the registration of these tables with the
    generic opp framework by OMAP SoC OPP interface.

    Based on:
    http://dev.omapzoom.org/?p=santosh/kernel-omap4-base.git;a=blob;f=arch/arm/mach-omap2/opp44xx_data.c;h=252e3d0cb6050a64f390b9311c1c4977d74f762a;hb=refs/heads/omap4_next

    Signed-off-by: Thara Gopinath
    Signed-off-by: Nishanth Menon
    Signed-off-by: Kevin Hilman

    Nishanth Menon