From patchwork Tue Jun 19 08:19:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maciej Purski X-Patchwork-Id: 10473943 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 36CE3601D7 for ; Tue, 19 Jun 2018 09:52:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 39FD2289FF for ; Tue, 19 Jun 2018 09:52:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2DF7528A43; Tue, 19 Jun 2018 09:52:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D5C17289FF for ; Tue, 19 Jun 2018 09:52:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4E65A6E51A; Tue, 19 Jun 2018 09:51:39 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 552446E4D3 for ; Tue, 19 Jun 2018 08:20:04 +0000 (UTC) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180619082002euoutp02faa4493710bd78d8f70d18112b14f7ff~5gezSB8P01480614806euoutp02h; Tue, 19 Jun 2018 08:20:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180619082002euoutp02faa4493710bd78d8f70d18112b14f7ff~5gezSB8P01480614806euoutp02h Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180619082001eucas1p16027af53c991c6294356b6547a04a24d~5geyddbAf3063530635eucas1p1c; Tue, 19 Jun 2018 08:20:01 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 37.88.10409.1BCB82B5; Tue, 19 Jun 2018 09:20:01 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180619082000eucas1p1ed44d7aea857b12ce2c92c240be4dedd~5gexsDq2p0262702627eucas1p1t; Tue, 19 Jun 2018 08:20:00 +0000 (GMT) X-AuditID: cbfec7f5-b45ff700000028a9-d8-5b28bcb13911 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id A1.66.04178.0BCB82B5; Tue, 19 Jun 2018 09:20:00 +0100 (BST) Received: from AMDC2075.DIGITAL.local ([106.120.51.25]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PAK00EJ59T2RV00@eusync4.samsung.com>; Tue, 19 Jun 2018 09:20:00 +0100 (BST) From: Maciej Purski To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH v3 5/9] drm/panel: add support for BOE HV070WSA-100 panel to simple-panel Date: Tue, 19 Jun 2018 10:19:26 +0200 Message-id: <1529396370-18761-6-git-send-email-m.purski@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1529396370-18761-1-git-send-email-m.purski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWSbUhTYRTHfe7L7nU4uUzDRys/LKIhZEmFDyRpoXEjCD/kh1ymM28quSmb L1lUImWbpU2lMjM1UPP9ZTrfKMv5MjRzLqWWYRpiqZv1Qc0ErZxXv/3OOf///3Dg0LhYS3rR 8cpkTqWUJ0gEQqJtYM18sPmVVHb4pwmiiYYREuWMDGIoU7NIoubCRhKV9m32xld+CVD+lI5A c18tBHo4Y8OR2dxEofeZdgpp88oppJ/5SKKxrmIBKjR3Y6hsfoJA9X2TFKr4ZMHQ3dd9FCos mBegta4SImgXW1dSB9ix3ByM7SyapNhnmqckq6/RCtj239MkO3XfhLEt5bfZ3NYawC7pvUOF 4cKAGC4hPpVTHToRJYzrtWjxpB6Xa3PVA1QGuCPMBs40ZI7CoY5xPBsIaTFTBWCObgPwxRKA uulhwY5q3dq9raoEMCuvDeOLfwAOLdg2LTQtYHxg3b1IR9+dqQGwxbq4FYUzj0g4WmojHVFu jAxmDZYRDiaY/XC1uItysIgJhmU95dvrvOHnES3uYGcmBBY9X93aBpkCClYazCQvCobt62+2 DW5wwdRK8bwHajU9GM83YPX8S4I3ZwC4PDmG84PjsNdk2QrCGVeY3/YEd5wAGRHUZIl5CQu/ bVgJ/sxCAPutnbgOeJYBpxrgwaWoFbGc+oiSS/NVyxXqFGWs7+VEhR5sPsi7v6aVDtC9Hm0E DA0kLiJp4wGZmJSnqtMVRgBpXOIuMlRIZWJRjDz9OqdKjFSlJHBqI9hNExIP0SXprXAxEytP 5q5yXBKn2plitLNXBjDrag1iu1eaxb4UZLF6s/6nJgyBVWER/Siq0ie/tutFiL/TqF7qdLZ0 2HNZqiga+PIgLGXuymkByT62iWa6z9QaO1UvsJPHQs/90Ly1eWQqpwI+XPCDxrT1DPvNqei9 57/Xl7TOEhFUY9RsQ+504p8SmWtxb3tP8L61wIsFTRJCHSf388FVavl/L98WcxwDAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrGLMWRmVeSWpSXmKPExsVy+t/xa7ob9mhEG+w7YGpxa905VovecyeZ LJo63rJabJyxntVi/hGg2JWv79ksJt2fwGLx4t5FFov+x6+ZLc6f38BucbbpDbtF58Ql7Bab Hl9jtbi8aw6bxYzz+5gsFry8xWKx9shddoul1y8yWbTuPcJuMWPySzaLn7vmsTiIeqyZt4bR 43JfL5PHzll32T1md8xk9di0qpPNY/u3B6we97uPM3lsXlLv0bdlFaPH501yAVxRXDYpqTmZ ZalF+nYJXBmHL3YyFxzkqXix8hh7A2MLVxcjJ4eEgInEnxv7mLsYuTiEBJYwSny72MsG4TQy Sbx+/B3I4eBgE9CSWNMeDxIXEVjFKDH17x12EIdZYDarxKtHExhBRgkLREu0nVzAAmKzCKhK fJ+zix3E5hVwkVhwcAkbxDo5iZvnOplBbE4BV4lZc78zgdhCQDUvVl9hmsDIs4CRYRWjSGpp cW56brGhXnFibnFpXrpecn7uJkZg6G879nPzDsZLG4MPMQpwMCrx8DZsVI8WYk0sK67MPcQo wcGsJMK7dalGtBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHe8waVUUIC6YklqdmpqQWpRTBZJg5O qQbGuV39NpfWs6uFyXWqyrySWKu6SanKM3TvyqtuX2ZdiZFu0IhgVnv37tnj39/+c1naSBtX zhZLvpv9SdfnVDzDfzON/naTI5ZfTs3xe1/vG/RnuZbk83ufi3/9uxWtanVFXWDv80O657b5 Xfy1d6aAxeNFPZu0/s4QMfr3091rW/eT6OMcb+JKlFiKMxINtZiLihMBFNbtyHkCAAA= X-CMS-MailID: 20180619082000eucas1p1ed44d7aea857b12ce2c92c240be4dedd X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180619082000eucas1p1ed44d7aea857b12ce2c92c240be4dedd References: <1529396370-18761-1-git-send-email-m.purski@samsung.com> X-Mailman-Approved-At: Tue, 19 Jun 2018 09:51:26 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Maciej Purski , Bartlomiej Zolnierkiewicz , David Airlie , Seung-Woo Kim , Krzysztof Kozlowski , Kyungmin Park , Rob Herring , Thierry Reding , Kukjin Kim , Marek Szyprowski , Laurent Pinchart MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Andrzej Hajda The patch adds support for BOE HV070WSA-100 WSVGA 7.01 inch panel in panel-simple driver. The panel is used in Exynos5250-arndale boards. Signed-off-by: Andrzej Hajda Signed-off-by: Maciej Purski --- drivers/gpu/drm/panel/panel-simple.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index cbf1ab4..d5da58d 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -745,6 +745,28 @@ static const struct panel_desc avic_tm070ddh03 = { }, }; +static const struct drm_display_mode boe_hv070wsa_mode = { + .clock = 40800, + .hdisplay = 1024, + .hsync_start = 1024 + 90, + .hsync_end = 1024 + 90 + 90, + .htotal = 1024 + 90 + 90 + 90, + .vdisplay = 600, + .vsync_start = 600 + 3, + .vsync_end = 600 + 3 + 4, + .vtotal = 600 + 3 + 4 + 3, + .vrefresh = 60, +}; + +static const struct panel_desc boe_hv070wsa = { + .modes = &boe_hv070wsa_mode, + .num_modes = 1, + .size = { + .width = 154, + .height = 90, + }, +}; + static const struct drm_display_mode boe_nv101wxmn51_modes[] = { { .clock = 71900, @@ -2113,6 +2135,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "avic,tm070ddh03", .data = &avic_tm070ddh03, }, { + .compatible = "boe,hv070wsa-100", + .data = &boe_hv070wsa + }, { .compatible = "boe,nv101wxmn51", .data = &boe_nv101wxmn51, }, {