Message ID | 20190827092339.8858-14-jacopo@jmondi.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [DO,NOT,MERGE] mb/google/poppy/variant/soraka: Add camera properties | expand |
diff --git a/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/cam0.asl b/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/cam0.asl index 5bb8df5b75..07a1bf3ff7 100644 --- a/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/cam0.asl +++ b/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/cam0.asl @@ -47,6 +47,8 @@ Scope (\_SB.PCI0.I2C2) }, ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), Package () { + Package () { "location", 0 }, + Package () { "rotation", 0 }, Package () { "clock-frequency", 19200000 }, Package () { "lens-focus", Package () { \_SB.PCI0.I2C2.VCM0 } diff --git a/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/cam1.asl b/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/cam1.asl index d7640b249d..1814b422a2 100644 --- a/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/cam1.asl +++ b/src/mainboard/google/poppy/variants/baseboard/include/baseboard/acpi/cam1.asl @@ -47,6 +47,8 @@ Scope (\_SB.PCI0.I2C4) }, ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), Package () { + Package () { "location", 1 }, + Package () { "rotation", 0 }, Package () { "clock-frequency", 19200000 }, } })
Add the 'rotation' and 'location' properties to the cameras .asl files. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> --- .../poppy/variants/baseboard/include/baseboard/acpi/cam0.asl | 2 ++ .../poppy/variants/baseboard/include/baseboard/acpi/cam1.asl | 2 ++ 2 files changed, 4 insertions(+)