mb/google/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: alec.wang <alec.wang@lcfc.corp-partner.google.com> Change-Id: I70f303995b106cca9758b36ebcde112ebcc90950 Reviewed-on: https://review.coreboot.org/c/coreboot/+/46333 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marco Chen <marcochen@google.com> Reviewed-by: Jamie Chen <jamie.chen@intel.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
This commit is contained in:
parent
3704b6d4ab
commit
e26e9b556d
|
@ -12,6 +12,7 @@ chip soc/intel/jasperlake
|
||||||
#| I2C1 | Digitizer |
|
#| I2C1 | Digitizer |
|
||||||
#| I2C2 | Touchscreen, Stylus |
|
#| I2C2 | Touchscreen, Stylus |
|
||||||
#| I2C4 | Audio |
|
#| I2C4 | Audio |
|
||||||
|
#| I2C5 | P-Sensor |
|
||||||
#+-------------------+---------------------------+
|
#+-------------------+---------------------------+
|
||||||
register "common_soc_config" = "{
|
register "common_soc_config" = "{
|
||||||
.gspi[0] = {
|
.gspi[0] = {
|
||||||
|
@ -30,6 +31,9 @@ chip soc/intel/jasperlake
|
||||||
.i2c[4] = {
|
.i2c[4] = {
|
||||||
.speed = I2C_SPEED_FAST,
|
.speed = I2C_SPEED_FAST,
|
||||||
},
|
},
|
||||||
|
.i2c[5] = {
|
||||||
|
.speed = I2C_SPEED_FAST,
|
||||||
|
},
|
||||||
}"
|
}"
|
||||||
|
|
||||||
# USB Port Configuration
|
# USB Port Configuration
|
||||||
|
@ -161,7 +165,16 @@ chip soc/intel/jasperlake
|
||||||
register "uid" = "1"
|
register "uid" = "1"
|
||||||
device i2c 29 on end
|
device i2c 29 on end
|
||||||
end
|
end
|
||||||
|
end # I2C 4
|
||||||
|
device pci 19.1 on
|
||||||
|
chip drivers/i2c/generic
|
||||||
|
register "hid" = ""STH9324""
|
||||||
|
register "name" = ""SEMTECH SX9324""
|
||||||
|
register "desc" = ""SAR Proximity Sensor""
|
||||||
|
register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_E11_IRQ)"
|
||||||
|
device i2c 28 on end
|
||||||
end
|
end
|
||||||
|
end # I2C 5
|
||||||
device pci 1f.3 on end # Intel HDA
|
device pci 1f.3 on end # Intel HDA
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue