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: 12954476 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 759C6C3F6B0 for ; Thu, 25 Aug 2022 10:21:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240783AbiHYKVA (ORCPT ); Thu, 25 Aug 2022 06:21:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240222AbiHYKU4 (ORCPT ); Thu, 25 Aug 2022 06:20:56 -0400 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DB4E4506E; Thu, 25 Aug 2022 03:20:50 -0700 (PDT) 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 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.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 From patchwork Thu Aug 25 10:20:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 12954478 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 1A58AC04AA5 for ; Thu, 25 Aug 2022 10:21:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240932AbiHYKVH (ORCPT ); Thu, 25 Aug 2022 06:21:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240558AbiHYKU5 (ORCPT ); Thu, 25 Aug 2022 06:20:57 -0400 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD6CB4A13B; Thu, 25 Aug 2022 03:20:54 -0700 (PDT) Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id D1EC3FF808; Thu, 25 Aug 2022 10:20:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1661422851; 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=IzB+ZjeFxSubIbckJFHyy2gFTr+81Hl2oySEiG8m66Y=; b=PNJeFEyZENsQHhbvaHJVHs+IgPK1PEruJkam+lG5sVhzNaDcpGF+uMTTpKN0gXCOit0obf jvolvopZqirQfhtGluzFaHVDOcU37aUA5TeuCiewr43pB4v6tG5U2BCQgB5nAkx+Mkywdj GEj4QsNX0zkaWG9LwsYOfgFaF86Dlmu++Wbu1AQcmMJ8ze536UACfxTdheGKhpeCKt/6x5 ymh+nOER4PLiI0WzMm6W6hZjksre+VNQBk9UtzHlKuSehKuE6xQ7bki5s1ariFNLsZ9clY KMTNhGpd40WoAkMbuldNRKYwlfGI7NQd7LMHBn+3vi/Tnsrdm0fKC+9Et0sjcQ== 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 Subject: [PATCH v2 2/7] media: sun8i-a83t-mipi-csi2: Add a Kconfig dependency on RESET_CONTROLLER Date: Thu, 25 Aug 2022 12:20:30 +0200 Message-Id: <20220825102035.419087-3-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 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The driver relies on the reset controller API to work, so add RESET_CONTROLLER as one of its Kconfig dependencies. Fixes: 576d196c522b ("media: sunxi: Add support for the A83T MIPI CSI-2 controller") Signed-off-by: Paul Kocialkowski --- drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/Kconfig b/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/Kconfig index 789d58ee12ea..47a8c0fb7eb9 100644 --- a/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/Kconfig +++ b/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/Kconfig @@ -3,7 +3,7 @@ config VIDEO_SUN8I_A83T_MIPI_CSI2 tristate "Allwinner A83T MIPI CSI-2 Controller and D-PHY 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 From patchwork Thu Aug 25 10:20:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 12954477 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 50E71C04AA5 for ; Thu, 25 Aug 2022 10:21:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240814AbiHYKVC (ORCPT ); Thu, 25 Aug 2022 06:21:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240515AbiHYKU5 (ORCPT ); Thu, 25 Aug 2022 06:20:57 -0400 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C95BE48C9D; Thu, 25 Aug 2022 03:20:53 -0700 (PDT) Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 2190DFF805; Thu, 25 Aug 2022 10:20:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1661422852; 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=4M0OUTtVFa6Uags3Jabt9ynYEV9lsMeV9tKIQyol+aM=; b=R8GgMm/w1fBcOGxQaOCQqP9Xoe0iVkicHfxKNKUwF4gjn169G6MukaSsnfAJoSAaETS6T0 amYmO/daCjkAvpB0EKBDrwiecRcpV9LVd/kD1nyFWRFPCa+LtHdMdBMX13mFG9Zd/IcWdi 1wWz28Fb82fYit2jDVlsIRbc55lX1Y7Thkt9TCcnxQ9rOmqBrsw8gmdbTp9oS0SASDXD0o GMGur4R2cVcIrGaiqkGIiepKN5SlgrY1JKybUNG2GiCPgomuPleolMi2/MTJy73gWgh4Zp S8j3O0DLPiCKsJjI7qUaPxUdMA/nxwpMvdSo75veRa1b/bc00bBZQocHTcN9wA== 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 Subject: [PATCH v2 3/7] media: sun6i-csi: Add a Kconfig dependency on RESET_CONTROLLER Date: Thu, 25 Aug 2022 12:20:31 +0200 Message-Id: <20220825102035.419087-4-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 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The driver relies on the reset controller API to work, so add RESET_CONTROLLER as one of its Kconfig dependencies. Fixes: 5cc7522d8965 ("media: sun6i: Add support for Allwinner CSI V3s") Signed-off-by: Paul Kocialkowski --- drivers/media/platform/sunxi/sun6i-csi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/sunxi/sun6i-csi/Kconfig b/drivers/media/platform/sunxi/sun6i-csi/Kconfig index 0345901617d4..e5b6991ce7f0 100644 --- a/drivers/media/platform/sunxi/sun6i-csi/Kconfig +++ b/drivers/media/platform/sunxi/sun6i-csi/Kconfig @@ -2,7 +2,7 @@ config VIDEO_SUN6I_CSI tristate "Allwinner V3s Camera Sensor Interface driver" depends on V4L_PLATFORM_DRIVERS - depends on VIDEO_DEV && COMMON_CLK && HAS_DMA + depends on VIDEO_DEV && COMMON_CLK && RESET_CONTROLLER && HAS_DMA depends on ARCH_SUNXI || COMPILE_TEST select MEDIA_CONTROLLER select VIDEO_V4L2_SUBDEV_API From patchwork Thu Aug 25 10:20:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 12954479 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 EDE4EC28D13 for ; Thu, 25 Aug 2022 10:21:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240941AbiHYKVK (ORCPT ); Thu, 25 Aug 2022 06:21:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240650AbiHYKU6 (ORCPT ); Thu, 25 Aug 2022 06:20:58 -0400 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A1B14B0CB; Thu, 25 Aug 2022 03:20:55 -0700 (PDT) Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 5D842FF80C; Thu, 25 Aug 2022 10:20:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1661422854; 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=XCCDEzVwTVLtlf8o0a9/64+Fmuo4aKGTefSUM+dGm4U=; b=EK/EVpMCJyxbuQzGfxLcMXkr63cSaM7tEAbUDfv7fZcmEnwyrPA4xQyci+0duWUT+se7Zr YZfwBkQPoZRwreX1Qrn4hm+qlMbb/Ju4cyn5Xo8SkRdqzqj85/qsLS2wiV++v0/DHad/Yi uKJTuAKKOx1gwBuiLxYAkj4Bmin9gW562cYFWw2XohGuHHXtXTGSo9VFkla/HlKS5Ujx+w 4OOZrg3ELWRMLuIHNj9/RAmQ36lHIaUHS8xB77ugHgk1GiMoFbOYHA+Kh4npuwJBA/+PjF IcAGp5UxErtbjUAMkzg6hr1+padjGSc8RxRRNpBfm3Kf5BDoKQnk2xKT6JA4LQ== 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 Subject: [PATCH v2 4/7] media: sun4i-csi: Add a Kconfig dependency on RESET_CONTROLLER Date: Thu, 25 Aug 2022 12:20:32 +0200 Message-Id: <20220825102035.419087-5-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 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The driver relies on the reset controller API to work, so add RESET_CONTROLLER as one of its Kconfig dependencies. Fixes: 577bbf23b758 ("media: sunxi: Add A10 CSI driver") Signed-off-by: Paul Kocialkowski --- drivers/media/platform/sunxi/sun4i-csi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/sunxi/sun4i-csi/Kconfig b/drivers/media/platform/sunxi/sun4i-csi/Kconfig index 7960e6836f41..60610c04d6a7 100644 --- a/drivers/media/platform/sunxi/sun4i-csi/Kconfig +++ b/drivers/media/platform/sunxi/sun4i-csi/Kconfig @@ -3,7 +3,7 @@ config VIDEO_SUN4I_CSI tristate "Allwinner A10 CMOS Sensor Interface Support" depends on V4L_PLATFORM_DRIVERS - depends on VIDEO_DEV && COMMON_CLK && HAS_DMA + depends on VIDEO_DEV && COMMON_CLK && RESET_CONTROLLER && HAS_DMA depends on ARCH_SUNXI || COMPILE_TEST select MEDIA_CONTROLLER select VIDEO_V4L2_SUBDEV_API From patchwork Thu Aug 25 10:20:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 12954481 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 BB1DEC04AA5 for ; Thu, 25 Aug 2022 10:21:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237730AbiHYKVU (ORCPT ); Thu, 25 Aug 2022 06:21:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240780AbiHYKVA (ORCPT ); Thu, 25 Aug 2022 06:21:00 -0400 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 134F34598A; Thu, 25 Aug 2022 03:20:57 -0700 (PDT) Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 303CEFF810; Thu, 25 Aug 2022 10:20:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1661422855; 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=fADrytMyJ+IeFhafpCR+cpxXr1qLiBUI9/+ESdhhNfw=; b=UbSY1kdVboP9QEeR1nDV8UeC/uJzbELAhmUrK3sGfswwgoqU5iE/KJC3NNjAygXWlqfRCc 2RmIP1okH8BMPPS7nlbEoWBSaLjnQwSvatpy+nbuI+JiFUrELQKUnQTIdKwG2UZLzPndCj uXIOn1R0O77hCs1zFjbIpBJ02GeRyxqDchzbV6Ed3LjA7xddcAli3j5NY3IYsHb5yXh5fk jR+ZZCAceQ7B9k7hcQ2HjBPrnkgNK9pKD8tHuRs2yNjAmb8vmDzDDTiaKdJMpeQnYZL79o bGZnNZIuASB6ChtTvD419wPVJyWlquP3ngpGlhfY7/28nn+FceUaN+0xtzpLbw== 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 Subject: [PATCH v2 5/7] media: sun8i-di: Add a Kconfig dependency on RESET_CONTROLLER Date: Thu, 25 Aug 2022 12:20:33 +0200 Message-Id: <20220825102035.419087-6-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 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The driver relies on the reset controller API to work, so add RESET_CONTROLLER as one of its Kconfig dependencies. Fixes: a4260ea49547 ("media: sun4i: Add H3 deinterlace driver") Signed-off-by: Paul Kocialkowski --- drivers/media/platform/sunxi/sun8i-di/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/sunxi/sun8i-di/Kconfig b/drivers/media/platform/sunxi/sun8i-di/Kconfig index ff71e06ee2df..f688396913b7 100644 --- a/drivers/media/platform/sunxi/sun8i-di/Kconfig +++ b/drivers/media/platform/sunxi/sun8i-di/Kconfig @@ -4,7 +4,7 @@ config VIDEO_SUN8I_DEINTERLACE depends on V4L_MEM2MEM_DRIVERS depends on VIDEO_DEV depends on ARCH_SUNXI || COMPILE_TEST - depends on COMMON_CLK && OF + depends on COMMON_CLK && RESET_CONTROLLER && OF depends on PM select VIDEOBUF2_DMA_CONTIG select V4L2_MEM2MEM_DEV From patchwork Thu Aug 25 10:20:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 12954480 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 91294C04AA5 for ; Thu, 25 Aug 2022 10:21:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240238AbiHYKVQ (ORCPT ); Thu, 25 Aug 2022 06:21:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240709AbiHYKU7 (ORCPT ); Thu, 25 Aug 2022 06:20:59 -0400 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5D2E3F307; Thu, 25 Aug 2022 03:20:57 -0700 (PDT) Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 6603DFF809; Thu, 25 Aug 2022 10:20:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1661422856; 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=gUoVBIaJKo/ZLxancHW76QbbFMS3ZjWDd/L3u/CxKuo=; b=SkRXNIx2prLiOscLF2IpMi4cX05UbYplByo4EkaikesBcjcg7tSVkRmwhNwoZOWq0/4ETv U53Ri5H8SgTwKpnrAtvV704j/81wn6ChT1Pql17iEI4imBV8Ts02tESdaC0/pguk7PdOSQ +jXDZtuKQvph8imKI6duhMwnAdNzl+DglWfyNOX9K91Cf+wyTRgiv4yXg0Yv5ECFWHIuvh kudHV/8h6BJixEHaxeb02vXT4xfx7XUPJz8qxokBIWaQHAHJZguijl00Mrhg7BMVk/McFn PyTasPDefA/o9tWHjPpDvRpgl99YA9qCkom2ttc3xsjUA5QnbxNKnxEYn5umAA== 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 Subject: [PATCH v2 6/7] media: sun8i-rotate: Add a Kconfig dependency on RESET_CONTROLLER Date: Thu, 25 Aug 2022 12:20:34 +0200 Message-Id: <20220825102035.419087-7-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 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The driver relies on the reset controller API to work, so add RESET_CONTROLLER as one of its Kconfig dependencies. Fixes: d77182ada3d4 ("media: sun8i: Add Allwinner A83T Rotate driver") Signed-off-by: Paul Kocialkowski --- drivers/media/platform/sunxi/sun8i-rotate/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/sunxi/sun8i-rotate/Kconfig b/drivers/media/platform/sunxi/sun8i-rotate/Kconfig index cfba29072d75..ee2c1f248c64 100644 --- a/drivers/media/platform/sunxi/sun8i-rotate/Kconfig +++ b/drivers/media/platform/sunxi/sun8i-rotate/Kconfig @@ -5,7 +5,7 @@ config VIDEO_SUN8I_ROTATE depends on V4L_MEM2MEM_DRIVERS depends on VIDEO_DEV depends on ARCH_SUNXI || COMPILE_TEST - depends on COMMON_CLK && OF + depends on COMMON_CLK && RESET_CONTROLLER && OF depends on PM select VIDEOBUF2_DMA_CONTIG select V4L2_MEM2MEM_DEV From patchwork Thu Aug 25 10:20:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 12954482 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 A3FF9C28D13 for ; Thu, 25 Aug 2022 10:21:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240963AbiHYKVY (ORCPT ); Thu, 25 Aug 2022 06:21:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240820AbiHYKVD (ORCPT ); Thu, 25 Aug 2022 06:21:03 -0400 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5BBB265F; Thu, 25 Aug 2022 03:21:01 -0700 (PDT) Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 9BBF6FF80E; Thu, 25 Aug 2022 10:20:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1661422857; 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=V1UOoDEy5ZDDQPj336ZKimMS4BKTdmwc0Nwv/Ux2JaE=; b=UnQ36WN7zkebxVJkAdG/u+5h9xp7dA+ESrKFrM1qOcxKcdMjN+zfVzeHSuYPwtYswrPSQE cW72gyMyg5gX5dCvjcpJvfDyKx7wUGzI2E/HFN5d80Pd8ki7dAqqGW67o8QWwwbiZAKgOr SKS2eysS4oz2LARayqm7x2EXC5KgZLBp+MyVkCCnX0VT2+2Jp/Oi227ErHXihXUgy2fOGk 7m4qPayoyRjyRbo4eY/IkKVOwm4n4KskO2VmJrPzra2UMEAl6yU5CPPwalVpYCjenGmmnL R9JdpLhjgQFpu74if56arghxNgCstQetu91xFd1aY0RtMhi3109ht5JrSZtrLA== 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 Subject: [PATCH v2 7/7] media: cedrus: Add a Kconfig dependency on RESET_CONTROLLER Date: Thu, 25 Aug 2022 12:20:35 +0200 Message-Id: <20220825102035.419087-8-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 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The driver relies on the reset controller API to work, so add RESET_CONTROLLER as one of its Kconfig dependencies. Fixes: 50e761516f2b ("media: platform: Add Cedrus VPU decoder driver") Signed-off-by: Paul Kocialkowski --- drivers/staging/media/sunxi/cedrus/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/media/sunxi/cedrus/Kconfig b/drivers/staging/media/sunxi/cedrus/Kconfig index 21c13f9b6e33..621944f9907a 100644 --- a/drivers/staging/media/sunxi/cedrus/Kconfig +++ b/drivers/staging/media/sunxi/cedrus/Kconfig @@ -2,6 +2,7 @@ config VIDEO_SUNXI_CEDRUS tristate "Allwinner Cedrus VPU driver" depends on VIDEO_DEV + depends on RESET_CONTROLLER depends on HAS_DMA depends on OF select MEDIA_CONTROLLER