Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp619600rdb; Sat, 30 Sep 2023 20:21:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHYId6U0d+Mm7eHxxIEbrm/E8drp1yJXEuSH9BGW89Gs9rsNpyk3ZSWbTPiHuXJ+ILExbW+ X-Received: by 2002:a17:90b:1a89:b0:274:77b3:64d0 with SMTP id ng9-20020a17090b1a8900b0027477b364d0mr12785765pjb.17.1696130482229; Sat, 30 Sep 2023 20:21:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696130482; cv=none; d=google.com; s=arc-20160816; b=JgqbQhJdqPOEnUXjo2GkGZMBZPPpRoXXrV6BphXGfSInNNhhbHoIjvI1PhowPZL5e3 vZM5sjEVC0vmgTgC8kg1KUFY49bdKm6MKPhDplr2BAW/ujmuKCeJZMJvZ5fL+7ssN9Oq S2MxqTBQgK/+vrb5jvoNLdRDKPNqUiXw2sNC1OMU47PnNVBz9KSjZfrGSTFeY93yZT47 Lc2hAoaU+zvWoo93gSWckqSSWM7zkcq6fJD8oHxLN3PxMYFF6yRPDf8wKJLoE4gT0TOl 8RwsrZ8Q59Bfc0FxIjnwGFIkaSY86SnRaHewTryIbRnJ6heo0oYTyBeV8frbTVQym8Qe VG5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=64FZBFm9QXLeaiqRuEoVGaE58ddNALR1GNC50CVRTEA=; fh=UJXRWGKet+3zqQuVaSJphCjAsu5dBghAUtbXzkksGfc=; b=yq139K0M9M8sxzkGRA1GWn9qta0uJkF9wwGisfmUcpMr1yw+QMnlVW12yym12Z48+k 3OmmyBKogFKo52G1RR+j/LL9hmxJ/f9xLm+0pDNvSSbTKKX1nCIXqK/hniOpsxdkLFRf tAOocFqe/7antDPoF6NOENcp3t4Wbk0x5Qkosuad2OpPLjgZYshUeUT2miW5nk+WTWNe pUxjvMW7zOAx4waXl0FPfO0kg9nQaY6/WR5sVUf4w66g+9rgUMQYAWi4OfM8OPkmsSGY a6HzxUQyGPf5bUSORt2X0FgMUkMHu1KhxflQbKKe9GDcOXocOAxe4cZUMt/nTWWY6XK0 VF9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=CVwbcSdZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id jx4-20020a17090b46c400b002632a1243dbsi4606770pjb.104.2023.09.30.20.21.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Sep 2023 20:21:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=CVwbcSdZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 16FB4807DE32; Sat, 30 Sep 2023 19:20:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234246AbjJACUm (ORCPT + 99 others); Sat, 30 Sep 2023 22:20:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229523AbjJACUl (ORCPT ); Sat, 30 Sep 2023 22:20:41 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03151BC; Sat, 30 Sep 2023 19:20:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender :Reply-To:Content-ID:Content-Description; bh=64FZBFm9QXLeaiqRuEoVGaE58ddNALR1GNC50CVRTEA=; b=CVwbcSdZreAZxeCYkfLtCDY8pI dUV/ED0NZY/U4uO/LCDVZeeZBAPyeBmZThaQTaoqVJYYYDxtK7k4zr0c8v0DjkxnB/FHQeDcR2Zbd hAKXVaLAewCUo+wpwBvikRlHdTLnIH5jtiAbBP8YnAGq/bAfaU6vRE7i3mpfTSfCTenX7OH5M45Bv lQj+I8psGj8qDu0nYvd3IG86sVl2Lkm6oLdovy00DvjD90Q9xou4c1/QmDGuxO0m27Pf+wrkYq1rQ rIhlRm71YSCJK86DyB+eeEYKQbXN/lhD2nQjEhLxKPzV8AXYZmW1NOR6//oXyMvp6ZjQO5VacdQUL PiVhqZIg==; Received: from [2603:3004:644:9100::a64a] by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1qmm4K-000iXd-6D; Sun, 01 Oct 2023 02:20:28 +0000 Message-ID: Date: Sat, 30 Sep 2023 19:20:21 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] media: sunxi: a83-mips-csi2: also select GENERIC_PHY Content-Language: en-US To: Sakari Ailus 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, Vinod Koul , Kishon Vijay Abraham I , linux-phy@lists.infradead.org References: <20230927040438.5589-1-rdunlap@infradead.org> From: Randy Dunlap In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 (howler.vger.email [0.0.0.0]); Sat, 30 Sep 2023 19:20:50 -0700 (PDT) On 9/27/23 03:48, Sakari Ailus wrote: > 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? Yes, I don't see why not. Let's see what the PHY framework people have to say about it. Vinod, Kishon, do you see any reason that GENERIC_PHY_MIPI_DPHY could not select GENERIC_PHY instead of depending on it? > There seem to be a few other drivers that appear to have the same issue. Yes, I see 4 others that have the same issue. >> select GENERIC_PHY_MIPI_DPHY >> help >> Support for the Allwinner A83T MIPI CSI-2 controller and D-PHY. > ~Randy