summaryrefslogtreecommitdiff
path: root/src/drivers/spi/sst.c
diff options
context:
space:
mode:
authorShon <shon.wang@quanta.corp-partner.google.com>2024-07-19 13:12:56 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-09-06 13:34:28 +0000
commit516a31551ef3b4da9840ffa6354aef17bff12535 (patch)
tree18f82285b18314e2dab429badf8589cd066c19f5 /src/drivers/spi/sst.c
parent93db775bf797f6d43ddb605a903d01f0157649c7 (diff)
mb/google/brask/var/bujia: Add PSYS setting
According to the Intel OPS spec, the DC power from display is 12~19V@8A max. It can't set PsysPmax by unknown voltage, so get voltage by ec command "ectool adcread 4" then calculate PsysPmax value. The OPS display can supply 90W power, configure psys_pl2 to limit the system power to 90W. BUG=b:329037849 BRANCH=firmware-brya-14505.B TEST= USE="fw_debug" LOCALES="en" emerge-brask chromeos-bmpblk intel-rplfsp intel-adlfsp coreboot chromeos-bootimage Check adcread value by ectool adcread 4. If get 19540, PsysPmax should be 19540 * 8000 ~= 156 W. Check FSP debug log have the following message. PsysPmax = 156W Change-Id: Ic6e9c6ce9f3179c7d63c1169695fbc23188456dd Signed-off-by: Shon <shon.wang@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83593 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Derek Huang <derekhuang@google.com>
Diffstat (limited to 'src/drivers/spi/sst.c')
0 files changed, 0 insertions, 0 deletions