From patchwork Thu Aug 25 10:20:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 12954491 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 E4342C04AA5 for ; Thu, 25 Aug 2022 10:23:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=x1DqG+exisBERnW5udbBWfkNJ/eEo2rKxDXOkSn7HBg=; b=xnNNF/21S5ERn8 rFBAgnwkHk8cuteok/lYsZM/BQyt5NLs22WQFR66nr3rFyeiVXghvSMb29iH2tW3hd3XK8ryvZU3X weJnrvRC8hrrZjXZuGeIL+yESL7tk4uimjZH6+Mal7fKymLMudWxQnyBfuslFD66iJ0WFg67ZecXf kAXJoEBH3eyLvq9x+znhi3CK8EZeRzdiMhvvhgbdhDM2E8sg4PXnh5lVdmKgAHwmEcS/i07xawEdy LF+H9Dml9sEYo1foPO0q6xUXezkt+TnvxxakXT7qq8AdW/jqoTMYgJyFTiQ5WyQegoVQhcn2w8dC7 zS4UlYvQJvaWsj1TWp+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oRA0N-00BpXl-If; Thu, 25 Aug 2022 10:22:31 +0000 Received: from relay9-d.mail.gandi.net ([2001:4b98:dc4:8::229]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oR9yp-00Bow8-34 for linux-arm-kernel@lists.infradead.org; Thu, 25 Aug 2022 10:21:03 +0000 Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 2B506FF807; Thu, 25 Aug 2022 10:20:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1661422849; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zEL2BOVtRdgmcJofrdddblFhlX9Lkxqbacj6hHCHUqk=; b=DbCsD3sMKUhPXj+0SPm+sqKAYUtWy1ygwnDU9M+WXWKA1j7ZjpBgRrnPyBvjtJZvm/R8rC ILqcPGBYcH0YTMYgdsRMCCKR12b/Wz+/zofjuD6lPP60RG+IyewPFGKtJP4r4VpGRXWDQY sUq2HSjc2+qG4dz9V2YccV5vgMhLP47KIxKxNbLEfC670iK82E53vXJxWO0sZ+rpvv8zHh F7tKo/D49NwxVS4EmSH+RvQPD4Y+jLCbqvth7nAPPV6z9LJvf4fnhcU4g2EPOxac0hAgBj KmfvT5UOOT0tMPGbBzmzg8CIi1E+un7Czibynxn/NnIgTnwqbxw/J/cOr7l5wQ== From: Paul Kocialkowski To: linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Cc: Maxime Ripard , Mauro Carvalho Chehab , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Paul Kocialkowski , Hans Verkuil , Sakari Ailus , Thomas Petazzoni , kernel test robot Subject: [PATCH v2 1/7] media: sun6i-mipi-csi2: Add a Kconfig dependency on RESET_CONTROLLER Date: Thu, 25 Aug 2022 12:20:29 +0200 Message-Id: <20220825102035.419087-2-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220825102035.419087-1-paul.kocialkowski@bootlin.com> References: <20220825102035.419087-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220825_032055_311299_8DAA867B X-CRM114-Status: GOOD ( 12.09 ) 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 The driver relies on the reset controller API to work, so add RESET_CONTROLLER as one of its Kconfig dependencies. It also selects PHY_SUN6I_MIPI_DPHY, which depends on RESET_CONTROLLER. Fixes: af54b4f4c17f ("media: sunxi: Add support for the A31 MIPI CSI-2 controller") Signed-off-by: Paul Kocialkowski Reported-by: kernel test robot Acked-by: Jernej Skrabec --- drivers/media/platform/sunxi/sun6i-mipi-csi2/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/sunxi/sun6i-mipi-csi2/Kconfig b/drivers/media/platform/sunxi/sun6i-mipi-csi2/Kconfig index eb982466abd3..781aedbe1e30 100644 --- a/drivers/media/platform/sunxi/sun6i-mipi-csi2/Kconfig +++ b/drivers/media/platform/sunxi/sun6i-mipi-csi2/Kconfig @@ -3,7 +3,7 @@ config VIDEO_SUN6I_MIPI_CSI2 tristate "Allwinner A31 MIPI CSI-2 Controller Driver" depends on V4L_PLATFORM_DRIVERS && VIDEO_DEV depends on ARCH_SUNXI || COMPILE_TEST - depends on PM && COMMON_CLK + depends on PM && COMMON_CLK && RESET_CONTROLLER select MEDIA_CONTROLLER select VIDEO_V4L2_SUBDEV_API select V4L2_FWNODE