From patchwork Fri Dec 17 13:51:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 12696663 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5ECDBC433EF for ; Fri, 17 Dec 2021 13:55:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=l50BAKcWDuusmOp3WeXrgWQwHvllER2iKYRj1hsNObU=; b=Fxz6Y0GJNK05pE dKSUIMRgT221GH+V0RPBHqgkxR9IwEc0OC6tBQj+DIilKHQRaaF29G2ivwy4deZMe1OirdS8SmchT 8RhKy54Nexd5z534iJC01UCB0odJsXCV2hDcgmg7WYphUOo6SxLuiBW3t9xVd5YnN9kEuqb5Sjmit 0J487mqEP52TCEyJ5dhdykCKd/AVJoD0QOWMwlqhHxLmZbKxih69h+eg9aTNV36Ug9HX5z2Z2CLdO LBXzNLY1YCzQ+CvwMp/+ETGUJhH5sGPx48/iTucVSr4em55O/6mm+eFyQtXqPntTKrSclYJsLmabH Ur2qPSkQV89PKit9jZKw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1myDga-00AUWw-TK; Fri, 17 Dec 2021 13:54:13 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1myDe4-00ATEJ-I9 for linux-arm-kernel@lists.infradead.org; Fri, 17 Dec 2021 13:51:39 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id D3C865C014E; Fri, 17 Dec 2021 08:51:35 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 17 Dec 2021 08:51:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=M5JGNx9FeMwdw lOvMmXdMRjjfgLQMV3WSX6j7dpkXZ8=; b=a2v5ceb/6apx31i/nsZy/79JostkI fwdoE1hfjWasvTUBPODdOpuvuc4hg3KG0xX+8+34BYG2HQUqz9ZwuSZN2mtzHZ8k vTGKMMavHCkLVlR+g4s75QzkVHF2dd/9uxxWv+Y+m/BCY6rSF8ZF1Ajdu03OOmXP uq6vvdg/+duZf6vHuWKn3Z6MevIi/f+XTEgUmpifacREjyFH2LuZZUuIgxdibuy4 OXDAPO3ufsNaRxH3mPnyLT2yyKdIS8EdburlsNpTCoSKnIOh3h0fBT2Fnd3m1cut a+DQZp60qEHIwBqehAUbP3pMk5trYnnP/pPmEe6lGxUEH3jfNpsS15h8g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=M5JGNx9FeMwdwlOvMmXdMRjjfgLQMV3WSX6j7dpkXZ8=; b=C1M7Wd3L E9A8qM0giTVfJKvIuZk5EKIJYBkVZpwNFNjd9sFpUMuKX4MjHitstrAnmCV/oLVM jxEtFfR7mgEnBmCVrI2WjEiFZddZs9E3hsg/Jm5/ez+g+xAVLCzfiW/sbPsVY0M9 58J7du7izO9tCtLhZwWiwW+fUzN0zxlhDH1WJLxrhfLTSwQ5T7QwIHo5jZ8HvQq5 qhAoIxMhuE8I4bOcj9lDbI6zgwljiOjnPFyPVj3ObA1NjSixyRar6qaEDCRW/I/C z24gMFIZXrlb4syVuf8CoKGQJ/IHHZt5Tbk6ZNWwwftdCti3RPnV1MKPS7u3akxj ty8hEWG6R60qqg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrleeigdehkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpedvkeelveefffekjefhffeuleetleefudeifeehuddugffghffhffehveevheeh vdenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrg igihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 17 Dec 2021 08:51:35 -0500 (EST) From: Maxime Ripard To: Daniel Vetter , David Airlie , Rob Herring , Frank Rowand , Laurent Pinchart , Chen-Yu Tsai , Maxime Ripard , =?utf-8?q?Jernej_=C5=A0krabec?= Cc: linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org Subject: [PATCH v6 6/7] drm/sun4i: tcon: Enable the A20 dual-link output Date: Fri, 17 Dec 2021 14:51:18 +0100 Message-Id: <20211217135119.316781-7-maxime@cerno.tech> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211217135119.316781-1-maxime@cerno.tech> References: <20211217135119.316781-1-maxime@cerno.tech> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211217_055136_750060_C9F404D0 X-CRM114-Status: UNSURE ( 9.89 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The A20 second TCON (TCON1) can be used as a secondary output to drive a dual-link LVDS output. Let's add it to our capabilities. Reviewed-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_tcon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sun4i/sun4i_tcon.c b/drivers/gpu/drm/sun4i/sun4i_tcon.c index 5e8f020d8c03..fef9457d898e 100644 --- a/drivers/gpu/drm/sun4i/sun4i_tcon.c +++ b/drivers/gpu/drm/sun4i/sun4i_tcon.c @@ -1519,6 +1519,7 @@ static const struct sun4i_tcon_quirks sun7i_a20_tcon0_quirks = { }; static const struct sun4i_tcon_quirks sun7i_a20_quirks = { + .supports_lvds = true, .has_channel_0 = true, .has_channel_1 = true, .dclk_min_div = 4,