disp: msm: dp: calculate mvid and nvid dividers with in DP driver
Change removes the dependency of reading MVID and NVID settings from dispcc registers and calculates the values locally in displayport driver. Change-Id: I9ad66aea44a3cbc0f739060c49e23d389022a48a Signed-off-by: Vara Reddy <quic_varar@quicinc.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2016-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
@@ -16,6 +17,7 @@
|
||||
#define DP_VCO_HSCLK_RATE_2700MHZDIV1000 2700000UL
|
||||
#define DP_VCO_HSCLK_RATE_5400MHZDIV1000 5400000UL
|
||||
#define DP_VCO_HSCLK_RATE_8100MHZDIV1000 8100000UL
|
||||
#define DP_PHY_VCO_DIV 0x0070
|
||||
|
||||
#define dp_pll_get_base(x) pll->io.x->io.base
|
||||
|
||||
|
Reference in New Issue
Block a user