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=-10.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 C0828C433E1 for ; Fri, 24 Jul 2020 21:36:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9D86E206EB for ; Fri, 24 Jul 2020 21:36:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="bhcHp287" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726742AbgGXVgY (ORCPT ); Fri, 24 Jul 2020 17:36:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726576AbgGXVgY (ORCPT ); Fri, 24 Jul 2020 17:36:24 -0400 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC991C0619D3 for ; Fri, 24 Jul 2020 14:36:23 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id w126so5815025pfw.8 for ; Fri, 24 Jul 2020 14:36:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:in-reply-to:references :subject:from:cc:to:date:message-id:user-agent; bh=opG3nW4I5rCe1WXghjH5zHF3uH0DeDd34QtX5YmytYo=; b=bhcHp287NTRAuUPpjDb0FIIrsLNcEo9h8fImzbO06pVAN20KtOUPdlZEcEsWy3Vj8M anX8Wf5x0H5H1KFyaw7bQZlFmjA0iBUCpZB1aSYpOkqESuKAfhAp6ZXpLQDeavjhQVhN PpPVmpK4yT9oH13DFieSVLeBj90yDBgjovfSU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding :in-reply-to:references:subject:from:cc:to:date:message-id :user-agent; bh=opG3nW4I5rCe1WXghjH5zHF3uH0DeDd34QtX5YmytYo=; b=j6nrKXCrGXY3yqPDjyWmnXV2hertt2qurMfPgYPXcTEeky0ZRX5qiW2fGIWIjOJYL9 YkO6FV9HzX3HocJaTmfPAidtzRxCF+mat83dzIgOqdyD2ABGfwYwC5iq5OKJkYK/w1LL jxfkskisStgRcjS1eMSBOaVyXL4OqYdime08nECkM9xBE+l1PYXfJWfc2Er6ij7UP+mq QIisEizYmpLgysy7Wn3MICGY8bms/O9C+B0R7M+xih7KyzFY75QasYAGQ92M8/HDz4sy CyoZuTeZYIRRR2TLgA8zcJDJClFApi0owhxjPRhuA7TIIvtig+fNm6iBFHOwefaSghzm t4VA== X-Gm-Message-State: AOAM530XlyGghq+DvIsgdgWgkzWVF7WqhFhWC9TymUM1CGBbxpKaXfKS 54xCy+aVilnxim1SJZzORZORkQ== X-Google-Smtp-Source: ABdhPJy0zuMXOSAiFIUc2m9qjxFtdLkdHu6M3LtvCsg9sjsn7n8N6UxDl/jcILWQb8Bvpg3WVe7m1w== X-Received: by 2002:a63:ee48:: with SMTP id n8mr10324355pgk.292.1595626583401; Fri, 24 Jul 2020 14:36:23 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:3e52:82ff:fe6c:83ab]) by smtp.gmail.com with ESMTPSA id k98sm6809320pjb.42.2020.07.24.14.36.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 14:36:22 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20200724213329.899216-2-swboyd@chromium.org> References: <20200724213329.899216-1-swboyd@chromium.org> <20200724213329.899216-2-swboyd@chromium.org> Subject: Re: [PATCH v2 1/5] dt-bindings: iio: Add bindings for sx9310 sensor From: Stephen Boyd Cc: Daniel Campello , linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Rob Herring , Douglas Anderson , To: Jonathan Cameron Date: Fri, 24 Jul 2020 14:36:22 -0700 Message-ID: <159562658210.3847286.6400483831020769497@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Stephen Boyd (2020-07-24 14:33:25) > From: Daniel Campello >=20 > Adds device tree bandings for sx9310 sensor. >=20 > Signed-off-by: Daniel Campello > Cc: Hartmut Knaack > Cc: Lars-Peter Clausen > Cc: Peter Meerwald-Stadler > Cc: Rob Herring > Reviewed-by: Douglas Anderson > [swboyd@chromium.org: Add both regulators and make them optional] > Signed-off-by: Stephen Boyd > --- I forgot to Cc devicetree list. Will do next time around. -Stephen > .../iio/proximity/semtech,sx9310.yaml | 60 +++++++++++++++++++ > 1 file changed, 60 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/proximity/semte= ch,sx9310.yaml >=20 > diff --git a/Documentation/devicetree/bindings/iio/proximity/semtech,sx93= 10.yaml b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9310.ya= ml > new file mode 100644 > index 000000000000..ba734ee868c7 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9310.yaml > @@ -0,0 +1,60 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/proximity/semtech,sx9310.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Semtech's SX9310 capacitive proximity sensor > + > +maintainers: > + - Daniel Campello > + > +description: | > + Semtech's SX9310/SX9311 capacitive proximity/button solution. > + > + Specifications about the devices can be found at: > + https://www.semtech.com/products/smart-sensing/sar-sensors/sx9310 > + > +properties: > + compatible: > + enum: > + - semtech,sx9310 > + - semtech,sx9311 > + > + reg: > + maxItems: 1 > + > + interrupts: > + description: > + The sole interrupt generated by the device used to announce the > + preceding reading request has finished and that data is > + available or that a close/far proximity event has happened. > + maxItems: 1 > + > + vdd-supply: > + description: Main power supply > + > + svdd-supply: > + description: Host interface power supply > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + #include > + i2c { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + proximity@28 { > + compatible =3D "semtech,sx9310"; > + reg =3D <0x28>; > + interrupt-parent =3D <&pio>; > + interrupts =3D <5 IRQ_TYPE_LEVEL_LOW 5>; > + vdd-supply =3D <&pp3300_a>; > + svdd-supply =3D <&pp1800_prox>; > + }; > + };