diff options
author | Stanley Wu <stanley1.wu@lcfc.corp-partner.google.com> | 2021-03-08 23:09:12 +0800 |
---|---|---|
committer | Karthik Ramasubramanian <kramasub@google.com> | 2021-03-12 00:33:28 +0000 |
commit | 5a702653cdc9562ece3c7ab5da121d42af7edb10 (patch) | |
tree | 93b856707f4925dabb677720487f7540f7362e43 | |
parent | 39c1b4f951f77649ef86ffece8f9bd2f963c8484 (diff) | |
download | coreboot-5a702653cdc9562ece3c7ab5da121d42af7edb10.tar.xz |
mb/google/dedede/var/boten: Adjust p-sensor detect distance to 20mm
P-sensor vendor fine-tune detect distance as 20mm for WWAN SAR table switch.
BUG=b:179000150
BRANCH=dedede
TEST=run "i2cdump -y -f 15 0x28" to confirm registers as expected.
un-approach:
=> register address: 0x01 value: 0x00
approach:
=> register address: 0x01 value: 0x02
Confirm WWAN SAR table work as expected.
Signed-off-by: Stanley Wu <stanley1.wu@lcfc.corp-partner.google.com>
Change-Id: I659721e60aa0766ed4c277dae43ded222e18ad1c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51343
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | src/mainboard/google/dedede/variants/boten/overridetree.cb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mainboard/google/dedede/variants/boten/overridetree.cb b/src/mainboard/google/dedede/variants/boten/overridetree.cb index 6c0fdd62d1..9ff12bece4 100644 --- a/src/mainboard/google/dedede/variants/boten/overridetree.cb +++ b/src/mainboard/google/dedede/variants/boten/overridetree.cb @@ -216,14 +216,14 @@ chip soc/intel/jasperlake register "reg_gnrl_ctrl0" = "0x0a" register "reg_gnrl_ctrl1" = "0x22" register "reg_afe_ctrl0" = "0x20" - register "reg_afe_ctrl3" = "0x00" + register "reg_afe_ctrl3" = "0x01" register "reg_afe_ctrl4" = "0x47" register "reg_afe_ctrl6" = "0x00" register "reg_afe_ctrl7" = "0x47" register "reg_afe_ctrl8" = "0x12" - register "reg_afe_ctrl9" = "0x08" + register "reg_afe_ctrl9" = "0x0f" register "reg_afe_ph0" = "0x37" - register "reg_afe_ph1" = "0x10" + register "reg_afe_ph1" = "0x29" register "reg_afe_ph2" = "0x1f" register "reg_afe_ph3" = "0x3d" register "reg_prox_ctrl0" = "0x0b" @@ -232,7 +232,7 @@ chip soc/intel/jasperlake register "reg_prox_ctrl3" = "0x20" register "reg_prox_ctrl4" = "0x0c" register "reg_prox_ctrl5" = "0x00" - register "reg_prox_ctrl6" = "0x1c" + register "reg_prox_ctrl6" = "0x2d" register "reg_prox_ctrl7" = "0xc0" register "reg_adv_ctrl0" = "0x00" register "reg_adv_ctrl1" = "0x00" @@ -252,13 +252,13 @@ chip soc/intel/jasperlake register "reg_adv_ctrl15" = "0x0c" register "reg_adv_ctrl16" = "0x04" register "reg_adv_ctrl17" = "0x70" - register "reg_adv_ctrl18" = "0x20" + register "reg_adv_ctrl18" = "0x40" register "reg_adv_ctrl19" = "0x00" register "reg_adv_ctrl20" = "0x00" register "reg_irq_msk" = "0x6f" register "reg_irq_cfg0" = "0x00" register "reg_irq_cfg1" = "0x80" - register "reg_irq_cfg2" = "0x01" + register "reg_irq_cfg2" = "0x00" device i2c 28 on end end end # I2C 5 |