Commit 0c4d7fda authored by Bryan O'Donoghue's avatar Bryan O'Donoghue Committed by Mauro Carvalho Chehab

media: camss: Point sdm845 at the correct vdda regulators

Reviewing the RB3 schematic its clear that we have missed out on defining
one of the power-rails associated with the CSI PHY.

Other PHYs such as the UFS, PCIe and USB connect to these rails and define
each regulator individually.

This means if we were to switch off the other various PHYs which enable
these rails, the CAMSS would not appropriately power-on the CSI PHY.
Reviewed-by: default avatarRobert Foss <robert.foss@linaro.org>
Signed-off-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 81bdfa4f
...@@ -543,7 +543,7 @@ static const struct resources csiphy_res_845[] = { ...@@ -543,7 +543,7 @@ static const struct resources csiphy_res_845[] = {
static const struct resources csid_res_845[] = { static const struct resources csid_res_845[] = {
/* CSID0 */ /* CSID0 */
{ {
.regulators = { NULL }, .regulators = { "vdda-phy", "vdda-pll" },
.clock = { "cpas_ahb", "cphy_rx_src", "slow_ahb_src", .clock = { "cpas_ahb", "cphy_rx_src", "slow_ahb_src",
"soc_ahb", "vfe0", "vfe0_src", "soc_ahb", "vfe0", "vfe0_src",
"vfe0_cphy_rx", "csi0", "vfe0_cphy_rx", "csi0",
...@@ -563,7 +563,7 @@ static const struct resources csid_res_845[] = { ...@@ -563,7 +563,7 @@ static const struct resources csid_res_845[] = {
/* CSID1 */ /* CSID1 */
{ {
.regulators = { NULL }, .regulators = { "vdda-phy", "vdda-pll" },
.clock = { "cpas_ahb", "cphy_rx_src", "slow_ahb_src", .clock = { "cpas_ahb", "cphy_rx_src", "slow_ahb_src",
"soc_ahb", "vfe1", "vfe1_src", "soc_ahb", "vfe1", "vfe1_src",
"vfe1_cphy_rx", "csi1", "vfe1_cphy_rx", "csi1",
...@@ -583,7 +583,7 @@ static const struct resources csid_res_845[] = { ...@@ -583,7 +583,7 @@ static const struct resources csid_res_845[] = {
/* CSID2 */ /* CSID2 */
{ {
.regulators = { NULL }, .regulators = { "vdda-phy", "vdda-pll" },
.clock = { "cpas_ahb", "cphy_rx_src", "slow_ahb_src", .clock = { "cpas_ahb", "cphy_rx_src", "slow_ahb_src",
"soc_ahb", "vfe_lite", "vfe_lite_src", "soc_ahb", "vfe_lite", "vfe_lite_src",
"vfe_lite_cphy_rx", "csi2", "vfe_lite_cphy_rx", "csi2",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment