mb/google/nissa/var/quandiso: Tune P-sensors for Linux 5.15 sx9324

driver

Since DRIVERS_I2C_SX9324_SUPPORT_LEGACY_LINUX_DRIVER value on dedede
cannot meet DRIVERS_I2C_SX9324 on nissa, need to update the tuning
value. Update proximity sensor fine tune value with quandiso EVT
machine.

BUG=b:314550601
BRANCH=firmware-nissa-15217.B
TEST=emerge-nissa coreboot and verify p-sensor
watch 'cat /sys/bus/iio/devices/iio:device*/*raw'

Change-Id: I5fc3bc5876594f2df79d628bd986113d37087c3d
Signed-off-by: Robert Chen <robert.chen@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79724
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <ericllai@google.com>
This commit is contained in:
Robert Chen 2023-12-22 00:27:01 -05:00 committed by Eric Lai
parent 1f9f19b995
commit da7d5fb3ff
1 changed files with 4 additions and 5 deletions

View File

@ -290,10 +290,9 @@ chip soc/intel/alderlake
register "desc" = ""SAR Proximity Sensor"" register "desc" = ""SAR Proximity Sensor""
register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_H19_IRQ)" register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_H19_IRQ)"
register "speed" = "I2C_SPEED_FAST" register "speed" = "I2C_SPEED_FAST"
register "uid" = "2" register "uid" = "1"
register "ph0_pin" = "{1, 3, 3}"
register "ph0_pin" = "{3, 1, 3}" register "ph1_pin" = "{3, 2, 1}"
register "ph1_pin" = "{1, 2, 2}"
register "ph2_pin" = "{3, 3, 1}" register "ph2_pin" = "{3, 3, 1}"
register "ph3_pin" = "{1, 3, 3}" register "ph3_pin" = "{1, 3, 3}"
register "ph01_resolution" = "1024" register "ph01_resolution" = "1024"
@ -304,7 +303,7 @@ chip soc/intel/alderlake
register "avg_pos_strength" = "256" register "avg_pos_strength" = "256"
register "cs_idle_sleep" = ""gnd"" register "cs_idle_sleep" = ""gnd""
register "int_comp_resistor" = ""lowest"" register "int_comp_resistor" = ""lowest""
register "input_precharge_resistor_ohms" = "4000" register "input_precharge_resistor_ohms" = "2000"
register "input_analog_gain" = "3" register "input_analog_gain" = "3"
device i2c 28 on device i2c 28 on
probe DB_USB DB_LTE probe DB_USB DB_LTE