From patchwork Mon Nov 27 15:41:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 119722 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp437578qgn; Mon, 27 Nov 2017 07:42:02 -0800 (PST) X-Google-Smtp-Source: AGs4zMZSpar+d8A5W69BLlDbTVVLiIkyTp56tS+qINd2QbU/lRbblj+21JTQGu7YIolpmCSe4W0K X-Received: by 10.98.153.221 with SMTP id t90mr31070947pfk.210.1511797322730; Mon, 27 Nov 2017 07:42:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511797322; cv=none; d=google.com; s=arc-20160816; b=h97b02AmaG0L0H7ly7EfANKr0e+8DX8b1KmhvG1uCPCVm3ffPwaiuBuM/bWz7WZq4B REq8bDV5Lg4WtRwNOU4ZLloJtpoRkGKY36/IYNtfLGwD/gwub2AqzTtnSQTJo9Sgx4lr LMnEFbZ/55Q5vUnoleaZZzbZOpzwTDRkK0hjDNmVJ6pjKjtRY/8ihPJFNikUh4/fPgQ+ KZesHY73O/1XGUZypPe/eYdm2DRnL5Lexy24c8yZQcoqoZIJKTywbxr8ob7f5RJ3WNnS RTzI46+u/HwzKT3ufOXhKow8nCR7wLueTITltkdWOX73dkqYUA7Rv8OLGJ9JClo8Bl2M 19Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=yqpyn2ZzrPulvSWi288wwgSL9LFyQZXmzRHmKniWF+g=; b=AYjLpnj3ctOjhvZhWny3qU99WmYL3pwloxlN0LvYJ2j53YA/58ySGtoi1G2drMl2qb hd1VnJzpigI8sXjcR1lbgqAPzozCBW4UdSG9ebMR4KlakTxeLK++IX+9FNg8vJ7brS1u lzAF+QHD8i+WEPsyKsbkGQGfLrJmwHrGiB8NaBE6e3/E4OUvycapeA5MctwAgo0UPnXS /PTOeA2OBiRuyps3OGdXAnneVrXUvfvtvySlWFYoIknwq5zpE3BAbx8ZrlNyyIjJhVSU fbONclDlbc1YFtR9iZnQkS6y4IGKPeSdRllWZgRG5H2oNG1Air/zmRZBQBZhTGGekvac SXmQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o5si25718513pfh.412.2017.11.27.07.42.02; Mon, 27 Nov 2017 07:42:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752834AbdK0PmA (ORCPT + 28 others); Mon, 27 Nov 2017 10:42:00 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:32901 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752589AbdK0Pl5 (ORCPT ); Mon, 27 Nov 2017 10:41:57 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id D4FAC20900; Mon, 27 Nov 2017 16:41:55 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (unknown [185.94.189.187]) by mail.free-electrons.com (Postfix) with ESMTPSA id A10C42081A; Mon, 27 Nov 2017 16:41:55 +0100 (CET) From: Maxime Ripard To: Daniel Vetter , David Airlie , Chen-Yu Tsai , Maxime Ripard Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Mark Rutland , Rob Herring , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, plaes@plaes.org, icenowy@aosc.io, Thomas Petazzoni , jernej.skrabec@siol.net Subject: [PATCH v2 12/18] drm/sun4i: Add A83T support Date: Mon, 27 Nov 2017 16:41:36 +0100 Message-Id: <3a7cfb438e479000986948caf3c14461be6bbe40.1511797218.git-series.maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for the A83T display pipeline. Reviewed-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun8i_mixer.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) -- git-series 0.9.1 diff --git a/drivers/gpu/drm/sun4i/sun8i_mixer.c b/drivers/gpu/drm/sun4i/sun8i_mixer.c index 5a1376965270..83b83e070fd5 100644 --- a/drivers/gpu/drm/sun4i/sun8i_mixer.c +++ b/drivers/gpu/drm/sun4i/sun8i_mixer.c @@ -388,6 +388,11 @@ static int sun8i_mixer_remove(struct platform_device *pdev) return 0; } +static const struct sun8i_mixer_cfg sun8i_a83t_mixer_cfg = { + .vi_num = 1, + .ui_num = 3, +}; + static const struct sun8i_mixer_cfg sun8i_v3s_mixer_cfg = { .vi_num = 2, .ui_num = 1, @@ -396,7 +401,7 @@ static const struct sun8i_mixer_cfg sun8i_v3s_mixer_cfg = { static const struct of_device_id sun8i_mixer_of_table[] = { { .compatible = "allwinner,sun8i-a83t-de2-mixer", - .data = &sun8i_v3s_mixer_cfg, + .data = &sun8i_a83t_mixer_cfg, }, { .compatible = "allwinner,sun8i-v3s-de2-mixer",