diff options
author | Sean Rhodes <sean@starlabs.systems> | 2024-10-04 12:07:24 +0100 |
---|---|---|
committer | Sean Rhodes <sean@starlabs.systems> | 2024-10-11 11:27:27 +0000 |
commit | dcda600ec3f3f17c71f8a10a34789d1c843392c0 (patch) | |
tree | 89c00fa6b7cbad2aa8316285dc8bc2c5e9775fc3 /src/mainboard/starlabs/byte_adl | |
parent | 4b3513056be7661268cd2d2dd98807d3e32f8ab0 (diff) |
mb/starlabs/*: Set PL4 to 1.0C of the battery
Override the PL4 to the maximum power the battery can provide
without a charger connected to prevent drawing too much power.
Change-Id: I2945e1ed0f33ab6692631e327c1457980b353c06
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84660
Reviewed-by: Maxim Polyakov <max.senia.poliak@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/starlabs/byte_adl')
-rw-r--r-- | src/mainboard/starlabs/byte_adl/variants/mk_ii/devtree.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/starlabs/byte_adl/variants/mk_ii/devtree.c b/src/mainboard/starlabs/byte_adl/variants/mk_ii/devtree.c index 86cedf12c3..925d9f0082 100644 --- a/src/mainboard/starlabs/byte_adl/variants/mk_ii/devtree.c +++ b/src/mainboard/starlabs/byte_adl/variants/mk_ii/devtree.c @@ -40,6 +40,9 @@ void devtree_update(void) break; } + /* Set PL4 to 1.0C */ + soc_conf_4core->tdp_pl4 = 36; + /* Enable/Disable Bluetooth based on CMOS settings */ if (get_uint_option("wireless", 1) == 0) { cfg->usb2_ports[9].enable = 0; |