Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp410588lqo; Fri, 10 May 2024 03:55:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVvhan9NM2eab6dVAJ/UtQYIFWR8H15a0uDraKr+h8laJWHUDV7/UF8qd8zGRqxhjQ4j98fYiwvzX9g1sG4fd+2PU3HvxgXNN7gl4EOkg== X-Google-Smtp-Source: AGHT+IG3OTIcLCuYfT/VuZdlnYn31d/QJWD781KYuiE0rBA7BfZvPiYg8DE9FBrE4RcvH2STyYBv X-Received: by 2002:a17:902:f550:b0:1e2:6bcd:e64e with SMTP id d9443c01a7336-1ef43d1556bmr29832255ad.16.1715338506000; Fri, 10 May 2024 03:55:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715338505; cv=pass; d=google.com; s=arc-20160816; b=NBMjyQlWMsWS/LcFnYDP9B9o20Vqz9BNh2vjEelDlgv+CsmHc8BNxSMNVZJHyvpUEt duJqwzFMkcJSaoPW1YSUSLwgLvG721u7UT+EGwwLb6m4r+Ar6YJj2Oe/zWNZHm3aDFLx z9JN8b9TIAjEcdIBCxGog1nzDkOnth5p1NmUfBNqNNyH7Gm9gCrU5iR+ECFl2DPLrE2i 4jZu5SB+5MDFWwsGr0E7uy1ZIM0HHK7M2mNfprUYlwSfk3MGE2+iYoTv1jb2d5/7IzYz HeZhqx7CRs8WFK2Kz1hacqsofym5rUUSVtfd7jDT6pbxINKsh6CpT4H78INKXIqj/yOu 6cnA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=HOtPKmgchyWmbrYBxXPn7lnbrTTGQ4uEd2Sa5ZRuwlA=; fh=cBQbodB0A5yykiOS6muMlgJlP82r/Q6bdh3m3wpMMJo=; b=XWV//dkHOWf7XImuincUrQqeihSXwfxPnlufMi5lhUSk4tC1VLgnvAwYjU/uQ9x7aE aV3HUKVfQMtAlN4vG9at9vthKVDzTjr77qU7yxbuIPdCRDb2IW+zQvJbTECdZAiyvSts jvXJvPFgQBCpZYR4v9HM9ml/p7d53YdyBpXBWMKYTTXoDSVzTm5YVpDyt7lCUGGXuyC2 8tjjQCQlsuEHdfhZs33COBQKebZS82XYeJn2vzXX2m63G228sR+tZ9byxDSOQ8Fskzhn Y95tijOYVGPVDpVKLsCFbLYpxoqb9duBUJwTaFN4Lvx0bMIxZGfGf1vvNm1B1gPwkFqG FW6g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="K8/osNAe"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-175608-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175608-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c2654d0si34907715ad.563.2024.05.10.03.55.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 03:55:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175608-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="K8/osNAe"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-175608-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175608-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B7ADC2842C5 for ; Fri, 10 May 2024 10:54:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6F03B16D9A1; Fri, 10 May 2024 10:54:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="K8/osNAe" Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9AA0B21340; Fri, 10 May 2024 10:54:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715338472; cv=none; b=IY98tqi25mcn+V6kr+BopmACCTOpfDqP80trBgYL1tI8S+VdHtHwZVjyeyN2mTDJlzjAzM/Zcw8x0i+uUDS4yQ+2GiX9GlwDlwKniIP+GyQF+98s2lMGqBogwyq7tbTcOGAexCkhff6YAg7cvJzf0fu5lbokoHJlBguftQgMjcQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715338472; c=relaxed/simple; bh=dNw1Wr2Av5DW4mueAwQ+s5X4+nf5AQYXYvvohA5R6Ww=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Qnn7viifnP9lnylQZK+1AMsGKJNAIFlW8F3FYvmWk9lTbWiMMEQdk/h/QMHTip00RvuZVZWxIi6tneVjs+7AUTvr+rkfGU2jG3tTgHUBGIjcOhYrfhaP8qoMwc6ZJuHqltd1jg/D3v3lvR4ZdgEazNzz+iLnPHYZ8o5HI6fag4U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=K8/osNAe; arc=none smtp.client-ip=217.70.183.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 0C3521BF209; Fri, 10 May 2024 10:54:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1715338468; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HOtPKmgchyWmbrYBxXPn7lnbrTTGQ4uEd2Sa5ZRuwlA=; b=K8/osNAe6yE6WlZSa8kDL76s6DRm+Pr287W3LpLbtgxSpsaDIxWdGDgQ7rtcfdvMoj6sW3 6smdCd36av8J2gBSTZyDfllC3FC9b0Wye2UHk3DPoifHiB+u6jKIOTxm+iP2pHt59JhJ07 1MnbmnZ0yQzUPunOD0uEG1bYasiPNrOAt7PYxtZD8vXm/bta91ynh+X1fqvtN1Gba7lq5S SahPpF3qSwHSNJ/MYWLI160fLR2sAchbNfaXYYw4JpaCChKQ288Pej96+ZxCQd6m4aW0ig S67GjXdksqWDSDSZSHcEvS/fXRs5W9T8mAz/+mtEH0Xi9GLymQBAdiETwpf93A== Date: Fri, 10 May 2024 12:54:23 +0200 From: Luca Ceresoli To: "Arnd Bergmann" Cc: "Greg Kroah-Hartman" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Andrzej Hajda" , "Neil Armstrong" , "Robert Foss" , "laurent.pinchart" , "Jonas Karlman" , "Jernej Skrabec" , "Maarten Lankhorst" , "Maxime Ripard" , "Thomas Zimmermann" , "Dave Airlie" , "Daniel Vetter" , "derek.kiernan@amd.com" , "dragan.cvetic@amd.com" , "Saravana Kannan" , "Paul Kocialkowski" , "Herve Codina" , "Thomas Petazzoni" , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, "Paul Kocialkowski" Subject: Re: [PATCH v2 5/5] misc: add ge-addon-connector driver Message-ID: <20240510125423.25d4b3ed@booty> In-Reply-To: References: <20240510-hotplug-drm-bridge-v2-0-ec32f2c66d56@bootlin.com> <20240510-hotplug-drm-bridge-v2-5-ec32f2c66d56@bootlin.com> <2024051039-decree-shrimp-45c6@gregkh> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-GND-Sasl: luca.ceresoli@bootlin.com Hello Greg, Arnd, On Fri, 10 May 2024 12:24:06 +0200 "Arnd Bergmann" wrote: > On Fri, May 10, 2024, at 09:55, Greg Kroah-Hartman wrote: > > On Fri, May 10, 2024 at 09:10:41AM +0200, Luca Ceresoli wrote: > >> > >> +config GE_SUNH_CONNECTOR > >> + tristate "GE SUNH hotplug add-on connector" > >> + depends on OF > >> + select OF_OVERLAY > >> + select FW_LOADER > >> + select NVMEM > >> + select DRM_HOTPLUG_BRIDGE > > > > Can these be depends instead of select? 'select' causes dependencies > > that are hard, if not almost impossible, to detect at times why > > something is being enabled. > > I think FW_LOADER needs to be 'select' since it is normally > a hidden symbol and gets selected by its users, all the other > ones should be 'depends on'. I see, makes sense. And as you pointed that out, I realize perhaps DRM_HOTPLUG_BRIDGE could become a hidden symbol as it's not expected to be used alone. Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com