From 63d0358498e5af7906ab70b3d13acf7f8b6e7930 Mon Sep 17 00:00:00 2001 From: Xubilv Date: Wed, 18 May 2016 18:01:17 +0800 Subject: [PATCH] dtsi: screen-timing: lcd-LP097Qx2: for rk3399 mid prototype Change-Id: Ia01ee063d5d3f5d7e26e6d0a2683e616eebd19f2 Signed-off-by: Xubilv --- .../display/screen-timing/lcd-LP097Qx2.dtsi | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 include/dt-bindings/display/screen-timing/lcd-LP097Qx2.dtsi diff --git a/include/dt-bindings/display/screen-timing/lcd-LP097Qx2.dtsi b/include/dt-bindings/display/screen-timing/lcd-LP097Qx2.dtsi new file mode 100644 index 000000000000..38817696766e --- /dev/null +++ b/include/dt-bindings/display/screen-timing/lcd-LP097Qx2.dtsi @@ -0,0 +1,72 @@ +/* + * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd + * + * This file is dual-licensed: you can use it either under the terms + * of the GPL or the X11 license, at your option. Note that this dual + * licensing only applies to this file, and not this project as a + * whole. + * + * a) This file is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This file is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * Or, alternatively, + * + * b) Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * include/dt-bindings/display/screen-timing/lcd-LP097QX2.dtsi + * author: xbl@rock-chips.com + * create date: 2016-05-16 + * screen type: edp + * lcd model: lp097qx2 + * resolution: 1536 * 2048 + */ + +disp_timings: display-timings { + native-mode = <&timing0>; + timing0: timing0 { + screen-type = ; + out-face = ; + clock-frequency = <200000000>; + hactive = <1536>; + vactive = <2048>; + hback-porch = <52>; + hfront-porch = <16>; + vback-porch = <3>; + vfront-porch = <7>; + hsync-len = <15>; + vsync-len = <1>; + hsync-active = <0>; + vsync-active = <0>; + de-active = <0>; + pixelclk-active = <1>; + swap-rb = <0>; + swap-rg = <0>; + swap-gb = <0>; + }; +}; -- 2.34.1