From patchwork Sun Feb 3 18:54:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasily Khoruzhick X-Patchwork-Id: 10795077 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CBDD86C2 for ; Mon, 4 Feb 2019 08:22:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BE2D42AFD1 for ; Mon, 4 Feb 2019 08:22:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AD0D72AFD8; Mon, 4 Feb 2019 08:22:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7092C2AFD4 for ; Mon, 4 Feb 2019 08:22:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7A8D76E3A0; Mon, 4 Feb 2019 08:22:13 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by gabe.freedesktop.org (Postfix) with ESMTPS id 29B3A6E341 for ; Sun, 3 Feb 2019 18:55:45 +0000 (UTC) Received: by mail-pg1-x541.google.com with SMTP id w7so5272736pgp.13 for ; Sun, 03 Feb 2019 10:55:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JXna/PKJx8iZ1/h/UpVLA2d4bN5zqtBh3+Z+QQelLRs=; b=dAkxRXmwOcHzz10SDgVf/ndzCf6OE/donHFJ6xIAf0PiLj9gLf6rFAdAkp+D/itYKW tU/2jcqXcRtAT7qsxR4L+Jifb9o7TQYV6u9Ylu0dyogrcKLjl7uj/yDfWRc2r7zr4Bxv IRxTBppRr5CBXB1ROloo6PSAHQoyDyaX7NZKmm/A6JMwLgJiPS7pZU+FU5lSJf26b50P nTWeNciF7WbRzes1Q6Ywv2JLpD3jp5CBYpZKUXLxyFdg1iMkgxxoCYVNmYgyF5Bbca5F jQzzwq1+fBb63pgFYSAe2P/1uPATqOgkEodnaaOsTIbl9uZE99YhKiqiGI18uUwD5m8z MzHA== X-Gm-Message-State: AJcUukfIlS9Z8SYGTATQJVyg2ZpIsLQOU4BsAF9xaPoM5vtkWRUOjBzu pon3SiTOB+8yc3P0uI3DrYI= X-Google-Smtp-Source: ALg8bN4fUwIFgj9n18VVIXKsCceVoMkcienuhAU0LGUUh8HmVQ63praAF2+1yHMch2Sr5e8Pq/B0SQ== X-Received: by 2002:a62:ca9c:: with SMTP id y28mr47778752pfk.236.1549220144789; Sun, 03 Feb 2019 10:55:44 -0800 (PST) Received: from anarsoul-thinkpad.lan (216-71-213-236.dyn.novuscom.net. [216.71.213.236]) by smtp.gmail.com with ESMTPSA id g28sm19524553pfd.100.2019.02.03.10.55.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Feb 2019 10:55:44 -0800 (PST) From: Vasily Khoruzhick To: David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , Thierry Reding , Maxime Ripard , Chen-Yu Tsai , Archit Taneja , Andrzej Hajda , Laurent Pinchart , Icenowy Zheng , Sean Paul , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com Subject: [PATCH RESEND v2 09/12] drm/panel: simple: add generic eDP panel Date: Sun, 3 Feb 2019 10:54:58 -0800 Message-Id: <20190203185501.8958-10-anarsoul@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190203185501.8958-1-anarsoul@gmail.com> References: <20190203185501.8958-1-anarsoul@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 04 Feb 2019 08:22:10 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vasily Khoruzhick Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP eDP panels usually have EDID EEPROM, so there's no need to define panel width/height or any modes/timings in dts. But this panel still has regulator and backlight. Add compatible for generic eDP panel so such kind of panel can be defined in dts. Signed-off-by: Vasily Khoruzhick --- 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 2f2cb2d81f2b..9698f5819930 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2759,6 +2759,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "winstar,wf35ltiacd", .data = &winstar_wf35ltiacd, + }, { + .compatible = "panel-edp", + .data = NULL, }, { /* sentinel */ }