From patchwork Wed Jul 18 10:54:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10533701 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 AB96E601D2 for ; Thu, 19 Jul 2018 07:05:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 989572964C for ; Thu, 19 Jul 2018 07:05:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8A546296E9; Thu, 19 Jul 2018 07:05:01 +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, 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 992A22964C for ; Thu, 19 Jul 2018 07:05:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4226B6ECE3; Thu, 19 Jul 2018 07:03:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl0-x244.google.com (mail-pl0-x244.google.com [IPv6:2607:f8b0:400e:c01::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id CC4A589755 for ; Wed, 18 Jul 2018 10:55:39 +0000 (UTC) Received: by mail-pl0-x244.google.com with SMTP id o7-v6so1868969plk.10 for ; Wed, 18 Jul 2018 03:55:39 -0700 (PDT) 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; bh=Sj2w0YJhE4xroQbeLqcCEMbt4cE6iRcObMqpOtEaQEw=; b=EA2OuufMiWLLDj9Ya7vykI5gvAmez0I9jkCEgoIgR9Q0i5yCkQi5uaA18qD9iXh2++ x55M3S4Eac7d0g7OcBwDJQ7kX+Q6rwzytpErrJK+4xUj5O53wG/22AOQL/Ok3xG2aTRA s/8gRtGWC9GlRaIckP+xZ4g5b8NhNcS5C5fHtT66rugFrNgjKec/0gQiuWA5Dn8/CdVg h4znzUxBG8epS1kjacbXBN3j2nfotvwSc5yfhBgTNYiiIndqKI5zq3Y+C/H3qGc9VODU YoODSY5CQTLCWXaMq6wUxgWtGH0dDEazhxMKQ8KrJzNymFIP4xAHBYAb9Yb6XgQece6E IrIQ== X-Gm-Message-State: AOUpUlEbj8d46bjbeyCyfwzUTC2R35ZG+nNcBMgPY6V7zoX8YSSHoXG9 9K3DMNsa7qJD8fc7u8n3LSh6bg== X-Google-Smtp-Source: AAOMgpcH+e4/wmruibpTT6wZHYELu3tSXRtzUVnUVQooWhXHOkDIL+PJgJS15qzZfp4BvHd1IBW+bA== X-Received: by 2002:a17:902:b08a:: with SMTP id p10-v6mr5393577plr.217.1531911339446; Wed, 18 Jul 2018 03:55:39 -0700 (PDT) Received: from localhost.localdomain ([183.82.229.107]) by smtp.gmail.com with ESMTPSA id x25-v6sm4644452pgv.63.2018.07.18.03.55.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Jul 2018 03:55:38 -0700 (PDT) From: Jagan Teki To: Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jernej Skrabec , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , David Airlie , dri-devel@lists.freedesktop.org, Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, Michael Trimarchi , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH v3 04/18] drm/sun4i: Add support for A64 display engine Date: Wed, 18 Jul 2018 16:24:44 +0530 Message-Id: <20180718105458.22304-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180718105458.22304-1-jagan@amarulasolutions.com> References: <20180718105458.22304-1-jagan@amarulasolutions.com> X-Mailman-Approved-At: Thu, 19 Jul 2018 07:03:43 +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: Jagan Teki MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Display Engine(DE2) in Allwinner A64 has two mixers and tcons. The routing for mixer0 is through tcon0 and connected to LVDS/RGB/MIPI-DSI controller. The routing for mixer1 is through tcon1 and connected to HDMI. Signed-off-by: Jagan Teki --- Changes for v3, v2: - none drivers/gpu/drm/sun4i/sun4i_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sun4i/sun4i_drv.c b/drivers/gpu/drm/sun4i/sun4i_drv.c index 03ffbcc98dd0..30a39946f747 100644 --- a/drivers/gpu/drm/sun4i/sun4i_drv.c +++ b/drivers/gpu/drm/sun4i/sun4i_drv.c @@ -421,6 +421,7 @@ static const struct of_device_id sun4i_drv_of_table[] = { { .compatible = "allwinner,sun8i-r40-display-engine" }, { .compatible = "allwinner,sun8i-v3s-display-engine" }, { .compatible = "allwinner,sun9i-a80-display-engine" }, + { .compatible = "allwinner,sun50i-a64-display-engine" }, { } }; MODULE_DEVICE_TABLE(of, sun4i_drv_of_table);