From patchwork Tue Oct 15 07:29:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13835812 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 D8571CFC273 for ; Tue, 15 Oct 2024 07:31: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:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=7LhdqNvhbx/zUfSQpiOVX7Szunw0SYGT96nR458ryGw=; b=Vdvg9PpG/YT18C5FUGRn43bF6C ZbpGqQe1EpZw0UbQ+jnqXTARzAVu9T0kr4/+1eWpJiE6CDDy3A8xyVHORiRm0URTMRmRblbrbyN+w vG7ukAJrRxrshnGZKKIdjk7OkZTtV3SuZbCxM9Xkfjwm4Xlz+bKFw84MCl04J4ENzBu2iQTdHXOie re++ax8JpXl8hfIdyG2/RQt4HlgzfeugSbLUZs78X0PSHg5zlvULy/uk61/tQdmRqtJirEswgL+tO aDFCZjatkWagFMkeTxGONIOEHWT08OBS/w7KpEJtVIkNoOZtvhzyuU92n77WYF0vFyPi9YT+Hz6Qi ZS7bbaSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t0c1u-00000007Lnp-32Eg; Tue, 15 Oct 2024 07:31:42 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t0c0S-00000007LQ0-3zMn for linux-arm-kernel@lists.infradead.org; Tue, 15 Oct 2024 07:30:14 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 107E25C5CCF; Tue, 15 Oct 2024 07:30:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5810CC4CEC7; Tue, 15 Oct 2024 07:30:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1728977411; bh=WzQng1jqigLHiW/ZeFs9Mk/VLb7dmk5XfaPiLi6P/U4=; h=From:To:Cc:Subject:Date:From; b=G/aMMY2RTpSHa/d9iSlkbAP8/2+6vPMCQj7WcPtrsPpvFCOFje8w2wZwdz+e4wQiu Kp7Bq6TEHSUSsD5IpvX9ZK8mOkQEENGT5w0qlsCCBL5Mt6QibSOEFXs5FVsDLbuJUX cuJvFXopzldl1ywj+8eSw5aDrOuAa7q4a+KOxAHeMX0jHV2+3eINPuL38nigxOIW78 6WJD9ZJeTb2zVlU8X7gi1A+EoXvTNx1jBpiusAg26WbwWs5yFjx4A6P6ekxAmwqXws DPEZGlNnx2OSiYnHgvH82/uyGMtR1xUJxW2b6L7cMAyARYp9IvWMSO7njdAZooskBg B8/XL1sUO8rlA== From: Arnd Bergmann To: Philipp Zabel , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Shawn Guo , Sascha Hauer , Dmitry Baryshkov Cc: Arnd Bergmann , Pengutronix Kernel Team , Fabio Estevam , Alexander Stein , Geert Uytterhoeven , dri-devel@lists.freedesktop.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] drm/imx: parallel-display: add legacy bridge Kconfig dependency Date: Tue, 15 Oct 2024 07:29:57 +0000 Message-Id: <20241015073004.4066457-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241015_003013_055533_D6D9CBF2 X-CRM114-Status: GOOD ( 10.15 ) 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 From: Arnd Bergmann The driver now uses the legacy bridge helper code but can be configured to get built without it: ERROR: modpost: "devm_imx_drm_legacy_bridge" [drivers/gpu/drm/imx/ipuv3/parallel-display.ko] undefined! Add the required dependency, same as in the ldb driver. Fixes: f94b9707a1c9 ("drm/imx: parallel-display: switch to imx_legacy_bridge / drm_bridge_connector") Signed-off-by: Arnd Bergmann Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/imx/ipuv3/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/imx/ipuv3/Kconfig b/drivers/gpu/drm/imx/ipuv3/Kconfig index 0ea1feb84672..acaf25089001 100644 --- a/drivers/gpu/drm/imx/ipuv3/Kconfig +++ b/drivers/gpu/drm/imx/ipuv3/Kconfig @@ -15,6 +15,7 @@ config DRM_IMX_PARALLEL_DISPLAY depends on DRM_IMX select DRM_BRIDGE select DRM_BRIDGE_CONNECTOR + select DRM_IMX_LEGACY_BRIDGE select DRM_PANEL_BRIDGE select VIDEOMODE_HELPERS From patchwork Tue Oct 15 07:29:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13835814 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 0AA63CFC273 for ; Tue, 15 Oct 2024 07:33:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8NlYhsKHUCoGzvSGCNkf2WWckiGqwedk9V38byIs2jE=; b=2E7d7O4rQF6blLvcGeEKr3ir8Z RR0LYYWY8eWl1rBRQ0TvmDrphX7JYVFSB34NLxyXSoVOFflcImIOGk8pnZkfu3uG3uvpLI+mbcpdW OvGWQTnBqj7qSXE3+AsRpi/3FYTWVsrxLtJZIszxpx1UuCrRSdey1B7feaUzMESimb0ZJ2f8B0Euh jnyYKfbb6qKq4EwaIUqzjWOFsG0LpQzV92wI+/EEaTHsrKtfNfB7DSXFJh11gpQ/ypV3dQTbCToOq yseh5kZsMaqlBqu/LwTNq4pdagyqzdZHE/tpajYY8fSqSV/7zc5Fgp8haNzlECZZaOi4J4UNM5MYU 9Cfq8hKg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t0c3I-00000007MAv-1yBY; Tue, 15 Oct 2024 07:33:08 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t0c0c-00000007LTp-04BK for linux-arm-kernel@lists.infradead.org; Tue, 15 Oct 2024 07:30:23 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 282CB5C5CF7; Tue, 15 Oct 2024 07:30:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 975B3C4CEC7; Tue, 15 Oct 2024 07:30:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1728977421; bh=keUb9CjekSjahuXcS0fp1hkqPH8WA5k0uSQIqftR4l8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ta48acNcynUOpgmz3NbgHOdyKvRbF5kdZTeBYj1zR5EWlO/CWkDpGcAR7vaW0KLlo qAkRglYbA8OTOkt3Hhzw4++KYGVUXSV3NhpxOatcTIRPridmwpHPev3rppTCf6xIGi UQz4fgcUuYALT7yVtzCjJBkOWpGhvrtZ/F5ySDIHNZUH3Vhe8MzoLC//15pzUrx21Q UAEMQpgv/CLlluIryWb44OklhFOLmxO4SXPXaj+nayMwtDWc4W6ANKpMaejOSMcT90 qYN1aZpf3Q+uP1WKxehU5iXCDsO+gzck9xfu7gsvxJqTrmMdb83QkG/NCwyKzMgruD THf1KiqTBKdrQ== From: Arnd Bergmann To: Liu Ying , Andrzej Hajda , Neil Armstrong , Robert Foss , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Shawn Guo , Sascha Hauer , Dmitry Baryshkov , Philipp Zabel Cc: Arnd Bergmann , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Pengutronix Kernel Team , Fabio Estevam , dri-devel@lists.freedesktop.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] drm/imx: legacy-bridge: add MODULE_DESCRIPTION Date: Tue, 15 Oct 2024 07:29:58 +0000 Message-Id: <20241015073004.4066457-2-arnd@kernel.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241015073004.4066457-1-arnd@kernel.org> References: <20241015073004.4066457-1-arnd@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241015_003022_125882_1CBC763A X-CRM114-Status: UNSURE ( 9.19 ) 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 From: Arnd Bergmann Every module should have a description, without this we get a build time warning. Fixes: cc3e8a216d6b ("drm/imx: add internal bridge handling display-timings DT node") Signed-off-by: Arnd Bergmann Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/bridge/imx/imx-legacy-bridge.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/bridge/imx/imx-legacy-bridge.c b/drivers/gpu/drm/bridge/imx/imx-legacy-bridge.c index 07a78a02a884..3ebf0b9866de 100644 --- a/drivers/gpu/drm/bridge/imx/imx-legacy-bridge.c +++ b/drivers/gpu/drm/bridge/imx/imx-legacy-bridge.c @@ -85,3 +85,4 @@ struct drm_bridge *devm_imx_drm_legacy_bridge(struct device *dev, EXPORT_SYMBOL_GPL(devm_imx_drm_legacy_bridge); MODULE_LICENSE("GPL"); +MODULE_DESCRIPTION("Freescale i.MX DRM bridge driver for legacy DT bindings");