Received: by 10.192.165.148 with SMTP id m20csp228673imm; Fri, 20 Apr 2018 05:58:46 -0700 (PDT) X-Google-Smtp-Source: AIpwx494iUZVU+EOuI5g/RrlnJLViofdKUF52YScgocdA4F6wgyVbxUO6YWVgOCutO0dPAh4Ig/8 X-Received: by 10.99.3.22 with SMTP id 22mr8299298pgd.277.1524229126558; Fri, 20 Apr 2018 05:58:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524229126; cv=none; d=google.com; s=arc-20160816; b=kNhG/XvZ3BTmYxz0TOaZy8sh8O8N6qA7n4LcrSINm3/5uU6mNN9GcVF2Ua+zRWIYCw hoMHHtP++AX8OfWmVsM1JKXQNxmVMb9r4TpJ1WDl/gNny/j94zGuDttKlzLrmh+M0jMz W5zDdtT+Eoh7lIdOGg4SY2qnVc5DJKQZdD+zjOUjeoO2tWP/6tCiQh7SVIDErTe2L2K1 2UmZQ1fiVv1EAQgm13F8K3Cv6HV/waK8RkMZSUREMnYrY0iRHn9U63Cr3HPt0fbLmh2k Lp4VyQE80rG97pVcgQGnvq4mj5iw6xMaXv12Ysopq9o/+6/hjttY3q3uc6n0mIb0tMAR eckw== 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=KebinQ4F2mozYOdGyxUfKXbcom8E2b7O+HgOmIKFUmg=; b=axkavJMpy225Zx1LpXxleKIrkJRyTcwaRTlOrrDaGF+/Ko86EXLmAh1VF2AO2Ii8BT /1FkVDSCFDPTo43cJeRZKo9p8xC46NzD411hogC5xWnEgEBbpO6+Egxs2rUa1DKuemi6 9L2asypR5znBqIS+n956LhRLoi4vAol6J+axIhUmhL8kWJ1LA2yo/iqMRU2vVy8467dJ JJUGMjBIe0sUN4B1StHseUs4eC+ye63vw4kIb4P3AV8mCoNZPXki+g2nHEPpWPwMeIe4 NDRDqz/C7rlICrdIIxlGDM1DixvjG/aNMPWzhC1mHmePpwRVSnidNiXfYMtazu43MidA bXrw== 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 l7-v6si5766918plg.82.2018.04.20.05.58.31; Fri, 20 Apr 2018 05:58:46 -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 S1754902AbeDTM46 (ORCPT + 99 others); Fri, 20 Apr 2018 08:56:58 -0400 Received: from mail3.emtrion.de ([80.150.99.69]:18379 "EHLO mail3.emtrion.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754591AbeDTM4y (ORCPT ); Fri, 20 Apr 2018 08:56:54 -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, 20 Apr 2018 14:51:26 +0200 From: To: Rob Herring , Mark Rutland , Thierry Reding , David Airlie , Shawn Guo , Sascha Hauer , "Fabio Estevam" , Russell King , "Jan Tuerk" , , , , Subject: [PATCH v3 1/6] drm/panel: Add support for the EDT ETM0700G0BDH6 Date: Fri, 20 Apr 2018 14:50:48 +0200 Message-ID: <20180420125108.14197-2-jan.tuerk@emtrion.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180420125108.14197-1-jan.tuerk@emtrion.com> References: <20171220134710.64479-2-jan.tuerk@emtrion.com> <20180420125108.14197-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-23794.006 X-TM-AS-Result: No--6.713400-8.000000-31 X-TM-AS-MatchedID: 700378-702796-704171-702358-702609-700156-862004-702311-1 88019-706290-703529-700008-700264-700802-702791-708712-148004-148036-42000- 42003-55 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 --- 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