From patchwork Wed Feb 7 21:17:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jernej_=C5=A0krabec?= X-Patchwork-Id: 10206199 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 7E26A60327 for ; Wed, 7 Feb 2018 22:09:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6751428F76 for ; Wed, 7 Feb 2018 22:09:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5B0EC28F86; Wed, 7 Feb 2018 22:09:12 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E57F728F76 for ; Wed, 7 Feb 2018 22:09:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=VhgnDuZsVoSzT6DqA3Q7fDnQu9+gat2oreGl5GZfxQg=; b=D+ock0sOpu8joEqwI8YlYRwnr7 1yV6toMlN6NkYFLQdYb+SoiwrsKd1gMd0kj1fQRl6VfKZNyGKJnpy+7e3UPL49Aws0Fkz/xL/w7gY B0+HhKkr0zWnQDVMQKW7+DNvmge0nnXqMk8cp1z5zFSTfk6xkIjcWVorCBerq2ssE6dz/OEomtSnO ApigzeVPALp1BdwoJ8lc8Vlot1cnYD2aH+pR/32/9GPkW7AsDi8czIYnt7IH0v8fGdSwI0ovggclH czenzbnJwmwupHDmmX2LTZEbqraTZJSCRyYBwuSG7ZoSmr0vkjPzafq59sHD6/JQYG97qTOuIfOBt zZwLSPAg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ejXtu-0000SQ-Qm; Wed, 07 Feb 2018 22:09:10 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ejXtj-0000G0-JS for linux-arm-kernel@bombadil.infradead.org; Wed, 07 Feb 2018 22:08:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Z5uRpkE8WOOoVdCarlDKwGbcw9y4dgCv8WYhe+LtpFI=; b=yG4vdJiOTDZSKD65Lvhj1H1fH p+8Tkfcpq/j4TOvE8z3+rjnSl9o0jteBFNbrevM1xnrWVzM8p1wWIe5sTW2NeFJjZCxbDCXIFgdhR mmTPGEQTmHUdR+4+aZu436Lk4WlA6vlpGkIxLJDu1fob6NaRm4LIgIxOzstCgwZYa97NvGXKnIRM/ ++UCQ9ZQ5CtTJtoijDjC/gnoD/ZPVfOK69ulrIMtDm7DG5pMs4bca3IF1eg70ISGUd3Mkpi5TjVq5 sGprUxsR8eNOPxe0v4eJoli3dOIgu5tPhnRtqWKpeUA6PUi38eRIw1bAixji+J4fTyQD9gHTYrLmw uIpqBRcLg==; Received: from mailoutvs4.siol.net ([213.250.19.137] helo=mail.siol.net) by merlin.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ejX6V-0005eu-Kq for linux-arm-kernel@lists.infradead.org; Wed, 07 Feb 2018 21:18:08 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTP id 75F53522EE0; Wed, 7 Feb 2018 22:17:44 +0100 (CET) X-Virus-Scanned: amavisd-new at psrvmta10.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta10.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id QdFjlRG2HwYr; Wed, 7 Feb 2018 22:17:44 +0100 (CET) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTPS id ED232522EC7; Wed, 7 Feb 2018 22:17:43 +0100 (CET) Received: from localhost.localdomain (cpe-86-58-68-135.ftth.triera.net [86.58.68.135]) (Authenticated sender: 031275009) by mail.siol.net (Postfix) with ESMTPSA id 85666522EAF; Wed, 7 Feb 2018 22:17:41 +0100 (CET) From: Jernej Skrabec To: maxime.ripard@free-electrons.com, wens@csie.org, airlied@linux.ie, robh+dt@kernel.org, mark.rutland@arm.com, mturquette@baylibre.com, sboyd@kernel.org, architt@codeaurora.org, a.hajda@samsung.com, Laurent.pinchart@ideasonboard.com, narmstrong@baylibre.com, Jose.Abreu@synopsys.com Subject: [PATCH v4 08/12] drm/sun4i: Add support for A83T second TCON Date: Wed, 7 Feb 2018 22:17:09 +0100 Message-Id: <20180207211713.3638-9-jernej.skrabec@siol.net> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180207211713.3638-1-jernej.skrabec@siol.net> References: <20180207211713.3638-1-jernej.skrabec@siol.net> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, jernej.skrabec@siol.net, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sunxi@googlegroups.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This TCON is connected to HDMI encoder. Acked-by: Maxime Ripard Signed-off-by: Jernej Skrabec --- drivers/gpu/drm/sun4i/sun4i_tcon.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun4i_tcon.c b/drivers/gpu/drm/sun4i/sun4i_tcon.c index 32d9a5eb9e25..48678705ef43 100644 --- a/drivers/gpu/drm/sun4i/sun4i_tcon.c +++ b/drivers/gpu/drm/sun4i/sun4i_tcon.c @@ -1154,6 +1154,10 @@ static const struct sun4i_tcon_quirks sun8i_a83t_lcd_quirks = { .has_channel_0 = true, }; +static const struct sun4i_tcon_quirks sun8i_a83t_tv_quirks = { + .has_channel_1 = true, +}; + static const struct sun4i_tcon_quirks sun8i_v3s_quirks = { .has_channel_0 = true, }; @@ -1167,6 +1171,7 @@ const struct of_device_id sun4i_tcon_of_table[] = { { .compatible = "allwinner,sun7i-a20-tcon", .data = &sun7i_a20_quirks }, { .compatible = "allwinner,sun8i-a33-tcon", .data = &sun8i_a33_quirks }, { .compatible = "allwinner,sun8i-a83t-tcon-lcd", .data = &sun8i_a83t_lcd_quirks }, + { .compatible = "allwinner,sun8i-a83t-tcon-tv", .data = &sun8i_a83t_tv_quirks }, { .compatible = "allwinner,sun8i-v3s-tcon", .data = &sun8i_v3s_quirks }, { } };