From patchwork Wed Sep 29 08:42:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 12524923 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7992C433EF for ; Wed, 29 Sep 2021 08:46:41 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 8316D61288 for ; Wed, 29 Sep 2021 08:46:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8316D61288 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=iFrSmEm6P5VFYVFR/ipxEGEtUwnPHIJPTgzRutc5EVI=; b=qM2H+Q956l/gHA 3vUXOTvrHUUlNPCMhcp/NLnIUGzFYdNf62zknajF6dmZo3QDh/a88fDHJnD2ontpxbvwazfKPmxCz eVUqrka7ns97T8flMP6Viaaai5AHNYEEf86zmam7bI/tjp+uGPHQieZMjiXEu5igCDew5oI0mu6Mk q8ARPnuBcAIm5WIuiUVdk6g9sNUP5hm885+KFLt8AYQzRqSiNjYan17VVbiHTfo6pZ00Ji8hMfVt+ wGoN4uLBgCUIbfz81CWi7ThsnYhR957PNGQlOLXX3HZCxssllaN+cMM5RB8arur+19LGfyR8L5Zic gLA5XQKTlPgHWtrqD/ww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVVCU-00ATvQ-Cb; Wed, 29 Sep 2021 08:44:27 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVVB7-00ATRf-Dk for linux-arm-kernel@lists.infradead.org; Wed, 29 Sep 2021 08:43:03 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 571613201C48; Wed, 29 Sep 2021 04:43:00 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 29 Sep 2021 04:43:01 -0400 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=y1we0ectZ+Ojy 3Wq8gV3g/l6x6zUkvdvYCKQ8aXDtRw=; b=ZZysxaltuMcka0Y15cVZZaV71V1zX PzBk+2bVXqlHNO3T1QLsCW/EdKaWuhJdcNjzfmTi+Gq24DiqiSpQtXVCP9jpLlC0 W8vhLP2e6fXuQ+JsNPP4TPptaLAXRsjUIPshCgT9JuzFD7tI8qSd91+Fy/YvUsd4 Hz20if0YrhP1naESidlyg2WoEYL0WtzGNfe3Zd6Ew58/u6kqtgvKLKhWod5L7n2i 2oV/VqsLhwPWUMsIljXiRQ1fGDDSJEkcD0MdECtW78Q90ocv/a+1OfTES1XYOdj5 6V7bvPRSF51QMyE3NIZ8Fl7lhK7YNIu0kylGt/B5J8w+UN4OnV3hVMceg== 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= fm3; bh=y1we0ectZ+Ojy3Wq8gV3g/l6x6zUkvdvYCKQ8aXDtRw=; b=X9B8x0kH BMtecVlJVIrzCJgIK1Q5lXWriZTlUBudfq6OtltxYQjvcV30X6kiVsyNlCFpEx43 PqRNhYcoq/2cEgOYZ03i2tmAVB0pxg4a4AvFOu//s9t+7vh+fCWk5Fec6+p+eMTM sF3Ijc9GEZTrBKOEY3TboW8oonfGPX/S/mtpMb4WxQMmSir4r3CbtmeeYeY60+3t Nvc3Q3FCAiwfNlnnjXZ6p3+01wQvETTe8UJf02Y3iYPMwxjSqqMf1YAwO/IWDZr4 F0QYdlonu/5uLHq2Gizlmu1/oLkaHxz2DmHKKnSurpGKf7Nk0US3C7FZVhvtE2v+ XNnX405TPBO3Pg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudekvddgtdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepvdekleevfeffkeejhfffueelteelfeduieefheduudfggffhhfffheevveeh hedvnecuvehluhhsthgvrhfuihiivgepvdenucfrrghrrghmpehmrghilhhfrhhomhepmh grgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 29 Sep 2021 04:42:59 -0400 (EDT) From: Maxime Ripard To: Rob Herring , Frank Rowand , Chen-Yu Tsai , Maxime Ripard , =?utf-8?q?Jernej_=C5=A0krabec?= , Daniel Vetter , David Airlie , Laurent Pinchart Cc: dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 6/7] drm/sun4i: tcon: Enable the A20 dual-link output Date: Wed, 29 Sep 2021 10:42:33 +0200 Message-Id: <20210929084234.1271915-7-maxime@cerno.tech> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210929084234.1271915-1-maxime@cerno.tech> References: <20210929084234.1271915-1-maxime@cerno.tech> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210929_014301_532666_6603074D X-CRM114-Status: GOOD ( 10.72 ) 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 c7c94b7c6439..2855ff70418d 100644 --- a/drivers/gpu/drm/sun4i/sun4i_tcon.c +++ b/drivers/gpu/drm/sun4i/sun4i_tcon.c @@ -1521,6 +1521,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,