Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2498078ybh; Fri, 24 Jul 2020 14:37:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZbS5ucKt0QIzhegnVS3q98eedMygT/6g7KSYz+x/sKZ7rDtUG/5RTFONXLk1e/2JWmZC+ X-Received: by 2002:a50:8e53:: with SMTP id 19mr11123822edx.185.1595626635149; Fri, 24 Jul 2020 14:37:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595626635; cv=none; d=google.com; s=arc-20160816; b=WoNS883C6Up27eDKyBfZuEHrxHfCCU1HQj9tfjpwyIAzz9c1Y35tPzYT06Dxf5gPvg ZNce81GPQxx76QZBMuhpG117lEL4IbJneqKivCA2YECcNoivgi6elbMvvjXPmNKBsULl ZBONpetg38yglAX7rtHCVTGzeeCP7+XRt8wcyOJVMshRkaiV2+w3boGMgbCb/J62jWB4 z4KIcBKfsjAXyB7PHehOh/ZAO546Nnq914JkEXcF4m4nO2wY19r2i7OULRGJ+hM2IgQz 00dEiPvLdw8G2lv7wWkoS4qoDbmQFxxk06Hu9moBnJq7innHgWLCZvsKiPZ0Oet3K+Et APkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:date:to:cc:from :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=opG3nW4I5rCe1WXghjH5zHF3uH0DeDd34QtX5YmytYo=; b=rjA5s+OORreze4SYv6eRbEOYxErIfZyai9ufsI1uLzeG3MZX3cB1SmEeeUUXLLPhB7 4ILIUpHDhKtj6XZapxECwNmvx8JCZvIdwdkzQAMoFoHb2a3CC6a9tdvnw6oncHtTQ/6K +qBBlz2FusUPPUEZK5iPJGr3cYKQwitzVko/n97jGdCXdWotkd9KGZzbKGtN8EGG4RNh ln/WK84TsU4S+mJxHf1OhB8v72ar+OMSx15wPqPLPbclZZMXeGbASI27NT3s+3dnEK3w ZiG5XwA98PSUqH1uZ2fSs68EAZWwM6YFaSAZcIY8HcIY+3WPstamLwoAb+RPVpgb40ef aVNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=bhcHp287; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id df15si1172579edb.366.2020.07.24.14.36.50; Fri, 24 Jul 2020 14:37:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=bhcHp287; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726692AbgGXVgY (ORCPT + 99 others); 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-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>; > + }; > + };