From patchwork Thu May 12 11:07:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 571845 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 F25C6C433F5 for ; Thu, 12 May 2022 11:08:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352937AbiELLIN (ORCPT ); Thu, 12 May 2022 07:08:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352932AbiELLIN (ORCPT ); Thu, 12 May 2022 07:08:13 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B05D5909E; Thu, 12 May 2022 04:08:12 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id bx33so5995070ljb.12; Thu, 12 May 2022 04:08:12 -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=ot1LRa7lM+k3YsGeal4v34AufyNdy0MxZF/OmP8vaTY=; b=c4V9o+Jxv+zOb/F7gW91hyqUvtudfaiPoXkKadxAX84vmRi1fbwpFL5snNXjF7Yqvl pKauhetWIR4Ytczc8H1urVflXo8ZQycYZ+URx1cvCgv0liGoahgzwqWYPh56LwJG21QN 1xZSF0ZmkhI96gMkmZU2y7KHFYspnbLGhmcFEifKntdIdSeiADmlK4dbEjk3995mFtvd 9NQ6AigabDHU0n7XI0hjWXgi4YU0k/L7Q2eNWrDlhZbxaEyJ08OO3P1RNaP1vgsXMll6 m9AUAngt9bZZ77KgOYjGSOUqRnTbigQdViUK5sAD9fEbARvtFpLsG9c4Fbdyd5+3pyYH t5nA== 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=ot1LRa7lM+k3YsGeal4v34AufyNdy0MxZF/OmP8vaTY=; b=CHQRnY+nFyy5+PzdAe4y757+K5SmpwamJi7moggD6uQhV1zz0a/dgYKkw+XyNdNEkd NZdOlxsDBIXk28vYZXHY+ecOrdjLLj6RK8F30ubg8T1iRIXg0tUAVLGOg9r1Qo/oHVse r6qooNukMnG49ZU3UA6pn9yTpNhuObTaPvrf0lcjfwU5P4X3VUjVbzyf3dhveBhbxVII nRs3bCFMfetUQHuCLeQ9suWCjudqaCeKA9qnPbAAZ1G2eG+aC6IW5pMwBF8kP/sg+XhM VvqX672XN3r8aSc/jQCahJoQqYERMRHiiSBq4jK7/0xCrkv6/R8kEcyFPAbH8t5bF8SC a6uQ== X-Gm-Message-State: AOAM530gK7QbLAwMT8KWy2BwW7Ruk6tf5/2T7vsXf+f01LaBYx1Q0kQe ztyRzLDQxO17vVQhIGmbrzwX/W7smIXZmQ== X-Google-Smtp-Source: ABdhPJy18TGMOg+yPftQxJW3NaDDQItQcGQToqnlWJYapGphiv325b7X9LdAqaINS7qGigPpAUC6Qg== X-Received: by 2002:a2e:a23b:0:b0:24f:b6f:6fe7 with SMTP id i27-20020a2ea23b000000b0024f0b6f6fe7mr19978763ljm.67.1652353690196; Thu, 12 May 2022 04:08:10 -0700 (PDT) Received: from nergzd-desktop.localdomain ([194.39.226.133]) by smtp.gmail.com with ESMTPSA id i25-20020a056512007900b004725b99d2fdsm734883lfo.164.2022.05.12.04.08.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 04:08:09 -0700 (PDT) From: Markuss Broks To: linux-kernel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Markuss Broks , Konrad Dybcio , Marijn Suijten , AngeloGioacchino Del Regno , 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 v3 1/5] dt-bindings: proximity: vl53l0x: Document optional supply and GPIO properties Date: Thu, 12 May 2022 14:07:53 +0300 Message-Id: <20220512110757.5297-2-markuss.broks@gmail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220512110757.5297-1-markuss.broks@gmail.com> References: <20220512110757.5297-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