Message ID | 1474928832-8766-3-git-send-email-peda@axentia.se (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> 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 5FF1160757 for <patchwork-dri-devel@patchwork.kernel.org>; Tue, 27 Sep 2016 08:08:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5085E290F2 for <patchwork-dri-devel@patchwork.kernel.org>; Tue, 27 Sep 2016 08:08:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3568F29130; Tue, 27 Sep 2016 08:08:01 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID 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 298E7290F3 for <patchwork-dri-devel@patchwork.kernel.org>; Tue, 27 Sep 2016 08:08:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BAB726E620; Tue, 27 Sep 2016 08:07:58 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 34506 seconds by postgrey-1.35 at gabe; Tue, 27 Sep 2016 08:02:38 UTC Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0106.outbound.protection.outlook.com [104.47.1.106]) by gabe.freedesktop.org (Postfix) with ESMTPS id EF3646E61A for <dri-devel@lists.freedesktop.org>; Tue, 27 Sep 2016 08:02:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentiatech.onmicrosoft.com; s=selector1-axentia-se; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=OJ234r8TgyclBsMu/Z5cjobTLIiJFI2KZzgGArfcWKw=; b=JOJUOWxAGoFgFo/GakSzzOkHnretHKdPi82mMr4/S8Oa7nVDXk0kBxZLitPJPf3uSnvdgnCXIv1cqInEKjUGfDxVJ3lqBB4s1OnxoS8O6TLwmZY7coIxUya/PFT+qcy1LOFioAhpReoAuQfgBypu5Sivj2eol4LVABpICWfqNKk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Received: from localhost.localdomain (217.210.101.82) by VI1PR0201MB2317.eurprd02.prod.outlook.com (10.168.63.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.639.5; Mon, 26 Sep 2016 22:27:48 +0000 From: Peter Rosin <peda@axentia.se> To: open list <linux-kernel@vger.kernel.org> Subject: [PATCH v3 2/2] drm/panel: simple: add support for Sharp LQ150X1LG11 panels Date: Tue, 27 Sep 2016 00:27:12 +0200 Message-ID: <1474928832-8766-3-git-send-email-peda@axentia.se> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1474928832-8766-1-git-send-email-peda@axentia.se> References: <1474928832-8766-1-git-send-email-peda@axentia.se> MIME-Version: 1.0 X-Originating-IP: [217.210.101.82] X-ClientProxiedBy: DB5PR08CA0063.eurprd08.prod.outlook.com (10.166.166.159) To VI1PR0201MB2317.eurprd02.prod.outlook.com (10.168.63.19) X-MS-Office365-Filtering-Correlation-Id: 26a42e75-6f5f-4bc6-95c0-08d3e65c594d X-Microsoft-Exchange-Diagnostics: 1; VI1PR0201MB2317; 2:mBkPAas8fiVL2Ho/LFCT6dQmhqVApUgkmGX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nUqBvY+m7dhS3yp/IzPXG1bOGRVphgpT++yVKn6051QH9PGmt+1kvvsJqYUP3PZettUJQ5ILEJanKHXHJ2H9HTIFLYrA7jSB5M9O6OtlGhSFq6lT3T72CLZwT/rU7AnWraaF3T2wcSpOFydDCdIFCueOpaSivHS5inaWXGBNJPjHKlhssQNuS+aUV4R8xhGtA7viMqhIvFCogbMuixV80hX6iLLHaqIYF//rBlnmC4E5M+kdbcJ7obrRjJ3WP7CN64Dgqjqi8lLJEBGpMP5s80djzWmnTuOBieLpeqdNqwE0RjzC2G3+8dvi8jEM7MXk7wBfbt7jmQln+gI3YVYlcjRAsZNguJfxuEiZjYyDuTfDfD86VPhw0SdztMtD10gjEzIFm9dIdQvbjW9q2FDUmGV0h8ud4= X-Microsoft-Antispam-PRVS: <VI1PR0201MB23179ABBB8F67DA99ED73E08BCCD0@VI1PR0201MB2317.eurprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6042046)(6043046); SRVR:VI1PR0201MB2317; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0201MB2317; X-Forefront-PRVS: 00770C4423 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(6069001)(7916002)(189002)(199003)(81156014)(50466002)(4326007)(68736007)(50226002)(305945005)(110136003)(7736002)(97736004)(8676002)(7846002)(81166006)(2906002)(6116002)(77096005)(2950100002)(575784001)(189998001)(107886002)(86362001)(3846002)(5660300001)(6916009)(47776003)(66066001)(36756003)(586003)(5820100001)(33646002)(19580405001)(92566002)(2870700001)(76176999)(50986999)(101416001)(229853001)(106356001)(42186005)(4001430100002)(74482002)(105586002)(23676002)(19580395003)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0201MB2317; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: axentia.se does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtWSTFQUjAyMDFNQjIzMTc7MjM6cnIyWmQybVJEMC9GcEdLMEFDVVM3NE94?= =?utf-8?B?SlUxMnlqeFYwT0xNWVliQjkwSkd6NnN5dHltQ3ZKK0JtR3l3L3VlZlJWQStt?= =?utf-8?B?bjYvMFUvczZZUXlrREtzc2F5ZnB3cTNEekpJWk1wYm9YTFZOaDVlMStZQTg3?= =?utf-8?B?SEVKQmJEMFM2UHFQUVRkMmh6WkxaSS9ONDQ0T1pmZGJRVDVqKzVudHVBTnJS?= =?utf-8?B?bC93ckhwNFhpUXZ4WWREZkJaKzF5VTFmTzU4NmNSMGI0dVpOT3V3WU9heTNl?= =?utf-8?B?dExHV3hMbDd1S3dLNVpJUGhFVFQ4TFV5VU9qTURCS3A2bTFRbzBReEhqZWUy?= =?utf-8?B?V3c2RktzVlVwNDZVeERCYlRsanRIaXZHcWx6ejhKeTltNmpneDRIeCs5dTEx?= =?utf-8?B?SE1PeHoxcHBlSHk0V0hNd044QjBFT2FHczVsUmovbFJrTjE5WXFTYmZUeWdu?= =?utf-8?B?NzA4VE8xaXMyS3FuTDFQNmtPYmhOdi80L2xnMzFDa2gyK1pDTlVpTzR0OUs5?= =?utf-8?B?cjkxKzR3dzIvU01uK1QvRFlRSnMyaFgzcTVzK0ZVRll2b0dlc3Znd3hEeW1Q?= =?utf-8?B?emJvODJpV01aRGlVUzRYY1BaUlphSUp2dHpvdS9wbkNMR0tDTjlnU1JSbTl1?= =?utf-8?B?bXlyVjFxdHNMTEhqTklQZ3ErT1hVbE1BWGZSVnJOS3BodUhmMUpiUmdDWlhw?= =?utf-8?B?S2cwMVJTcExmTVJQWjgwaWlmejRLY0w4SXBGZ0xPSmNYMXY0TWl3ZGRPSnR1?= =?utf-8?B?K1kwVDdDWUk1dHV3bE83S21CYU5oaTN5WFN1U2JVN3VhL0xGLzFERFJkd2pF?= =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2NeJe6jodDPHtXrl//MC7sbd0y3Y46jowR1sCklBd8YLRzrey3J0pVL+14iYkUo1CPw9g5/pTGl49ELp+7StHSesRWR5Z4bCTCzs3/WP+HWNuEUae3z2FYp5iIxSgJLnXy92EMs6ZKolQPrzFqQ302tBFvxrdmZbEZ45lLo3oeAkPDNfq+nKUyniln9zyZ2lX7ZQIbWReABmOQgdZ5/c0IkK3NpMnGB3kK3xHjh4Ic5SWrex1oVmyCn2eBLbeMnEiRdAIUyntervE7; 5:K/KMielui/zIBhka5bX1GGVzjRTjng7rvjs5kotEHrLYRf1WqXyHUD5+v4HQrZiWX+sJyc0FYpPUG2HMZ8BPUnOYV4eWnkV91frMyd+cGYmSHvKvRCUw5vungziId+IFifwzU7EvujTV3jTHrWoV0w==; 24:8MYDCAt1bm2Os3tTPkm/YgU0MrQ1q4lE+mVQEQsksCHvhYhvGUwV47k5zjWvt2IQfr79uiCaGiyFs8YqQ7QSHitIbOGIKEMsfduO0uykdJw=; 7:g5qWjwMYMDO5NRuCNm9K+R4foT4ilOJ5C6aqAPbpOX+M5CTTu4nFBnIE22EKhWolxG9aM1i6G8h3IlwhXhbyy6bPPMWZ+4hEivAOuManb4OpmIcEDxt3xDzeHCElEwVkjvfuvuVC8H2W44imAwCZu5MBVZV3jw8riECGEYid+YXbAOpS0lxOjfUHYjn73KVpkK0wOgYC70Ik82I6+pCwGC05TgDgRYocqU0aMyJ3fFriHbNaF1nwwDZQO7qnMJ8qnr55xSGG3NlAG2Tbs9zT4P+YTo6fhyaNSfSgqeBZmt7y9FmnjnSh88eEEfAGlm4Z SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2016 22:27:48.4506 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0201MB2317 X-Mailman-Approved-At: Tue, 27 Sep 2016 08:07:57 +0000 Cc: Mark Rutland <mark.rutland@arm.com>, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, =?UTF-8?q?Gustaf=20Lindstr=C3=B6m?= <gl@axentia.se>, Rob Herring <robh+dt@kernel.org>, Peter Rosin <peda@axentia.se> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 85143d1b9b31..58cfe0a7a9d6 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1386,6 +1386,30 @@ static const struct panel_desc sharp_lq123p1jx31 = { }, }; +static const struct drm_display_mode sharp_lq150x1lg11_mode = { + .clock = 71100, + .hdisplay = 1024, + .hsync_start = 1024 + 168, + .hsync_end = 1024 + 168 + 64, + .htotal = 1024 + 168 + 64 + 88, + .vdisplay = 768, + .vsync_start = 768 + 37, + .vsync_end = 768 + 37 + 2, + .vtotal = 768 + 37 + 2 + 8, + .vrefresh = 60, +}; + +static const struct panel_desc sharp_lq150x1lg11 = { + .modes = &sharp_lq150x1lg11_mode, + .num_modes = 1, + .bpc = 8, + .size = { + .width = 304, + .height = 228, + }, + .bus_format = MEDIA_BUS_FMT_RGB565_1X16, +}; + static const struct drm_display_mode shelly_sca07010_bfn_lnn_mode = { .clock = 33300, .hdisplay = 800, @@ -1641,6 +1665,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "sharp,lq123p1jx31", .data = &sharp_lq123p1jx31, }, { + .compatible = "sharp,lq150x1lg11", + .data = &sharp_lq150x1lg11, + }, { .compatible = "shelly,sca07010-bfn-lnn", .data = &shelly_sca07010_bfn_lnn, }, {