Selaa lähdekoodia

msm: camera: sensor: Add 2PD support for TPG0

Add interleaving format to support 2PD for tpg0.

CRs-Fixed: 3100297
Change-Id: Ic59c4cec0990faa3d70f45aa34baebaa33e08b2b
Signed-off-by: Rishab Garg <[email protected]>
Rishab Garg 3 vuotta sitten
vanhempi
sitoutus
31a3e23afc
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      drivers/cam_sensor_module/cam_tpg/tpg_hw/tpg_hw.c

+ 3 - 0
drivers/cam_sensor_module/cam_tpg/tpg_hw/tpg_hw.c

@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2021, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
  */
 
 #include "tpg_hw.h"
@@ -80,6 +81,8 @@ static const char * const tpg_interleaving_format_string[] = {
 	"TPG_INTERLEAVING_FORMAT_INVALID",
 	"TPG_INTERLEAVING_FORMAT_FRAME",
 	"TPG_INTERLEAVING_FORMAT_LINE",
+	"TPG_INTERLEAVING_FORMAT_SHDR",
+	"TPG_INTERLEAVING_FORMAT_SparsePD",
 	"TPG_INTERLEAVING_FORMAT_MAX"
 };