Difference between revisions of "PinePhone Power Management"
Jump to navigation
Jump to search
(Created page with "The data on this page is based on the the PinePhone v1.1 - Braveheart. == Regulators == {| class="wikitable" |+ Current Assignment |- ! Name/GPIO ! Output Voltage ! Disa...") |
|||
Line 2: | Line 2: | ||
== Regulators == | == Regulators == | ||
=== Current Assignments === | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Name/GPIO | ! Name/GPIO | ||
Line 10: | Line 11: | ||
! Disable at runtime? | ! Disable at runtime? | ||
! Disable in suspend? | ! Disable in suspend? | ||
! Uses | ! Uses (internal/external separated by semicolon) | ||
|- | |- | ||
| DCDC1 | | DCDC1 | ||
| 3.3V | | 3.3V | ||
| No | | No | ||
| | | Yes (breaks MMC0) | ||
| VCC-EFUSE, VCC-IO, VCC-PC (VQMMC2), VCC-PD, VCC-USB; Modem I2C/PCM/UART | | VCC-EFUSE, VCC-IO, VCC-PC (VQMMC2), VCC-PD, VCC-USB; Modem I2C/PCM/UART, Motor, Pogo I2C, UART0, VMMC0, VMMC2, WiFi CHIP_EN | ||
|- | |- | ||
| DCDC2 | | DCDC2 | ||
| | | DVFS | ||
| No | | No | ||
| Yes | | Yes | ||
Line 25: | Line 26: | ||
|- | |- | ||
| DCDC3 | | DCDC3 | ||
| | | DVFS | ||
| N/A | | N/A | ||
| N/A | | N/A | ||
Line 76: | Line 77: | ||
| No (ANX7688 [AVDD33, VCONN_EN Disable Pull-up]) | | No (ANX7688 [AVDD33, VCONN_EN Disable Pull-up]) | ||
| No | | No | ||
| HVCC, VCC-DSI; ANX7688 [AVDD33, HDMI_VT, I2C, | | HVCC, VCC-DSI; ANX7688 [AVDD33, HDMI_VT, I2C, ANX-V1.0 Enable, VCONN_EN Disable Pull-up], HDMI [DDC, HPD], Proximity LED, Sensor I2C, Sensor VDD | ||
|- | |- | ||
| DLDO2 | | DLDO2 | ||
Line 130: | Line 131: | ||
| Yes | | Yes | ||
| Yes | | Yes | ||
| | | Backlight, LCD, Proximity sensor, Touchscreen [I2C, VCC] | ||
|- | |- | ||
| GPIO1-LDO | | GPIO1-LDO | ||
Line 174: | Line 175: | ||
| ANX7688 [AVDD1V0, DVDD1V0] | | ANX7688 [AVDD1V0, DVDD1V0] | ||
|} | |} | ||
=== Suggested Changes === | |||
==== ANX7688 ==== | |||
# Move ANX7688 AVDD33 (the chip input only, not the other things connected to 3v3) and ANX7688 I2C Level Shift (3.3V side) from DLD01 to DCDC1 | |||
# Move ANX7688 DVDD1V8 (the chip input only, not the other things labeled DVDD1V8) from GPIO1-LDO to ALDO2 | |||
# Move ANX7688 ANX-V1.0 Regulator Enable and ANX7688 VCONN_EN Disable Pull-up from DLDO1 to GPIO1-LDO | |||
The result of these changes would be that: | |||
# The always-on part of the ANX7688 chip will always be powered | |||
# GPIO1-LDO only needs to be powered when a USB cable is detected, and is enough to power the rest of the chip (except HDMI) | |||
# DLDO1 only needs to be enabled if the display pipeline or sensors are active, even if a USB cable is plugged in | |||
=== Open Questions === | === Open Questions === | ||
* How is ANX1.8V actually powered? from GPIO1-LDO or PS or both? | * How is ANX1.8V actually powered? from GPIO1-LDO or PS or both? | ||
* What exactly is the modem PWRKEY connected to? | |||
== GPIO == | == GPIO == |
Revision as of 06:20, 12 February 2020
The data on this page is based on the the PinePhone v1.1 - Braveheart.
Regulators
Current Assignments
Name/GPIO | Output Voltage | Disable at runtime? | Disable in suspend? | Uses (internal/external separated by semicolon) |
---|---|---|---|---|
DCDC1 | 3.3V | No | Yes (breaks MMC0) | VCC-EFUSE, VCC-IO, VCC-PC (VQMMC2), VCC-PD, VCC-USB; Modem I2C/PCM/UART, Motor, Pogo I2C, UART0, VMMC0, VMMC2, WiFi CHIP_EN |
DCDC2 | DVFS | No | Yes | VDD-CPUX |
DCDC3 | DVFS | N/A | N/A | VDD-CPUX (polyphase with DCDC2) |
DCDC4 | N/A | Yes | Yes | Not used |
DCDC5 | 1.2V | No | Yes (future) | VCC-DRAM; DRAM |
DCDC6 | 1.1V | No | Yes (future) | VDD-SYS |
DC1SW | N/A | Yes | Yes | Not used |
ALDO1 | 2.8V | Yes | Yes | VCC-PE; Camera AFVCC, Camera DOVDD, CSI I2C, Pogo I2C |
ALDO2 | 1.8V | No | No | VCC-PL; Pogo INT |
ALDO3 | 3.0V | No | Yes (future) | AVCC, KEYADC, VCC-PLL |
DLDO1 | 3.3V | No (ANX7688 [AVDD33, VCONN_EN Disable Pull-up]) | No | HVCC, VCC-DSI; ANX7688 [AVDD33, HDMI_VT, I2C, ANX-V1.0 Enable, VCONN_EN Disable Pull-up], HDMI [DDC, HPD], Proximity LED, Sensor I2C, Sensor VDD |
DLDO2 | 1.8V | Yes | Yes | MIPI-DSI VIO |
DLDO3 | 2.8V | Yes | Yes | Camera AVDD |
DLDO4 | 3.3V | Yes | Yes | VCC-PG; VQMMC1 |
ELDO1 | 1.8V | No | No (DRAM) | CPVDD; DRAM |
ELDO2 | N/A | Yes | Yes | Not used |
ELDO3 | 1.8V | Yes | Yes | Camera DVDD |
FLDO1 | 1.2V | Yes | Yes | HSIC-VCC (not used) |
FLDO2 | 1.1V | No | No (VDD-CPUS) | VDD-CPUS |
GPIO0-LDO | 3.3V | Yes | Yes | Backlight, LCD, Proximity sensor, Touchscreen [I2C, VCC] |
GPIO1-LDO | 1.8V | No (ANX7688 DVDD1V8) | No (ANX7688 DVDD1V8) | ANX7688 [AVDD1V8, DVDD1V8, CC, HDMI DDC, I2C, Power/Reset pull-up] |
PD6 | 5.0V | Yes | Yes | USB OTG |
PD8 | 5.0V | Yes | Yes | Pogo supply, USB OTG via PD6 |
PD9 | 5.0V | Yes | Yes | VCONN (USB Type C) |
PH10 | PWM | Yes | Yes | Backlight |
PL7 | VBAT | Yes | Yes | Modem |
ANX-V1.0 | 1.0V | Yes | Yes | ANX7688 [AVDD1V0, DVDD1V0] |
Suggested Changes
ANX7688
- Move ANX7688 AVDD33 (the chip input only, not the other things connected to 3v3) and ANX7688 I2C Level Shift (3.3V side) from DLD01 to DCDC1
- Move ANX7688 DVDD1V8 (the chip input only, not the other things labeled DVDD1V8) from GPIO1-LDO to ALDO2
- Move ANX7688 ANX-V1.0 Regulator Enable and ANX7688 VCONN_EN Disable Pull-up from DLDO1 to GPIO1-LDO
The result of these changes would be that:
- The always-on part of the ANX7688 chip will always be powered
- GPIO1-LDO only needs to be powered when a USB cable is detected, and is enough to power the rest of the chip (except HDMI)
- DLDO1 only needs to be enabled if the display pipeline or sensors are active, even if a USB cable is plugged in
Open Questions
- How is ANX1.8V actually powered? from GPIO1-LDO or PS or both?
- What exactly is the modem PWRKEY connected to?