Received: by 10.192.165.148 with SMTP id m20csp717737imm; Fri, 27 Apr 2018 06:28:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoU9/muCUpCFHrGp8ALb6jv8sHYkH75cK/CXrKxeRQ1mAFYyJSBEWS6fEeWaQ5UlSkB2+r9 X-Received: by 10.98.47.2 with SMTP id v2mr2238365pfv.239.1524835718051; Fri, 27 Apr 2018 06:28:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524835718; cv=none; d=google.com; s=arc-20160816; b=qqA1+hRWEHterpfBTa3dJpXPNv0va27ky3pTAsIQIJhQWE9cNATJb0OhKHDEpk8PnK LahcRQdVO6PYmGiNfJPy4OiGteCKiHK5yNzHlVPmsddrj8BvM/rucKQgl6+n1dVBwm/6 mlSiqarmDwN71G3p6fnr20rnd0NNrzNu+Ucng5J+CFQqkd2aYK82CsslUV/dTNCT7fdq sI99R7IzkPXmtRvYPW+jVaUTawxQxjJLJH6d/9IUjJn7Bp319beBNylk2ZARTR1tPneY xGtVT4xkzPinJbH1SlUWDWnYSQVzpkpBWzbJ6nB4y1N+hk0p9f24YEVRQmFQqzHtXrS8 JkgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:to:from:arc-authentication-results; bh=yxnnr4Q9Lmite5BLOCd3fI421OXTfBHCvoDMSZFvWO4=; b=I57icWI/3OKROQJd4VS5xvL/APnf9N0DOw9mhZoM6HyWWi0iC+M0HRYkBAFDD7ZbXz INnq6iEwdD+Z/7VtvpPHK+XUupzzbyIWLE0qvpojZ581tnFz+U733IrVU25AfJr1IJLM cuxCOxRyjdpKAqHNY39OlC0IiREmh9Ii698x5TGtg10lEmUwaa2Z78F+MLN/SAlHx88L 1lVbNsPKZmtNTHjg3xE0hr3YTUPdTbgCM9B1GuTisgmdO7AbHmcZbjilzJzOqCs9rlNg VpiFD/FFpXTSenPxcforHbNeILoeTQGmuSts0VqNYKPuuV7163eaj62rbsW8hqmk3s2/ RCrQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m14-v6si1224255pgs.190.2018.04.27.06.28.24; Fri, 27 Apr 2018 06:28:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932686AbeD0N0o (ORCPT + 99 others); Fri, 27 Apr 2018 09:26:44 -0400 Received: from mail3.emtrion.de ([80.150.99.69]:54641 "EHLO mail3.emtrion.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758350AbeD0NZC (ORCPT ); Fri, 27 Apr 2018 09:25:02 -0400 Received: from tuelinux-v3.emtrion.local (172.26.107.128) by bmk019s01.emtrion.local (172.26.48.1) with Microsoft SMTP Server (TLS) id 8.3.485.1; Fri, 27 Apr 2018 15:25:00 +0200 From: To: Rob Herring , Mark Rutland , Thierry Reding , David Airlie , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Russell King , "GitAuthor: Jan Tuerk" , , , , Subject: [PATCH v4 2/7] drm/panel: Add support for the EDT ETM0700G0BDH6 Date: Fri, 27 Apr 2018 15:24:37 +0200 Message-ID: <20180427132445.3458-3-jan.tuerk@emtrion.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180427132445.3458-1-jan.tuerk@emtrion.com> References: <20180420125108.14197-1-jan.tuerk@emtrion.com> <20180427132445.3458-1-jan.tuerk@emtrion.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-Product-Ver: SMEX-11.0.0.4283-8.100.1062-23808.007 X-TM-AS-Result: No--7.949800-8.000000-31 X-TM-AS-MatchedID: 700378-702796-704171-702358-702609-700156-704410-704425-7 01236-862004-702311-188019-706290-703529-700008-700264-700802-702791-708712 -148004-148036-42000-42003 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jan Tuerk The Emerging Display Technology ETM0700G0BDH6 is exactly the same display as the ETM0700G0DH6, exept the pixelclock polarity. Therefore re-use the ETM0700G0DH6 modes. It is used by default on emtrion Avari based development kits. Signed-off-by: Jan Tuerk --- Changes for v4: - re-arrange the Patch-series to match the DT-submitting-patches - Additional patch for the Documentation of the new DT-bindings - no change (re-arranged 1/6 => 2/7) drivers/gpu/drm/panel/panel-simple.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index cbf1ab404ee7..8b7feb2888f2 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -909,6 +909,18 @@ static const struct panel_desc edt_etm0700g0dh6 = { .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_NEGEDGE, }; +static const struct panel_desc edt_etm0700g0bdh6 = { + .modes = &edt_etm0700g0dh6_mode, + .num_modes = 1, + .bpc = 6, + .size = { + .width = 152, + .height = 91, + }, + .bus_format = MEDIA_BUS_FMT_RGB666_1X18, + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_POSEDGE, +}; + static const struct drm_display_mode foxlink_fl500wvr00_a0t_mode = { .clock = 32260, .hdisplay = 800, @@ -2134,6 +2146,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "edt,etm0700g0dh6", .data = &edt_etm0700g0dh6, }, { + .compatible = "edt,etm0700g0bdh6", + .data = &edt_etm0700g0bdh6, + }, { .compatible = "foxlink,fl500wvr00-a0t", .data = &foxlink_fl500wvr00_a0t, }, { -- 2.11.0