Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4977068imm; Tue, 19 Jun 2018 03:02:57 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIvM44CYYasNzbURmlB5fa8YR+OgZpEzzJC2UMGggyhzM+D4KKLFjddgOHylT725Up2eo34 X-Received: by 2002:a17:902:aa48:: with SMTP id c8-v6mr18114622plr.132.1529402577803; Tue, 19 Jun 2018 03:02:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529402577; cv=none; d=google.com; s=arc-20160816; b=bgOBw8D2TuswK3S1gUkIr2PWLT4AsInZi61InwI8VqhoLjqxeY3r6T4vDLC6gTYcxY IzP3W9goAQAM+nwbLmjAOmzDq3H65ToMJQAeevIVpCTXtKGzZYDH7tSS69In8QkwO7sh DsBy8v0ADaQRQ1m2vgkFbC0St4GZmZrQHyIQYTErZLd9baJ2tBPy0nUldhlrivpHJlE7 CexstuR9nh/Gea1DcW3D1yMLZREYLabuaROMEvFiUa2jnI+TW1BabjVNKQIcjX5YzjWa 8RknReh5AQwbo/RrVxrhdqVRf0b+mut3CKB7OUdGNHysDeP0so+2WKHlNxWVM67/QyS7 FxyQ== 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=M2A1BPRdC/m5KsKsfRZlqIkFCnEkFSFhvqppYMfYg5s=; b=IrH9GaFzufDnaykb6SCmrgGkkbWNvK6/COJ2YpJC97FGHVDl6XaS8TfGaEXnf0vMsn hrgsrZkh1xv5rTcvPuPPEUk0d4sUNfjPG5n703BAzF0T8ACcA3xYPUN8vgL7l9vVLwfU oikxeeO0qcuIrsX2V4EhFBkdDNAQZPckUHctkE9ueZw2MM3/8QiRHKlJ6xV1GdDBDlcF K7uFPs2a5nigBiHpzwe1DjghJizTgM76KjrlG0zYKH+kItkrBOprOmVfPgKPylf8Xis2 GPRQoNsRaVynIV2uLiwcJ8ukknzzlNAc98a4DTjGCLfuQvaaNRzKXAdD2oPW3iUIZFlU EUDQ== 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 k191-v6si14191242pgd.19.2018.06.19.03.02.35; Tue, 19 Jun 2018 03:02:57 -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 S1757045AbeFSKBn (ORCPT + 99 others); Tue, 19 Jun 2018 06:01:43 -0400 Received: from mail3.emtrion.de ([80.150.99.69]:15925 "EHLO mail3.emtrion.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756590AbeFSKBk (ORCPT ); Tue, 19 Jun 2018 06:01:40 -0400 X-Greylist: delayed 328 seconds by postgrey-1.27 at vger.kernel.org; Tue, 19 Jun 2018 06:01:37 EDT Received: from tuelinux-v3.emtrion.local (2003:5a:a012:1:7eac:eac5:fc1b:7f56) by bmk019s01.emtrion.local (2003:5a:a012:1:d9c:d045:28a7:5f84) with Microsoft SMTP Server (TLS) id 8.3.485.1; Tue, 19 Jun 2018 11:56:10 +0200 From: To: Thierry Reding , David Airlie , Rob Herring , Mark Rutland , , , Subject: [PATCH 2/3] drm/panel: Add support for the EDT ETM0700G0BDH6 Date: Tue, 19 Jun 2018 11:55:44 +0200 Message-ID: <20180619095546.24445-2-jan.tuerk@emtrion.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180619095546.24445-1-jan.tuerk@emtrion.com> References: <20180427132445.3458-2-jan.tuerk@emtrion.com> <20180619095546.24445-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-23916.005 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, @@ -2133,6 +2145,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.17.1