Received: by 10.223.164.202 with SMTP id h10csp705057wrb; Thu, 23 Nov 2017 05:03:45 -0800 (PST) X-Google-Smtp-Source: AGs4zMZwfVVBZ+RTgeqbY/2sbEQrcYFINN9gaQyffHMczGi5jsnrdP5KmbhfP46qAKAjx5e9bCqf X-Received: by 10.84.238.140 with SMTP id v12mr24833157plk.356.1511442225731; Thu, 23 Nov 2017 05:03:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511442225; cv=none; d=google.com; s=arc-20160816; b=gvHCF1VCCNMhd2LFSlxZT0MDUr40L0uaXiX/HVAOvoIQxk7tCwo7GWNRm7xI1QXxf5 yGqY1gW0dqtfmMCWrl5CUMRK4IuD3M7GoT/loAFWPDlpbsCe9GRarIsrRdhYJNioDXcy l9yY8SlfvSRa8InvNlYXWt82/Nv4Evtj1IUC+G4+4PgCGCpeYoFfdFCRNFaWk2UkBFuq awjvrtRlB/YQMtzPtKK0s0QVzX3JS4/CnfZVuf1SoDnyLjzIKenonBr+Oxd5rgIfDYJc CNl+IPB7M9s5xlbjmGLpIgKh4fUhLbdBI05243X8wNV+sTM+bm79QZuY2MovjrMmnZf4 cEsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :arc-authentication-results; bh=keczI277XgaOU+O6jRCnpBLDZR0Qde+fl4woT1Tdfl0=; b=b8HFHRvJb8ojeRf1ggtSW+McXmlMgBYq1+oEu7KTdcX6uFHfiGl1XSRis3m1U4d/Ol 6pqdyT66U9l8EChHMGxJ4uAB/8SgmDHjp3pgJau3QHn5YguZM8EILvkWJ8GQL6gNel98 E1dRxRgRtVkEIYuCTbdZ6WuqIca1G6ZktWAiaTFGAV/ZyTmHrlnXcxKfntrc2zudzwh8 inzX6B3mtmbfgBM2jwuin6ARUh4PSS9IBe+rp5DJtrJ9T4iEByrYKL1Nt6rroMi5EqKs dpalN1CJT2fKuSGSnSCveuKFKfwll71e2gWiJJB7iPd7wPxNpEBi5fnUFw2XnYnA4bWu 71hQ== 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 d63si15832727pgc.561.2017.11.23.05.03.34; Thu, 23 Nov 2017 05:03:45 -0800 (PST) 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 S1752862AbdKWNCd convert rfc822-to-8bit (ORCPT + 75 others); Thu, 23 Nov 2017 08:02:33 -0500 Received: from mail3.emtrion.de ([80.150.99.69]:11935 "EHLO mail3.emtrion.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752826AbdKWNCa (ORCPT ); Thu, 23 Nov 2017 08:02:30 -0500 Received: from tuelinux-v3.emtrion.local (2003:5a:a012:1:250:56ff:fe29:ddb2) by bmk019s01.emtrion.local (2003:5a:a012:1:d9c:d045:28a7:5f84) with Microsoft SMTP Server (TLS) id 8.3.485.1; Thu, 23 Nov 2017 13:57:01 +0100 From: Jan Tuerk To: Rob Herring , Mark Rutland , Thierry Reding , David Airlie , Russell King , Shawn Guo , "Sascha Hauer" , Fabio Estevam , "Jan Tuerk" , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Kevin Hilman , Maxime Ripard , Alexandre Belloni , Greg Kroah-Hartman , SZ Lin , , , , Subject: [PATCH 1/5] drm/panel: Add support for the EDT ETM0700G0BDH6 Date: Thu, 23 Nov 2017 13:55:51 +0100 Message-ID: <20171123125600.41562-2-jan.tuerk@emtrion.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171123125600.41562-1-jan.tuerk@emtrion.com> References: <20171123125600.41562-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-23484.006 X-TM-AS-Result: No--12.187400-8.000000-31 X-TM-AS-MatchedID: 700378-702796-704171-702358-702609-700156-188019-702311-8 62968-862883-703529-704410-704425-700324-702890-702762-702900-139504-706290 -860275-700008-700264-700802-702791-708712-148004-148036-42000-42003-55 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- .../bindings/display/panel/edt,etm0700g0bdh6.txt | 9 +++++++++ drivers/gpu/drm/panel/panel-simple.c | 15 +++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/edt,etm0700g0bdh6.txt diff --git a/Documentation/devicetree/bindings/display/panel/edt,etm0700g0bdh6.txt b/Documentation/devicetree/bindings/display/panel/edt,etm0700g0bdh6.txt new file mode 100644 index 000000000000..099e30bfa17f --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/edt,etm0700g0bdh6.txt @@ -0,0 +1,9 @@ +Emerging Display Technology Corp. ETM0700G0BDH6 7.0" WVGA TFT LCD panel + +Required properties: + compatible: "edt,etm0700g0bdh6" + +This panel is exactly the same as ETM0700G0DH6 except the pixelclock polarity. + +This binding is compatible with the simple-panel binding, which is specified +in simple-panel.txt in this directory. diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index b7c4709f7b34..42442034b53e 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -886,6 +886,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, @@ -2029,6 +2041,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 emtrion GmbH Kreativpark - Alter Schlachthof 45 76131 Karlsruhe GERMANY http://www.emtrion.de _______________________________________ Amtsgericht Mannheim HRB 110 300 Gesch�ftsf�hrer: Dieter Baur, Ramona Maurer _______________________________________ From 1585337256348607391@xxx Tue Nov 28 18:57:04 +0000 2017 X-GM-THRID: 1581604510312740883 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread