Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: iio: proximity: add ST VL53L1X ToF sensor

Add device tree binding documentation for the STMicroelectronics
VL53L1X Time-of-Flight ranging sensor connected via I2C.

vdd-supply is not made globally required to maintain backwards
compatibility with existing st,vl53l0x devicetrees that do not specify it.

Signed-off-by: Siratul Islam <email@sirat.me>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Siratul Islam and committed by
Jonathan Cameron
2c9225e8 6b4cd7b7

+25 -3
+19 -3
Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml
··· 4 4 $id: http://devicetree.org/schemas/iio/proximity/st,vl53l0x.yaml# 5 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 - title: ST VL53L0X ToF ranging sensor 7 + title: ST VL53L0X/VL53L1X ToF ranging sensor 8 8 9 9 maintainers: 10 10 - Song Qiang <songqiang1304521@gmail.com> 11 + - Siratul Islam <email@sirat.me> 11 12 12 13 properties: 13 14 compatible: 14 - const: st,vl53l0x 15 + enum: 16 + - st,vl53l0x 17 + - st,vl53l1x 15 18 16 19 reg: 17 20 maxItems: 1 ··· 24 21 25 22 reset-gpios: 26 23 maxItems: 1 24 + description: 25 + Phandle to the XSHUT GPIO. Used for hardware reset. 27 26 28 27 vdd-supply: true 29 28 30 29 required: 31 30 - compatible 32 31 - reg 32 + 33 + allOf: 34 + - if: 35 + properties: 36 + compatible: 37 + contains: 38 + const: st,vl53l1x 39 + then: 40 + required: 41 + - vdd-supply 33 42 34 43 additionalProperties: false 35 44 ··· 53 38 #size-cells = <0>; 54 39 55 40 proximity@29 { 56 - compatible = "st,vl53l0x"; 41 + compatible = "st,vl53l1x"; 57 42 reg = <0x29>; 43 + vdd-supply = <&reg_3v3>; 58 44 interrupt-parent = <&gpio>; 59 45 interrupts = <23 IRQ_TYPE_EDGE_FALLING>; 60 46 };
+6
MAINTAINERS
··· 25105 25105 F: Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml 25106 25106 F: drivers/iio/proximity/vl53l0x-i2c.c 25107 25107 25108 + ST VL53L1X ToF RANGER(I2C) IIO DRIVER 25109 + M: Siratul Islam <email@sirat.me> 25110 + L: linux-iio@vger.kernel.org 25111 + S: Maintained 25112 + F: Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml 25113 + 25108 25114 STABLE BRANCH 25109 25115 M: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 25110 25116 M: Sasha Levin <sashal@kernel.org>