From patchwork Wed Feb 12 11:31:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 3637611 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D9C7EBF13A for ; Wed, 12 Feb 2014 11:33:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3FA5B20145 for ; Wed, 12 Feb 2014 11:33:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B1F8520127 for ; Wed, 12 Feb 2014 11:33:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752407AbaBLLcd (ORCPT ); Wed, 12 Feb 2014 06:32:33 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:25022 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751284AbaBLLcc (ORCPT ); Wed, 12 Feb 2014 06:32:32 -0500 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N0V00HUBS27H3A0@mailout1.w1.samsung.com>; Wed, 12 Feb 2014 11:32:31 +0000 (GMT) X-AuditID: cbfec7f4-b7f796d000005a13-11-52fb5bce5807 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 44.B7.23059.ECB5BF25; Wed, 12 Feb 2014 11:32:30 +0000 (GMT) Received: from AMDC1061.digital.local ([106.116.147.88]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0N0V00CLBS14OO70@eusync2.samsung.com>; Wed, 12 Feb 2014 11:32:30 +0000 (GMT) From: Andrzej Hajda To: dri-devel@lists.freedesktop.org Cc: Andrzej Hajda , Mark Rutland , devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Pawel Moll , Ian Campbell , Kyungmin Park , Rob Herring , Kumar Gala , Grant Likely , Sean Paul , Marek Szyprowski Subject: [RFC PATCH v2 11/21] drm/panel: add support for BOE HV070WSA-100 panel to simple-panel Date: Wed, 12 Feb 2014 12:31:18 +0100 Message-id: <1392204688-4591-12-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 1.8.3.2 In-reply-to: <1392204688-4591-1-git-send-email-a.hajda@samsung.com> References: <1392204688-4591-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrBLMWRmVeSWpSXmKPExsVy+t/xK7rnon8HGcx6KWtxa905Vov5R4DE la/v2Sz63yxktTjwZwejxblXKxktzja9YbeYcX4fk8XaI3fZLZZev8hkMWH6WhaL1r1H2C3u bjjL6MDrsWbeGkaP2Q0XWTwu9/Uyeaxc/oXNY9OqTjaPO9f2sHnc7z7O5NG3ZRWjx+dNcgGc UVw2Kak5mWWpRfp2CVwZnTsmMxU85a5Yc/40awPjFs4uRk4OCQETidvP9rBD2GISF+6tZ+ti 5OIQEljKKNF5tokdwuljkvj7bwsLSBWbgKbE38032UBsEQFlib8TVzGCFDELnGGWuPZ2AlhC WCBRYt+pb2ANLAKqEq827wKzeQWcJab+3McEsU5BYtmXtcxdjBwcnEDxw906IGEhASeJrdPv MU5g5F3AyLCKUTS1NLmgOCk911CvODG3uDQvXS85P3cTIyR0v+xgXHzM6hCjAAejEg8vg+ev ICHWxLLiytxDjBIczEoivEFRv4OEeFMSK6tSi/Lji0pzUosPMTJxcEo1MIYu/5idc+rK+n4Z tQXdC2u6k1/cmrqme4tK1eulD7x6XFdJ/jc7dPvBvbiQx2lXpeJf/fijMO3Rl21blGTEfl7Z v/qTXf41Fa3pz9O3N4josL64tafuuxnz1+SvGzfdqruqndFydqd0vfaEX7I/W9R32Wzn3R38 xsXPVuLro8+172UXfyk/9JJfiaU4I9FQi7moOBEAUIE1MTsCAAA= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,KHOP_BIG_TO_CC, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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 3e611af..8aa8aab 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -338,6 +338,28 @@ static const struct panel_desc chunghwa_claa101wb01 = { }, }; +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 of_device_id platform_of_match[] = { { .compatible = "auo,b101aw03", @@ -346,6 +368,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "chunghwa,claa101wb01", .data = &chunghwa_claa101wb01 }, { + .compatible = "boe,hv070wsa-100", + .data = &boe_hv070wsa + }, { .compatible = "simple-panel", }, { /* sentinel */