From patchwork Thu Apr 19 12:56:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 10349911 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 97CFC6053C for ; Thu, 19 Apr 2018 12:58:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8956428433 for ; Thu, 19 Apr 2018 12:58:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7DD9A28A1F; Thu, 19 Apr 2018 12:58:17 +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=-2.7 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SORTED_RECIPS 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 1B6CB28433 for ; Thu, 19 Apr 2018 12:58:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 59E436E06F; Thu, 19 Apr 2018 12:58:15 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail.bootlin.com (mail.bootlin.com [62.4.15.54]) by gabe.freedesktop.org (Postfix) with ESMTP id 0B13B6E06F for ; Thu, 19 Apr 2018 12:58:13 +0000 (UTC) Received: by mail.bootlin.com (Postfix, from userid 110) id 25664205F3; Thu, 19 Apr 2018 14:58:12 +0200 (CEST) Received: from localhost.localdomain (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id E14EA20384; Thu, 19 Apr 2018 14:58:11 +0200 (CEST) From: Paul Kocialkowski To: dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH] drm/sun4i: Add missing frontend compatibles for A10, A13, A20 and A31 Date: Thu, 19 Apr 2018 14:56:38 +0200 Message-Id: <20180419125638.11683-1-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.16.3 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: Maxime Ripard , Paul Kocialkowski , Chen-Yu Tsai MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Although frontend nodes are defined in the device-trees of the aforementioned platforms, there are no matching compatibles defined in the driver. This makes it impossible to probe the frontend on these platforms. Adding the appropriate compatibles to the driver fixes the issue. Signed-off-by: Paul Kocialkowski --- drivers/gpu/drm/sun4i/sun4i_frontend.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun4i_frontend.c b/drivers/gpu/drm/sun4i/sun4i_frontend.c index 85f75046712c..c5a3de11817d 100644 --- a/drivers/gpu/drm/sun4i/sun4i_frontend.c +++ b/drivers/gpu/drm/sun4i/sun4i_frontend.c @@ -658,6 +658,10 @@ static const struct dev_pm_ops sun4i_frontend_pm_ops = { }; const struct of_device_id sun4i_frontend_of_table[] = { + { .compatible = "allwinner,sun7i-a10-display-frontend" }, + { .compatible = "allwinner,sun7i-a13-display-frontend" }, + { .compatible = "allwinner,sun7i-a20-display-frontend" }, + { .compatible = "allwinner,sun7i-a31-display-frontend" }, { .compatible = "allwinner,sun8i-a33-display-frontend" }, { } };