Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3818879iog; Tue, 21 Jun 2022 06:38:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tovU/+M2KxQb5dFjdlq3uInamb59fqMYv8v5IJ/A9FSRbQNfxlhXN55PaFK8uBAJvf6O5j X-Received: by 2002:a17:907:7b8a:b0:707:59d4:14a3 with SMTP id ne10-20020a1709077b8a00b0070759d414a3mr25770387ejc.51.1655818707319; Tue, 21 Jun 2022 06:38:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655818707; cv=none; d=google.com; s=arc-20160816; b=wbht/5J09j1yuG0LB7ysb2jYlK8GWbzl3HPPDgv2SbTXMj/JrckiIOoRalwB9Ie87v uJLWD84vWT58v5kNL/NY7XTn00AU0flbImmmGHN6Ry4TNNpvtXQeou3v/Uy9V2/Vqi78 nEGrW0YTt+dmsg8SxycDfhUdWTw8iwIkzF+LWXrxgaTLfeZl+zrhDnnWfIizZhDQP7ZV aeNd4MOGmAXv5ZXSik5Oxe6LK/Vp4unGd5+pPC7208GC4J6Bme9CMi92xkDVZJ1rZygG IGx9z0YJ13VYIjeywTFCymQmgy0X4zidgFMoISvWpXP/fS3oWy/sZbIGu+lGjQ8VsGny jKeQ== 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=ZvTjJIn2FR8SsPVe28ETPIqVRTDSKfyWBierhjapU6Q=; b=DnQAsbKKsVprBSyDxJFyEy22PEA8fJ5a0b6QG4s0NupC0PRai7y9J8w7EztrxfwKHh mK6aDdFROUpy8UKj9y2dPMIbY+JbERbHw02zIF+4+RCLhe3lpVTxqMff4w5HbYMw0r+i NvE4fVDONnd60DwQZSkzdX7GHsDnMb2OKcxgL4VY2tOqZuQXUSH5enCxnofc9ZXsIDoQ lDYHReSZqLUT9tYDszZam5zIKy7cBMjuORRBHi00EC1Cp26xffInYXl9KA6Rf25ImIr6 fPxuGjNlU69d57Ld+hQ+JUcGqMIIvA7hNQhjPtf9tP6oZ0q2cUKzftO5t3YnLzBlPBU/ IEaQ== 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 o21-20020a170906975500b00713cc5ee95bsi18567199ejy.893.2022.06.21.06.38.01; Tue, 21 Jun 2022 06:38:27 -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 S232727AbiFUNef (ORCPT + 99 others); Tue, 21 Jun 2022 09:34:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351939AbiFUNdL (ORCPT ); Tue, 21 Jun 2022 09:33:11 -0400 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FC162AE26 for ; Tue, 21 Jun 2022 06:30:30 -0700 (PDT) Received: from ramsan.of.borg ([84.195.186.194]) by baptiste.telenet-ops.be with bizsmtp id lpWF2700F4C55Sk01pWFgS; Tue, 21 Jun 2022 15:30:28 +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 1o3dxN-000BYK-Uo; Tue, 21 Jun 2022 15:30:13 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1o3dxN-006KTv-FK; Tue, 21 Jun 2022 15:30:13 +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] drm/bridge: imx: i.MX8 bridge drivers should depend on ARCH_MXC Date: Tue, 21 Jun 2022 15:30:11 +0200 Message-Id: <43645c9b5cd657664c1340d40133f2116c8cef43.1655818025.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.MX8MP 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 --- Probably the remaining i.MX bridge drivers in drivers/gpu/drm/bridge/Kconfig (e.g. DRM_FSL_LDB) should be moved here, too? --- 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