Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1581298ybh; Thu, 23 Jul 2020 12:30:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEHLmVaCWTTKu1fYc31JZyLMCBlB0+f+3cQHftfVkmysrEXj1Qy3mtlfeoB1mvePKCXSeb X-Received: by 2002:a17:906:2e83:: with SMTP id o3mr5844656eji.261.1595532615133; Thu, 23 Jul 2020 12:30:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595532615; cv=none; d=google.com; s=arc-20160816; b=bK5PksdogzcU/BKo+BxWKGaNtKki94gPcN6VdHHpmqmR7Dlegqzpb5Tv2xorn7aDgD NpZuLuyg56nbK4P4n8lNu3SZmm1036pmB327lzR637+/3HfyOeDomgCaG6oZK6waWcMK e4spUvq7Q4E3ja8o569hTrPNt6MiEljkq3dv9S9MTyqJ0uc0PwE29Y4nIdM+zXMqJWEo xCFkLTo/pjeLB09evYISyak8VGX2RfSvePTtbiMtz5pPkbjr/8TeuoLxdZkDS2G1AzV/ QKOIXiSqMgAydnJO66Lc3P3ik6bEh5OSKcaUNAocfQQ9bVsMsCqoUrMEbZHytlB1MgjO ThBA== 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=K/x2tOMHGvw/i83L77yt0mj2n5UBoDKQeUt3On2GUd4=; b=KpKxvNd7MKoegcu2M42Eb5lP+DITvW+8MPKn1fjcEWnuVy9NGSvjLW1MyDG5glnmyI Fg8FrtfFO6hSopLlcLD0M3i12i9rEez7cRVrOMmxPNLT1IwO0PVK5lpzB3L8nOFAhXey NviKkKlZ0q72rAHKog7uU2a3qmeQZ5NkytW1PgYS4YE15oa1MZfbjY0VWfIeObdBzZwv yWi9DIRggcl59jyvOJzOxpbg/z2dVujb81zKnBQkN9abVYj6lazAS3JfpF5kIwQ4hR+Y Jd1eE5i4PrMnxXEwk2A/vqAd3O7Pr2q5mQV9oYGmBnEsFMKhVDRWHD2Js/+De402EQ77 iSpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=gjZSD2aV; 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 cn9si2438949edb.325.2020.07.23.12.29.51; Thu, 23 Jul 2020 12:30: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=gjZSD2aV; 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 S1725979AbgGWT3f (ORCPT + 99 others); Thu, 23 Jul 2020 15:29:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725894AbgGWT3f (ORCPT ); Thu, 23 Jul 2020 15:29:35 -0400 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09CAAC0619E2 for ; Thu, 23 Jul 2020 12:29:35 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id z3so3516885pfn.12 for ; Thu, 23 Jul 2020 12:29:35 -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=K/x2tOMHGvw/i83L77yt0mj2n5UBoDKQeUt3On2GUd4=; b=gjZSD2aVJt8KcTJCKakJp6DrtQOApap9cF9iHFVrvOrrEw0QRXx03CQBbwXQHx54uT NFg23hfGx0s1WUwhxJtK9P1CthK49t5QsPzXHaKkzri7vtgwnzKu6+FlAAhT/5ZLeGjg l0RG+ahYtiYxkwdvLROyBjK9wk4sTbZuIHRX0= 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=K/x2tOMHGvw/i83L77yt0mj2n5UBoDKQeUt3On2GUd4=; b=MAO+eHNCftky/zjtETPR32vNvcU2CZVENmh3MNwLtL9fv7nzUnxgjEeKOjuNLR7KyR letyq0pDC8QrWDphxuj92Pjs74wBavSo4cvQPrpVveRyyXmIIk3jdhrb7WX8LQoafWeB RThy0assutOFuG9hgk+cfXdzuHXc5h1nXIXyYLXDPjnWUGECfzYd/nooBsDEtul5Ee0q ToshF2Bdkg/uWT8OvweAN5PK8FumUZWgeYjRde5mXnx3iXstMwCJj1dts/pqWPuj93CL 9xzmKMMWuOibkRlmO0EEEu2IfmTP6CMRdaSLTgRyDQbEFu3DqIOaEJ3FRo4GzShQquGb EQSA== X-Gm-Message-State: AOAM530r9c/ZrMZymopo2ZSPszKsh/BPBpwU1uSd6forNKxOJAmXq8pi P5VrK3kN9qiBdSXi2y0cgZ9q6g== X-Received: by 2002:a63:e04c:: with SMTP id n12mr5257110pgj.388.1595532574358; Thu, 23 Jul 2020 12:29:34 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:3e52:82ff:fe6c:83ab]) by smtp.gmail.com with ESMTPSA id b4sm3181271pjn.38.2020.07.23.12.29.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jul 2020 12:29:33 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20200414143536.v10.1.I30e2a8ff8cc4ad1ffb65df09ad933e5b4d9f16f8@changeid> References: <20200414143536.v10.1.I30e2a8ff8cc4ad1ffb65df09ad933e5b4d9f16f8@changeid> Subject: Re: [PATCH v10 1/2] dt-bindings: iio: Add bindings for sx9310 sensor From: Stephen Boyd Cc: Jonathan Cameron , Daniel Campello , Rob Herring , Hartmut Knaack , Lars-Peter Clausen , Mark Rutland , Peter Meerwald-Stadler , Rob Herring , linux-iio@vger.kernel.org To: Daniel Campello , LKML , LKML Date: Thu, 23 Jul 2020 12:29:33 -0700 Message-ID: <159553257307.3847286.4297914412173341085@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-04-14 13:36:07) > Adds device tree bandings for sx9310 sensor. >=20 > Signed-off-by: Daniel Campello > Reviewed-by: Rob Herring > --- I don't see this picked up anywhere in linux-next. Can we squash in this change? Typically the voltage regulator names match the data sheet, and in this case the datasheet names them vdd and svdd. Also, they're not strictly necessary to be in the binding if they're always on supplies so we can remove them from the required section and DT files can omit them if they don't care to actively power manage them. ---8<--- diff --git a/Documentation/devicetree/bindings/iio/proximity/semtech,sx9310= .yaml b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9310.yaml index b52ffdac678b..ba734ee868c7 100644 --- a/Documentation/devicetree/bindings/iio/proximity/semtech,sx9310.yaml +++ b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9310.yaml @@ -31,12 +31,15 @@ properties: available or that a close/far proximity event has happened. maxItems: 1 =20 - power-supply: true + vdd-supply: + description: Main power supply + + svdd-supply: + description: Host interface power supply =20 required: - compatible - reg - - power-supply =20 additionalProperties: false =20 @@ -51,6 +54,7 @@ examples: reg =3D <0x28>; interrupt-parent =3D <&pio>; interrupts =3D <5 IRQ_TYPE_LEVEL_LOW 5>; - power-supply =3D <...>; + vdd-supply =3D <&pp3300_a>; + svdd-supply =3D <&pp1800_prox>; }; };