Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24f1e7ad authored by Shadul Shaikh's avatar Shadul Shaikh
Browse files

msm: camera: Update CSIPHY/CSID v3.5 registers



Update CSIPHY v3.5 registers to align with CSIPHY HPG
and CSID v3.5 reset command register value.

Change-Id: Id3878b6a0877fe3acb0c69a5dba06f28765f249d
Signed-off-by: default avatarShadul Shaikh <sshadu@codeaurora.org>
parent e60bc8ba
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2015, 2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2015, 2018, 2020, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -49,7 +49,7 @@ static struct csid_reg_parms_t csid_v3_5 = {
	0xB8,
	0xBC,
	11,
	0x7FFF,
	0x7FFFF,
	0x4,
	17,
	0x30050000,
+5 −5
Original line number Diff line number Diff line
/* Copyright (c) 2015-2016, 2018-2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2015-2016, 2018-2020, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -26,7 +26,7 @@ static struct csiphy_reg_parms_t csiphy_v3_5 = {

static struct csiphy_reg_3ph_parms_t csiphy_v3_5_3ph = {
	/*MIPI CSI PHY registers*/
	{0x814, 0x0},
	{0x814, 0xD5},
	{0x818, 0x1},
	{0x188, 0x7F},
	{0x18C, 0x7F},
@@ -80,15 +80,15 @@ static struct csiphy_reg_3ph_parms_t csiphy_v3_5_3ph = {
	{0x4, 0x8},
	{0x8, 0x0},
	{0xC, 0xA5},
	{0x10, 0x52},
	{0x10, 0x50},
	{0x2C, 0x1},
	{0x30, 0x2},
	{0x34, 0x3},
	{0x34, 0x1},
	{0x38, 0x1},
	{0x3C, 0xB8},
	{0x1C, 0xA},
	{0x14, 0x0},
	{0x0, 0x0},
	{0x0, 0xD7},
	{0x700, 0xC0},
};
#endif