Received: by 10.192.165.148 with SMTP id m20csp231462imm; Fri, 20 Apr 2018 06:01:02 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+o3YWWMv7VuwBThkhvWnL7br3mUH6FZUqrsnsEBlYHPAn8ITbqdDXR4h+gFkEo7ZsgEw82 X-Received: by 10.98.33.28 with SMTP id h28mr9458007pfh.249.1524229262795; Fri, 20 Apr 2018 06:01:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524229262; cv=none; d=google.com; s=arc-20160816; b=yejSewaFe5ahsPL+PKDqhmBtcQKk7dIcp9oN9fgkKRn222OKCaer4z4jqcAjUJICWx v/OU+0WgL27Tqt+IMdWNVfXuG9Dngw1n9mqAYY1v72Bb+lpwI4IWSSnpvZqoMyCx6FzV m//FbjXn6o7uEDQUzL4slKbIVTF1MEht8u52Kep5bgHJEmstDfMksgC+eNNDz9Z1Q6Uh rzEtKXm2FZPk1dJszhFa2agnhD/Gx4C9dnA8khjPaQ+09nrSs9Z9t0aPFdH/3PJHaGCu iJVw9VuwF+oa/oK/wCx2xp419A65ZnkgzbMxde2CrEuphntRHe9ht/ZXVGhsgMICi76H qIAw== 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=KSOvpSRhyLSTTm4uiTznUQM6FAum8H+rj2H/Z4ZcFo8=; b=X/d7Dpih4awLr8LtYo1s0uiTo2tI+PM6gh4N8iNGuqu9mm79ahcW8IJJKLFCXJWhFM mnT1jhpJVUuqdkNK/VKbIozwSow3RCz72r7Li616SUlROMDAaAYd2SU00F5ef4qsizSb BZFZs/7bN69WQoNLCjBrx3zObnVVwknAOPP4n0vCrNIce5oUFgFRqwL6ybRSxuNB0HWz /UPOsYjTFGsyrdnP1zVnsKycbXq0YMQkQdw9vmalWhdUkCE6Q0g7WWdLiMyB+yRijrwy CCmpfmwF0RdsR0ZpnH06HcfbC8tUo0riiWf95KL1j3iq/lO6XJB7R2NlJBvOlGzGHTxv fXFw== 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 i2-v6si5746560plk.51.2018.04.20.06.00.45; Fri, 20 Apr 2018 06:01:02 -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 S1755021AbeDTM57 (ORCPT + 99 others); Fri, 20 Apr 2018 08:57:59 -0400 Received: from mail3.emtrion.de ([80.150.99.69]:18380 "EHLO mail3.emtrion.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754907AbeDTM5C (ORCPT ); Fri, 20 Apr 2018 08:57: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, 20 Apr 2018 14:51:30 +0200 From: To: Rob Herring , Mark Rutland , Thierry Reding , David Airlie , Shawn Guo , Sascha Hauer , "Fabio Estevam" , Russell King , "Jan Tuerk" , , , , Subject: [PATCH v3 2/6] drm/panel: Add support for the EDT ETM0700G0EDH6 Date: Fri, 20 Apr 2018 14:50:49 +0200 Message-ID: <20180420125108.14197-3-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--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 @@ -2149,6 +2149,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.11.0