diff options
author | reno.wang <reno.wang@lcfc.corp-partner.google.com> | 2021-10-27 19:37:54 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-12-02 07:55:13 +0000 |
commit | 56936bef44842fea8b29d2e01d59236bc716d22c (patch) | |
tree | cd3c0e67b1b47f561eeca49a5dd2b74d482a030b | |
parent | 8e1ac80d98f2349a133e717e44f50948687706f6 (diff) | |
download | chrome-ec-56936bef44842fea8b29d2e01d59236bc716d22c.tar.gz |
taeko: enable PD_PREFER_LOW_VOLTAGE
Enable PD_PREFER_LOW_VOLTAGE to select PDO which is lower voltage if
there are two PDOs with same max power. It can have higher power
efficiency.
BUG=b:208394216
BRANCH=None
TEST=make -j BOARD=taeko
Signed-off-by: reno.wang <reno.wang@lcfc.corp-partner.google.com>
Change-Id: I61348f44a5ec7798dfbf94914f40a0fc4e280998
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3247511
Reviewed-by: Boris Mittelberg <bmbm@google.com>
-rw-r--r-- | board/taeko/board.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/taeko/board.h b/board/taeko/board.h index 66905bb82d..0561d77a48 100644 --- a/board/taeko/board.h +++ b/board/taeko/board.h @@ -104,6 +104,9 @@ #define PD_MAX_CURRENT_MA 3000 #define PD_MAX_VOLTAGE_MV 20000 +/* The lower the input voltage, the higher the power efficiency. */ +#define PD_PREFER_LOW_VOLTAGE + /* * Macros for GPIO signals used in common code that don't match the * schematic names. Signal names in gpio.inc match the schematic and are |