From c6c4217968a9cc25e236b644781fbea601c183df Mon Sep 17 00:00:00 2001 From: V Sowmya Date: Tue, 12 Sep 2017 11:20:41 +0530 Subject: 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 Reviewed-on: https://review.coreboot.org/21508 Tested-by: build bot (Jenkins) Reviewed-by: Rajmohan Mani Reviewed-by: Sumeet R Pawnikar Reviewed-by: Tomasz Figa Reviewed-by: Furquan Shaikh --- src/mainboard/google/poppy/acpi/mipi_camera.asl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/mainboard/google/poppy/acpi') 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 }) } -- cgit v1.2.3