Re: [PATCH 1/2] dt-bindings: iio: light: Avago APDS9306

From: Subhajit Ghosh
Date: Wed Oct 11 2023 - 09:04:28 EST


On 11/10/23 02:49, Rob Herring wrote:

+
+properties:
+ compatible:
+ const: avago,apds9306

I see the driver supports two different variants of this IC, differentiated
by the part-ID register. Variants are named as apds9306 and apds9306-065. I
wonder if we could/should have different compatibles for them?

If 1 compatible is sufficient to know how to power on both devices and
read the part-ID register, then no need for different compatibles.

Rob
Understood. Thanks Rob.

Regards,
Subhajit Ghosh