summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeunghwan Kim <sh_.kim@samsung.com>2018-08-29 10:50:12 +0900
committerMartin Roth <martinroth@google.com>2018-08-30 18:59:10 +0000
commitaef592d9b66aa18d83b0a211ead26013ff1f7d98 (patch)
tree91a8fdf3dacb06fe8525e4c762219473d0d67779
parentd145c95208b5129701a6a4125767fa0118083cf5 (diff)
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@samsung.com> Reviewed-on: https://review.coreboot.org/28381 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Enrico Granata <egranata@chromium.org>
-rw-r--r--src/mainboard/google/poppy/variants/nautilus/devicetree.cb7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/poppy/variants/nautilus/devicetree.cb b/src/mainboard/google/poppy/variants/nautilus/devicetree.cb
index 37edd8af91..109d2b6a51 100644
--- a/src/mainboard/google/poppy/variants/nautilus/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/nautilus/devicetree.cb
@@ -334,6 +334,13 @@ chip soc/intel/skylake
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