1 /* 2 * Ben NanoNote screen details. 3 * 4 * Copyright (C) Xiangfu Liu <xiangfu@sharism.cc> 5 * Copyright (C) 2015, 2016, 2017, 2018 Paul Boddie <paul@boddie.org.uk> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License as 9 * published by the Free Software Foundation; either version 2 of 10 * the License, or (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, 20 * Boston, MA 02110-1301, USA 21 */ 22 23 #include "jzlcd.h" 24 25 struct jzfb_info nanonote_fb_info = { 26 .cfg=MODE_8BIT_SERIAL_TFT | PCLK_N | HSYNC_N | VSYNC_N | DE_P, 27 .w=320, .h=240, /* dimensions */ 28 .bpp=32, /* bits per pixel */ 29 .fclk=70, /* frame clock rate */ 30 .hsw=1, .vsw=1, /* sync widths */ 31 .elw=273, .blw=140, /* line limits: end/front, beginning/back porch */ 32 .efw=1, .bfw=20, /* frame limits: end/front, beginning/back porch */ 33 }; 34 35 vidinfo_t nanonote_panel_info = { 36 .jz_fb=&nanonote_fb_info /* wrap the above */ 37 };