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

Commit fed21f3d authored by Veera Sundaram Sankaran's avatar Veera Sundaram Sankaran
Browse files

msm: mdss: extend debugfs support for dsi phy registers



Expose dsi phy registers as well, as part of the debugfs
interface in addition to the dsi controller registers.

Change-Id: I49c8723e9f650137990df31b099c67e3b08907a3
Signed-off-by: default avatarVeera Sundaram Sankaran <veeras@codeaurora.org>
parent 1450dc76
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1882,12 +1882,12 @@ int dsi_panel_device_register(struct device_node *pan_node,
	}

	if (pinfo->pdest == DISPLAY_1) {
		mdss_debug_register_base("dsi0",
			ctrl_pdata->ctrl_base, ctrl_pdata->reg_size);
		mdss_debug_register_io("dsi0_ctrl", &ctrl_pdata->ctrl_io);
		mdss_debug_register_io("dsi0_phy", &ctrl_pdata->phy_io);
		ctrl_pdata->ndx = 0;
	} else {
		mdss_debug_register_base("dsi1",
			ctrl_pdata->ctrl_base, ctrl_pdata->reg_size);
		mdss_debug_register_io("dsi1_ctrl", &ctrl_pdata->ctrl_io);
		mdss_debug_register_io("dsi1_phy", &ctrl_pdata->phy_io);
		ctrl_pdata->ndx = 1;
	}