Skip to content

Commit

Permalink
board/ncm/v5.0tnx: disable PsysPL
Browse files Browse the repository at this point in the history
These power limits work on CPU only, but the GPU is the major power
consumer on these boards. Applying Psys power limits only results in CPU
being stuck at 400MHz while GPU is doing anything.

Signed-off-by: Michał Kopeć <[email protected]>
  • Loading branch information
mkopec committed Dec 3, 2024
1 parent 3920d55 commit 7fedef6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/board/novacustom/v540tnx/board.mk
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ CFLAGS += \
-DCHARGER_CHARGE_VOLTAGE=17600 \
-DCHARGER_INPUT_CURRENT=9000

# Set CPU power limits in watts
# Set CPU power limits in watts and disable setting PSYS
# AC: power rating of the included AC adapter
# DC: battery discharge rate (assume 1C rating??)
# DC: battery discharge rate (1c discharge rate)
CFLAGS += \
-DPOWER_LIMIT_PSYS_ENABLE=0 \
-DPOWER_LIMIT_AC=180 \
-DPOWER_LIMIT_DC=80

Expand Down
5 changes: 3 additions & 2 deletions src/board/novacustom/v560tnx/board.mk
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@ CFLAGS += \
-DCHARGER_CHARGE_VOLTAGE=17600 \
-DCHARGER_INPUT_CURRENT=9000

# Set CPU power limits in watts
# Set CPU power limits in watts and disable setting PSYS
# AC: power rating of the included AC adapter
# DC: battery discharge rate (assume 1C rating??)
# DC: battery discharge rate (1c discharge rate)
CFLAGS += \
-DPOWER_LIMIT_PSYS_ENABLE=0 \
-DPOWER_LIMIT_AC=180 \
-DPOWER_LIMIT_DC=80

Expand Down

0 comments on commit 7fedef6

Please sign in to comment.