blob: f24fb1739cf3d88f4722d4b62ed23e8d3274a262 [file] [log] [blame]
Stefan Bosch48397f12020-07-10 19:07:25 +02001/* SPDX-License-Identifier: GPL-2.0+
2 *
3 * Copyright (C) 2016 Nexell Co., Ltd.
4 *
5 * Author: junghyun, kim <jhkim@nexell.co.kr>
6 */
7
8#ifndef _NX__DISPLAY_DEV_H_
9#define _NX__DISPLAY_DEV_H_
10
Simon Glass03fbd252022-01-23 07:04:08 -070011#if !defined(CONFIG_DM_VIDEO) && defined(CONFIG_LCD)
Stefan Bosch48397f12020-07-10 19:07:25 +020012#include <lcd.h>
13#endif
14
15struct nx_display_dev {
Simon Glass03fbd252022-01-23 07:04:08 -070016#if !defined(CONFIG_DM_VIDEO) && defined(CONFIG_LCD)
Stefan Bosch48397f12020-07-10 19:07:25 +020017 vidinfo_t *panel_info;
18#endif
19 unsigned long base;
20 int module;
21 struct dp_sync_info sync;
22 struct dp_ctrl_info ctrl;
23 struct dp_plane_top top;
24 struct dp_plane_info planes[DP_PLANS_NUM];
25 int dev_type;
26 void *device;
27 struct dp_plane_info *fb_plane;
28 unsigned int depth; /* byte per pixel */
29 unsigned int fb_addr;
30 unsigned int fb_size;
31};
32
33#endif