Re: [PATCH v2 1/2] dt-bindings: i2c: add property to avoid device detection

From: Wolfram Sang
Date: Mon May 16 2022 - 03:12:30 EST



> > 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.

Attachment: signature.asc
Description: PGP signature