This is the documentation for the latest (main) development branch of the Infuse-IoT platform. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

zephyr,spdt-switch

Vendor: Zephyr-specific binding

Description

Generic single-pole double-throw GPIO controlled switch

Properties

Properties not inherited from the base binding file.

Name

Type

Details

ctrl-gpios

phandle-array

Control GPIO line.

This property is required.

#shared-dev-cells

int

Number of items to expect in a shared device specifier

Specifier cell names

  • shared-dev cells: state, priority