From patchwork Tue May 10 20:42:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 571582 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 245B0C4167B for ; Tue, 10 May 2022 20:43:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231899AbiEJUnb (ORCPT ); Tue, 10 May 2022 16:43:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231634AbiEJUna (ORCPT ); Tue, 10 May 2022 16:43:30 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BE5728C9C8; Tue, 10 May 2022 13:43:29 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id d19so134585lfj.4; Tue, 10 May 2022 13:43:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9G++WF8LonnHZDYny2HgBv8zpOOV1ZfhnXecCxIdB/c=; b=oC1nDZJUIcoxmeJuf46XKLCdKsFVbv14mRDQ4TCbWRRZ/2T/blqq/pVinPV1MpNFRs Um1zTgcqa2xMflirwhsM0Qyk1k42MLQ6cgey3SEWNUppejuFdx5nMx2+NXuP0TlTg9dH qfqttfMMFg+eN/2I7aPeGYh1D+rdO2bgTt2aLhpYLLkJULM1XbGE+ilKZbnvEeMdSp8q 9dUNZo/woa+ChY6rQXCvA5hUAnqLqHxeKFN1XQ+pdzFqPGfkOz8ofMwh9IYJBF6J8FT0 H7n1QYqPAvtCCPVuU78xu/RQhGTacUyYqVpk/QzjS+Rb0Py6ir/RDSRYsxaa8aguH0kl b+RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9G++WF8LonnHZDYny2HgBv8zpOOV1ZfhnXecCxIdB/c=; b=MspUPSbYxvzyiBKxyZDae8QtRJzjmZd7MjpAxLXu3nXqBwpH+BPekc4K1i13U7RYF+ byAxkn2YSyRO+hQR++Hq2wiV2AkwzBN+3JY6quaTnIGXlVIPlktI4qzpSjIeA9dKs2XS yNbHspvNdBu2snCbNRmofF13pEunN6hHiz3DFJT8HbRua/RXbC3QLBuQt25GTF2/h74i DKwFMx+Z1B/kTogEjbh6izQedaSdZX17irT3/5t3AmTqtatxV75K0lYzHf08Mg1J7fWR 43sXneFdd/qTtjS9hLwbfC1SBxF9yVIfa792byt4Z8pBm8tEtvEbnKnhoF8GpY7e9pWe Zq/g== X-Gm-Message-State: AOAM5305oS/kKEIpmVMFk+O2PziBmYPOMrApsCYehhm2I8n+I7TYRagv WvQDJD+itCAFeZJFjmFc1hviGJ3l0g0= X-Google-Smtp-Source: ABdhPJxKnWdhAbmEYBGFyTemRsJT1LJ2+kqjGBTzjHFMadp54oVMMqLucP1KgHZ5gnSqoem9VPazxg== X-Received: by 2002:a05:6512:21ce:b0:473:d8ac:6c74 with SMTP id d14-20020a05651221ce00b00473d8ac6c74mr17768519lft.63.1652215407629; Tue, 10 May 2022 13:43:27 -0700 (PDT) Received: from nergzd-desktop.localdomain ([194.39.226.133]) by smtp.gmail.com with ESMTPSA id 10-20020ac25f4a000000b0047255d210f0sm12318lfz.31.2022.05.10.13.43.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 May 2022 13:43:27 -0700 (PDT) From: Markuss Broks To: linux-kernel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Markuss Broks , Song Qiang , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Liam Girdwood , Mark Brown , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 1/5] dt-bindings: proximity: vl53l0x: Document optional supply and GPIO properties Date: Tue, 10 May 2022 23:42:52 +0300 Message-Id: <20220510204256.8874-2-markuss.broks@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220510204256.8874-1-markuss.broks@gmail.com> References: <20220510204256.8874-1-markuss.broks@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This patch adds the optional properties for the VL53L0X ToF sensor to the device-tree binding. Signed-off-by: Markuss Broks --- .../devicetree/bindings/iio/proximity/st,vl53l0x.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml b/Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml index 656460d9d8c8..322befc41de6 100644 --- a/Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml +++ b/Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml @@ -19,6 +19,11 @@ properties: interrupts: maxItems: 1 + reset-gpios: + maxItems: 1 + + vdd-supply: true + required: - compatible - reg