Message ID | 20241227-a133-display-support-v1-14-abad35b3579c@linumiz.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 83C83E7718F for <dri-devel@archiver.kernel.org>; Fri, 27 Dec 2024 13:02:45 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EE6B610E3E2; Fri, 27 Dec 2024 13:02:44 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linumiz.com header.i=@linumiz.com header.b="h60Cnhqq"; dkim-atps=neutral Received: from omta40.uswest2.a.cloudfilter.net (omta40.uswest2.a.cloudfilter.net [35.89.44.39]) by gabe.freedesktop.org (Postfix) with ESMTPS id 69D1110E3E2 for <dri-devel@lists.freedesktop.org>; Fri, 27 Dec 2024 13:02:43 +0000 (UTC) Received: from eig-obgw-5009a.ext.cloudfilter.net ([10.0.29.176]) by cmsmtp with ESMTPS id QhqotBh9WvH7lR9zHtJjNP; Fri, 27 Dec 2024 13:02:43 +0000 Received: from md-in-79.webhostbox.net ([43.225.55.182]) by cmsmtp with ESMTPS id R9zDt7pU4lDL5R9zGtTX2I; Fri, 27 Dec 2024 13:02:42 +0000 X-Authority-Analysis: v=2.4 cv=LLtgQoW9 c=1 sm=1 tr=0 ts=676ea572 a=LfuyaZh/8e9VOkaVZk0aRw==:117 a=kofhyyBXuK/oEhdxNjf66Q==:17 a=IkcTkHD0fZMA:10 a=RZcAm9yDv7YA:10 a=-pn6D5nKLtMA:10 a=vU9dKmh3AAAA:8 a=zUiwhsQguGSo42tcF88A:9 a=QEXdDO2ut3YA:10 a=rsP06fVo5MYu2ilr0aT5:22 a=ZCPYImcxYIQFgLOT52_G:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linumiz.com ; s=default; h=Cc:To:In-Reply-To:References:Message-Id: Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date:From:Sender: Reply-To: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=2ZTlzpcY9Nrn1bF4NErKmO8JMU6UkWIH2f9/tcnoXh0=; b=h60CnhqqUMOGMSy70Z9VL1KUwR QffNVIHiXr70rv8OaqklP2hQD1GZDLPCvHOlxd5uvj6QaJazLHM3OwPGlG+r8iU/SzsgtF4Phr2XQ 7Hn59WEPTyLnxuhnq17Sxqa1cBmN0AOcvbD+N9RqQzPMb+uwYB9AwAuUMnAieCDBytl6A6DR+f+RR O9Ds+jOusKNNHaHNVkCxO+rlrbuaC4aJoPVHcV0pO+OnwhPnPinhO3H2qv51In/GVZlAg9/nxN/oK ZvurWpl0JUcWI2PdbSH03MaY9xlcydEvt39sD3kPEHkGQnR+xGSoI+lXS3C13XgV74Ps8cdlwmPzn v/f2DOUQ==; Received: from [122.165.245.213] (port=58270 helo=[127.0.1.1]) by md-in-79.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from <parthiban@linumiz.com>) id 1tR9z7-002EaQ-3D; Fri, 27 Dec 2024 18:32:34 +0530 From: Parthiban Nallathambi <parthiban@linumiz.com> Date: Fri, 27 Dec 2024 18:31:03 +0530 Subject: [PATCH RESEND 14/22] drm/sun4i: add a100/a133 tcon top quirks MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20241227-a133-display-support-v1-14-abad35b3579c@linumiz.com> References: <20241227-a133-display-support-v1-0-abad35b3579c@linumiz.com> In-Reply-To: <20241227-a133-display-support-v1-0-abad35b3579c@linumiz.com> To: Joerg Roedel <joro@8bytes.org>, Will Deacon <will@kernel.org>, Robin Murphy <robin.murphy@arm.com>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, Maxime Ripard <mripard@kernel.org>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Thomas Zimmermann <tzimmermann@suse.de>, David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Philipp Zabel <p.zabel@pengutronix.de>, Linus Walleij <linus.walleij@linaro.org>, Vinod Koul <vkoul@kernel.org>, Kishon Vijay Abraham I <kishon@kernel.org> Cc: iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-phy@lists.infradead.org, Parthiban Nallathambi <parthiban@linumiz.com> X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1735304469; l=1225; i=parthiban@linumiz.com; s=20241125; h=from:subject:message-id; bh=sSqsAP7aI8LtOIYP4k3+cQUQommzJizcH73kj4wGkh0=; b=etgR0WozJ6FedUsj8QZRkuSuTGoFif4KjCLqCjwbv8L+qrj612zBtWKektRdXpvUXmgZ3F4+O VxDXUVsKYOlDuQzikqiyQK7UFWoo15bkUVFCvaacYMP2PpZaPaJ+PWt X-Developer-Key: i=parthiban@linumiz.com; a=ed25519; pk=PrcMZ/nwnHbeXNFUFUS833wF3DAX4hziDHEbBp1eNb8= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - md-in-79.webhostbox.net X-AntiAbuse: Original Domain - lists.freedesktop.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - linumiz.com X-BWhitelist: no X-Source-IP: 122.165.245.213 X-Source-L: No X-Exim-ID: 1tR9z7-002EaQ-3D X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([127.0.1.1]) [122.165.245.213]:58270 X-Source-Auth: parthiban@linumiz.com X-Email-Count: 428 X-Org: HG=dishared_whb_net_legacy;ORG=directi; X-Source-Cap: bGludW1jbWM7aG9zdGdhdG9yO21kLWluLTc5LndlYmhvc3Rib3gubmV0 X-Local-Domain: yes X-CMAE-Envelope: MS4xfL/H/Ty1bsF0OM33lrXQT60H1BdKWs6fabSV1cROkoooB6L0VuI0KooeiD+jtRtUnikahCko8dxsObSo56OBYFAKGo1fdNcNfD3dn8UazzOhM9H1jmSh kZFpuqsbD6H4RN1XToO3s63vzCBGf9OX+ESmJ3LhatWZwkfiuMg+C05HhhNhO9oIFTIPx7W3DfO3Cgyu8G+MRjtSLEr10/ZIMhxZFdV8YlvsxA4ErHnZR2bB X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
Add support for A100/A133 display
|
expand
|
diff --git a/drivers/gpu/drm/sun4i/sun8i_tcon_top.c b/drivers/gpu/drm/sun4i/sun8i_tcon_top.c index bd9d0840ead7..a777b30ecea0 100644 --- a/drivers/gpu/drm/sun4i/sun8i_tcon_top.c +++ b/drivers/gpu/drm/sun4i/sun8i_tcon_top.c @@ -280,6 +280,10 @@ static const struct sun8i_tcon_top_quirks sun20i_d1_tcon_top_quirks = { .has_dsi = true, }; +static const struct sun8i_tcon_top_quirks sun50i_a100_tcon_top_quirks = { + /* TODO DSI support */ +}; + static const struct sun8i_tcon_top_quirks sun50i_h6_tcon_top_quirks = { .has_tcon_tv0 = true, }; @@ -294,6 +298,10 @@ const struct of_device_id sun8i_tcon_top_of_table[] = { .compatible = "allwinner,sun20i-d1-tcon-top", .data = &sun20i_d1_tcon_top_quirks }, + { + .compatible = "allwinner,sun50i-a100-tcon-top", + .data = &sun50i_a100_tcon_top_quirks + }, { .compatible = "allwinner,sun50i-h6-tcon-top", .data = &sun50i_h6_tcon_top_quirks
A100/A133 comes with 2 x LVDS, 1 x DSI without TV support. Add quirks with tv0 disabled. DSI support is not added. Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com> --- drivers/gpu/drm/sun4i/sun8i_tcon_top.c | 8 ++++++++ 1 file changed, 8 insertions(+)