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