[coreboot-gerrit] Change in coreboot[master]: mb/google/poppy/variants/nocturne: sx9310 to 400kb

Patrick Georgi (Code Review) gerrit at coreboot.org
Wed Aug 15 11:37:56 CEST 2018


Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/28075 )

Change subject: mb/google/poppy/variants/nocturne: sx9310 to 400kb
......................................................................

mb/google/poppy/variants/nocturne: sx9310 to 400kb

The spec of the sx9310 says the I2C interface can handle standard
(100kb/s) and fast mode (400kb/s).  The current setting is using fast
plus (1000kb/s) so this change is reducing the speed to fast mode.

I've been using the sensors with this change for a few weeks now, though
I also don't recall seeing an issue prior to this change.

Change-Id: I337fc02c52565d6ec4d7bac1b3564f65238962dc
Signed-off-by: Matt Delco <delco at chromium.org>
Reviewed-on: https://review.coreboot.org/28075
Tested-by: build bot (Jenkins) <no-reply at coreboot.org>
Reviewed-by: Furquan Shaikh <furquan at google.com>
---
M src/mainboard/google/poppy/variants/nocturne/devicetree.cb
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  build bot (Jenkins): Verified
  Furquan Shaikh: Looks good to me, approved



diff --git a/src/mainboard/google/poppy/variants/nocturne/devicetree.cb b/src/mainboard/google/poppy/variants/nocturne/devicetree.cb
index 2c074e9..4fbd0ff 100644
--- a/src/mainboard/google/poppy/variants/nocturne/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/nocturne/devicetree.cb
@@ -298,7 +298,7 @@
 			chip drivers/i2c/sx9310
 				register "desc" = ""Right SAR Proximity Sensor""
 				register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D9_IRQ)"
-				register "speed" = "I2C_SPEED_FAST_PLUS"
+				register "speed" = "I2C_SPEED_FAST"
 				register "uid" = "0"
 				register "reg_prox_ctrl0" = "0x10"
 				register "reg_prox_ctrl1" = "0x00"
@@ -339,7 +339,7 @@
 			chip drivers/i2c/sx9310
 				register "desc" = ""Left SAR Proximity Sensor""
 				register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D10_IRQ)"
-				register "speed" = "I2C_SPEED_FAST_PLUS"
+				register "speed" = "I2C_SPEED_FAST"
 				register "uid" = "1"
 				register "reg_prox_ctrl0" = "0x10"
 				register "reg_prox_ctrl1" = "0x00"

-- 
To view, visit https://review.coreboot.org/28075
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I337fc02c52565d6ec4d7bac1b3564f65238962dc
Gerrit-Change-Number: 28075
Gerrit-PatchSet: 2
Gerrit-Owner: Matt Delco <delco at chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan at google.com>
Gerrit-Reviewer: Gwendal Grignou <gwendal at chromium.org>
Gerrit-Reviewer: Matt Delco <delco at chromium.org>
Gerrit-Reviewer: Patrick Georgi <pgeorgi at google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180815/5eff47ac/attachment.html>


More information about the coreboot-gerrit mailing list