Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

OMAP4470 CORE OPP100 HIGH support + fixes in OPP and TEMP features #6

Merged
merged 25 commits into from

2 participants

@ptitiano
Collaborator

Main new features and fixes:

  • Introduce generic abstraction layers for OPP, voltage domain and temperature sensors
  • Introduce OMAP4470 CORE OPP100 HIGH support
  • Fix misc. bugs in OPP, AUDITs and TEMP features for OMAP4 and OMAP5.
  • Add options to dynamically trace omapconf memory R/W access (“--trace_read” & “--trace_write”)
Patrick Titiano added some commits
Patrick Titiano [OMAPCONF] add user options to dynamically trace omapconf memory R/W …
…access

Add "--trace_read" and "--trace_write" options to trace all omapconf R/W memory access.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
60e67aa
Patrick Titiano [TEMP] introduce generic temperature sensor abstraction layer
In order to better address multi-platform support, create a
generic temperature sensor abstraction layer, that uses string to
identify sensors instead of cpu-dependent enumerated types.
This layer then internally converts strings into corresponding
cpu-dependent ID and calls subsequent cpu-dependent functions.
Starting from now, all generic / non cpu-dependent code shall use
this layer.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
b1740c1
Patrick Titiano [OMAP4][TEMP] use new generic temperature sensor abstracted layer
Use new generic temperature sensor abstracted layer for OMAP4 architecture.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
fe4c3af
Patrick Titiano [LIB] add functions to convert clock rates and voltages
Add functions to convert clock rates and voltages.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
4ee89dd
Patrick Titiano [PMIC] add function to round voltage
Add function to convert RAW voltage (e.g from Data Manual) into stepped SMPS voltage.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
af697b7
Patrick Titiano [VOLTDM][OMAP4][OMAP5] introduce voltage domain generic abstraction l…
…ayer

Introduce voltage domain generic abstraction layer.
Define an abstraction layer that addresses voltage domains using strings (generic names),
in order to get rid of platform specific enumerated types.
All high-level functions (generic / cross platform) shall use this layer instead of
calling into architecture-specific functions.

Add some minor new functions in architecture-specific libraries to fully handle it.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
5cf3082
Patrick Titiano [OMAP4][CLOCK] fix 2 bugs in debug code
Fix 2 bugs in debug code causing compilation error.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
b94b09c
Patrick Titiano [OMAP5][MODULE] fix double rounding side effect with GPU DSP And IVA …
…PoR rates

Fix double rounding side effect with GPU DSP And IVA PoR rates.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
a09c375
Patrick Titiano [OMAP5][HELP][TEMP] fix supported memory sensor names in help
Fix supported memory sensor names in help.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
4ff0fe3
Patrick Titiano [OPP][OMAP4][OMAP5] introduce OPP generic abstraction layer
Introduce OPP generic abstraction layer.
Define an abstraction layer that addresses OPP (OPerating Points) using strings (generic names),
in order to get rid of platform specific enumerated types.
All high-level functions (generic / cross platform) shall use this layer instead of
calling into architecture-specific functions.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
ef7963a
Patrick Titiano [OMAP5][CLKSPEED][AUDIT] fix missing BANDGAPTS expected clock rate
Fix missing BANDGAPTS expected clock rate.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
bd0710d
Patrick Titiano [REGRESSIONTESTSUITE][OMAP4470] fix OPP50 MPU clock rate
fix OPP50 MPU clock rate

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
220b1c0
Patrick Titiano [REGRESSIONTESTSUITE][TEMP][OMAP5] update script to support new temp …
…options

update script to support new temp options.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
dc59da5
Patrick Titiano [OMAP4460][OMAP4470][OPP] fix VDD_IVA OPP NITROSB expected clock rate
Fix VDD_IVA OPP NITROSB expected clock rate.
Based on patch for OMAP4470 from Naoko Houra who found the bug.
Completed with OMAP4460 + omap4/opp44xx.c fixes.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
0ccec9e
Patrick Titiano [OMAP4][UC_AUDIT] fix Jelly Bean support
Reworked code to better handle Jelly Bean and next pastries.
Was causing lost of "undef" warning in uc_audits due to unknown pastries.
By default use the last known pastry golden settings.

Also fix MP3 use-case expected OPP and DPLL IVA state.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
686b319
Patrick Titiano [OMAP4][CLKSPEED][AUDIT] do not skip TIMERs, MCBSP, MCASP modules
Do not skip TIMERs, MCBSP, MCASP modules (as PoR rates available).

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
8823a4d
Patrick Titiano [REGRESSIONTESTSUITE][OMAP4][UC_AUDIT] add output files to audit
Add output files to audit to refine audit.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
83ea2f7
Patrick Titiano [OMAP4470][OPP] OMAP4470 VDD_CORE OPP100_HIGH support
Detect new OMAP4470 VDD_CORE OPP100_HIGH support.
DSS clock rate is only difference between OPP50_HIGH and OPP100_HIGH.
Use it for the detection.
Update data tables accordingly.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
b0adfab
Patrick Titiano [OMAP4][TEMP] fix hotspot sensor file read
hotspot sensor file content changed, aligned other generic sensor file.
Update code to handle this change.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
ad8657b
Patrick Titiano [OMAP5][TEMP] MPU and GPU sensors support
Add MPU and GPU sensors support.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
e79df90
Patrick Titiano [OMAP5][TEMP] remove unused code
Remove unused code after introduction of temperature generic layer.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
6fc1738
Patrick Titiano [OMAP5][TEMP] fix PCB sensor and add CHARGER sensor support
Fix PCB sensor (file name changed) and add CHARGER sensor support.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
dfb4b7a
Patrick Titiano [OMAP4][TEMP] cleanup code and fix sensors path
Remove legacy mini-driver code (useless now that thermal framework is available).
Fix some sensors path issues (updated + diff between Android and GLP).

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
0e46d88
Patrick Titiano update revision and changelog for v1.52 release
update revision and changelog for v1.52 release.

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
52bd02c
Patrick Titiano fix typo in changelog
fix typo in changelog

Signed-off-by: Patrick Titiano <p-titiano@ti.com>
dab4f67
@omapconf omapconf merged commit 2de64dc into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 12, 2012
  1. [OMAPCONF] add user options to dynamically trace omapconf memory R/W …

    Patrick Titiano authored
    …access
    
    Add "--trace_read" and "--trace_write" options to trace all omapconf R/W memory access.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
Commits on Oct 16, 2012
  1. [TEMP] introduce generic temperature sensor abstraction layer

    Patrick Titiano authored
    In order to better address multi-platform support, create a
    generic temperature sensor abstraction layer, that uses string to
    identify sensors instead of cpu-dependent enumerated types.
    This layer then internally converts strings into corresponding
    cpu-dependent ID and calls subsequent cpu-dependent functions.
    Starting from now, all generic / non cpu-dependent code shall use
    this layer.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
  2. [OMAP4][TEMP] use new generic temperature sensor abstracted layer

    Patrick Titiano authored
    Use new generic temperature sensor abstracted layer for OMAP4 architecture.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
Commits on Oct 24, 2012
  1. [LIB] add functions to convert clock rates and voltages

    Patrick Titiano authored
    Add functions to convert clock rates and voltages.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
  2. [PMIC] add function to round voltage

    Patrick Titiano authored
    Add function to convert RAW voltage (e.g from Data Manual) into stepped SMPS voltage.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
  3. [VOLTDM][OMAP4][OMAP5] introduce voltage domain generic abstraction l…

    Patrick Titiano authored
    …ayer
    
    Introduce voltage domain generic abstraction layer.
    Define an abstraction layer that addresses voltage domains using strings (generic names),
    in order to get rid of platform specific enumerated types.
    All high-level functions (generic / cross platform) shall use this layer instead of
    calling into architecture-specific functions.
    
    Add some minor new functions in architecture-specific libraries to fully handle it.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
  4. [OMAP4][CLOCK] fix 2 bugs in debug code

    Patrick Titiano authored
    Fix 2 bugs in debug code causing compilation error.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
  5. [OMAP5][MODULE] fix double rounding side effect with GPU DSP And IVA …

    Patrick Titiano authored
    …PoR rates
    
    Fix double rounding side effect with GPU DSP And IVA PoR rates.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
  6. [OMAP5][HELP][TEMP] fix supported memory sensor names in help

    Patrick Titiano authored
    Fix supported memory sensor names in help.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
Commits on Nov 12, 2012
  1. [OPP][OMAP4][OMAP5] introduce OPP generic abstraction layer

    Patrick Titiano authored
    Introduce OPP generic abstraction layer.
    Define an abstraction layer that addresses OPP (OPerating Points) using strings (generic names),
    in order to get rid of platform specific enumerated types.
    All high-level functions (generic / cross platform) shall use this layer instead of
    calling into architecture-specific functions.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
  2. [OMAP5][CLKSPEED][AUDIT] fix missing BANDGAPTS expected clock rate

    Patrick Titiano authored
    Fix missing BANDGAPTS expected clock rate.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
  3. [REGRESSIONTESTSUITE][OMAP4470] fix OPP50 MPU clock rate

    Patrick Titiano authored
    fix OPP50 MPU clock rate
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
  4. [REGRESSIONTESTSUITE][TEMP][OMAP5] update script to support new temp …

    Patrick Titiano authored
    …options
    
    update script to support new temp options.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
  5. [OMAP4460][OMAP4470][OPP] fix VDD_IVA OPP NITROSB expected clock rate

    Patrick Titiano authored
    Fix VDD_IVA OPP NITROSB expected clock rate.
    Based on patch for OMAP4470 from Naoko Houra who found the bug.
    Completed with OMAP4460 + omap4/opp44xx.c fixes.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
  6. [OMAP4][UC_AUDIT] fix Jelly Bean support

    Patrick Titiano authored
    Reworked code to better handle Jelly Bean and next pastries.
    Was causing lost of "undef" warning in uc_audits due to unknown pastries.
    By default use the last known pastry golden settings.
    
    Also fix MP3 use-case expected OPP and DPLL IVA state.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
  7. [OMAP4][CLKSPEED][AUDIT] do not skip TIMERs, MCBSP, MCASP modules

    Patrick Titiano authored
    Do not skip TIMERs, MCBSP, MCASP modules (as PoR rates available).
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
Commits on Nov 13, 2012
  1. [REGRESSIONTESTSUITE][OMAP4][UC_AUDIT] add output files to audit

    Patrick Titiano authored
    Add output files to audit to refine audit.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
  2. [OMAP4470][OPP] OMAP4470 VDD_CORE OPP100_HIGH support

    Patrick Titiano authored
    Detect new OMAP4470 VDD_CORE OPP100_HIGH support.
    DSS clock rate is only difference between OPP50_HIGH and OPP100_HIGH.
    Use it for the detection.
    Update data tables accordingly.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
  3. [OMAP4][TEMP] fix hotspot sensor file read

    Patrick Titiano authored
    hotspot sensor file content changed, aligned other generic sensor file.
    Update code to handle this change.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
  4. [OMAP5][TEMP] MPU and GPU sensors support

    Patrick Titiano authored
    Add MPU and GPU sensors support.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
  5. [OMAP5][TEMP] remove unused code

    Patrick Titiano authored
    Remove unused code after introduction of temperature generic layer.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
Commits on Nov 14, 2012
  1. [OMAP5][TEMP] fix PCB sensor and add CHARGER sensor support

    Patrick Titiano authored
    Fix PCB sensor (file name changed) and add CHARGER sensor support.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
  2. [OMAP4][TEMP] cleanup code and fix sensors path

    Patrick Titiano authored
    Remove legacy mini-driver code (useless now that thermal framework is available).
    Fix some sensors path issues (updated + diff between Android and GLP).
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
  3. update revision and changelog for v1.52 release

    Patrick Titiano authored
    update revision and changelog for v1.52 release.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
  4. fix typo in changelog

    Patrick Titiano authored
    fix typo in changelog
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
Something went wrong with that request. Please try again.