diff options
-rw-r--r-- | src/mainboard/google/dedede/Kconfig | 1 | ||||
-rw-r--r-- | src/mainboard/google/dedede/variants/bugzzy/gpio.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/dedede/variants/bugzzy/overridetree.cb | 13 |
3 files changed, 15 insertions, 1 deletions
diff --git a/src/mainboard/google/dedede/Kconfig b/src/mainboard/google/dedede/Kconfig index 29a94814aa..458dfc7f43 100644 --- a/src/mainboard/google/dedede/Kconfig +++ b/src/mainboard/google/dedede/Kconfig @@ -7,6 +7,7 @@ config BOARD_GOOGLE_BASEBOARD_DEDEDE select DRIVERS_I2C_GPIO_MUX select DRIVERS_I2C_HID select DRIVERS_I2C_SX9324 + select DRIVERS_I2C_SX9360 select DRIVERS_INTEL_DPTF select DRIVERS_SPI_ACPI select DRIVERS_USB_ACPI diff --git a/src/mainboard/google/dedede/variants/bugzzy/gpio.c b/src/mainboard/google/dedede/variants/bugzzy/gpio.c index 16cf61b22c..6d94cece96 100644 --- a/src/mainboard/google/dedede/variants/bugzzy/gpio.c +++ b/src/mainboard/google/dedede/variants/bugzzy/gpio.c @@ -46,6 +46,8 @@ static const struct pad_config gpio_table[] = { PAD_NC(GPP_E0, NONE), /* E1 : EMR_RESET_L */ PAD_CFG_GPO(GPP_E1, 0, DEEP), + /* E10 : LTE_SAR_SENSOR_INT */ + PAD_CFG_GPI_APIC(GPP_E10, NONE, PLTRST, LEVEL, NONE), /* E13 : DDI0_DDC_SCL */ PAD_CFG_NF(GPP_E13, NONE, DEEP, NF1), /* E14 : DDI0_DDC_SDA */ diff --git a/src/mainboard/google/dedede/variants/bugzzy/overridetree.cb b/src/mainboard/google/dedede/variants/bugzzy/overridetree.cb index 49f1e651f1..30e5e454dc 100644 --- a/src/mainboard/google/dedede/variants/bugzzy/overridetree.cb +++ b/src/mainboard/google/dedede/variants/bugzzy/overridetree.cb @@ -54,7 +54,7 @@ chip soc/intel/jasperlake #| | for TPM communication | #| | before memory is up | #| I2C0 | Trackpad | - #| I2C1 | Digitizer | + #| I2C1 | Digitizer, P-sensor(LTE) | #| I2C2 | Touchscreen | #| I2C3 | Camera | #| I2C4 | Audio | @@ -209,6 +209,17 @@ chip soc/intel/jasperlake register "hid_desc_reg_offset" = "0x1" device i2c 0x09 on end end + chip drivers/i2c/sx9360 + register "desc" = ""SAR Proximity Sensor - LTE"" + register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_E10_IRQ)" + register "uid" = "1" + register "proxraw_strength" = "1" + register "avg_pos_strength" = "256" + register "resolution" = "1024" + device i2c 28 on + probe DB_PORTS DB_PORTS_1C_1A_LTE + end + end end # I2C #1 device pci 15.2 on chip drivers/i2c/hid |