summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEnrico Granata <egranata@chromium.org>2018-06-26 16:48:20 -0700
committerPatrick Georgi <pgeorgi@google.com>2018-06-28 09:30:09 +0000
commitede8f2673b8997eed1aa8471953a7053318585a3 (patch)
tree44c750d91b57e36aa78275dbd88a1253973e3f73 /src
parentc06ee50d3d5f0a5ffea7e71553bc2fec740e8b6c (diff)
downloadcoreboot-ede8f2673b8997eed1aa8471953a7053318585a3.tar.xz
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>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/poppy/variants/nocturne/devicetree.cb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/poppy/variants/nocturne/devicetree.cb b/src/mainboard/google/poppy/variants/nocturne/devicetree.cb
index 0797f62ee5..91c0b44990 100644
--- a/src/mainboard/google/poppy/variants/nocturne/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/nocturne/devicetree.cb
@@ -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"