drivers/media/platform/qcom/iris/iris_platform_sm8250.h

Source file repositories/reference/linux-study-clean/drivers/media/platform/qcom/iris/iris_platform_sm8250.h

File Facts

System
Linux kernel
Corpus path
drivers/media/platform/qcom/iris/iris_platform_sm8250.h
Extension
.h
Size
746 bytes
Lines
30
Domain
Driver Families
Bucket
drivers/media
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __IRIS_PLATFORM_SM8250_H__
#define __IRIS_PLATFORM_SM8250_H__

static const struct bw_info sm8250_bw_table_dec[] = {
	{ ((4096 * 2160) / 256) * 60, 2403000 },
	{ ((4096 * 2160) / 256) * 30, 1224000 },
	{ ((1920 * 1080) / 256) * 60,  812000 },
	{ ((1920 * 1080) / 256) * 30,  416000 },
};

static const char * const sm8250_opp_pd_table[] = { "mx", "mmcx" };

static const struct platform_clk_data sm8250_clk_table[] = {
	{IRIS_AXI_CLK,  "iface"        },
	{IRIS_CTRL_CLK, "core"         },
	{IRIS_HW_CLK,   "vcodec0_core" },
};

static const char * const sm8250_opp_clk_table[] = {
	"vcodec0_core",
	NULL,
};

#endif

Annotation

Implementation Notes