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>
This commit is contained in:
parent
39c1b4f951
commit
5a702653cd
|
@ -216,14 +216,14 @@ chip soc/intel/jasperlake
|
||||||
register "reg_gnrl_ctrl0" = "0x0a"
|
register "reg_gnrl_ctrl0" = "0x0a"
|
||||||
register "reg_gnrl_ctrl1" = "0x22"
|
register "reg_gnrl_ctrl1" = "0x22"
|
||||||
register "reg_afe_ctrl0" = "0x20"
|
register "reg_afe_ctrl0" = "0x20"
|
||||||
register "reg_afe_ctrl3" = "0x00"
|
register "reg_afe_ctrl3" = "0x01"
|
||||||
register "reg_afe_ctrl4" = "0x47"
|
register "reg_afe_ctrl4" = "0x47"
|
||||||
register "reg_afe_ctrl6" = "0x00"
|
register "reg_afe_ctrl6" = "0x00"
|
||||||
register "reg_afe_ctrl7" = "0x47"
|
register "reg_afe_ctrl7" = "0x47"
|
||||||
register "reg_afe_ctrl8" = "0x12"
|
register "reg_afe_ctrl8" = "0x12"
|
||||||
register "reg_afe_ctrl9" = "0x08"
|
register "reg_afe_ctrl9" = "0x0f"
|
||||||
register "reg_afe_ph0" = "0x37"
|
register "reg_afe_ph0" = "0x37"
|
||||||
register "reg_afe_ph1" = "0x10"
|
register "reg_afe_ph1" = "0x29"
|
||||||
register "reg_afe_ph2" = "0x1f"
|
register "reg_afe_ph2" = "0x1f"
|
||||||
register "reg_afe_ph3" = "0x3d"
|
register "reg_afe_ph3" = "0x3d"
|
||||||
register "reg_prox_ctrl0" = "0x0b"
|
register "reg_prox_ctrl0" = "0x0b"
|
||||||
|
@ -232,7 +232,7 @@ chip soc/intel/jasperlake
|
||||||
register "reg_prox_ctrl3" = "0x20"
|
register "reg_prox_ctrl3" = "0x20"
|
||||||
register "reg_prox_ctrl4" = "0x0c"
|
register "reg_prox_ctrl4" = "0x0c"
|
||||||
register "reg_prox_ctrl5" = "0x00"
|
register "reg_prox_ctrl5" = "0x00"
|
||||||
register "reg_prox_ctrl6" = "0x1c"
|
register "reg_prox_ctrl6" = "0x2d"
|
||||||
register "reg_prox_ctrl7" = "0xc0"
|
register "reg_prox_ctrl7" = "0xc0"
|
||||||
register "reg_adv_ctrl0" = "0x00"
|
register "reg_adv_ctrl0" = "0x00"
|
||||||
register "reg_adv_ctrl1" = "0x00"
|
register "reg_adv_ctrl1" = "0x00"
|
||||||
|
@ -252,13 +252,13 @@ chip soc/intel/jasperlake
|
||||||
register "reg_adv_ctrl15" = "0x0c"
|
register "reg_adv_ctrl15" = "0x0c"
|
||||||
register "reg_adv_ctrl16" = "0x04"
|
register "reg_adv_ctrl16" = "0x04"
|
||||||
register "reg_adv_ctrl17" = "0x70"
|
register "reg_adv_ctrl17" = "0x70"
|
||||||
register "reg_adv_ctrl18" = "0x20"
|
register "reg_adv_ctrl18" = "0x40"
|
||||||
register "reg_adv_ctrl19" = "0x00"
|
register "reg_adv_ctrl19" = "0x00"
|
||||||
register "reg_adv_ctrl20" = "0x00"
|
register "reg_adv_ctrl20" = "0x00"
|
||||||
register "reg_irq_msk" = "0x6f"
|
register "reg_irq_msk" = "0x6f"
|
||||||
register "reg_irq_cfg0" = "0x00"
|
register "reg_irq_cfg0" = "0x00"
|
||||||
register "reg_irq_cfg1" = "0x80"
|
register "reg_irq_cfg1" = "0x80"
|
||||||
register "reg_irq_cfg2" = "0x01"
|
register "reg_irq_cfg2" = "0x00"
|
||||||
device i2c 28 on end
|
device i2c 28 on end
|
||||||
end
|
end
|
||||||
end # I2C 5
|
end # I2C 5
|
||||||
|
|
Loading…
Reference in New Issue