On Sun, 12 Jan 2020 12:13:40 +0100, Linus Walleij wrote: > This adds device tree bindings for the GP2AP002 light > and proximity sensor. > > As with other early proximity sensors (~2010) the light > sensor and proximity sensors were combined into a single > component. > > Cc: Stephan Gerhold <stephan@xxxxxxxxxxx> > Cc: Minkyu Kang <mk7.kang@xxxxxxxxxxx> > Cc: Paweł Chmiel <pawel.mikolaj.chmiel@xxxxxxxxx> > Cc: Jonathan Bakker <xc-racer2@xxxxxxx> > Cc: Oskar Andero <oskar.andero@xxxxxxxxx> > Cc: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> > Cc: Rob Herring <robh+dt@xxxxxxxxxx> > Cc: devicetree@xxxxxxxxxxxxxxx > Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx> > --- > ChangeLog v3->v4: > - Resend with the changes in the main patch. > ChangeLog v1->v3: > - Drop the maxitems on the supplies, it is already 1 > - Drop quotes around "alsout" > - Limit the sharp hysteresis to 8 bits as it should be > - Use /bits/ 8 in the example so it is correct > --- > .../bindings/iio/light/sharp,gp2ap002.yaml | 85 +++++++++++++++++++ > 1 file changed, 85 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/light/sharp,gp2ap002.yaml > Reviewed-by: Rob Herring <robh@xxxxxxxxxx>