disp: msm: dsi: move dsi pll as subnode to dsi PHY
DSI PLL is tightly coupled with DSI PHY. This change removes separate DSI pll driver and makes DSI pll as a subnode to DSI PHY which is an accurate way of representation. In addition, this change adds support for 5nm DSI ctrl and PHY revisions and adds DSI pll support for 5nm. Remove support for older DSI pll revisions such as 7nm, 10nm, 14nm, 20nm, 28nm. Change-Id: Ic8b886a9fe24b906e4ec5130720600efa1e59b68 Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
此提交包含在:
@@ -1,6 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2016-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2020, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _DSI_PHY_H_
|
||||
@@ -10,6 +10,7 @@
|
||||
#include "dsi_clk.h"
|
||||
#include "dsi_pwr.h"
|
||||
#include "dsi_phy_hw.h"
|
||||
#include "dsi_pll.h"
|
||||
|
||||
struct dsi_ver_spec_info {
|
||||
enum dsi_phy_version version;
|
||||
@@ -70,6 +71,7 @@ enum phy_ulps_return_type {
|
||||
* @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
|
||||
* @regulator_min_datarate_bps: Minimum per lane data rate to turn on regulator
|
||||
* @regulator_required: True if phy regulator is required
|
||||
@@ -95,6 +97,8 @@ struct msm_dsi_phy {
|
||||
enum dsi_data_lanes data_lanes;
|
||||
enum dsi_pixel_format dst_format;
|
||||
|
||||
struct dsi_pll_resource *pll;
|
||||
|
||||
bool allow_phy_power_off;
|
||||
u32 regulator_min_datarate_bps;
|
||||
bool regulator_required;
|
||||
|
新增問題並參考
封鎖使用者