nocturne: Fix uid and desc for sx9310

This commit changes the uid and desc fields for the sx9310 entries
in the devicetree to be unique, and correctly identify the position
of the respective sensors.

Change-Id: I501df7d3349fdebc9673c9815f5b1b2458abac6e
Signed-off-by: Enrico Granata <egranata@chromium.org>
Reviewed-on: https://review.coreboot.org/27248
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
This commit is contained in:
Enrico Granata 2018-06-26 16:48:20 -07:00 committed by Patrick Georgi
parent c06ee50d3d
commit ede8f2673b
1 changed files with 2 additions and 2 deletions

View File

@ -301,10 +301,10 @@ chip soc/intel/skylake
end # I2C #0 - Touchscreen
device pci 15.1 on
chip drivers/i2c/sx9310
register "desc" = ""Left SAR Proximity Sensor""
register "desc" = ""Right SAR Proximity Sensor""
register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D9_IRQ)"
register "speed" = "I2C_SPEED_FAST_PLUS"
register "uid" = "1"
register "uid" = "0"
register "reg_prox_ctrl0" = "0x1A"
register "reg_prox_ctrl1" = "0x00"
register "reg_prox_ctrl2" = "0x84"