summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorV Sowmya <v.sowmya@intel.com>2017-09-12 11:20:41 +0530
committerMartin Roth <martinroth@google.com>2017-09-27 16:43:22 +0000
commitc6c4217968a9cc25e236b644781fbea601c183df (patch)
tree6637a95609b7431cdb0e338ec26734cdce38cad9 /src/mainboard
parent5a061852b2abbefaa5eb7cc4bc0e311e6c2ccc04 (diff)
downloadcoreboot-c6c4217968a9cc25e236b644781fbea601c183df.tar.xz
mb/google/poppy: Modify HID and add device tree support for VCM device
Modify the HID to align with ACPI spec. Add the DSD object for the device tree support in kernel which will probe the DW9714 device based on the HID. BUG=b:65423422 CQ-DEPEND=CL:654383 BRANCH=none TEST=Build and boot soraka. Verified that the VCM device probe is successful. Change-Id: Ic4a59dd2027267fbd3837fcd7dbc00551a69f7d6 Signed-off-by: V Sowmya <v.sowmya@intel.com> Reviewed-on: https://review.coreboot.org/21508 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Rajmohan Mani <rajmohan.mani@intel.com> Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com> Reviewed-by: Tomasz Figa <tfiga@google.com> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/poppy/acpi/mipi_camera.asl9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mainboard/google/poppy/acpi/mipi_camera.asl b/src/mainboard/google/poppy/acpi/mipi_camera.asl
index 6d9090d53c..29552f51ab 100644
--- a/src/mainboard/google/poppy/acpi/mipi_camera.asl
+++ b/src/mainboard/google/poppy/acpi/mipi_camera.asl
@@ -705,7 +705,7 @@ Scope (\_SB.PCI0.I2C2)
Device (VCM0)
{
- Name (_HID, "DWDWD000") /* _HID: Hardware ID */
+ Name (_HID, "PRP0001") /* _HID: Hardware ID */
Name (_UID, Zero) /* _UID: Unique ID */
Name (_DDN, "Dongwoon AF DAC") /* _DDN: DOS Device Name */
Name (CAMD, 0x03)
@@ -724,6 +724,13 @@ Scope (\_SB.PCI0.I2C2)
)
})
+ Name (_DSD, Package () {
+ ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
+ Package () {
+ Package () { "compatible", "dongwoon,dw9714" },
+ }
+ })
+
Name (_PR0, Package () { ^PMIC.VCMP })
Name (_PR3, Package () { ^PMIC.VCMP })
}