PCV services: Difference between revisions

No edit summary
No edit summary
Line 382: Line 382:
| 2 || SetTemperature
| 2 || SetTemperature
|-
|-
| 3 ||  
| 3 || GetModuleStateTable
|-
|-
| 4 ||  
| 4 || GetModuleStateTableEvent
|-
|-
| 5 || [[#GetClockModuleNumLimit]]
| 5 || [[#GetModuleStateTableMaxCount]]
|}
|}


Line 392: Line 392:
Takes an input [[#Module|DeviceCode]] and an input u32. Returns an [[#IClkrstSession]].
Takes an input [[#Module|DeviceCode]] and an input u32. Returns an [[#IClkrstSession]].


== GetClockModuleNumLimit ==
== GetModuleStateTableMaxCount ==
Returns 0x1A.
Returns 0x1A.


Line 453: Line 453:
| 0 || [[#OpenSession]]
| 0 || [[#OpenSession]]
|-
|-
| 1 ||  
| 1 || GetPowerDomainStateTable
|-
|-
| 2 ||  
| 2 || GetPowerDomainStateTableEvent
|-
|-
| 3 || [[#GetPowerModuleNumLimit]]
| 3 || [[#GetPowerDomainStateTableMaxCount]]
|}
|}


Line 463: Line 463:
Takes an input [[#PowerDomain|DeviceCode]] and returns an [[#IRegulatorSession]].
Takes an input [[#PowerDomain|DeviceCode]] and returns an [[#IRegulatorSession]].


== GetPowerModuleNumLimit ==
== GetPowerDomainStateTableMaxCount ==
Returns 0x3.
Returns 0x3.


Line 481: Line 481:
| 3 || GetVoltageRange
| 3 || GetVoltageRange
|-
|-
| 4 || GetVoltageValue
| 4 || GetVoltage
|-
|-
| 5 || SetVoltageValue
| 5 || SetVoltageValue
|-
|-
| 6 || ChangeVoltage
| 6 ||  
|}
|}


Line 920: Line 920:
|-
|-
| [6.0.0+] 86 || Extperiph2 || 0x40000057 || VddSoc
| [6.0.0+] 86 || Extperiph2 || 0x40000057 || VddSoc
|-
| [8.0.0+] - || OscClk || 0x40000080 || None
|}
|}


Line 966: Line 968:
|}
|}


= ClockRatesListType =
= PowerControlTarget =
This is "nn::pcv::ClockRatesListType".
This is "nn::pcv::PowerControlTarget".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Value || Description
! Value || Name || DeviceCode || Description
|-
| 0 || || 0x3C000004 || SdCard (Ldo2)
|-
|-
| 0 || Invalid
| 1 || || 0x34000007 || DisplayPort, HDMI (Ldo8)
|-
|-
| 1 || Discrete
| 2 || || || Invalid (Ldo7)
|-
|-
| 2 || Range
| 3 || || 0x3500041A || SioMcu (Ldo8)
|}
|}


Line 998: Line 1,002:
|-
|-
| 0x8 || 0x4 || MinVClockRate
| 0x8 || 0x4 || MinVClockRate
|}
= PowerDomainState =
This is "nn::pcv::PowerDomainState".
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x1 || Enabled
|-
| 0x1 || 0x3 || Reserved
|-
| 0x4 || 0x4 || Voltage
|}
|}


Line 1,012: Line 1,030:
|}
|}


= PowerControlTarget =
= ClockRatesListType =
This is "nn::pcv::PowerControlTarget".
This is "nn::pcv::ClockRatesListType".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Value || Name || DeviceCode || Description
! Value || Description
|-
|-
| 0 || || 0x3C000004 || SdCard (Ldo2)
| 0 || Invalid
|-
|-
| 1 || || 0x34000007 || DisplayPort, HDMI (Ldo8)
| 1 || Discrete
|-
|-
| 2 || || || Invalid (Ldo7)
| 2 || Range
|-
| 3 || || 0x3500041A || SioMcu (Ldo8)
|}
|}
= PowerDomainState =
This is "nn::pcv::PowerDomainState".


= SteadyClockTimePoint =
= SteadyClockTimePoint =