aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/intel/mipi_camera/chip.h
diff options
context:
space:
mode:
authorMatt Delco <delco@chromium.org>2020-06-17 13:10:22 +0530
committerPatrick Georgi <pgeorgi@google.com>2020-07-07 14:44:42 +0000
commit879b3c195f6b441c88c768f0cff025128a54986d (patch)
treeb3e06564ccf3de5221f791a22632534e26fb9a3f /src/drivers/intel/mipi_camera/chip.h
parent1ffee9d7f1065e6eee94a8b6ca45be9673122a19 (diff)
drivers/intel/mipi_camera: Add support to handle CIO2 device
This change updates mipi_camera driver to handle CIO2 device type. Change-Id: I521740524bc1c4da3d8593f011a033542e4a872c Signed-off-by: Sugnan Prabhu S <sugnan.prabhu.s@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42470 Reviewed-by: Rizwan Qureshi <rizwan.qureshi@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/intel/mipi_camera/chip.h')
-rw-r--r--src/drivers/intel/mipi_camera/chip.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/drivers/intel/mipi_camera/chip.h b/src/drivers/intel/mipi_camera/chip.h
index 32b11c1656..92d3eac6cf 100644
--- a/src/drivers/intel/mipi_camera/chip.h
+++ b/src/drivers/intel/mipi_camera/chip.h
@@ -131,6 +131,12 @@ struct drivers_intel_mipi_camera_config {
const char *chip_name;
unsigned int acpi_uid;
+ /* Settings specific to CIO2 device */
+ uint32_t cio2_num_ports;
+ uint32_t cio2_lanes_used[MAX_PORT_ENTRIES];
+ const char *cio2_lane_endpoint[MAX_PORT_ENTRIES];
+ uint32_t cio2_prt[MAX_PORT_ENTRIES];
+
/* Settings specific to camera sensor */
bool disable_ssdb_defaults;