disp: msm: sde: add dt property for QSEED scalar HW revision

QSEED scalar block HW revision is constant for a given MDSS revision.
Both SSPP and DS HW files invoke this API to read the revision register
at various points of time. Expose this revision information through
DT binding and maintain in the catalog to avoid repeated register
reads.

Change-Id: I95c0a5242cfda0aaa4ec5c2ff5c7cc0bed191b59
Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
This commit is contained in:
Jeykumar Sankaran
2020-06-12 11:36:48 -07:00
parent 7f35be34eb
commit fdf88f7853
9 changed files with 16 additions and 53 deletions

View File

@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
* Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
*/
#ifndef _SDE_HW_DS_H
@@ -58,13 +58,6 @@ struct sde_hw_ds_ops {
void (*setup_scaler)(struct sde_hw_ds *hw_ds,
void *scaler_cfg,
void *scaler_lut_cfg);
/**
* get_scaler_ver - get scaler h/w version
* @ctx: Pointer to ds structure
*/
u32 (*get_scaler_ver)(struct sde_hw_ds *ctx);
};
/**