From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D7345C33CAF for ; Mon, 13 Jan 2020 22:52:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ACB71207FD for ; Mon, 13 Jan 2020 22:52:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578955960; bh=veUkhuWj56Oql55ZqqS+wmUdDbbo2ngb7WraR/GRYCA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=ni1Vx1dB5GDj1UuOO5CjyRENowrhxfgwaC6YV8J4uQZDu7/uktvkwORROsF02y3TJ CkZeKXU+YwSS5nPeB/bd8eRuEBI5lhkgYuNNZeb2T4e9wNBNbYgpKuyWsxmuSpECg2 obJ0XQydvOu0CK8d6O12WoqJICtbA2Wy3JcpCLW4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728998AbgAMWwj (ORCPT ); Mon, 13 Jan 2020 17:52:39 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:44693 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728833AbgAMWwj (ORCPT ); Mon, 13 Jan 2020 17:52:39 -0500 Received: by mail-ot1-f68.google.com with SMTP id h9so10612533otj.11 for ; Mon, 13 Jan 2020 14:52:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=J+zBhW/gDhabcv8JezsZDbLiOV+72tFZs2kFt+zjTFs=; b=g+Eq+HD/QNbwhFDK1tFwzdWmax3K07rdR++wNDBgKjoSueQV+AaFTcYMe476A3Vo/6 2wtQ8y293IUUo5yJphRJn57wqUB2BhL6QkMQoRYEGTy1zTknOLnjT0I8m9tOM2eydMLI NRuq7hldk4zG2N0FJB5osynKi42ql9pA/LVlzUDLf08x5vX6q8TxaOiBbo+16Wio5kA3 A2UZ7ex8E++rRo6Y8GVZCvBtdpJ02HLetarHEat6Gd1Voof6KzN2sWNAxYQJsXa+mpWB TUqvfbEyMFUwpnQSR6Fbtj5blxIxYfkshpEFdlRGgGKVp0y6tlu/Y8y3x/FFD8h0wqPh GNqQ== X-Gm-Message-State: APjAAAUA31x35PA4Bz04kbtoyKpUUvgdAaQwhwSXKkKmcYrg1E5RXiwX Do7vNWX3I+H9FVX110Ysl+yDpLI= X-Google-Smtp-Source: APXvYqzPLz+Gz8ghuTv9UuKUouiSUzC8Mq8AD2qzQpcPvS+MUDkOEQsZxkadmW3gvGmVQICg3a7x2w== X-Received: by 2002:a9d:1c95:: with SMTP id l21mr14567603ota.271.1578955958296; Mon, 13 Jan 2020 14:52:38 -0800 (PST) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id e65sm4696765otb.62.2020.01.13.14.52.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jan 2020 14:52:37 -0800 (PST) Received: from rob (uid 1000) (envelope-from rob@rob-hp-laptop) id 2219cf by rob-hp-laptop (DragonFly Mail Agent v0.11); Mon, 13 Jan 2020 16:52:36 -0600 Date: Mon, 13 Jan 2020 16:52:36 -0600 From: Rob Herring To: Linus Walleij Cc: Jonathan Cameron , linux-iio@vger.kernel.org, Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , linux-input@vger.kernel.org, Linus Walleij , Stephan Gerhold , Minkyu Kang , =?utf-8?B?UGF3ZcWC?= Chmiel , Jonathan Bakker , Oskar Andero , Dmitry Torokhov , devicetree@vger.kernel.org Subject: Re: [PATCH 1/2 v4] iio: light: Add DT bindings for GP2AP002 Message-ID: <20200113225236.GA17926@bogus> References: <20200112111341.21388-1-linus.walleij@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200112111341.21388-1-linus.walleij@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org 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 > Cc: Minkyu Kang > Cc: Paweł Chmiel > Cc: Jonathan Bakker > Cc: Oskar Andero > Cc: Dmitry Torokhov > Cc: Rob Herring > Cc: devicetree@vger.kernel.org > Signed-off-by: Linus Walleij > --- > 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