[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240510125423.25d4b3ed@booty>
Date: Fri, 10 May 2024 12:54:23 +0200
From: Luca Ceresoli <luca.ceresoli@...tlin.com>
To: "Arnd Bergmann" <arnd@...db.de>
Cc: "Greg Kroah-Hartman" <gregkh@...uxfoundation.org>, "Rob Herring"
<robh@...nel.org>, "Krzysztof Kozlowski" <krzk+dt@...nel.org>, "Conor
Dooley" <conor+dt@...nel.org>, "Andrzej Hajda" <andrzej.hajda@...el.com>,
"Neil Armstrong" <neil.armstrong@...aro.org>, "Robert Foss"
<rfoss@...nel.org>, "laurent.pinchart" <Laurent.pinchart@...asonboard.com>,
"Jonas Karlman" <jonas@...boo.se>, "Jernej Skrabec"
<jernej.skrabec@...il.com>, "Maarten Lankhorst"
<maarten.lankhorst@...ux.intel.com>, "Maxime Ripard" <mripard@...nel.org>,
"Thomas Zimmermann" <tzimmermann@...e.de>, "Dave Airlie"
<airlied@...il.com>, "Daniel Vetter" <daniel@...ll.ch>,
"derek.kiernan@....com" <derek.kiernan@....com>, "dragan.cvetic@....com"
<dragan.cvetic@....com>, "Saravana Kannan" <saravanak@...gle.com>, "Paul
Kocialkowski" <contact@...lk.fr>, "Herve Codina"
<herve.codina@...tlin.com>, "Thomas Petazzoni"
<thomas.petazzoni@...tlin.com>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org, "Paul
Kocialkowski" <paul.kocialkowski@...tlin.com>
Subject: Re: [PATCH v2 5/5] misc: add ge-addon-connector driver
Hello Greg, Arnd,
On Fri, 10 May 2024 12:24:06 +0200
"Arnd Bergmann" <arnd@...db.de> 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
Powered by blists - more mailing lists