TI E2E Community (Beta)
Welcome to the TI E2E (Engineer-to-Engineer) Community! We invite you to freely and openly interact with your peer Engineers, TI Engineers, and other experts in order to ask questions, share knowledge, explore ideas, and help solve problems.
More Search Options

Register storing OPP value

rated by 0 users
Not Answered This post has 0 verified answers | 4 Replies | 2 Followers

Not Ranked
12 Posts
Community Member
Xi posted on 4 Nov 2009 12:52 AM

Hi,

I'm trying to find the right register which stores the OPP value in DVFS feature. There are some OPP related registers in power management module but they look like controling status, not the 5 values.

Can any one please tell me which register should I write to, if there is any, when I want to set a value to OPP for changing CPU voltage and frequency?

Thanks!

All Replies

Not Ranked
12 Posts
Community Member
Xi replied on 18 Nov 2009 10:03 AM

Can anyone answer this question?

I have found a register which seems to control the voltage VDD1. It's in power module TPS65950. The name is VDD1_VSEL. It has 7 bit, so that looks like it covers more value of voltage instead of 5 level of OPP. I'm trying to find out if we can control through this register.

I'm not sure if this is what I'm looking for. Please help me if anyone knows about it.

Thanks!

Top 500 Contributor
31 Posts
Texas Instruments Employee

Xi:

Can anyone answer this question?

I have found a register which seems to control the voltage VDD1. It's in power module TPS65950. The name is VDD1_VSEL. It has 7 bit, so that looks like it covers more value of voltage instead of 5 level of OPP. I'm trying to find out if we can control through this register.

yes, vsel reg contains the voltage, but modifying this beyond valid OMAP opp voltages might result in undefined behavior in the system.

Top 200 Contributor
47 Posts
Community Member

To put it in other words: If you know that you are doing, you can modify these registers how your like, but TI has only "validated" the given OPP values. The general strong recommendation is therefore to use one of these.

It's however possible to run in something which would be i.e. OPP2.5 (in between OPP2 and OPP3 - or similar) in case you modify all the registers (affecting clocks and voltages) correctly and validate the setup on your own. Seen from a technical point of view this should be perfectly OK, although it might require a huge work for obtaining very little...

Best regards
  Søren

Søren Steen Christensen - SSC Solutions ApS - Web: www.ssc-solutions.dk

Not Ranked
12 Posts
Community Member

Thanks Nishanth,

It's fine to just control OPP, but I was wondering if there is some delay for voltage change modifying OPP inside the Linux system. Also, is there a kind of register who controls the OPP value (1 to 5) that I can directly write to it instead of writing the OPP configure file in the system? Thanks!
Page 1 of 1 (5 items) |

ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". TI AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY TI. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.