Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4977860imm; Tue, 19 Jun 2018 03:03:40 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLSbHvRIlaNBxy53dnGz/MrYIVzDCAbQpAoam5JzwHekBMSzlWmy38ksU9ZdOJK9nlaCRkI X-Received: by 2002:a17:902:345:: with SMTP id 63-v6mr18376238pld.328.1529402619782; Tue, 19 Jun 2018 03:03:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529402619; cv=none; d=google.com; s=arc-20160816; b=f/nvOT2OhArALJabgwbsEhMxIxBmUZqhrrtTO4Haqcc7on8mCFClOQLLYpfvVsoPsj QInAoH3qpY4uPfV19N1BQwAaKJo3innyh1oN/9TcP3XXKzHWiLVXduPYMItMvOlplnux cKRvdmXEPRalNn6fKs8DPiqgGlQVt43qNChvper9vQ5ajvkWj1WgdhARI9mGfTmuqgbg h3DTzx2An8F+BrIa96vxG8TiemVeIj2/9TZOJvPvo9k2jGMvIsz7ByWEOx5tKOPkgq9Q dQ74BKNlrDQVTiWLo1ER5Kf1Rh0sPcAr5VW4vkH/9CpJHrScA+9R/6g+U1xAAxh+8pI6 KZOA== 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=HTjOUw1RjSKc3tC0sV59mnSCgiJMNXnMHpd8N2Sxfn4=; b=TYHf6pvoJ9htUJdmaPWd6Ip700Y0Unhi11/L9RSnt6tMz1ySGCVuBBcpCnbQBELC/g RyHWH9ZGXtArZO8u99/C9cQM71418/+gxu9rNw8L6VuyEs1iKm3fuhOaKeszZRnpzXMm vPdBiMgVPEYrCzYFgJD77jpvO943QK/W8VqAkUNqvN3O85GoeTDnorHnH9j/bccvJ6Pg SAs+2s1L10mVZW1SANTWdP1cJIDwtiZlbqL/r/CpDhkI0QwfJwF1NkJQbroTf8LKQ6Ez Um2zq6Ay4jTd342b8zKoCSEb5fDcTJY+H15o7uHbFGgbP23INdYqIT+vy0owmOgXrHzB YTVQ== 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 s18-v6si14108129pge.34.2018.06.19.03.03.15; Tue, 19 Jun 2018 03:03:39 -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 S1756939AbeFSKBj (ORCPT + 99 others); Tue, 19 Jun 2018 06:01:39 -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 S1756533AbeFSKBi (ORCPT ); Tue, 19 Jun 2018 06:01:38 -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:12 +0200 From: To: Thierry Reding , David Airlie , Rob Herring , Mark Rutland , , , Subject: [PATCH 3/3] drm/panel: Add support for the EDT ETM0700G0EDH6 Date: Tue, 19 Jun 2018 11:55:45 +0200 Message-ID: <20180619095546.24445-3-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--4.061600-8.000000-31 X-TM-AS-MatchedID: 700378-702796-702311-712124-704425-701499-705574-704421-1 05040-705211-862004-188019-706290-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 ETM0700G0EDH6 is the uses the same panel as the ETM0700G0BDH6. It differs in the hardware design for the backlight and the touchscreen i2c interface. As the new display type has different requirements for drive-strengths on the i2c-bus, add an additional compatible to allow the handling of it or warn about incompatible cpu and display combinations. Signed-off-by: Jan Tuerk --- drivers/gpu/drm/panel/panel-simple.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 8b7feb2888f2..2eed60134fa3 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2148,6 +2148,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "edt,etm0700g0bdh6", .data = &edt_etm0700g0bdh6, + }, { + .compatible = "edt,etm0700g0edh6", + .data = &edt_etm0700g0bdh6, }, { .compatible = "foxlink,fl500wvr00-a0t", .data = &foxlink_fl500wvr00_a0t, -- 2.17.1