File Index
Files and directories
Sign in
FILE

shmob_drm.h

File preview with syntax highlighting.

linux-6.19.14/include/linux/platform_data/shmob_drm.h C
 1/* SPDX-License-Identifier: GPL-2.0+ */
 2/*
 3 * shmob_drm.h  --  SH Mobile DRM driver
 4 *
 5 * Copyright (C) 2012 Renesas Corporation
 6 *
 7 * Laurent Pinchart (laurent.pinchart@ideasonboard.com)
 8 */
 9
10#ifndef __SHMOB_DRM_H__
11#define __SHMOB_DRM_H__
12
13#include <video/videomode.h>
14
15enum shmob_drm_clk_source {
16	SHMOB_DRM_CLK_BUS,
17	SHMOB_DRM_CLK_PERIPHERAL,
18	SHMOB_DRM_CLK_EXTERNAL,
19};
20
21struct shmob_drm_panel_data {
22	unsigned int width_mm;		/* Panel width in mm */
23	unsigned int height_mm;		/* Panel height in mm */
24	struct videomode mode;
25};
26
27struct shmob_drm_interface_data {
28	unsigned int bus_fmt;		/* MEDIA_BUS_FMT_* */
29	unsigned int clk_div;
30};
31
32struct shmob_drm_platform_data {
33	enum shmob_drm_clk_source clk_source;
34	struct shmob_drm_interface_data iface;
35	struct shmob_drm_panel_data panel;
36};
37
38#endif /* __SHMOB_DRM_H__ */
~/ Read-only file preview.