disp: msm: dsi: Only enable lanes required during phy enable

Currently we are enabling all the lanes irrespective of the
lanes we are actually going to use. Add support to enable
only those lanes that are required and thus save power.

Change-Id: I9aae76eeaa05a79337d4e4b1f2e36ea9842bd580
Signed-off-by: Srihitha Tangudu <quic_tangudu@quicinc.com>
このコミットが含まれているのは:
Srihitha Tangudu
2022-01-22 23:12:44 +05:30
コミット 6192a10871
5個のファイルの変更68行の追加21行の削除

ファイルの表示

@@ -70,7 +70,6 @@ enum phy_ulps_return_type {
* @power_state: True if PHY is powered on.
* @dsi_phy_state: PHY state information.
* @mode: Current mode.
* @data_lanes: Number of data lanes used.
* @dst_format: Destination format.
* @pll: Pointer to PLL resource.
* @allow_phy_power_off: True if PHY is allowed to power off when idle
@@ -97,7 +96,6 @@ struct msm_dsi_phy {
enum phy_engine_state dsi_phy_state;
bool power_state;
struct dsi_mode_info mode;
enum dsi_data_lanes data_lanes;
enum dsi_pixel_format dst_format;
struct dsi_pll_resource *pll;