From patchwork Sun Feb 3 18:44:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasily Khoruzhick X-Patchwork-Id: 10795097 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 05FA16C2 for ; Mon, 4 Feb 2019 08:22:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EDCE02AFD1 for ; Mon, 4 Feb 2019 08:22:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E21992AFD4; Mon, 4 Feb 2019 08:22:53 +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 ADF822AFD2 for ; Mon, 4 Feb 2019 08:22:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 82D936E3F8; Mon, 4 Feb 2019 08:22:17 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by gabe.freedesktop.org (Postfix) with ESMTPS id 188026E341 for ; Sun, 3 Feb 2019 18:45:06 +0000 (UTC) Received: by mail-pl1-x644.google.com with SMTP id t18so295416plo.9 for ; Sun, 03 Feb 2019 10:45:06 -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=cFl/r1V9niQHBW+pKhLLrLCik72QcVs4laVDEESEYFwIyKbEsVjrkxBin3OTfYqx6l MII8g39kj92TPiW4D0QKBplTza+g1HcExuxzKFStkCPwWbi07qyOL4lWb1MWaqzKEym1 Tc0sKT9oXofbnF3fxEBeIv0GvJdCTDpraJHPJ6AmMaxzeXNLfs4SpO2+9kH68PeKc0K1 hSomqElQ20V1qbD4+NJ4WkMYqkuqf4CKLskfGwhJsQ61NiIG5lJJ+1ysM7KAA5UWP9yY 6SPuRIp9V5v43tAObs76w+8MB91wbWXQ5wu8MTtY5rSRAQTdjUx3qDpgK7ASDwYKAz5E cjxQ== X-Gm-Message-State: AJcUukfRuJ0SOWB8xhzkh1s42Fv9eQ2tYkth028zJfDMSf6CevoB23iO blYpHb5AZUJU18KvXgdUHPJZ3XD7Gxs= X-Google-Smtp-Source: ALg8bN7gle2iIO81M211SXVXf/Pt0CsmIxn/H2gYdF4rNhNEsmEVMhiQRfX8q20fYInaLha+cN7wag== X-Received: by 2002:a17:902:9006:: with SMTP id a6mr47781521plp.334.1549219505702; Sun, 03 Feb 2019 10:45:05 -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 c67sm21407831pfg.170.2019.02.03.10.45.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Feb 2019 10:45:05 -0800 (PST) From: Vasily Khoruzhick To: David Airlie Daniel Vetter <"airlied@linux.iedaniel"@ffwll.ch>, 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 v2 09/12] drm/panel: simple: add generic eDP panel Date: Sun, 3 Feb 2019 10:44:47 -0800 Message-Id: <20190203184450.8050-10-anarsoul@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190203184450.8050-1-anarsoul@gmail.com> References: <20190203184450.8050-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 */ }