mb/google/rex/var/karis: Update MIPI User facing camera settings

Update overridetree and GPIO settings for MIPI UFC due to updated
schematic updates.

BUG=b:298133153
TEST=emerge-rex coreboot

Change-Id: I4c3197e3f15e0cb3fc640b1749d8681299981563
Signed-off-by: Tyler Wang <tyler.wang@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77591
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eran Mitrani <mitrani@google.com>
This commit is contained in:
Tyler Wang 2023-08-31 14:09:41 +08:00 committed by Felix Held
parent 2d4b7d175c
commit e352ea1ccd
2 changed files with 15 additions and 18 deletions

View File

@ -24,8 +24,8 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_NF_IOSSTATE(GPP_A06, UP_20K, DEEP, NF1, IGNORE), PAD_CFG_NF_IOSSTATE(GPP_A06, UP_20K, DEEP, NF1, IGNORE),
/* GPP_A11 : [] ==> EN_UCAM_SENR_PWR */ /* GPP_A11 : [] ==> EN_UCAM_SENR_PWR */
PAD_CFG_GPO(GPP_A11, 0, DEEP), PAD_CFG_GPO(GPP_A11, 0, DEEP),
/* GPP_A12 : [] ==> EN_UCAM_PWR */ /* GPP_A12 : [] ==> EN_UCAM_PWR, test point. */
PAD_CFG_GPO(GPP_A12, 0, DEEP), PAD_NC(GPP_A12, NONE),
/* GPP_A13 : Not connected */ /* GPP_A13 : Not connected */
PAD_NC(GPP_A13, NONE), PAD_NC(GPP_A13, NONE),
/* GPP_A14 : NC pad. */ /* GPP_A14 : NC pad. */
@ -38,7 +38,7 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_GPI_APIC_LOCK(GPP_A17, NONE, LEVEL, INVERT, LOCK_CONFIG), PAD_CFG_GPI_APIC_LOCK(GPP_A17, NONE, LEVEL, INVERT, LOCK_CONFIG),
/* GPP_A18 : [] ==> CAM_PSW_L */ /* GPP_A18 : [] ==> CAM_PSW_L */
PAD_CFG_GPI_INT_LOCK(GPP_A18, NONE, EDGE_BOTH, LOCK_CONFIG), PAD_NC(GPP_A18, NONE),
/* GPP_A19 : [] ==> EN_PP3300_SSD */ /* GPP_A19 : [] ==> EN_PP3300_SSD */
PAD_CFG_GPO(GPP_A19, 1, DEEP), PAD_CFG_GPO(GPP_A19, 1, DEEP),
/* GPP_A20 : [] ==> SSD_PERST_L */ /* GPP_A20 : [] ==> SSD_PERST_L */
@ -60,8 +60,8 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_GPI(GPP_B05, NONE, DEEP), PAD_CFG_GPI(GPP_B05, NONE, DEEP),
/* GPP_B06 : [] ==> HP_INT_L_R */ /* GPP_B06 : [] ==> HP_INT_L_R */
PAD_CFG_GPI_INT(GPP_B06, NONE, PLTRST, EDGE_BOTH), PAD_CFG_GPI_INT(GPP_B06, NONE, PLTRST, EDGE_BOTH),
/* GPP_B07 : [] ==> RST_HP_L */ /* GPP_B07 : [] ==> CAM_DET_L */
PAD_CFG_GPO(GPP_B07, 1, DEEP), PAD_CFG_GPI_INT_LOCK(GPP_B07, NONE, EDGE_BOTH, LOCK_CONFIG),
/* GPP_B08 : net NC is not present in the given design */ /* GPP_B08 : net NC is not present in the given design */
PAD_NC(GPP_B08, NONE), PAD_NC(GPP_B08, NONE),
/* GPP_B09 : [] ==> EN_FCAM_PWR */ /* GPP_B09 : [] ==> EN_FCAM_PWR */
@ -154,8 +154,8 @@ static const struct pad_config gpio_table[] = {
PAD_NC(GPP_D06, NONE), PAD_NC(GPP_D06, NONE),
/* GPP_D07 : [] ==> FPMCU_UWB_MUX_SEL, test pad. */ /* GPP_D07 : [] ==> FPMCU_UWB_MUX_SEL, test pad. */
PAD_NC(GPP_D07, NONE), PAD_NC(GPP_D07, NONE),
/* GPP_D08 : net NC. Test pad. */ /* GPP_D08 : [] ==> CAM_NC_RES */
PAD_NC(GPP_D08, NONE), PAD_CFG_GPO(GPP_D08, 1, DEEP),
/* GPP_D09 : [] ==> I2S_MCLK_R */ /* GPP_D09 : [] ==> I2S_MCLK_R */
PAD_CFG_NF(GPP_D09, NONE, DEEP, NF2), PAD_CFG_NF(GPP_D09, NONE, DEEP, NF2),
/* GPP_D10 : [] ==> I2S_SPKR_SCLK_R */ /* GPP_D10 : [] ==> I2S_SPKR_SCLK_R */
@ -241,7 +241,7 @@ static const struct pad_config gpio_table[] = {
/* GPP_F06 : [] ==> WWAN_WLAN_COEX3 */ /* GPP_F06 : [] ==> WWAN_WLAN_COEX3 */
PAD_CFG_NF(GPP_F06, NONE, DEEP, NF1), PAD_CFG_NF(GPP_F06, NONE, DEEP, NF1),
/* GPP_F07 : [] ==> UCAM_MCLK_R */ /* GPP_F07 : [] ==> UCAM_MCLK_R */
PAD_CFG_GPO(GPP_F07, 0, DEEP), PAD_NC(GPP_F07, NONE),
/* GPP_F08 : [] ==> WLAN_PERST_L */ /* GPP_F08 : [] ==> WLAN_PERST_L */
PAD_CFG_GPO(GPP_F08, 1, DEEP), PAD_CFG_GPO(GPP_F08, 1, DEEP),
/* GPP_F09 : [] ==> WLAN_PE_WAKE_ODL */ /* GPP_F09 : [] ==> WLAN_PE_WAKE_ODL */
@ -301,8 +301,8 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_NF(GPP_H13, NONE, DEEP, NF1), PAD_CFG_NF(GPP_H13, NONE, DEEP, NF1),
/* GPP_H14 : [] ==> SLP_S0_GATE_R */ /* GPP_H14 : [] ==> SLP_S0_GATE_R */
PAD_CFG_GPO(GPP_H14, 1, PLTRST), PAD_CFG_GPO(GPP_H14, 1, PLTRST),
/* GPP_H15 : [] ==> EN_DMIC_SOC_DATA */ /* GPP_H15 : [] ==> CAM_SEN_EN */
PAD_CFG_GPO(GPP_H15, 0, PLTRST), PAD_CFG_GPO_LOCK(GPP_H15, 0, LOCK_CONFIG),
/* GPP_H16 : [] ==> DDIB_HDMI_CTRLCLK*/ /* GPP_H16 : [] ==> DDIB_HDMI_CTRLCLK*/
PAD_CFG_NF(GPP_H16, NONE, DEEP, NF1), PAD_CFG_NF(GPP_H16, NONE, DEEP, NF1),
/* GPP_H17 : [] ==> DDIB_HDMI_CTRLDATA */ /* GPP_H17 : [] ==> DDIB_HDMI_CTRLDATA */

View File

@ -345,13 +345,10 @@ chip soc/intel/meteorlake
register "acpi_name" = ""IPU0"" register "acpi_name" = ""IPU0""
register "device_type" = "INTEL_ACPI_CAMERA_CIO2" register "device_type" = "INTEL_ACPI_CAMERA_CIO2"
register "cio2_num_ports" = "2" register "cio2_num_ports" = "1"
register "cio2_lanes_used" = "{4,2}" # 4 and 2 CSI Camera lanes are used register "cio2_lanes_used" = "{2}" # 2 CSI Camera lanes are used
register "cio2_lane_endpoint[0]" = ""^I2C0.CAM0"" register "cio2_lane_endpoint[0]" = ""^I2C5.CAM0""
register "cio2_lane_endpoint[1]" = ""^I2C5.CAM1""
register "cio2_prt[0]" = "4" register "cio2_prt[0]" = "4"
register "cio2_prt[1]" = "0"
device generic 0 on end device generic 0 on end
end end
end end
@ -419,7 +416,7 @@ chip soc/intel/meteorlake
chip drivers/intel/mipi_camera chip drivers/intel/mipi_camera
register "acpi_hid" = ""INT3537"" register "acpi_hid" = ""INT3537""
register "acpi_uid" = "0" register "acpi_uid" = "0"
register "acpi_name" = ""CAM1"" register "acpi_name" = ""CAM0""
register "chip_name" = ""Hi-556 Camera"" register "chip_name" = ""Hi-556 Camera""
register "device_type" = "INTEL_ACPI_CAMERA_SENSOR" register "device_type" = "INTEL_ACPI_CAMERA_SENSOR"
register "has_power_resource" = "1" register "has_power_resource" = "1"
@ -457,7 +454,7 @@ chip soc/intel/meteorlake
chip drivers/intel/mipi_camera chip drivers/intel/mipi_camera
register "acpi_hid" = "ACPI_DT_NAMESPACE_HID" register "acpi_hid" = "ACPI_DT_NAMESPACE_HID"
register "acpi_uid" = "1" register "acpi_uid" = "1"
register "acpi_name" = ""NVM1"" register "acpi_name" = ""NVM0""
register "chip_name" = ""ST M24C64X"" register "chip_name" = ""ST M24C64X""
register "device_type" = "INTEL_ACPI_CAMERA_NVM" register "device_type" = "INTEL_ACPI_CAMERA_NVM"