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=-7.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,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 10B22C433E0 for ; Tue, 28 Jul 2020 22:06:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E280020774 for ; Tue, 28 Jul 2020 22:06:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="N6wAtpNO" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729650AbgG1WGp (ORCPT ); Tue, 28 Jul 2020 18:06:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729540AbgG1WGo (ORCPT ); Tue, 28 Jul 2020 18:06:44 -0400 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81813C0619D2 for ; Tue, 28 Jul 2020 15:06:44 -0700 (PDT) Received: by mail-pg1-x530.google.com with SMTP id j19so13019278pgm.11 for ; Tue, 28 Jul 2020 15:06:44 -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=tjuX+pFwhvhhgmdt7C5E6lKYvSKSrNHXExZ9GWsVSnI=; b=N6wAtpNOFmizd34oOwQzDBKa5iHjGcYvbPkHG549PxO5PlcZ6n/Yxp+E93o24GQcA8 CaMeuDWeJkA9kLdYhpa5Mfg7Lb8i21veUpCeUB6z8wxaZ3yaj6oWeu8Z6l9aRw4dYXH0 dNqz9b6XcDJaC96nzBpPsCNlSiwIIZTWWTbJE= 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=tjuX+pFwhvhhgmdt7C5E6lKYvSKSrNHXExZ9GWsVSnI=; b=cQojxgumnvaJBzmTiTGc9VvApiqumJbODLtAKvODc2DTG0AV+PMyxYF5ENJ80EmT1U 2TrYSRvmP/pyT6fjhiUaI9yQb73WPWxNIVw4WLM1CZ86fPhPAgE/hFjEuIFkmGuRgBWp yrgij/Kjspit9Mtpsbrt7dJqdbZlqs7hM9g8FNOGCDSHUAQXRJWLjJKyqaxeL7KDRcy4 9CqMlN392OlERGrXcarrSWq824cfQozT8bTsUxw9BbM5W0Ix8kr3W1YgIfzD5Uf/p6KJ NGIldPL91R1KZOJDYgqQU0baceDtEKxATUpgEyvtHFltuSp0K4A0XdeFMu0SnadIDD4U j8gA== X-Gm-Message-State: AOAM532WuvFZsG9xbZ4/fA9H+JbbdvNYIvSUMUlBk+gysT3E2HxyJHdY cvGgDvMDu+n5+TmDdNdwx0giJA== X-Google-Smtp-Source: ABdhPJxm2jSMp9UWBjwpogfSuRsV8etm/nCasMNF7xayH25Gtdpeobo52Xb6XBNuSHD9IB7TeitWdg== X-Received: by 2002:a62:be02:: with SMTP id l2mr25990420pff.163.1595974003708; Tue, 28 Jul 2020 15:06:43 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:3e52:82ff:fe6c:83ab]) by smtp.gmail.com with ESMTPSA id m6sm111594pjb.34.2020.07.28.15.06.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jul 2020 15:06:43 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20200728091057.1.I3bf8ece8c303bd9ecfc1573464cdacc47d73784b@changeid> References: <20200724183954.1.I2e29ae25368ba8a72a9e44121cfbc36ead8ecc6b@changeid> <20200728151258.1222876-1-campello@chromium.org> <20200728091057.1.I3bf8ece8c303bd9ecfc1573464cdacc47d73784b@changeid> Subject: Re: [PATCH 01/15] dt-bindings: iio: Add bindings for sx9310 sensor From: Stephen Boyd Cc: Jonathan Cameron , Daniel Campello , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Rob Herring , Douglas Anderson , linux-iio@vger.kernel.org To: Daniel Campello , LKML , LKML Date: Tue, 28 Jul 2020 15:06:41 -0700 Message-ID: <159597400172.1360974.7831683364002070743@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 Daniel Campello (2020-07-28 08:12:44) > 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 00000000000000..ba734ee868c77f > --- /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 I think we need to add #io-channel-cells =3D <1> here as a required property. "#io-channel-cells": const: 1 > + > +required: > + - compatible > + - reg And=20 - "#io-channel-cells" > + > +additionalProperties: false > +