dt-bindings: iio: light: bh1750: Add reset-gpios property
authorSergio Perez <sergio@pereznus.es>
Mon, 24 Mar 2025 13:59:19 +0000 (14:59 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Apr 2025 18:09:51 +0000 (19:09 +0100)
commit3e09eb53df47127cdcbf26fc41d24cd564d5d57c
treee7422e52c865ae61f5b1473cf4890d8bf80bb3a1
parent58fe539e9170320a611d7086346317f1e3586878
dt-bindings: iio: light: bh1750: Add reset-gpios property

Some BH1750 sensors require a hardware reset via GPIO before they can
be properly detected on the I2C bus. Add a new reset-gpios property
to the binding to support this functionality.

The reset-gpios property allows specifying a GPIO that will be toggled
during driver initialization to reset the sensor.

Signed-off-by: Sergio Perez <sergio@pereznus.es>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20250324135920.6802-1-sergio@pereznus.es
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/light/bh1750.yaml