From nobody Fri Apr 3 01:24:31 2026 Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6F38935F60B for ; Wed, 25 Mar 2026 20:20:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774470026; cv=none; b=cb+SydkPUP7+7y5Canq2Xbu0IQU7r7BNQSdNO3HLE8s8fLzK31tQTi/N7nK6a9zXphhkVyb31ShIFEg7NKV8D/zh3x3cjZ6t63Kq/nNSA9AthW9lhzYKsvfv5D7DwQB15iSiGjDC2Yse8khRnr+mAX71E5P2rcFgqfqEtIM0ZRs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774470026; c=relaxed/simple; bh=8R2nRMTpNx0hPRXdARFDfIVrrrQqtMRyhIM/X1ptw4M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mnMlJ70Vlh+bmximDWyaSQY/5/aMJ1+bjglT3nHxV67BnfYfisKV9urrNRtJl8WWCgy58/7yt79O2ZChowHUX6Hfpq5lo+1iQ+Sgs1LUCKMw924+Q441OXtHC/qfQhLU3zFxFSz0TjENJT734asf4ecGbQF77YqpmiSPB1F0Vmk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sirat.me; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.216.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sirat.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-f46.google.com with SMTP id 98e67ed59e1d1-354a18c48b5so218267a91.1 for ; Wed, 25 Mar 2026 13:20:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774470025; x=1775074825; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=yQv+ZppFPPLtEPidAQ+20u5P3TvQUDZOQRWkCdljIik=; b=g+JnEJAHg+fn2Ol8e4Y7roCEuOHLwuvracwUIFJ7tVs5O1Bz4XDNpvHij8DKCBv3RV NkbWef/Chk04TuXY0bSCHl23rHN9rDvWgrLga9V/dZXNo1gpA0fGrsim05S+qCSGPWY1 e1XKN98M2+DftKh+FWYOGnz+VRtZz7A/em99ElLPaZNJzjKy+t2KAH8N+U3YgXTCrJn/ WChUHcdxvw364WBjE5Vf98kYeABDz+QnlQpTEma6QWbwXAKG8MvAHaJLhMCKzX4ehobt Q7QEQi6a37jjQTAnYICVciFil5Lv4/tNnl3aw3btYe3CcbQoEZFwl8HpmIuP8A7d7+kU SufQ== X-Forwarded-Encrypted: i=1; AJvYcCVY0sgIO/V+zI2svQakPNCN4F1aOB3CSBOJMEad0J+Dp4uYdWE92+ZdNH8rWebTEb1a2SUaLMWwyNsKkg8=@vger.kernel.org X-Gm-Message-State: AOJu0YzrvrKAR/dGjUeBPTUbbl7Oz41NTpXAge6muCQdpn4xhS1rpXFD 3cQUh8KBUngSi7ZwTjf6nulAjh6nXKaMgTCI1RxnPm8z63JoxFeNHzX8 X-Gm-Gg: ATEYQzwtNxwLXwaDCTbo3wvvbqv+IR11X3EUGIcyAIJMVHYwZm/hiMK4yFHAdlspOAB YiZCjDlklOhIbt7mAP4NZrXkmetjw3A6N0vXfKAkPfwlqsKlqMDEhtW4AUzhIbvMQagPwEe4wne JQHtunZy/dgcHZBgqmI/lbkXwHtiKDs4hlidPxtQFa45jj/rrvKUzzU/X61aQL0EgQ8mZqxTf3B y3xQCzIoror+tj1cYNDYZACa9rd8UlCl+z28HFag2z7XO2/AJ3YvadDeiD0uCgt0YZwiGy4ZVY3 GyiHSybeTci2xN13AFyjJPjfndf2ZmbEBFwAmZ/YiOjGtGxdUeu9Mtgeo8Vqfr00+bRKddjufha kxKV/Fs4EfzUL+tRM07WLdnv9GP6eG1EmQoJxhvIzOjPUlmNlGi2qGIqS1EgQLFjTRBHPsZZdgY CGQq0LegKv1eM9CO0SRqY4b2Vprr29EU7picsxx5Nv4lFcqQ169dqRPSO2Zz3nc61s5W/6nLjLS PCTXWusWso5dQGOrAZVQZU0 X-Received: by 2002:a17:90b:540f:b0:356:1db4:8fe5 with SMTP id 98e67ed59e1d1-35c0ddaa5admr4243177a91.29.1774470024544; Wed, 25 Mar 2026 13:20:24 -0700 (PDT) Received: from archlinux.www.tp-link.com ([103.135.252.24]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c7673933816sm280511a12.21.2026.03.25.13.20.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Mar 2026 13:20:24 -0700 (PDT) From: Siratul Islam To: linux-iio@vger.kernel.org, devicetree@vger.kernel.org Cc: jic23@kernel.org, dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, linux-kernel@vger.kernel.org, Siratul Islam Subject: [PATCH v8 1/2] dt-bindings: iio: proximity: add ST VL53L1X ToF sensor Date: Thu, 26 Mar 2026 02:19:41 +0600 Message-ID: <20260325202005.29822-2-email@sirat.me> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260325202005.29822-1-email@sirat.me> References: <20260325202005.29822-1-email@sirat.me> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add device tree binding documentation for the STMicroelectronics VL53L1X Time-of-Flight ranging sensor connected via I2C. Signed-off-by: Siratul Islam Reviewed-by: Krzysztof Kozlowski --- .../bindings/iio/proximity/st,vl53l0x.yaml | 24 ++++++++++++++++--- MAINTAINERS | 6 +++++ 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yam= l b/Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml index 322befc41de6..9adb9b13ccc5 100644 --- a/Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml +++ b/Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml @@ -4,14 +4,17 @@ $id: http://devicetree.org/schemas/iio/proximity/st,vl53l0x.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# =20 -title: ST VL53L0X ToF ranging sensor +title: ST VL53L0X/VL53L1X ToF ranging sensor =20 maintainers: - Song Qiang + - Siratul Islam =20 properties: compatible: - const: st,vl53l0x + enum: + - st,vl53l0x + - st,vl53l1x =20 reg: maxItems: 1 @@ -21,6 +24,8 @@ properties: =20 reset-gpios: maxItems: 1 + description: + Phandle to the XSHUT GPIO. Used for hardware reset. =20 vdd-supply: true =20 @@ -28,6 +33,18 @@ required: - compatible - reg =20 +# vdd-supply is not made globally required to maintain backwards compatibi= lity +# with existing st,vl53l0x devicetrees that do not specify it. +allOf: + - if: + properties: + compatible: + contains: + const: st,vl53l1x + then: + required: + - vdd-supply + additionalProperties: false =20 examples: @@ -38,8 +55,9 @@ examples: #size-cells =3D <0>; =20 proximity@29 { - compatible =3D "st,vl53l0x"; + compatible =3D "st,vl53l1x"; reg =3D <0x29>; + vdd-supply =3D <®_3v3>; interrupt-parent =3D <&gpio>; interrupts =3D <23 IRQ_TYPE_EDGE_FALLING>; }; diff --git a/MAINTAINERS b/MAINTAINERS index 61bf550fd37c..a142a97be4cb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -25093,6 +25093,12 @@ S: Maintained F: Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml F: drivers/iio/proximity/vl53l0x-i2c.c =20 +ST VL53L1X ToF RANGER(I2C) IIO DRIVER +M: Siratul Islam +L: linux-iio@vger.kernel.org +S: Maintained +F: Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml + STABLE BRANCH M: Greg Kroah-Hartman M: Sasha Levin --=20 2.53.0