Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 21, 2015
  1. @dgerlach @nmenon

    [AM437x] Add export CTT functionality for AM437X

    dgerlach authored nmenon committed
    AM437X can now dump the registers used by the Clock Tree Tool(CTT).
    Registers can also be written to a file using ./omapconf export ctt
    [<filename>].rd1. Files written in rd1 format so that the CTT can import
    the file.
    
    Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  2. @dgerlach @nmenon

    [AM437x] Add support for AM437X SoC

    dgerlach authored nmenon committed
    Add support for AM437X in omapconf. CPU should be automatically detected.
    Basic default operation should the be supported now through omapconf core.
    
    Also add cpu_max_speed detection at the same time for core cpuinfo
    support We compare specific bits against the DEV_ATTRIBUTE register
    found in the control module for am437x to determine the maximum
    frequency supported by the SoC.
    
    Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  3. @dgerlach @nmenon

    [CPUINFO] Refactor cpu_detect for cleaner implementation

    dgerlach authored nmenon committed
    Previously the CPU type detection logic was a bit messy and also used
    ONLY the dev_feature register to identify am335x parts. This really
    isn't correct as am437x also has a dev feature register and there could
    possibly be a collision between values leading to a part being
    misidentified once am437x support is added. This patch moves the
    detection into separate function, one for identifying sitara family
    devices and one for identifying omap family devices.
    
    Also, for sitara devices, the device_id register is used to detect which
    general SoC is in use and then the dev_feature register is read after to
    determine is a more specific part (AM3352, AM3354, ...) can be
    determined, otherwise a general SoC name is used (AM335X).
    
    Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  4. @dgerlach @nmenon

    [CPUINFO] Add generic AM335X SoC if dev_feature detection fails

    dgerlach authored nmenon committed
    This patch adds a generic AM_335X SoC to use with device_id detection.
    We can then use the dev_feature register in a future patch  to narrow it
    down to a more specific part if possible but still identify AM_335X if
    that fails.
    
    Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  5. @dgerlach @nmenon

    [Makefile] Silence builddate and version setting

    dgerlach authored nmenon committed
    Silence echo to builddate and omapconf_version files to keep pretty
    print output clean.
    
    Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  6. @dgerlach @nmenon

    [Makefile] Add pretty print build sequence

    dgerlach authored nmenon committed
    This patch makes build output much nicer to look at, similar to kernel
    build output.
    
    Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
Commits on Feb 3, 2015
  1. @nmenon

    [gitignore] Update .gitignore to ignore all cscope generate files

    Subramaniam Chanderashekarapuram authored nmenon committed
    Ignore cscope.in.out and cscope.po.out in addition to the cscope.out
    file.
    
    Signed-off-by: Subramaniam Chanderashekarapuram <subramaniam.ca@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  2. @nmenon

    [PMIC][TPS659038]: Introduce support to detect TPS65917 PMIC for DRA72x

    Subramaniam Chanderashekarapuram authored nmenon committed
    The TPS65917 PMIC is like a scaled down version of the TPS659038 used
    with DRA72 processor family EVMs.
    
    Add support for TPS65917 by defining a the necessary register
    entries within TPS659038. The voltage regulator mappings are as per
    DRA72x-evm.
    
    Signed-off-by: Subramaniam Chanderashekarapuram <subramaniam.ca@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  3. @nmenon

    [PMIC][TPS659038]: Fix usage of smp_id in debug print

    Subramaniam Chanderashekarapuram authored nmenon committed
    smps_id is not a valid variable in tps659038_vsel_to_uv. This caused
    a build error when debug flag TPS659038_DEBUG  was enabled. Hence
    fixing the dprintf call.
    
    This fixes the compile error seen when building with debug flag enabled
    
    Signed-off-by: Subramaniam Chanderashekarapuram <subramaniam.ca@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
Commits on Dec 30, 2014
  1. @nmenon

    omapconf 1.71

    nmenon authored
    Signed-off-by: Nishanth Menon <nm@ti.com>
  2. @sumananna @nmenon

    [DRA7][CROSSBAR] Add support for PRU-ICSS in crossbar dump and audit

    sumananna authored nmenon committed
    AM57xx SoCs have two PRU-ICSS subsystems, each of which supports
    64 input events routed to their respective INTCs. Events 32 to 63
    for each PRU-ICSS subsystem are also routed through a Crossbar.
    
    This patch extends the crossbar dump and audit support to the two
    PRU-ICSS Crossbar instances.
    
    NOTE:
    The sub-systems are not supported on the DRA7 SoCs, so added a
    small note to the help text.
    
    Signed-off-by: Suman Anna <s-anna@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  3. @sumananna @nmenon

    [DRA7][CROSSBAR] Add PRU-ICSS interrupt info to crossbar data

    sumananna authored nmenon committed
    AM57xx SoCs have two PRU-ICSS subsystems, each of which has 8
    interrupts routed to the Crossbar. Add the interrupt information
    to the common DRA7 Crossbar data, so that this shows up when
    doing the crossbar dump.
    
    NOTE:
    The sub-systems are not supported on the DRA7 SoCs, so added a
    "AM57xx only" to the interrupt information, as the corresponding
    interrupts are marked reserved in the DRA7 TRMs.
    
    Signed-off-by: Suman Anna <s-anna@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  4. @sumananna @nmenon

    [DRA7][CROSSBAR] Add couple of crypto interrupts to crossbar data

    sumananna authored nmenon committed
    Add the interrupt information to the common DRA7 Crossbar data for
    couple of crypto interrupts. This is done to decipher the information
    of the currently listed interrupts in the DRA7 dts file.
    
    Signed-off-by: Suman Anna <s-anna@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
Commits on Aug 15, 2014
  1. @nmenon

    [DRA7/COMMON][STATCOLL] Fix conflict between probe and master option …

    Edward Shin authored nmenon committed
    …selection for ma_mpu
    
    When -m ma_mpu -p emif1 is selected, the channel retains alldmm
    (default) as the master. This is wrong since we explicitly requested
    for mpu as the master for the filter configuration.
    
    This occurs because there are only checks for incorrect MA_MPU probe
    channel configurations, and given none, it assumes a non-MA_MPU
    config. It needs a check to retain correct MA_MPU configurations.
    
    Added the missing checks to fix the issue.
    
    Signed-off-by: Edward Shin <e-shin@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  2. @nmenon

    [AM335X][LIB] Add support for Register name based read/write

    Gilberto Rodriguez authored nmenon committed
    Add name2addr functions for CM and PRM and add a lib for AM335X with
    basic functions to allow 'omapconf read/write' to use the register
    names as listed in the TRM.
    
    Caveat: This only supports PRCM registers for now. Update common lib
    to call to AM335X find register function.
    
    While at it, fix a minor formatting error for prm header.
    
    Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
Commits on Aug 14, 2014
  1. @nmenon

    omapconf 1.70

    nmenon authored
    Signed-off-by: Nishanth Menon <nm@ti.com>
Commits on Aug 13, 2014
  1. @nmenon

    [DRA7][STATCOLL] Touch up formatting style

    nmenon authored
    Currently there is no alignment of data, nor is information provided
    w.r.t the units of the data being depicted.
    
    For example (memtester running in background):
    omapconf trace bw --m0 ma_mpu --m1 ma_mpu --p1 emif1 --p0 emif1 --m2 ma_mpu --p2 emif1 --m3 dss --p3 emif1
    
    Current Output format:
    Counter: 0  Master: ma_mpu  Transaction: w Probe: emif1
    Counter: 1  Master: ma_mpu  Transaction: w Probe: emif1
    Counter: 2  Master: ma_mpu  Transaction: r Probe: emif1
    Counter: 3  Master: dss  Transaction: r Probe: emif1
    delay in us: 1000000
    overflow delay in us: 1000000 (iterations=1)
    accumulation type: 2
    iterations (0=infinite): 0
    Overflow counter index: DISABLED (overflow delay used)
    Overflow threshold: DISABLED (overflow delay used)
    time: 656882508 656849727 32781 -> 211.63 211.63 389.74 0.00
    time: 656915293 656882508 32785 -> 151.33 151.33 423.28 0.00
    time: 656948082 656915293 32789 -> 222.05 222.05 385.83 0.00
    time: 656980873 656948082 32791 -> 226.93 226.93 381.06 0.00
    
    With this change, this becomes:
    Counter: 0  Master:          ma_mpu Transaction:  w Probe: emif1
    Counter: 1  Master:          ma_mpu Transaction:  w Probe: emif1
    Counter: 2  Master:          ma_mpu Transaction:  r Probe: emif1
    Counter: 3  Master:             dss Transaction:  r Probe: emif1
    delay in us: 1000000
    overflow delay in us: 1000000 (iterations=1)
    accumulation type: 2
    iterations (0=infinite): 0
    Overflow counter index: DISABLED (overflow delay used)
    Overflow threshold: DISABLED (overflow delay used)
                  Time Stamp(32KHz ticks) ->   Throughput(MB/s)
    time:         End       Start   Delta ->   Counter0   Counter1   Counter2   Counter3
    time:   660420813   660388035   32778 ->     753.04     753.04    1387.92       0.00
    time:   660453590   660420814   32776 ->     764.95     764.95    1400.03       0.00
    time:   660486366   660453590   32776 ->     704.70     704.70    1428.90       0.00
    
    Signed-off-by: Nishanth Menon <nm@ti.com>
  2. @nmenon

    [DRA7][STATCOLL] Add DRA7 specific statistics collector library

    Edward Shin authored nmenon committed
    The statistics collectors (statcoll) on the L3 NoC allow for hardware monitoring
    of traffic statistics on the EMIF bus. This patch adds support for
    accessing the DRA7xx statistics collectors using the trace bw feature.
    
    Example:
    $./omapconf trace bw -m dss
    Monitors read and write traffic to DSS.
    
    $./omapconf trace bw -h
    Displays help text.
    
    Signed-off-by: Edward Shin <e-shin@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  3. @nmenon

    [DRA7][TIMESTAMP] Fix 32k counter register address

    Edward Shin authored nmenon committed
    Actually, OMAP5 and DRA7 share the same register address, not OMAP4.
    
    Fix the same.
    
    Fixes commit a7361b4 ([DRA7][TIMESTAMP]
    Provide 32k counter register address)
    
    Signed-off-by: Edward Shin <e-shin@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  4. @nmenon

    [AM335X][MODULE] Support for show pwst command

    Gilberto Rodriguez authored nmenon committed
    Update AM335X modules with the appropriate powerdm and clkdm. Add
    additional modules to print. Update AM335X clocks for new GFX module.
    Update common module status show function to adjust for the AM335X.
    Move a line due to remove a printed line to console for VDD_RTC. Add
    skip for CEFUSE clkdm. Update AM335X main to call the module status
    show function. Update logic to print standby status.
    
    Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  5. @nmenon

    [AM335X][CLKDM] Add AM335X clkdm functions and definitions

    Gilberto Rodriguez authored nmenon committed
    Add AM335X clkdm definitions and functions to be used in omapconf show
    pwst command. Update common clkdm with new defines. Update to common
    clkdm to call AM335X clkdm functions. Update clockdm_info struct to
    accommodate difference between OMAP5 and AM335X (position of main
    domain status bit). Add new function for the clkstctrl status bit.
    
    Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  6. @nmenon

    [AM335X][PWRDM] Add AM335X powerdm functions and definitions

    Gilberto Rodriguez authored nmenon committed
    Add AM335X powerdm definitions and functions to be used in omapconf
    show pwst command. Update common powerdm header with new defines.
    Update to common powerdm to call AM335X powerdm functions.
    
    Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
Commits on Aug 8, 2014
  1. @nmenon

    [AM335X][OPP] Add support for show opp command

    Gilberto Rodriguez authored nmenon committed
    Update the common opp files to support the AM335X opp functions.
    Update to AM335X main to call the omapconf show opp command. Update
    help to print the show opp command.
    
    Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  2. @nmenon

    [AM335X][OPP] Support for AM335X opp support functions

    Gilberto Rodriguez authored nmenon committed
    Add functions for AM335X opp to support omapconf show opp command.
    Support for AM335X ES1 and ES2_X opps (minor opp and frequency
    differences).
    
    Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  3. @nmenon

    [AM335X][MODULES] Add AM335X modules for show opp

    Gilberto Rodriguez authored nmenon committed
    Add a few AM335X modules to support the show opp command, i.e., l3 and
    l4 interconnects, emif, and mpu modules. Defined most of the mods that
    could be implemented in the future. Update the common module files to
    support the AM335X module functions.
    
    Include the neccessary defines in the common opp header to build.
    
    Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  4. @nmenon

    [PMIC] Support AM335X voltage domain to TPS65217X SMPS mapping

    Gilberto Rodriguez authored nmenon committed
    PMIC is now able to convert AM335X voltage domains to PMIC SMPS IDs
    and vice versa.
    
    NOTE: This mapping is as per BeagleBone Black platform, which happens to
    be one of the most prevelant AM335X public platform.
    
    Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  5. @nmenon

    [AM335X][VOLTDM] Create voltdm support for AM335X

    Gilberto Rodriguez authored nmenon committed
    Create voltage domain functions and definitions for the AM335X to
    support the show opp command. Update the common voltage domain files
    to support the AM335X voltdm functions.
    
    Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  6. @nmenon

    [TPS65217X][PMIC] PMIC detection and support for TPS65217X

    Gilberto Rodriguez authored nmenon committed
    PMIC can detect TPS65217X and supports function calls to TPS65217X
    voltage get functions. Updated chips_info_show pmic printf for the
    TPS65217X. NOTE: linking this with AM335X voltage domain happens in a
    follow on patch.
    
    Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  7. @nmenon

    [TPS65217X][PMIC] Add basic support for TPS65217X

    Gilberto Rodriguez authored nmenon committed
    Add functions and definitions to support TPS65217X (PMIC for
    beaglebone black).
    
    Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  8. @nmenon

    [DRA7][TIMESTAMP] Provide 32k counter register address

    Edward Shin authored nmenon committed
    Fortunately, OMAP4 and DRA7 share the same register address.
    
    Signed-off-by: Edward Shin <e-shin@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  9. @nmenon

    [DRA7][CLKDM] Control the EMU clock domain

    Edward Shin authored nmenon committed
    EMU power domain and clocks are necessary for various peripherals
    such as statistics collector to function. So enable and disable the same
    as needed.
    
    Signed-off-by: Edward Shin <e-shin@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  10. @nmenon

    [DRA7][CPUINFO] Add cpu_is helper macros for DRA72x and DRA75x

    Edward Shin authored nmenon committed
    Previously, there was only a macro to check for DRA7xx and this is not
    sufficient to differentiate between 72 and 75x processors for minor
    differences that need to be handled.
    
    Signed-off-by: Edward Shin <e-shin@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  11. @nmenon

    [AM335X][DPLL] Fix for print bug in AM335X dpll function

    Gilberto Rodriguez authored nmenon committed
    In the AM335X dpll rates calc function, a printf was used instead of a dprintf
    that would only show when a dpll was in bypass mode. Bug is now fixed.
    
    Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
Commits on Aug 6, 2014
  1. @nmenon

    [AM335X][DPLL] Add support for 'show dpll' command

    Gilberto Rodriguez authored nmenon committed
    Update the AM335X main in order to to call the show dpll command and
    initialize the dpll.
    
    Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  2. @nmenon

    [AM335X][DPLL] Add definitions and helper to enable show dpll

    Gilberto Rodriguez authored nmenon committed
    Add more definitions and structs needed by the omapconf show dpll
    command. Define basic clocks for the DPLL and a few system clocks.
    Include functions to calculate clock rate for the Master Oscillator
    (SYS_CLK) and define the clock rates for the different DPLL and system
    clocks.
    
    Add functions to support the show dpll command. DPLL init and free are
    implemented to gather the different DPLL settings and remove them when
    the settings are no longer needed. Add the settings extract function
    for both the DPLL and hsdivs. Calculate the different output rates as
    well as gather the necessary clock output rates.
    
    Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
Something went wrong with that request. Please try again.