Yan Liu has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/43478 )
Change subject: mb/mainboard/dedede: Add P-sensor for Boten ......................................................................
mb/mainboard/dedede: Add P-sensor for Boten
Add devicetree and device ID for P-sensor
BUG=b:161217096 BRANCH=NONE TEST=We can get the data from P-sensor if touch the SAR antenna. Signed-off-by: Yan Liu yan.liu@bitland.corp-partner.google.com Change-Id: I8e02c2cf477aa83b3d4c69ce84d48a8ad1a2560f --- M src/mainboard/google/dedede/Kconfig M src/mainboard/google/dedede/variants/boten/overridetree.cb 2 files changed, 10 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/78/43478/1
diff --git a/src/mainboard/google/dedede/Kconfig b/src/mainboard/google/dedede/Kconfig index dcea3fa..0658e66 100644 --- a/src/mainboard/google/dedede/Kconfig +++ b/src/mainboard/google/dedede/Kconfig @@ -17,6 +17,7 @@ select MAINBOARD_HAS_SPI_TPM_CR50 select MAINBOARD_HAS_TPM2 select SOC_INTEL_JASPERLAKE + select DRIVERS_I2C_SX9310
if BOARD_GOOGLE_BASEBOARD_DEDEDE
diff --git a/src/mainboard/google/dedede/variants/boten/overridetree.cb b/src/mainboard/google/dedede/variants/boten/overridetree.cb index 46fe20e..e743abe 100644 --- a/src/mainboard/google/dedede/variants/boten/overridetree.cb +++ b/src/mainboard/google/dedede/variants/boten/overridetree.cb @@ -140,6 +140,15 @@ device i2c 29 on end end end # I2C 4 + device pci 19.1 on + chip drivers/i2c/generic + register "hid" = ""sx932x"" + register "name" = ""Semtech sx932x"" + register "desc" = ""SAR Proximity Sensor"" + register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_E11_IRQ)" + device i2c 28 on end + end + end # I2C 5 device pci 1f.3 on end # Intel HDA/cAVS end end