PCV services: Difference between revisions

No edit summary
No edit summary
Line 335: Line 335:


== IsPoweredOn ==
== IsPoweredOn ==
Takes an input [[#PowerDomain|PowerDomain]]. Returns an output bool.
Takes an input [[#PowerControlTarget|PowerControlTarget]]. Returns an output bool.


== GetVoltage ==
== GetVoltage ==
Takes an input [[#PowerDomain|PowerDomain]]. Returns an output s32.
Takes an input [[#PowerControlTarget|PowerControlTarget]]. Returns an output s32.


= pcv:arb =
= pcv:arb =
Line 929: Line 929:
! Value || Name || DeviceCode || Description
! Value || Name || DeviceCode || Description
|-
|-
| 0 || Max77620_Sd0 || 0x3A000080 ||
| 0 || Max77620_Sd0 || 0x3A000080 || SoC (1.125v)
|-
|-
| 1 || Max77620_Sd1 || 0x3A000081 ||
| 1 || Max77620_Sd1 || 0x3A000081 || Dram (1.1v)
|-
|-
| 2 || Max77620_Sd2 || 0x3A000082 ||
| 2 || Max77620_Sd2 || 0x3A000082 || Ldo0, Ldo1, Ldo7, Ldo8 (1.325v)
|-
|-
| 3 || Max77620_Sd3 || 0x3A000083 ||
| 3 || Max77620_Sd3 || 0x3A000083 || 1.8v
|-
|-
| 4 || Max77620_Ldo0 || 0x3A0000A0 || 1.2v
| 4 || Max77620_Ldo0 || 0x3A0000A0 || Panel (1.2v)
|-
|-
| 5 || Max77620_Ldo1 || 0x3A0000A1 ||
| 5 || Max77620_Ldo1 || 0x3A0000A1 || Xusb, PCIe (1.05v)
|-
|-
| 6 || Max77620_Ldo2 || 0x3A0000A2 || SDcard power, 1.8v - 3.3v
| 6 || Max77620_Ldo2 || 0x3A0000A2 || SdCard (1.8v, 3.3v)
|-
|-
| 7 || Max77620_Ldo3 || 0x3A0000A3 || GC ASIC 3.1v
| 7 || Max77620_Ldo3 || 0x3A0000A3 || GcAsic (3.1v)
|-
|-
| 8 || Max77620_Ldo4 || 0x3A0000A4 || RTC power, 0.85v
| 8 || Max77620_Ldo4 || 0x3A0000A4 || Rtc (0.85v)
|-
|-
| 9 || Max77620_Ldo5 || 0x3A0000A5 || GC ASIC 1.8v
| 9 || Max77620_Ldo5 || 0x3A0000A5 || GcCard (1.8v)
|-
|-
| 10 || Max77620_Ldo6 || 0x3A0000A6 || AVDD touchscreen, 2.9v
| 10 || Max77620_Ldo6 || 0x3A0000A6 || Touchscreen, ALS (2.9v)
|-
|-
| 11 || Max77620_Ldo7 || 0x3A0000A7 ||
| 11 || Max77620_Ldo7 || 0x3A0000A7 || Xusb (1.05v)
|-
|-
| 12 || Max77620_Ldo8 || 0x3A0000A8 || DisplayPort, 1.05v
| 12 || Max77620_Ldo8 || 0x3A0000A8 || DisplayPort, HDMI, SioMcu (1.05v)
|-
|-
| 13 || Max77621_Cpu || 0x3A000003 ||
| 13 || Max77621_Cpu || 0x3A000003 ||
Line 964: Line 964:
|-
|-
| [6.0.0+] 17 || Max77812_Dram || 0x3A000005 ||
| [6.0.0+] 17 || Max77812_Dram || 0x3A000005 ||
|-
| [8.0.0+] - || || 0x3C000004 || SDCard
|-
| [8.0.0+] - || || 0x34000007 || HDMI
|-
| [8.0.0+] - || || 0x3500041A || MCU
|}
|}


Line 1,020: Line 1,014:
= PowerControlTarget =
= PowerControlTarget =
This is "nn::pcv::PowerControlTarget".
This is "nn::pcv::PowerControlTarget".
{| class="wikitable" border="1"
|-
! Value || Name || DeviceCode || Description
|-
| 0 || || 0x3C000004 || SdCard
|-
| 1 || || 0x34000007 || DisplayPort, HDMI
|-
| 2 || || ||
|-
| 3 || || 0x3500041A || SioMcu
|}


= PowerDomainState =
= PowerDomainState =