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

Commit 982f5811 authored by Jaiju Yesudasan's avatar Jaiju Yesudasan Committed by Gerrit - the friendly Code Review server
Browse files

adv7481: Add support for CSI 4 lane for ADV7481



Enable CSI 4 lane in adv7481 to support 1080p and 60fps.

Suggested-by: default avatarSuprith Malligere <c_suprit@qti.qualcomm.com>
Change-Id: I053602fc73fe300cff780dfe75c546ff3768ee3c
Signed-off-by: default avatarJaiju Yesudasan <cjaijuy@codeaurora.org>
parent 14f6bfee
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2051,7 +2051,7 @@ static int adv7481_set_op_stream(struct adv7481_state *state, bool on)
			__func__, on, state->csia_src, state->csib_src);
	if (on && state->csia_src != ADV7481_IP_NONE)
		if (ADV7481_IP_HDMI == state->csia_src) {
			state->tx_lanes = ADV7481_MIPI_2LANE;
			state->tx_lanes = ADV7481_MIPI_4LANE;
			ret = adv7481_set_audio_spdif(state, on);
			ret |= adv7481_csi_powerup(state, ADV7481_OP_CSIA);
		} else {
@@ -2066,7 +2066,7 @@ static int adv7481_set_op_stream(struct adv7481_state *state, bool on)
		/* Turn off */
		if (ADV7481_IP_NONE != state->csia_src) {
			if (ADV7481_IP_HDMI == state->csia_src) {
				state->tx_lanes = ADV7481_MIPI_1LANE;
				state->tx_lanes = ADV7481_MIPI_4LANE;
				ret = adv7481_set_audio_spdif(state, on);
			} else {
				state->tx_lanes = ADV7481_MIPI_1LANE;