From patchwork Fri Mar 18 20:37:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 12785902 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F127C433F5 for ; Fri, 18 Mar 2022 20:38:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240711AbiCRUjV (ORCPT ); Fri, 18 Mar 2022 16:39:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239028AbiCRUjT (ORCPT ); Fri, 18 Mar 2022 16:39:19 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11821E29DF for ; Fri, 18 Mar 2022 13:37:59 -0700 (PDT) Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id BB8CFEE; Fri, 18 Mar 2022 21:37:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1647635877; bh=VjyaiLuBjjXdEBWXVin/rjPGvmckOvSopLNhTWJnBbg=; h=From:To:Cc:Subject:Date:From; b=si4vQJP/O8nZuQVUMSEmWFSZfPNI1GjBFj4pWDfZxhMN59TJ9GboX0LGYL/pwzZvh p6udZ0GTKnOrKXfnj9S1NL21P0+++LPXO4nSw390MIs4QLAtzAU4b3wXUG0ZsQJbUr 8l+ApcYi/uWLLbktArsieAytj9KLOF7FfTvBsKsM= From: Laurent Pinchart To: linux-media@vger.kernel.org Cc: Jacopo Mondi , Rui Miguel Silva Subject: [PATCH] media: nxp: Restrict VIDEO_IMX_MIPI_CSIS to ARCH_MXC or COMPILE_TEST Date: Fri, 18 Mar 2022 22:37:35 +0200 Message-Id: <20220318203735.5923-1-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Laurent Pinchart The imx-mipi-csis driver is specific to NXP platforms. Restrict it to those by default, and enable compilation with COMPILE_TEST to keep a wide test coverage. Signed-off-by: Laurent Pinchart Reviewed-by: Rui Miguel Silva Reviewed-by: Kieran Bingham Reviewed-by: Paul Elder --- drivers/media/platform/nxp/Kconfig | 1 + 1 file changed, 1 insertion(+) base-commit: 71e6d0608e4d1b79069990c7dacb3600ced28a3b diff --git a/drivers/media/platform/nxp/Kconfig b/drivers/media/platform/nxp/Kconfig index 7473096f5885..28f2bafc14d2 100644 --- a/drivers/media/platform/nxp/Kconfig +++ b/drivers/media/platform/nxp/Kconfig @@ -6,6 +6,7 @@ comment "NXP media platform drivers" config VIDEO_IMX_MIPI_CSIS tristate "NXP MIPI CSI-2 CSIS receiver found on i.MX7 and i.MX8 models" + depends on ARCH_MXC || COMPILE_TEST select MEDIA_CONTROLLER select V4L2_FWNODE select VIDEO_V4L2_SUBDEV_API