mb/google/dedede/var/bugzzy: Add SAR sensor
Present the Semtech SX9360 SAR sensor that protects the LTE antenna. The sensor is connected to i2c bus I2C1. BUG=b:194318328 BRANCH=dedede TEST=emerge-dedede coreboot Signed-off-by: Seunghwan Kim <sh_.kim@samsung.corp-partner.google.com> Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Change-Id: I9feef9d132c60738bafb22ceb7d3468c798fab9b Reviewed-on: https://review.coreboot.org/c/coreboot/+/59609 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
14a1c2778f
commit
58b2d86bb9
|
@ -7,6 +7,7 @@ config BOARD_GOOGLE_BASEBOARD_DEDEDE
|
||||||
select DRIVERS_I2C_GPIO_MUX
|
select DRIVERS_I2C_GPIO_MUX
|
||||||
select DRIVERS_I2C_HID
|
select DRIVERS_I2C_HID
|
||||||
select DRIVERS_I2C_SX9324
|
select DRIVERS_I2C_SX9324
|
||||||
|
select DRIVERS_I2C_SX9360
|
||||||
select DRIVERS_INTEL_DPTF
|
select DRIVERS_INTEL_DPTF
|
||||||
select DRIVERS_SPI_ACPI
|
select DRIVERS_SPI_ACPI
|
||||||
select DRIVERS_USB_ACPI
|
select DRIVERS_USB_ACPI
|
||||||
|
|
|
@ -46,6 +46,8 @@ static const struct pad_config gpio_table[] = {
|
||||||
PAD_NC(GPP_E0, NONE),
|
PAD_NC(GPP_E0, NONE),
|
||||||
/* E1 : EMR_RESET_L */
|
/* E1 : EMR_RESET_L */
|
||||||
PAD_CFG_GPO(GPP_E1, 0, DEEP),
|
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 */
|
/* E13 : DDI0_DDC_SCL */
|
||||||
PAD_CFG_NF(GPP_E13, NONE, DEEP, NF1),
|
PAD_CFG_NF(GPP_E13, NONE, DEEP, NF1),
|
||||||
/* E14 : DDI0_DDC_SDA */
|
/* E14 : DDI0_DDC_SDA */
|
||||||
|
|
|
@ -54,7 +54,7 @@ chip soc/intel/jasperlake
|
||||||
#| | for TPM communication |
|
#| | for TPM communication |
|
||||||
#| | before memory is up |
|
#| | before memory is up |
|
||||||
#| I2C0 | Trackpad |
|
#| I2C0 | Trackpad |
|
||||||
#| I2C1 | Digitizer |
|
#| I2C1 | Digitizer, P-sensor(LTE) |
|
||||||
#| I2C2 | Touchscreen |
|
#| I2C2 | Touchscreen |
|
||||||
#| I2C3 | Camera |
|
#| I2C3 | Camera |
|
||||||
#| I2C4 | Audio |
|
#| I2C4 | Audio |
|
||||||
|
@ -209,6 +209,17 @@ chip soc/intel/jasperlake
|
||||||
register "hid_desc_reg_offset" = "0x1"
|
register "hid_desc_reg_offset" = "0x1"
|
||||||
device i2c 0x09 on end
|
device i2c 0x09 on end
|
||||||
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
|
end # I2C #1
|
||||||
device pci 15.2 on
|
device pci 15.2 on
|
||||||
chip drivers/i2c/hid
|
chip drivers/i2c/hid
|
||||||
|
|
Loading…
Reference in New Issue