From ede8f2673b8997eed1aa8471953a7053318585a3 Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Tue, 26 Jun 2018 16:48:20 -0700 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/27248 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh Reviewed-by: Gwendal Grignou --- src/mainboard/google/poppy/variants/nocturne/devicetree.cb | 4 ++-- 1 file 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"