Merge "video: driver: add power domain and opp table support for video"

此提交包含在:
qctecmdr
2023-01-28 00:56:41 -08:00
提交者 Gerrit - the friendly Code Review server
當前提交 54c8d7570d
共有 15 個檔案被更改,包括 899 行新增319 行删除

查看文件

@@ -48,6 +48,10 @@ struct bw_table {
u32 max_kbps;
};
struct pd_table {
const char *name;
};
struct regulator_table {
const char *name;
bool hw_trigger;
@@ -195,6 +199,10 @@ struct msm_vidc_platform_data {
unsigned int bw_tbl_size;
const struct regulator_table *regulator_tbl;
unsigned int regulator_tbl_size;
const struct pd_table *pd_tbl;
unsigned int pd_tbl_size;
const char **opp_tbl;
unsigned int opp_tbl_size;
const struct clk_table *clk_tbl;
unsigned int clk_tbl_size;
const struct clk_rst_table *clk_rst_tbl;
@@ -241,11 +249,6 @@ static inline bool is_mmrm_supported(struct msm_vidc_core *core)
return !!core->platform->data.supports_mmrm;
}
static inline bool is_regulator_supported(struct msm_vidc_core *core)
{
return !!core->platform->data.regulator_tbl_size;
}
int msm_vidc_init_platform(struct platform_device *pdev);
int msm_vidc_deinit_platform(struct platform_device *pdev);