zephyr/drivers/sensor/vcnl4040
Kumar Gala 97f0570c67 drivers: sensor: vcnl4040: Update driver to use gpio_dt_spec
Move driver to use gpio_dt_spec for GPIO interrupt handling.

Added check to vcnl4040_trigger_set to handle case of trigger
mode enabled but the devicetree doesn't have an int_gpios property.

Also, moved up the checking/handling of gpio port device in
vcnl4040_trigger_init so that if we error out its before we
setup any threads and such.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-06-28 08:22:24 -05:00
..
CMakeLists.txt drivers: sensor: clean up zephyr_library calls 2021-06-30 09:36:33 -04:00
Kconfig drivers: gpio: remove unused HAS_DTS_GPIO Kconfig symbol 2022-06-10 09:47:31 +02:00
vcnl4040_trigger.c drivers: sensor: vcnl4040: Update driver to use gpio_dt_spec 2022-06-28 08:22:24 -05:00
vcnl4040.c drivers: sensor: vcnl4040: Update driver to use gpio_dt_spec 2022-06-28 08:22:24 -05:00
vcnl4040.h drivers: sensor: vcnl4040: Update driver to use gpio_dt_spec 2022-06-28 08:22:24 -05:00