1/* 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 11struct nx_display_dev { 12 unsigned long base; 13 int module; 14 struct dp_sync_info sync; 15 struct dp_ctrl_info ctrl; 16 struct dp_plane_top top; 17 struct dp_plane_info planes[DP_PLANS_NUM]; 18 int dev_type; 19 void *device; 20 struct dp_plane_info *fb_plane; 21 unsigned int depth; /* byte per pixel */ 22 unsigned int fb_addr; 23 unsigned int fb_size; 24}; 25 26#endif 27