[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YoH5RxVxgAc8IQVn@kunai>
Date: Mon, 16 May 2022 09:12:07 +0200
From: Wolfram Sang <wsa@...nel.org>
To: Vincent Whitchurch <vincent.whitchurch@...s.com>
Cc: kernel@...s.com, linux-i2c@...r.kernel.org,
devicetree@...r.kernel.org, krzk+dt@...nel.org, robh+dt@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/2] dt-bindings: i2c: add property to avoid device
detection
> > That aside, I am not sure we should handle this at DT level. Maybe we
> > should better change the GPIO driver to not populate a class if we have
> > a firmware node?
>
> Is it always safe to not do this detection if we have a firmware node?
> Then maybe the core could just always skip it in that case without
> looking for a special property or requiring individual drivers to choose
> what to do?
Need to think about it. Could be argued. So far, setting .class
correctly was the job of the driver.
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists