From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 169C6C433EF for ; Tue, 19 Jun 2018 10:01:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C8ABC2083D for ; Tue, 19 Jun 2018 10:01:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C8ABC2083D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=emtrion.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756976AbeFSKBk (ORCPT ); Tue, 19 Jun 2018 06:01:40 -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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: 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> References: <20180427132445.3458-2-jan.tuerk@emtrion.com> <20180619095546.24445-1-jan.tuerk@emtrion.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <20180619095546.24445-1-jan.tuerk@emtrion.com> Sender: linux-kernel-owner@vger.kernel.org To: Thierry Reding , David Airlie , Rob Herring , Mark Rutland , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: devicetree@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