From patchwork Fri Feb 14 12:09:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 11385687 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 07AE417E8 for ; Mon, 17 Feb 2020 08:21:42 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 D9F8E2067D for ; Mon, 17 Feb 2020 08:21:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=cerno.tech header.i=@cerno.tech header.b="qBukKA+s"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="14YBVnF7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D9F8E2067D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 21C686E53C; Mon, 17 Feb 2020 08:20:49 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2FC716E5CE for ; Fri, 14 Feb 2020 12:09:39 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 1045D5D2; Fri, 14 Feb 2020 07:09:39 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 14 Feb 2020 07:09:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm2; bh=2f3VFRjW3B+zONorxo3OTyEyy8 z5poB18m7XL4T/tlo=; b=qBukKA+sxCmpiwup4xTPDCsXNr95YOzQdhyKS4YDYI OYuM4MEAbJ8UGQEikfoBqUJS8AweY/TAdPIDqmRRlS2njJBdNTSvcp7C5t45Hx6r Ml5cziFxxjoY4ueyKpok5eIlC2mWhjw1lM27hephl7nZLMECzHxE8rOfq+xCEVRy chaqEwj+x5UEkn6Qw0CwEaDytr5mtxIsJabXMLbg0ZlwCQ3GfkNSnwg+fBB+rera PPyi90sG3lRHlZ/aAmbgZx4b1ov64BugrWVdU76g+gLk4FnQmkZie58o+qZHAGr7 V8pF3QfWhRuTQ7QEDbCiEKTclOC+3R1nv9GiJVb/NyYw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=2f3VFRjW3B+zONorx o3OTyEyy8z5poB18m7XL4T/tlo=; b=14YBVnF7JMr1qIOUHNP6u9DxeGajjtExw CVwC8RAdx0tnaVfTveXtrrx0TfjYLKoO5hppd81QNlg9YLtZ4m3SnS9C7S7Ahtq5 YGme/BrN41vTZV6STHt3JFgK2p9VVTSgs8f3771PDh6nrJq1Se0wscO5LX4xTK1r VmfpdnYzBPNFnu7w2cbdVTEPj0VTOYGzzGDesNb8+ai/8gonJ6L2e+nXMQQ9XtMl G22ZYYu7WMcbnnhuVYQcKOlaF2LG0VgZcRrCsfgLpPmQBOLAQe7VXPYSfFPkBXu5 c3eI7J1sy7Fj+95gqpQbhJbdLx/DAs0ZlUaPkXSxHs9usLfWC07qA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrjedtgdefjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertdertd dtnecuhfhrohhmpeforgigihhmvgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhho rdhtvggthheqnecukfhppeeltddrkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggt hh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id B97A0328006A; Fri, 14 Feb 2020 07:09:37 -0500 (EST) From: Maxime Ripard To: Chen-Yu Tsai , Maxime Ripard , dri-devel@lists.freedesktop.org Subject: [PATCH] drm/sun4i: tcon: Support LVDS on the A33 Date: Fri, 14 Feb 2020 13:09:34 +0100 Message-Id: <20200214120934.107924-1-maxime@cerno.tech> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 17 Feb 2020 08:20:47 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The A33 TCON supports LVDS, so we can toggle the support switch. Signed-off-by: Maxime Ripard Acked-by: Chen-Yu Tsai --- 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 fdf143042f83..14026b4fa7c7 100644 --- a/drivers/gpu/drm/sun4i/sun4i_tcon.c +++ b/drivers/gpu/drm/sun4i/sun4i_tcon.c @@ -1475,6 +1475,7 @@ static const struct sun4i_tcon_quirks sun8i_a33_quirks = { .has_channel_0 = true, .has_lvds_alt = true, .dclk_min_div = 1, + .supports_lvds = true, }; static const struct sun4i_tcon_quirks sun8i_a83t_lcd_quirks = {