Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions driver/platform/common/inc/msm_vidc_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ struct msm_vidc_platform_data {
struct dev_pm_domain_list *opp_pmdomain_tbl;
const struct clk_table *clk_tbl;
unsigned int clk_tbl_size;
const char * const *opp_clk_tbl;
unsigned int opp_clk_tbl_size;
const int *clk_corner_idx_tbl;
const struct clk_rst_table *clk_rst_tbl;
unsigned int clk_rst_tbl_size;
Expand Down
7 changes: 7 additions & 0 deletions driver/platform/common/src/msm_vidc_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
#include "msm_vidc_lemans.h"
#include "msm_vidc_monaco.h"
#include "msm_vidc_kodiak.h"
#include "msm_vidc_purwa.h"
#include "msm_vidc_iris3.h"
#include "msm_vidc_iris2.h"
#endif
Expand Down Expand Up @@ -201,6 +202,12 @@ static const struct msm_vidc_compat_handle compat_handle[] = {
.init_platform = msm_vidc_init_platform_kodiak,
.init_iris = msm_vidc_init_iris2,
},
{
.compat = "qcom,x1p42100-iris",
.get_platform_data = msm_vidc_get_platform_data_purwa,
.init_platform = msm_vidc_init_platform_purwa,
.init_iris = msm_vidc_init_iris3,
},
#endif
#if defined(CONFIG_MSM_VIDC_LEMANS)
{
Expand Down
26 changes: 26 additions & 0 deletions driver/platform/purwa/inc/msm_vidc_purwa.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
*/

#ifndef _MSM_VIDC_PURWA_H_
#define _MSM_VIDC_PURWA_H_

#include "msm_vidc_core.h"

#if defined(CONFIG_MSM_VIDC_QLI)
int msm_vidc_get_platform_data_purwa(struct msm_vidc_core *core);
int msm_vidc_init_platform_purwa(struct msm_vidc_core *core);
#else
int msm_vidc_get_platform_data_purwa(struct msm_vidc_core *core)
{
return -EINVAL;
}

int msm_vidc_init_platform_purwa(struct msm_vidc_core *core)
{
return -EINVAL;
}
#endif

#endif // _MSM_VIDC_PURWA_H_
Loading