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

Wolfram Sang
2022-05-16T07:12:26Z

[-- Attachment #1: Type: text/plain, Size: 522 bytes --]

> > 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]