Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2842366rdh; Wed, 27 Sep 2023 14:43:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE5EcfI7j7hZZrfHwT0n0bSqnf4BPmVmepmm3OsHmgG75LmWLTBEviMNR8/pUwL6AQaSzal X-Received: by 2002:a17:902:ee54:b0:1c7:2740:cfb3 with SMTP id 20-20020a170902ee5400b001c72740cfb3mr2499099plo.35.1695850984834; Wed, 27 Sep 2023 14:43:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695850984; cv=none; d=google.com; s=arc-20160816; b=t9R15jh590nmwyQulqf9rwspzuvcwYdX58VVsAALe9qXuMgt7eM0tmrGJfykQODfM2 lGqrwFWpksTq9IqnPeNRpGzunS39Pth34yeXxBdHhbFapUZF7Ykaa7uUTZQcDdrbVLHU jNNssTn8+FPSbMPHk3CnKzIhfZXnkRK8XAcr1knidsfQfyPQJuGveCUZo3bMiNF24mAx nf753thy9jFynTMJxiWOvJuSKPNI7Lz1UKHpIhRR6gfWrGSFKDZQp6q3naaCwGtEKCLL gwt4Wf0ylXQXx1aZDF2zH1f3fmRmkqee7/8ET5Il+RD+7/EyWmOMrpJQN4NU6NQvIC29 lbGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=CXLVUufvlffJolbBsZV4nYNO1hJ+hF5NObEevJFycSI=; fh=LWay1rf5KsZHvtOWB7gstzWbSm1JSRZlJzWemJCUcbg=; b=ZYwGM2t8sqgo/kRacV3cvk1Z1BLPh+/oWCs4kwEXi2R03ZqZKuvgZ86pruCbwh0z7q yotOUKH7GpKa5HXGr6oBym6OQV2HgO9BnULee+r0uXeFyoGroDvdqUjSCr1oul17eK2n r1kp21VPSSPyWoYhN7J6toF9/1vMR4wKKLIhVZSUMsbRW94Yn32KL78p949McX4WoV80 TPSK4NF0nJYWGD/a/6UaHa+WLrfPA5kz7JkzA/GtiZEBAiyOgXJT6gVgGwjH6vzQxZP5 eowjI9OMCufiMZdHTFmUoKwJjedtAvBDuIPBTWWY2LcY2fi6mKqmarkFlTCDOiOzzTNf +MqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Lzv3kiii; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id x1-20020a170902a38100b001bf20c80685si15678946pla.125.2023.09.27.14.43.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 14:43:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Lzv3kiii; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 6E4FF80C9C8D; Wed, 27 Sep 2023 03:58:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230510AbjI0K5y (ORCPT + 99 others); Wed, 27 Sep 2023 06:57:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229539AbjI0K5v (ORCPT ); Wed, 27 Sep 2023 06:57:51 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B241F3; Wed, 27 Sep 2023 03:57:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695812270; x=1727348270; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=jb2Av0IYJPI3zJ+2i+bD1UoqIPdVABtXYLj8arBzUFQ=; b=Lzv3kiiibWmn7an5AUXE7zZt53CMXZukzjRTKZ052/vXGIwD9JiEYm+p rcuIbLM2Kjve75kb7ZUPnloA+e24KZeISWMYuTwpKqkKe/Qfq7OxDLUhV KnWFL8o5zRZwQba8w2pQWcFMzNlDIGS3eoyMKQ90Cr4XoRK6Qg5bnxue6 KUikyHyJSkfy/a+xaQc//j102wNQulYcC9MH+ilyuikvto7/tXsbgmIDi mwC/PI9FBlKtQ4ihTtDhHd1lUlBBDIqm2so32ay+aXpMVwiV0EN9PbfA6 VT74sl0fxMLz81ORVfFYeoU9jD8YVr+Ci+5ENBm2FbwbZL0Di+OUcagnU A==; X-IronPort-AV: E=McAfee;i="6600,9927,10845"; a="445930007" X-IronPort-AV: E=Sophos;i="6.03,179,1694761200"; d="scan'208";a="445930007" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Sep 2023 03:57:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10845"; a="749161810" X-IronPort-AV: E=Sophos;i="6.03,179,1694761200"; d="scan'208";a="749161810" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Sep 2023 03:57:47 -0700 Received: from kekkonen.localdomain (localhost [127.0.0.1]) by kekkonen.fi.intel.com (Postfix) with SMTP id 00EDC11F94F; Wed, 27 Sep 2023 13:48:28 +0300 (EEST) Date: Wed, 27 Sep 2023 10:48:28 +0000 From: Sakari Ailus To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, kernel test robot , Arnd Bergmann , Mauro Carvalho Chehab , linux-media@vger.kernel.org, Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev Subject: Re: [PATCH] media: sunxi: a83-mips-csi2: also select GENERIC_PHY Message-ID: References: <20230927040438.5589-1-rdunlap@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230927040438.5589-1-rdunlap@infradead.org> X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 27 Sep 2023 03:58:09 -0700 (PDT) Hi Randy, Thanks for the patch. On Tue, Sep 26, 2023 at 09:04:38PM -0700, Randy Dunlap wrote: > When selecting GENERIC_PHY_MIPI_DPHY, also select GENERIC_PHY to > prevent kconfig warnings: > > WARNING: unmet direct dependencies detected for GENERIC_PHY_MIPI_DPHY > Depends on [n]: GENERIC_PHY [=n] > Selected by [y]: > - VIDEO_SUN8I_A83T_MIPI_CSI2 [=y] && MEDIA_SUPPORT [=y] && MEDIA_PLATFORM_SUPPORT [=y] && MEDIA_PLATFORM_DRIVERS [=y] && V4L_PLATFORM_DRIVERS [=y] && VIDEO_DEV [=y] && (ARCH_SUNXI || COMPILE_TEST [=y]) && PM [=y] && COMMON_CLK [=y] && RESET_CONTROLLER [=y] > > Fixes: 94d7fd9692b5 ("media: sunxi: Depend on GENERIC_PHY_MIPI_DPHY") > Signed-off-by: Randy Dunlap > Reported-by: kernel test robot > Closes: lore.kernel.org/r/ZQ/WS8HC1A3F0Qn8@rli9-mobl > Cc: Arnd Bergmann > Cc: Sakari Ailus > Cc: Mauro Carvalho Chehab > Cc: linux-media@vger.kernel.org > Cc: Chen-Yu Tsai > Cc: Jernej Skrabec > Cc: Samuel Holland > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-sunxi@lists.linux.dev > --- > drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff -- a/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/Kconfig b/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/Kconfig > --- a/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/Kconfig > +++ b/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/Kconfig > @@ -8,6 +8,7 @@ config VIDEO_SUN8I_A83T_MIPI_CSI2 > select VIDEO_V4L2_SUBDEV_API > select V4L2_FWNODE > select REGMAP_MMIO > + select GENERIC_PHY Could GENERIC_PHY_MIPI_DPHY select GENERIC_PHY instead of depending it? There seem to be a few other drivers that appear to have the same issue. > select GENERIC_PHY_MIPI_DPHY > help > Support for the Allwinner A83T MIPI CSI-2 controller and D-PHY. -- Regards, Sakari Ailus