Re: [PATCH v3 1/3] dt-bindings: iio: proximity: add Sharp GP2AP070S proximity sensor
From: Krzysztof Kozlowski
Date: Mon Aug 03 2026 - 03:16:09 EST
On Fri, Jul 31, 2026 at 01:37:00AM +0530, Kaustabh Chakraborty wrote:
> The GP2AP070S is a proximity sensor designed and manufactured by Sharp
> Corporation. Unlike the other GP2AP* schemas, this is strictly a
> proximity sensor and NOT an ambient light sensor.
>
> For power supplies, it expects two voltage supplies, one for core and
> other for driving the infrared LED which is used to measure proximity
> distance.
Here you briefly mention resolution of previous discussion, because it is
non obvious and without it, you will get the same question - why vled is
not required?
...
+
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> + vdd-supply:
> + description: Voltage supply for the internal circuitry
> +
> + vled-supply:
> + description: Voltage supply for the IR LED
> +
> + proximity-near-level: true
No constraints for the values?
Best regards,
Krzysztof