mb/google/poppy/variants/nautilus: Add SAR sensor device into devicetree.cb

This change defines SAR sensor device into devicetree.cb.
Since only LTE sku has SAR sensor, we will use GPP_B20 as a device_present_gpio.

BUG=None
BRANCH=poppy
TEST=Verified SAR sensor device is loaded by driver in Chrome OS

Change-Id: Ib4969e4b82d18b1b1a599de8226c2d7d4bda7915
Signed-off-by: Seunghwan Kim <sh_.kim@samsung.com>
Reviewed-on: https://review.coreboot.org/27149
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Seunghwan Kim 2018-06-15 15:26:47 +09:00 committed by Furquan Shaikh
parent d4475fc6f9
commit 5bf6347cf8
1 changed files with 10 additions and 1 deletions

View File

@ -328,7 +328,16 @@ chip soc/intel/skylake
device i2c 50 on end device i2c 50 on end
end end
end # I2C #1 end # I2C #1
device pci 15.2 on end # I2C #2 device pci 15.2 on
chip drivers/i2c/generic
register "hid" = ""SX9321""
register "name" = ""SEMTECH SX9321""
register "desc" = ""SAR Proximity Sensor""
register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_A18_IRQ)"
register "device_present_gpio" = "GPP_B20"
device i2c 28 on end
end
end # I2C #2
device pci 15.3 on device pci 15.3 on
chip drivers/i2c/hid chip drivers/i2c/hid
register "generic.hid" = ""ACPI0C50"" register "generic.hid" = ""ACPI0C50""