Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp343027iog; Fri, 24 Jun 2022 05:15:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1unlKX+WWYTSaZDxDZuLXGPVUPdsBjNcULbjDdr6oRG4h6MNzXB7hu0rArAWKJ+7f4m1QhQ X-Received: by 2002:a17:902:8546:b0:16a:2c14:1ccc with SMTP id d6-20020a170902854600b0016a2c141cccmr22949725plo.151.1656072952931; Fri, 24 Jun 2022 05:15:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656072952; cv=none; d=google.com; s=arc-20160816; b=v/MjxvWssNfc8fqpCsU8x6XZ1PNylHf2Y+Ymn4WZRIkVZ19LwopxhveRm+w+QAHssd ca0Zr5QyH06OXPV291xsAOYhgyx1HH6GdLKxZTSmEPARmgnwpGJ/z9mPkf9mwyQg2Xkh BologhHBMNgazNf+THrYW8+P64XI4Mwu35KBrnKAHWXPGKdMzKs5vRwa6H22tn5IUsbv ySla3Vr6u/LO8dkRbz2MTcROM82uMstVCc0PlsZZPZ5sZ+5wHzsYsTSxfG1WKCc0j7AB /Pd44AD/E51/IMJ6lsfDNObBAwY04FUV0XqDzop+Hb7f2AzgHzs4UXGhAwBuSZA0y/8i 8SQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=kOucybH+pT4/VaHE7Erl1yBdrRWK55LZklH3uGFjh6w=; b=RWxu+BMDaNAV3d/OH2qkxpoI8Zm1gvYZU0cZnMq5gv4l5sx+vIpJN3gpjBBlUbLXY1 2VwsaeemFUehmyCMoYZ3eEa8WKl9IccU5T2g72XvqygVfKIdozN/hQng1OTr3YpNwbTh zcQt91FCbdtw5uD6EjnAIBkIXywWBKR9DCpfIHPVFi4OtV0JJ7cxyYaQi+vRd7lqGAgv lGpaV2CNDw/HURxTJKTQnxiTkqx3nwbHSmcXJvL285+CEAP7KmfnvhSvoY9J56+3V76t 912GRz3kgnoCNelngx6e2+/sKkpk0GWItbIdUIp4PrVQFqAWXTiwsHwv7MUT3i3jv5Df GKug== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i8-20020a170902cf0800b0015bd2c5232esi3019553plg.568.2022.06.24.05.15.40; Fri, 24 Jun 2022 05:15:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230240AbiFXMLN (ORCPT + 99 others); Fri, 24 Jun 2022 08:11:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229615AbiFXMLM (ORCPT ); Fri, 24 Jun 2022 08:11:12 -0400 Received: from andre.telenet-ops.be (andre.telenet-ops.be [IPv6:2a02:1800:120:4::f00:15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF68010EB for ; Fri, 24 Jun 2022 05:11:11 -0700 (PDT) Received: from ramsan.of.borg ([84.195.186.194]) by andre.telenet-ops.be with bizsmtp id n0Au270034C55Sk010AuK9; Fri, 24 Jun 2022 14:11:09 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1o4i9F-000gb5-7w; Fri, 24 Jun 2022 14:10:53 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1o4i9E-009n2N-Gy; Fri, 24 Jun 2022 14:10:52 +0200 From: Geert Uytterhoeven To: Liu Ying , Andrzej Hajda , Neil Armstrong , Robert Foss , David Airlie , Daniel Vetter , Shawn Guo , Sascha Hauer , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Sakari Ailus , Marek Vasut Cc: dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2] drm/bridge: imx: i.MX8 bridge drivers should depend on ARCH_MXC Date: Fri, 24 Jun 2022 14:10:51 +0200 Message-Id: <42c542b53a1c8027b23a045045fbb7b34479913d.1656072500.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The various Freescale i.MX8 display bridges are only present on Freescale i.MX8 SoCs. Hence add a dependency on ARCH_MXC, to prevent asking the user about these drivers when configuring a kernel without i.MX SoC support. Fixes: e60c4354840b2fe8 ("drm/bridge: imx: Add LDB support for i.MX8qm") Fixes: 3818715f62b42b5c ("drm/bridge: imx: Add LDB support for i.MX8qxp") Fixes: 96988a526c97cfbe ("drm/bridge: imx: Add i.MX8qxp pixel link to DPI support") Fixes: 1ec17c26bc06289d ("drm/bridge: imx: Add i.MX8qm/qxp display pixel link support") Fixes: 93e163a9e0392aca ("drm/bridge: imx: Add i.MX8qm/qxp pixel combiner support") Signed-off-by: Geert Uytterhoeven Reviewed-by: Liu Ying --- v2: - s/i.MX8MP/i.MX8/, - Add Reviewed-by. --- drivers/gpu/drm/bridge/imx/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/bridge/imx/Kconfig b/drivers/gpu/drm/bridge/imx/Kconfig index 212a7b0e64fd8b5a..608f47f41bcd1c81 100644 --- a/drivers/gpu/drm/bridge/imx/Kconfig +++ b/drivers/gpu/drm/bridge/imx/Kconfig @@ -1,3 +1,5 @@ +if ARCH_MXC || COMPILE_TEST + config DRM_IMX8QM_LDB tristate "Freescale i.MX8QM LVDS display bridge" depends on OF @@ -41,3 +43,5 @@ config DRM_IMX8QXP_PIXEL_LINK_TO_DPI help Choose this to enable pixel link to display pixel interface(PXL2DPI) found in Freescale i.MX8qxp processor. + +endif # ARCH_MXC || COMPILE_TEST -- 2.25.1