summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede/variants/drawcia
diff options
context:
space:
mode:
authorVarshit Pandya <varshit.b.pandya@intel.com>2021-04-08 18:20:38 +0530
committerPatrick Georgi <pgeorgi@google.com>2021-06-09 05:20:46 +0000
commitfc096888e17c2925955bff601b2baddb3b630373 (patch)
tree59485da6f3d60d630302073bbd67bbab0179bbe7 /src/mainboard/google/dedede/variants/drawcia
parent176c8877ce8820ecc4f74748c83ab993b938eac6 (diff)
mb/google/dedede/var/drawcia: Add low_power_probe config for camera devices
Add low_power_probe config to camera devices so that driver skips initial probe during kernel boot and hence prevents privacy LED blink. BUG=b:178060668 TEST=Build and boot to OS on Drawcia. Ensure no blink on privacy LED. Signed-off-by: Varshit Pandya <varshit.b.pandya@intel.com> Change-Id: I00dfe2ce0b57ff3eaa258204f49e79a280754dcf Reviewed-on: https://review.coreboot.org/c/coreboot/+/52190 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Subrata Banik <subrata.banik@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/dedede/variants/drawcia')
-rw-r--r--src/mainboard/google/dedede/variants/drawcia/overridetree.cb22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/mainboard/google/dedede/variants/drawcia/overridetree.cb b/src/mainboard/google/dedede/variants/drawcia/overridetree.cb
index e157894cbf..852af67461 100644
--- a/src/mainboard/google/dedede/variants/drawcia/overridetree.cb
+++ b/src/mainboard/google/dedede/variants/drawcia/overridetree.cb
@@ -257,6 +257,8 @@ chip soc/intel/jasperlake
register "remote_name" = ""IPU0""
register "has_power_resource" = "1"
+ register "low_power_probe" = "1"
+
#Controls
register "clk_panel.clks[0].clknum" = "1" #IMGCLKOUT_1
register "clk_panel.clks[0].freq" = "1" #19.2 Mhz
@@ -289,9 +291,17 @@ chip soc/intel/jasperlake
register "chip_name" = ""DW AF DAC""
register "device_type" = "INTEL_ACPI_CAMERA_VCM"
- register "pr0" = ""\\_SB.PCI0.I2C3.CAM1.PRIC""
+ register "has_power_resource" = "1"
register "vcm_compat" = ""dongwoon,dw9714""
+ register "low_power_probe" = "1"
+ register "gpio_panel.gpio[0].gpio_num" = "GPP_D13" #power_enable_2p8
+ #_ON
+ register "on_seq.ops_cnt" = "1"
+ register "on_seq.ops[0]" = "SEQ_OPS_GPIO_ENABLE(0, 0)"
+ #_OFF
+ register "off_seq.ops_cnt" = "1"
+ register "off_seq.ops[0]" = "SEQ_OPS_GPIO_DISABLE(0, 0)"
device i2c 0C on end
end
chip drivers/intel/mipi_camera
@@ -305,7 +315,17 @@ chip soc/intel/jasperlake
register "nvm_readonly" = "1"
register "nvm_width" = "0x08"
register "nvm_compat" = ""atmel,24c08""
+ register "low_power_probe" = "1"
+ register "has_power_resource" = "1"
+
+ register "gpio_panel.gpio[0].gpio_num" = "GPP_D14" #power_enable_1p2
+ #_ON
+ register "on_seq.ops_cnt" = "1"
+ register "on_seq.ops[0]" = "SEQ_OPS_GPIO_ENABLE(0, 0)"
+ #_OFF
+ register "off_seq.ops_cnt" = "1"
+ register "off_seq.ops[0]" = "SEQ_OPS_GPIO_DISABLE(0, 0)"
device i2c 50 on end
end
end # I2C 3