[coreboot-gerrit] Change in coreboot[master]: mb/google/poppy/variants/nautilus: Set grip sensor threshold

Martin Roth (Code Review) gerrit at coreboot.org
Thu Aug 30 20:59:14 CEST 2018


Martin Roth has submitted this change and it was merged. ( https://review.coreboot.org/28381 )

Change subject: mb/google/poppy/variants/nautilus: Set grip sensor threshold
......................................................................

mb/google/poppy/variants/nautilus: Set grip sensor threshold

Set threshold parameter for grip sensor STH9321
.ProxCtrl6: 75
.ProxCtrl7: 99

BUG=b:113303916
BRANCH=poppy
TEST=Built and verified  parameter passed to driver

Change-Id: I8a410a23b5e3831fc8e90118b810fc2409a026eb
Signed-off-by: Seunghwan Kim <sh_.kim at samsung.com>
Reviewed-on: https://review.coreboot.org/28381
Tested-by: build bot (Jenkins) <no-reply at coreboot.org>
Reviewed-by: Furquan Shaikh <furquan at google.com>
Reviewed-by: Enrico Granata <egranata at chromium.org>
---
M src/mainboard/google/poppy/variants/nautilus/devicetree.cb
1 file changed, 7 insertions(+), 0 deletions(-)

Approvals:
  build bot (Jenkins): Verified
  Furquan Shaikh: Looks good to me, approved
  Enrico Granata: Looks good to me, but someone else must approve



diff --git a/src/mainboard/google/poppy/variants/nautilus/devicetree.cb b/src/mainboard/google/poppy/variants/nautilus/devicetree.cb
index 37edd8a..109d2b6 100644
--- a/src/mainboard/google/poppy/variants/nautilus/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/nautilus/devicetree.cb
@@ -334,6 +334,13 @@
 				register "desc" = ""SAR Proximity Sensor""
 				register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_A18_IRQ)"
 				register "device_present_gpio" = "GPP_B20"
+				register "property_count" = "2"
+				register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
+				register "property_list[0].name" = ""STH9321,reg_prox_ctrl6""
+				register "property_list[0].integer" = "75"
+				register "property_list[1].type" = "ACPI_DP_TYPE_INTEGER"
+				register "property_list[1].name" = ""STH9321,reg_prox_ctrl7""
+				register "property_list[1].integer" = "99"
 				device i2c 28 on end
 			end
 		end # I2C #2

-- 
To view, visit https://review.coreboot.org/28381
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: I8a410a23b5e3831fc8e90118b810fc2409a026eb
Gerrit-Change-Number: 28381
Gerrit-PatchSet: 3
Gerrit-Owner: Seunghwan Kim <sh_.kim at samsung.com>
Gerrit-Reviewer: Enrico Granata <egranata at chromium.org>
Gerrit-Reviewer: Enrico Granata <egranata at google.com>
Gerrit-Reviewer: Furquan Shaikh <furquan at google.com>
Gerrit-Reviewer: Martin Roth <martinroth at google.com>
Gerrit-Reviewer: Seunghwan Kim <sh_.kim at samsung.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/20180830/d720f5eb/attachment.html>


More information about the coreboot-gerrit mailing list