[PATCH 1/3] dt-bindings: iio: proximity: add Sharp GP2AP070S proximity sensor

Kaustabh Chakraborty kauschluss at disroot.org
Wed Jul 29 10:26:07 PDT 2026


On 2026-07-23 23:47 +02:00, Joshua Crofts wrote:
> On Thu, 23 Jul 2026 22:58:33 +0530
> Kaustabh Chakraborty <kauschluss at disroot.org> 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.
>> 
>> This chip has been used in production mobile devices such as the Samsung
>> Galaxy J6.
>> 
>> Signed-off-by: Kaustabh Chakraborty <kauschluss at disroot.org>
>> ---
>
> ...
>
>> +  vdd-supply:
>> +    description: Voltage supply for the internal circuitry
>> +
>> +  vled-supply:
>> +    description: Voltage supply for the IR LED
>> +
>> +  proximity-near-level: true
>> +
>> +required:
>> +  - compatible
>> +  - reg
>> +  - interrupts
>
> vdd-supply and vled-supply are definitely required.

Only marking vdd-supply as required as some chips are able to draw LED
power from vdd-supply instead of its own regulator.



More information about the linux-arm-kernel mailing list