PCV services: Difference between revisions

No edit summary
No edit summary
Line 18: Line 18:
| 5 || GetBoardPowerControlEvent
| 5 || GetBoardPowerControlEvent
|-
|-
| 6 || GetSleepButtonState
| 6 || [2.0.0+] GetSleepButtonState
|-
|-
| 7 || GetPowerEvent
| 7 || [2.0.0+] GetPowerEvent
|-
|-
| 8 ||
| 8 || [2.0.0+]
|-
| 9 || [2.0.0+]
|-
| 10 || [2.0.0+]
|-
| 11 || [3.0.0+]
|-
|-
| 9 ||
| 12 || [3.0.0+]
|-
|-
| 10 ||
| 13 || [3.0.0+]
|-
|-
| 14 || [6.0.0+]
| 14 || [6.0.0+]
Line 44: Line 50:
| 2 || ReadExternalRtcResetFlag
| 2 || ReadExternalRtcResetFlag
|-
|-
| 3 || ClearExternalRtcResetFlag
| 3 || [2.0.0+] ClearExternalRtcResetFlag
|-
| 4 || [3.0.0+]
|}
|}


Line 56: Line 64:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 || SetPowerEnabled
| [1.0.0-7.0.1] 0 || SetPowerEnabled
|-
|-
| 1 || SetClockEnabled
| [1.0.0-7.0.1] 1 || SetClockEnabled
|-
|-
| 2 || SetClockRate
| [1.0.0-7.0.1] 2 || SetClockRate
|-
|-
| 3 || GetClockRate
| [1.0.0-7.0.1] 3 || GetClockRate
|-
|-
| 4 || GetState
| [1.0.0-7.0.1] 4 || GetState
|-
|-
| 5 || GetPossibleClockRates
| [1.0.0-7.0.1] 5 || GetPossibleClockRates
|-
|-
| 6 || SetMinVClockRate
| [1.0.0-7.0.1] 6 || SetMinVClockRate
|-
|-
| 7 || SetReset
| [1.0.0-7.0.1] 7 || SetReset
|-
|-
| 8 || SetVoltageEnabled
| [1.0.0-7.0.1] 8 || SetVoltageEnabled
|-
|-
| 9 || GetVoltageEnabled
| [1.0.0-7.0.1] 9 || GetVoltageEnabled
|-
|-
| 10 || GetVoltageRange
| [1.0.0-7.0.1] 10 || GetVoltageRange
|-
|-
| 11 || SetVoltageValue
| [1.0.0-7.0.1] 11 || SetVoltageValue
|-
|-
| 12 || GetVoltageValue
| [1.0.0-7.0.1] 12 || GetVoltageValue
|-
|-
| 13 || GetTemperatureThresholds
| [1.0.0-7.0.1] 13 || GetTemperatureThresholds
|-
|-
| 14 || SetTemperature
| [1.0.0-7.0.1] 14 || SetTemperature
|-
|-
| [1.0.0-5.1.0] 15 || Initialize
| [1.0.0-5.1.0] 15 || Initialize
Line 92: Line 100:
| [1.0.0-5.1.0] 17 || Finalize
| [1.0.0-5.1.0] 17 || Finalize
|-
|-
| 18 || PowerOn
| [3.0.0-7.0.1] 18 || PowerOn
|-
|-
| 19 || PowerOff
| [3.0.0-7.0.1] 19 || PowerOff
|-
|-
| 20 || ChangeVoltage
| [3.0.0-7.0.1] 20 || ChangeVoltage
|-
|-
| 21 || GetPowerClockInfoEvent
| [3.0.0-7.0.1] 21 || GetPowerClockInfoEvent
|-
|-
| 22 || GetOscillatorClock
| [3.0.0-7.0.1] 22 || GetOscillatorClock
|-
|-
| 23 || GetDvfsTable
| [3.0.0-7.0.1] 23 || GetDvfsTable
|-
|-
| 24 || GetModuleStateTable
| [3.0.0-7.0.1] 24 || GetModuleStateTable
|-
|-
| 25 || GetPowerDomainStateTable
| [3.0.0-7.0.1] 25 || GetPowerDomainStateTable
|-
|-
| 26 || GetFuseInfo
| 26 || [3.0.0+] GetFuseInfo
|-
|-
| 28 || [6.0.0+]
| 27 || [5.0.0+]
|-
|-
| 29 || [6.0.0+]
| [6.0.0-7.0.1] 28 ||
|-
| [6.0.0-7.0.1] 29 ||
|}
|}


Line 118: Line 128:


== User Name to Block Maps ==
== User Name to Block Maps ==
=== Power Switch / Clocking / Reset ===
=== Power Switch / Clocking / Reset ===
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 293: Line 301:


=== Voltage ===
=== Voltage ===
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 327: Line 334:
|-
|-
| 14 || max77621_gpu ||  
| 14 || max77621_gpu ||  
|-
|}
|}


Line 334: Line 340:
= pcv:arb =
= pcv:arb =
This is "nn::pcv::IArbitrationManager".
This is "nn::pcv::IArbitrationManager".
This service no longer exists in [8.0.0+].


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 340: Line 348:
|-
|-
| 0 || ReleaseControl
| 0 || ReleaseControl
|-
|}
|}


= pcv:imm =
= pcv:imm =
This is "nn::pcv::IImmediateManager".
This is "nn::pcv::IImmediateManager".
This service no longer exists in [8.0.0+].


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 351: Line 360:
|-
|-
| 0 || SetClockRate
| 0 || SetClockRate
|}
= clkrst, clkrst:i =
These are "nn::clkrst::IClkrstManager" and "nn::clkrst::IClkrstImmediateManager".
These were added with [8.0.0+].
{| class="wikitable" border="1"
|-
! Cmd || Name
|-
| 0 || OpenSession
|-
| 1 ||
|-
| 2 ||
|-
| 3 ||
|-
| 4 ||
|-
| 5 ||
|}
== IClkrstSession ==
This is "nn::clkrst::IClkrstSession".
{| class="wikitable" border="1"
|-
! Cmd || Name
|-
| 0 ||
|-
| 1 ||
|-
| 2 ||
|-
| 3 ||
|-
| 4 ||
|-
| 5 ||
|-
| 6 ||
|-
| 7 ||
|-
| 8 ||
|-
| 9 ||
|-
|-
| 10 ||
|-
| 11 ||
|}
= clkrst:a =
This is "nn::clkrst::IClkrstArbitrationManager".
This was added with [8.0.0+].
{| class="wikitable" border="1"
|-
! Cmd || Name
|-
| 0 ||
|}
= rgltr =
This is "nn::regulator::IRegulatorManager".
This was added with [8.0.0+].
{| class="wikitable" border="1"
|-
! Cmd || Name
|-
| 0 || OpenSession
|-
| 1 ||
|-
| 2 ||
|-
| 3 ||
|}
== IRegulatorSession ==
This is "nn::regulator::IRegulatorSession".
{| class="wikitable" border="1"
|-
! Cmd || Name
|-
| 0 ||
|-
| 1 ||
|-
| 2 ||
|-
| 3 ||
|-
| 4 ||
|-
| 5 ||
|-
| 6 ||
|}
= rtc =
This was added with [8.0.0+].
{| class="wikitable" border="1"
|-
! Cmd || Name
|-
| 0 ||
|-
| 1 ||
|-
| 2 ||
|-
| 3 ||
|-
| 4 ||
|}
|}


Line 435: Line 567:
| 0x8 || 0x10 || An ID representing the clock source.
| 0x8 || 0x10 || An ID representing the clock source.
|}
|}
This is a 0x18-byte struct.
This is a 0x18-byte struct.


Line 454: Line 587:
|-
|-
| 3 || SetSystemClockContext  || Takes an input [[#SystemClockContext]].
| 3 || SetSystemClockContext  || Takes an input [[#SystemClockContext]].
|-
|}
|}


Line 490: Line 622:
|-
|-
| 5 || [2.0.0+] GetTimeZoneRuleVersion ||  No input, returns an output [[#TimeZoneRuleVersion]].
| 5 || [2.0.0+] GetTimeZoneRuleVersion ||  No input, returns an output [[#TimeZoneRuleVersion]].
|-
| 6 || [5.0.0+] ||
|-
|-
| 100 || ToCalendarTime || Takes an input [[#PosixTime]] and a type-0x15 input buffer for [[#TimeZoneRule]], returns an output [[#CalendarTime]] and [[#CalendarAdditionalInfo]].
| 100 || ToCalendarTime || Takes an input [[#PosixTime]] and a type-0x15 input buffer for [[#TimeZoneRule]], returns an output [[#CalendarTime]] and [[#CalendarAdditionalInfo]].
Line 498: Line 632:
|-
|-
| 202 || ToPosixTimeWithMyRule || Takes an input [[#CalendarTime]], an type-0xA output buffer for [[#PosixTime]] array, and returns an output s32.
| 202 || ToPosixTimeWithMyRule || Takes an input [[#CalendarTime]], an type-0xA output buffer for [[#PosixTime]] array, and returns an output s32.
|-
|}
|}