Re: [PATCH 1/3] dt-bindings: iio: proximity: add Sharp GP2AP070S proximity sensor
"Kaustabh Chakraborty" <[email protected]> Wed, 29 Jul 2026 22:56:07 +0530
| Newsgroups | org.kernel.vger.linux-samsung-soc,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On 2026-07-23 23:47 +02:00, Joshua Crofts wrote: > On Thu, 23 Jul 2026 22:58:33 +0530 > Kaustabh Chakraborty <[email protected]> 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. >>=20 >> 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. >>=20 >> This chip has been used in production mobile devices such as the Samsung >> Galaxy J6. >>=20 >> Signed-off-by: Kaustabh Chakraborty <[email protected]> >> --- > > ... > >> + 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.