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: 10473741 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 E0411601D7 for ; Tue, 19 Jun 2018 08:24:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DB3A726E82 for ; Tue, 19 Jun 2018 08:24:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CFAA328A22; Tue, 19 Jun 2018 08:24:48 +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 6F1E626E82 for ; Tue, 19 Jun 2018 08:24:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937500AbeFSIVt (ORCPT ); Tue, 19 Jun 2018 04:21:49 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:44996 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S937349AbeFSIUH (ORCPT ); Tue, 19 Jun 2018 04:20:07 -0400 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1529396402; bh=6ybqatKyLKtsIgUKywEqO6Vqq+XVxGO87IkKvfPVMHg=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=XIcjCmTb9WoMxUwiqPJeUj9p8qNTE6aYffBxQLc0nbUURsxf+rr/N4xQ9x4r9vyqd EMdK1yXdqNO5LGB9PKGBDCx5GoCLEnZz4LeowkEjJPDszVXo1UkTj74ab2kL5MAW0i aXEmB/dsgiQSAuMGPeSZjPlDpvJT3E1lZdWOLpsw= 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 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 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 DW5wwdRK8bwHajU9GM83YPX8S4I3ZwC4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rySWKu6SanKM3TvyqtuX2ZdiZFu0IhgVnv37tnj39/+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> 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, }, {