From patchwork Wed May 30 12:15:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maciej Purski X-Patchwork-Id: 10438853 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 5AF46601D3 for ; Wed, 30 May 2018 12:18:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 46B7C289C9 for ; Wed, 30 May 2018 12:18:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3AFB9289CB; Wed, 30 May 2018 12:18:47 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D12C9289CE for ; Wed, 30 May 2018 12:18:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753724AbeE3MSn (ORCPT ); Wed, 30 May 2018 08:18:43 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:34159 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751949AbeE3MQc (ORCPT ); Wed, 30 May 2018 08:16:32 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180530121629euoutp02a2e5b77f17aa487b9e479647acbeab32~zazi2fIaQ0061000610euoutp02V; Wed, 30 May 2018 12:16:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180530121629euoutp02a2e5b77f17aa487b9e479647acbeab32~zazi2fIaQ0061000610euoutp02V DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1527682590; bh=6ybqatKyLKtsIgUKywEqO6Vqq+XVxGO87IkKvfPVMHg=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=KkDuRKKCcAiVlCqEUUpmtItDsGnCQ6x/UjlCnzSWKJZJZpJ1cS9aWlOOucib5UAbE A61nOaJTsBNtIidzPVzer9mWiRIBraXxIy4pIA9IL4cgqBs95dx93ii3z1us2BNpAw EkXYdNnlySzSNazgrniaYQK+qz3e0jYBNw8Nf/VU= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180530121628eucas1p2016eb2d2749dd47ba79f69f44c54e4ac~zazhz1nwv1241012410eucas1p2o; Wed, 30 May 2018 12:16:28 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 26.D6.05700.B169E0B5; Wed, 30 May 2018 13:16:27 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180530121626eucas1p17699adbe488cfb34da3f648bffe97fa2~zazgHMLJo2493424934eucas1p1e; Wed, 30 May 2018 12:16:26 +0000 (GMT) X-AuditID: cbfec7f2-5ffe19c000011644-49-5b0e961bbf05 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 13.0A.04178.A169E0B5; Wed, 30 May 2018 13:16:26 +0100 (BST) Received: from AMDC2075.DIGITAL.local ([106.120.51.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P9J00FMPJF35I90@eusync1.samsung.com>; Wed, 30 May 2018 13:16:26 +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 Cc: David Airlie , Rob Herring , Mark Rutland , Thierry Reding , Kukjin Kim , Krzysztof Kozlowski , Archit Taneja , Andrzej Hajda , Laurent Pinchart , Inki Dae , Joonyoung Shim , Seung-Woo Kim , Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Maciej Purski Subject: [PATCH v2 06/10] drm/panel: add support for BOE HV070WSA-100 panel to simple-panel Date: Wed, 30 May 2018 14:15:57 +0200 Message-id: <1527682561-1386-7-git-send-email-m.purski@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1527682561-1386-1-git-send-email-m.purski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmphleLIzCtJLcpLzFFi42LZduzneV3paXzRBrMvWVncWneO1aL33Ekm i6aOt6wWG2esZ7WYfwQoduXrezaLSfcnsFi8uHeRxaL/8Wtmi/PnN7BbnG16w27ROXEJu8Wm x9dYLS7vmsNmMeP8PiaLBS9vsVisPXKX3WLp9YtMFq17j7BbzJj8ks3i5655LA6iHmvmrWH0 uNzXy+Sxc9Zddo/ZHTNZPTat6mTz2P7tAavH/e7jTB6bl9R79G1ZxejxeZNcAFcUl01Kak5m WWqRvl0CV8bhi53MBQd5Kl6sPMbewNjC1cXIwSEhYCJx6I9NFyMnh5DACkaJb82pXYxcQPZn Rom2U49YQRIgNVufPGKBSCxjlDgxaTYjhPOfUeL5oT+sIJPYBLQk1rTHg8RFBFYxSmy+8Ras iFlgKqvEhfmvwUYJC8RKLP14mB3EZhFQlWib8oYZxOYVcJZo/bWfBWKdnMTNc53MIEM5BVwk Vu+xA5kjITCZXeL9mo1MEDUuEn9OTmWEsIUlXh3fwg5hy0h0dhyEqsmXaH32GCpeIbGv9zTU O9YSh49fBLOZBfgkJm2bzgwJCl6JjjYhiBIPiYc9y5kgwTKdUeL4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6HPLM2d9xS7K7YHPbru9rcb5Oq9+XbhGdr vtXN3rrgKItq+/kqt8C5OsemLLqzdO4r35Z5f4zWr3iw+MyfvMgFKnN2Sk7sUOfQVvvafXN2 dsYEvppmHmczfZmOpZkG4oHiV/21ppapL8teuEWJpTgj0VCLuag4EQDJKF1deAIAAA== X-CMS-MailID: 20180530121626eucas1p17699adbe488cfb34da3f648bffe97fa2 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180530121626eucas1p17699adbe488cfb34da3f648bffe97fa2 References: <1527682561-1386-1-git-send-email-m.purski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org 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, }, {